D5 QuickRep printer problem


2006-01-18 09:56:56 PM
delphi114
Hi,
I have a legacy D5 application which needs to be extended for printing. So
I created a TQuickRep based solution which works almost fine, except if an
user's changing his printer settings.
For example, user has a HP laser printer as default printer and has duplex
mode on by default. Before he's printing a report, he changes the printer's
properties to duplex=off. But the report is printed with duplex. Same thing
when displaying a preview, selecting the output printer and printing. Just
*some* printer properties are recognized, but not all.
Is there a known problem (and a workaround)?
This is my printing code:
with qrPSTyp1 do begin
PrinterSetup;
if Tag = 0 then begin
IsPreview := DoPrev;
// Application.ProcessMessages;
if DoPrev then Preview;
if DoPrint then Print;
end;
end;
TIA,
Michael