Re: Printing past 8.5 inches using win32lib 59.1
- Posted by bernie Jul 04, 2009
- 1000 views
Anyone know how to get past this limit. I need to print on a dot matrix printer that is 132 cols wide. Basically I guess is that pageWidth = w32Func(xGetDeviceCaps, {prtOptions[4], HORZSIZE}) Milimeters of printable area reports the incorrect size of the printer.
I've been using windows generic text only printer driver that works great with 80 col printers and with paper set to std US fanfold is supposed to print full width acording to google'd results.
I think this is what you want; HORZSIZE is screen size
PHYSICALWIDTH For printing devices: the width of the physical page, in device units. For example, a printer set to print at 600 dpi on 8.5"x11" paper has a physical width value of 5100 device units. Note that the physical page is almost always greater than the printable area of the page, and never smaller.