Link to home
Start Free TrialLog in
Avatar of Fatman121898
Fatman121898

asked on

Changing printer paper size

Hi all,
I need to change printer paper size at rintime (and printer resolution too).
TPrinter object hasn't properties (as far as I know) for maintaining them. I do not want to use standard printer dialog for this prupose. Is there some OTHER way to do it?

Thanks at advantage.
Jo.
Avatar of cadabra
cadabra

I had similar problems with the printers unit keeping many goodies private on delphi 2, needed a quick solution and solved the problem by duplicating the printers.pas unit to myprinters.pas and changing it.

When migrating to delphi 3, I did the same (duplicated and changed the printers unit).

This was *not* an elegant solution to say the least, but it was quick and works.
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Fatman121898

ASKER

Thanks, Barry!
Jo.