Doesn't change the printer
Hi,
I'm using Delphi 2007 and RB Professional Edition 11.08
I have a printer HP 4015 with 2 trays.
I change the printer in "before print" event.
Normal report goes to tray 1. (windows printer default)
Invoice report goes to tray 2.
When the "Invoice Report" is set up to DeviceType = Printer (the report
is sent to tray 1 instead of tray 2.
When the "Invoice Report" is set up to DeviceType = Screen (the report
is sent to tray 2 (as planned to)
Important:
If I change the printer to Lexmark E360dn. Everything works fine.
Could you, please help us understand what is happening?
Thanks in advance
I'm using Delphi 2007 and RB Professional Edition 11.08
I have a printer HP 4015 with 2 trays.
I change the printer in "before print" event.
Normal report goes to tray 1. (windows printer default)
Invoice report goes to tray 2.
When the "Invoice Report" is set up to DeviceType = Printer (the report
is sent to tray 1 instead of tray 2.
When the "Invoice Report" is set up to DeviceType = Screen (the report
is sent to tray 2 (as planned to)
Important:
If I change the printer to Lexmark E360dn. Everything works fine.
Could you, please help us understand what is happening?
Thanks in advance
This discussion has been closed.
Comments
ReportBuilder does not control the output tray of a printer, only the
input bin. This might be a setting in your printer setup.
My suggestion would be to try an earlier event such as
OnInitializeParameters to change the printer to be used.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com