Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Printing utils.

Project description

printing

Printing utils for Windows.

Install

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)

Releases

v0.1.1 2019-10-22

  • Fix py_modules problem in setup.py.

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.

Files for win32printing, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size win32printing-0.1.1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page