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

Zebra 2844 label printer

edited April 2006 in General
I'm using Delphi 7 and ReportBuilder 9.03. I need to print labels
(including barcodes). If I print to my HP printer it works great, but if I
print to the Zebra 2844, only the first label prints. Then, after several
seconds, the printer retries the print job and the first label is printed
again and I have to kill the print job (or the 1st label will just keep
reprinting as it retries the print job). The rest of the labels are never
printed.

I'd really appreciate any help anyone can give me.

Thanks,

Mike

Comments

  • edited April 2006
    Hi Mike,
    We are using the same setup as you and it works fine, but i do remember
    getting some
    issues when using the USB port, will look through my notes, and also the
    paper sizes
    have the be set in RB and also Printer Defaults and also Printing
    preferences, once set
    go back and check that they are in the Zebra drivers Eg 3" by 4" is still 3"
    by 4".


    Colin



  • edited April 2006
    Hi Mike,

    Perhaps the following article will help...

    ----------------------------------------------------
    Article: Printing to Continuous Paper
    ----------------------------------------------------

    1. Layout

    For continuous printing (for example a receipt) use Title/Summary and
    removing the Header/Footer. Set the PrintHeight of each to phDynamic. Layout
    the DetailBand to print a single line item. Set the margins to 0 or to the
    smallest that the printer driver will support (some printers have an
    unprintable area).

    With this configuration The Report will generate a Title followed by a
    variable number of Detail bands that span pages if needed, and then finally
    print a Summary at the end.

    2. Pagination

    a. dtPrinter

    Some printer drivers have a continuous paper size setting. If not then try
    setting the paper size to be very small - perhaps the size of the tallest
    band in the layout. Or try setting the page height to be the size of a
    detail band. Note that some printer drivers will only accept page sizes
    within a certain range of paper sizes.

    b. dtReportTextFile

    With the above layout, the report text file will generate the page breaks
    properly, however the device will fill up a page with blank lines. You can
    control the number of lines per page by configuring the CharacterGrid
    property in the Report.BeforePrint event:

    example:


    procedure TForm1.ppReport1BeforePrint(Sender: TObject);
    var
    lDevice: TppReportTextFileDevice;
    begin

    if (ppReport1.FileDevice <> nil) and (ppReport1.FileDevice is
    TppReportTextFileDevice)then
    begin
    lDevice := TppReportTextFileDevice(ppReport1.FileDevice);

    {120 characters per line, 66 lines per page}
    lDevice.CharacterGrid(120, 66);
    end;

    end;

    --
    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.