Paper size not changing after target printer changed in Printer Dialog
RB 5.56, Delphi 5 plus Upgrade, Dymo label printer, Any other printer with
different paper size, WinXP Pro
When the dymo labelwriter is the default printer in windows and you print a
full letter sized report and change the printer to the non-dymo printer...
it keeps the papersize set to the dymo label dimensions. This causes the
laser printer to spool 1000's of pages to the printer each with the same
amount of text (usually just the header or part of it) that would have
appeared on the label had it been selected.
What code and where do I put it to resolve this issue?
Dayna.
different paper size, WinXP Pro
When the dymo labelwriter is the default printer in windows and you print a
full letter sized report and change the printer to the non-dymo printer...
it keeps the papersize set to the dymo label dimensions. This causes the
laser printer to spool 1000's of pages to the printer each with the same
amount of text (usually just the header or part of it) that would have
appeared on the label had it been selected.
What code and where do I put it to resolve this issue?
Dayna.
This discussion has been closed.
Comments
begin
ppReport1.PrinterSetup.PrinterName :=
Printer.Printers[Printer.PrinterIndex];
end;
Solved my own problem. Here is the solution in case someone else is having
it.
Dayna.