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

Multiple Copies with Duplex

edited August 2004 in End User
D6 RB7.04 EUR

Is there a general solution for the issue of duplexed multiple copies
of a report with an odd number of pages starting the second report on
the back of a page?

Also, is the duplex property available on Page Setup defined
separately for each sub report? If so can this property be
effectively put on a customized print dialogue or are there sub report
considerations?

Many thanks,
Rick Matthews
Dartek Systems Inc.

Comments

  • edited August 2004
    Hi Rick,

    Check out the following example of creating a new print job for each copy so
    duplexing with collate set to True works correctly with an odd number of
    pages.

    http://www.digital-metaphors.com/tips/AutoDuplexCopies.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2004
    Thanks Nico I will give it a go.

    What does TppPrinterSetup.DelegateCopies do - and would it help here?

    Thanks,

  • edited August 2004
    OK one more question.

    The example essentially calls PrintToDevices once for every copy. I
    already have a custom TppPrintDialog that surfaces the duplex property
    but the actual PrintToDevices calls come from within TppProducer I
    believe.

    So, do I need to create a custom ppProd.pas and add the logic to
    TppProducer.PrintToDevices to loop through the copies if duplex and
    printer (and probably only if collate), or is there a more elegant way
    to implement this in the EUR environment?

    Thanks,


  • edited August 2004
    Hi Rick,

    As you can see from the example, it creates it's own print dialog which
    could be your custom dialog, then calls PrintToDevices itself based on which
    option was selected in the print dialog. Instead of trying to create a
    custom Producer you should to to do something like this with your custom
    print dialog.

    --
    Best Regards,

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