Multiple copies with an odd count of pages on a duplex printer
Hi all!
Im using ReportBuilder Enterprise 7.04 with Delphi 5 Enterprise.
I want to print twice a report with an odd count of pages (e.g.three) on a
duplex printer.
I expected that the second copy starts on a new sheet of paper.
But it starts on the second page of the last sheet of paper of the first
copy.
So that the last page of copy one and first page of copy two is on the same
sheet of paper.
How can i get what i expect?
See this code snip for understand what i'm talking about:
ppReport.PrinterSetup.Duplex := dpHorizontal ;
ppReport.PrinterSetup.Copies := 2;
ppReport.Print;
While playing around i found this:
ppReport.PrinterSetup.DelegateCopies
But DelegateCopies is not dokumented (maybe not in 7.04)
What is DelegateCopies for and is this maybe the answer of my question?
Many thanks in advance,
Achim
Im using ReportBuilder Enterprise 7.04 with Delphi 5 Enterprise.
I want to print twice a report with an odd count of pages (e.g.three) on a
duplex printer.
I expected that the second copy starts on a new sheet of paper.
But it starts on the second page of the last sheet of paper of the first
copy.
So that the last page of copy one and first page of copy two is on the same
sheet of paper.
How can i get what i expect?
See this code snip for understand what i'm talking about:
ppReport.PrinterSetup.Duplex := dpHorizontal ;
ppReport.PrinterSetup.Copies := 2;
ppReport.Print;
While playing around i found this:
ppReport.PrinterSetup.DelegateCopies
But DelegateCopies is not dokumented (maybe not in 7.04)
What is DelegateCopies for and is this maybe the answer of my question?
Many thanks in advance,
Achim
This discussion has been closed.
Comments
Not all printers support generating multiple copies so by default,
ReportBuilder handles this process. If you would like to give your printer
driver control of printing copies of a report, you can set DelegateCopies to
True. This may also solve the issue you are having with duplexing an odd
number of pages with multiple copies if you printer driver is set up to
handle this situation.
If this does not work, take a look at the following example.
http://www.digital-metaphors.com/tips/AutoDuplexCopies.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com