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

Doesn't change the printer

edited October 2014 in General
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

Comments

  • edited October 2014
    Hi Ailton,

    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.

    Best Regards,

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