Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Brother QL-550 problems

edited January 2008 in General
Hi,

I'm trying to print labels to a Brother QL-550 P-Touch label printer (USB).
I have a simple report that just prints a few lines onto a single label.

The problem I'm having is, if I open the form and print one label then it's
fine, but if I try to print more than one label it will only print the first
one.

Initially I was setting the MyReport.PrinterSetup.Copies to 2, when I
couldn't get this to work I tried setting the copies to 1 and putting the
MyReport.Print call into a loop. e.g. sample code...

procedure TMyForm.PrintLabels(copies: integer);
var
i: integer;
begin
rptSampleLabels.DeviceType := 'Printer';
for i := 1 to copies do
begin
rptSampleLabels.Print;
Showmessage('Printed');
end;
end;


The weird thing is the first time I call this method (setting copies = 2) it
prints only one label, you see the second print job get placed into the
queue (i.e. the Windows printer queue window) and it appears to print but
just disappears.Then if I call the method again (setting copies = 2) it
prints two labels.

Aaaaarg....

Help please anyone

Comments

  • edited January 2008
    Hi Willie,

    Before moving forward with the copy loop, you might try letting the printer
    handle the copies. Try setting the DelegateCopies property to True before
    you print the report and see if that allows you to print multiple copies
    simply by setting the Copies property.

    Report.PrinterSetup.Copies := 2;
    Report.PrinterSetup.DelegateCopies := True;
    Report.Print;

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2008
    Thanks for the response Nico,

    I tried that but it didn't work. I've found a work around though, I create a
    dataset with a record for each label, so instead of printing a single
    page(i.e. label) report X times I print a single report with X pages (all
    identical).

    I'm not sure if this issue is Report-Builder/QL550 specific or not, I could
    generate a label out of an MS-Word document and print 2 or more copies OK.
    If I get time I'll try using Rave Reports to see if it has the same problem.

    regards

  • edited February 2008
    Hi Willie,

    Which version of ReportBuilder are you using? Are you able to get this (or
    any) report to successfully print copies to a different printer?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2008
    Hi,

    we're using 10.07.

    I'll try that against a different printer, I don't have another label
    printer so I'm wondering if it's probably a bit of an academic excercise as
    the paper size won't work too well?

    I believe all other reports (mostly standard A4 format stuff) work fine with
    multiple copies. So it seems specific to this printer/ paper format.


  • edited February 2008
    Hi Willie,

    Yes, I was more wondering if you had a different label printer to test with.
    Be sure you are using the latest printer driver for the Brother printer.
    You might also take a look at the provided driver software options to see if
    perhaps there is an option set that could be causing this behavior.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.