Home Devices

Controlling printer settings

edited February 2007 in Devices
Hi all,
my program must print wide draft document (340x454 mm) scaled to A4 sheet,
to the default printer HP LaserJet 2200. On another dot printer, Epson LQ
2180, that document are definitively printed in its original format
(340x454).
The printer selection is performed in the BeforePrint event, by the command:

ppReport.PrinterSetup.PrinterName := CorrectPrinterName

where CorrectPrinterName is "HP LaserJet 2200" for A4 printing and "EPSON LQ
2180" for A3+ printing.

The problem is that if the user, in the print dialog, select HP A4 printer
and then select Epson printer, then press Ok button, the cancel dialog shows
the page counter production that indefinitively cycle and the printed
document is cut.
The question is why selecting an A4 printer, then selecting A3+ printer,
that problem happens?

In the previous ReportBuilder 9.x that problem didn't happen.

I'm using BDS2006 and ReportBuilder enterprise 10.04.

Thank in advance

TINN srl

Comments

  • edited February 2007
    Hi,

    I'm a bit unclear about the steps your users are taking to create this
    issue. Are they actually printing to the HP Laserjet, then re-printing to
    the Epson or are they switching from one printer to the other inside the
    print dialog? Does this occur with every printer pair or just when the
    paper size is changed? Please provide the exact steps I can take to
    recreate this issue on my machine and I'll try to track down the problem.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2007
    Hi Nico,
    the users switch from HP laser printer to the Epson dot printer inside the
    print dialog. It seems that issue happens if the capability of the printer
    not allow that extended paper size, causing the uncorrect resizing of the
    report.

    The steps are:
    create a report on Epson dot printer with custom size (340x454 mm);
    save the report to the database;
    on windows control panel set HP laserjet as default printer;
    load the report from database;
    show print dialog;
    switch the printer from HP to EPSON then print;
    the cancel dialog should shows the progress count during pages building
    indefinetively and the report is cut to A4 format

    If you can't recreate this issue please send us any consideration on how
    reportbuilder adapt the report to the different printer page size during
    selection from print dialog and how we could custom that functionality.

    Thanks



  • edited February 2007
    Hi,

    Do you get the same behavior if you print directly instead of from the
    preview window? Be sure that all the components on your report fall within
    the boundaries if you print to the Epson printer.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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