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.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.0.tar.gz
(1.6 kB
view details)
File details
Details for the file win32printing-0.1.0.tar.gz.
File metadata
- Download URL: win32printing-0.1.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea11986ba0e806ff3bf55797801f4a589390fb253a1c4d44e8a0d719d2e96f94
|
|
| MD5 |
38b6f2b039eada11ab389cd27991fbb7
|
|
| BLAKE2b-256 |
82ea5bec7182c05fed5c19b0011cf0d876efb24d6215bc0893d54fc89e5008cf
|