[python-win32] printing landscape in Windows

Todd Fiske toddfiske at gmail.com
Thu Jun 11 00:43:40 CEST 2015


On Wed, Jun 10, 2015 at 2:48 PM, Hans Becker <hjb2 at earthlink.net> 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 Package Index
    https://pypi.python.org/pypi/MSWinPrint

The method they show for setting landscape mode (setting
devmode.Orientation) looks like it will blend in with what you have with
only a little adjustment.

Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20150610/ad065b7b/attachment.html>


More information about the python-win32 mailing list