Skip to main content

Printing utils.

Project description


Printing utils for Windows.


pip install win32printing

Installed Utils

  • win32printing.get_system_fonts
  • win32printing.PrinterBase
  • win32printing.PrinterContext
  • win32printing.Printer

Printer APIs

  • text(text, align="left", font_config=None)

Usage Example

from win32printing import Printer

font = {
    "height": 8,
with Printer(linegap=1) as printer:
    printer.text("title1", font_config=font)
    printer.text("title2", font_config=font)
    printer.text("title3", font_config=font)
    printer.text("title4", font_config=font)


v0.1.1 2019-10-22

  • Fix py_modules problem in

v0.1.0 2019-10-22

  • Allow text printing on Windows system.
  • Support text alignment and font settings.
  • Support linegap setting.

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

win32printing-0.1.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

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