Wed, 18 Jun 1902 08:00:00 GMT
Printing problem: user changes printer resolution , fonts chang
I have tried EVERYTHING I can think of and searched high and low for the answer. The problem is that I have designed a print routine that prints beautifully at 300 dpi, but if user changes print resolution to 150dpi or 75dpi (haven't tried at higher resolutions) windows substitutes a different font and the report is almost unreadable. The text in question is printed with Printer.Canvas.Textout(ect...) or Printer.Canvas.TextRect(ect...) for column aligned output. Even DrawText(ect...) windows API function does the same thing although the documentation claims the font will _not_ be changed. It appears the font is printing to large also, and I've tryed setting the font.size smaller to account for the resolution change but the font is still substituted. Using Delphi 1 on Win95. Anyone have a clue? GetDeviceCaps(ect...) returns the printer capability-does anyone know how to set resolution to 300dpi, if printer is capable, and override a user's setup? Eternally grateful for any help... Miles
|