Change Printer/ Get new Information
Posted on 2000-01-17
hi out there...
i´ve got a problem. I got 2 SONY
UP-D2500 Printer. One on LPT1 one
one LPT2. The printer on LPT2 is
prepared for printing sticker, the
other one for postcards also defined as standard printer. Now i want
to change the printeroutput
with Tprinter.printerindex. No problem
but when i´ll try to get the dimensions
of the printer (Tprinter.pagewidth and
pageheight) delphi gives me the
dimenstion of the default printer. naughty naughty delphi... the other way,
wenn I define the sticker printer as
default, and i want to print postcards... i´ll only retriev the stickerheight and width ... no chance
for me at the moment.
what i want is the print on the postcards printer, retriev the postcards printer dimensions and when i want to print on the sticker printer, i´ll want to retriev the sticker size !