Paper Bin Switching
Delphi 5, RBPro 6.03.
I've a report to finish with subreports that need to direct different pages
to different printer trays, regardless of paper size, using report builder
events, or whatever would work
So far, I have not had success with setting PrinterSetup.BinName at all.
Thanks in advance.
I've a report to finish with subreports that need to direct different pages
to different printer trays, regardless of paper size, using report builder
events, or whatever would work
So far, I have not had success with setting PrinterSetup.BinName at all.
Thanks in advance.
This discussion has been closed.
Comments
Each Page?
Cheers,
Jim Bennett
Digital Metaphors Corp.
http://www.digital-metaphors.com
info@digital-metaphors.com
What I am printing is on a preprinted form. Detail information may or may
not be printed on the same page. If not, it needs to be directed to another
bin.
I've two subreports in the detail band. Only one will be active. One prints
the detail on the same page, the other is a section style set to print to a
different bin. Originally, these were all set in the Object Inspector. No
joy, so I set them in the sub report.OnPrint. Still, all pages get drawn
from the top tray.
Tray 1 contains preprinted forms. Tray 2 contains standard Letter paper.
ppReport1.Engine.Page.PrinterSetup.BinName. Set a boolean flag variable
when you determine which subreport to print and you can use this information
in the OnEndPage because the OnEndPage is the last event to fire before the
page is sent to the output device.
Cheers,
Jim Bennett
Digital Metaphors Corp.
http://www.digital-metaphors.com
info@digital-metaphors.com