stopping page throw

edited July 2010 in Devices
Hi,
I have an application that prints labels onto expensive "tie wrap" labels
using in the horticultural trade. They come in strips with 4 labels across
the strip.
A print routine may have to print labels for 2 or more part numbers (of
differing quantities), which is fine, except I am sending a new print
command for each part number. This throws a page to start each new print.
The page is a 4 wide strip of these expensive labels, so for example if the
print quantity is 5, then 3 labels are left blank as it prints the next 5
for the next part number.
The customer complains that this is an expensive waste.

Is there a way of stopping the print routine on the actual band it has got
to.

I am using version 7.03

kind regards

John

Comments

  • edited July 2010
    Hi John,

    For future reference, please use your name when posting to these newsgroups
    rather than your company name.

    One option is to re-use the used label page and start printing on a specific
    (empty) label. This way you can use all the labels on the page even though
    some are already gone. Take a look at the following example on how this can
    be done.

    http://www.digital-metaphors.com/rbWiki/Delphi_Code/Layouts/How_To...Skip_Printing_a_Defined_Number_of_Labels

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2010
    Hi Nico,
    thanks for this.

    I can see how this will allow me to set the next label (band) to use on the
    current page, but can I stop a page throw happenings at the end of a label
    print.

    My application will run through a list and create lots of calls to a routine
    that ends wilth "reportname.print", having sent it different parameters each
    time.

    It seems that at the end of each reportname.print there is a page throw; how
    can I stop this?

    If I can do this, then I can use the code example to calculate the start
    position of the current label print.

    many thanks for your help

    John




  • edited July 2010
    Hi John,

    Unfortunately this is not a current feature of the printer device in
    ReportBuilder. By definition once a page has finished, an EndPage command
    is sent to the printer which essentially ejects the paper. The code for
    this can be found in the TppPrinterDevice.ReceivePage routine in the
    ppPrnDev.pas file.

    Moving forward we will consider adding a feature to control this in a later
    release of ReportBuilder.

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