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-1.0.1.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file pyrinter-1.0.1.tar.gz
.
File metadata
- Download URL: pyrinter-1.0.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 201c6adbf0d988987c4f73b2f420965497f4314925c5b478fc8b4ca82bf92498 |
|
MD5 | fae6eed2b606428599c884b56ee6a1c2 |
|
BLAKE2b-256 | 3cfa3c71b30b298bab6c7082dcdb88fed293fed3d0a8069cb7784a070bb9e025 |
File details
Details for the file pyrinter-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyrinter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1429745656eca065143f5ea4373dbcbbe69d8d4fa9cf98a842452a7cfab310e6 |
|
MD5 | 94239c8cfc1ef4206b3782d2a8c941ac |
|
BLAKE2b-256 | 6e9c354d02d3064daa76997002c53630a25652819dfb379765519aaf41502931 |