Just about a month ago I started reading Learning Python by Mark Lutz.
It's a new paradigm for me. I have a whole bunch of old mainframe files
with carriage control characters as the 1st character in each line.
Well, a got a very simple script working except I need to be able to
print landscape on
On Wed, Jun 10, 2015 at 2:48 PM, Hans Becker wrote:
> Does anyone by chance have sample code I could cut and paste to print
> landscape?
>
I don't have a cut and paste example on hand, but you might benefit from
reading the source of this module, or even using it:
MSWinPrint 1.1 : Python
It seems I'm wrong about just needing a little adjustment. When you use
WritePrinter, you are sending raw bytes to the printer, thanks to opening
the device in "RAW" mode. In this mode, you would need to send the actual
printer escape code that sets it to Landscape, in the language of its
default d