Skip to main content

MSWinPrint.py defines a class and utility functions for use by programs needing to print complex output on Windows 2K/XP hosts.

document is a class for creating and running print jobs. Presently, the source is the only documentation for this class.

listprinters() returns a list of printer names. The default printer is the first element of the list, and all other printers follow in alphabetical order.

desc(printer) returns a dictionary containing the descriptive fields for the named printer.

getfont(name, size) returns a win32ui font object for the named font scaled to the given size. Font substitution may have been done by Windows, so don’t be surprised if you don’t get what you asked for.

Development versions of this module may be found on Github at:

https://github.com/Solomoriah/MSWinPrint

Release files for MSWinPrint 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MSWinPrint 1.1
File Size Uploaded
MSWinPrint-1.1.tar.gz 4.2 kB Details

Release files / MSWinPrint-1.1.tar.gz

Download URL MSWinPrint-1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c433b9975833b321a81597a865b0a9aea0f8bbd089f44072014082a6f6657644
BLAKE2b-256 checksum
How to use checksums
c1d3fe34bcf7c4ee450797a15fbe5e05196f10bb024ac60c6bca97b8dd16706f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page