Skip to main content

MSWinPrint

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MSWinPrint-1.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file MSWinPrint-1.1.tar.gz.

File metadata

  • Download URL: MSWinPrint-1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for MSWinPrint-1.1.tar.gz
Algorithm Hash digest
SHA256 c433b9975833b321a81597a865b0a9aea0f8bbd089f44072014082a6f6657644
MD5 105025daf4db971b0a7d159752278d55
BLAKE2b-256 c1d3fe34bcf7c4ee450797a15fbe5e05196f10bb024ac60c6bca97b8dd16706f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page