python printer package
Project description
Pyrinter
What is it
Pyrinter is a free open source python package for easy way to use physical printers.
As for the moment the package only works on windows, but in the future we want to make it cross-platform
How to Install
with pip:
pip install pyrinter
How to Use
the following code is a hello world
for printing text using the printer PDFCreator
(the printer name may be empty for default printer):
from pyrinter import Printer
from pyrinter import Document
doc = Document()
doc.add_text("Hello World")
printer = Printer("PDFCreator")
printer.print_doc(doc)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrinter-0.0.1a6.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file pyrinter-0.0.1a6.tar.gz
.
File metadata
- Download URL: pyrinter-0.0.1a6.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 245410821cff82f5fe26da952cc94e7e9d33cd7cc3e41b7d29da50c748d19354 |
|
MD5 | 4570da1325ea5900def3f267bb5aad1f |
|
BLAKE2b-256 | 23080e11120d84ef8bd4da7c1905bdd02b14d67577b6bd553482036c57f18e0a |
File details
Details for the file pyrinter-0.0.1a6-py3-none-any.whl
.
File metadata
- Download URL: pyrinter-0.0.1a6-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cb476c120e919b1a2db4aadaa48e4c8d57a445fef28302bb18526acc3494ebb |
|
MD5 | b30afdcbbdedfb8906e16b53a9192b73 |
|
BLAKE2b-256 | 8b74ed80ffdbd29810a518c4a9c85626d20ae6c3980a2f4e818c738153e8b889 |