Skip to main content

python printer package

Project description

Pyrinter

Github licence PyPI version Code style: black Documentation Status

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


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.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

pyrinter-1.0.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file pyrinter-1.0.0.tar.gz.

File metadata

  • Download URL: pyrinter-1.0.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for pyrinter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1eaeaf3e251c32d132749aac0892948b479db159a0ece5fd21c6a5f6c06dd45a
MD5 d30de4b261bc91a5c2c0fe60e83dcf9b
BLAKE2b-256 f7c55933fd562b0101c14ea00ca4e83bc65e523dc0adbc8c5d6dc142ba7e28fc

See more details on using hashes here.

File details

Details for the file pyrinter-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyrinter-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for pyrinter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f25fc7cd7470169e2ea199f5bc56dc0eb15112aaf47b763b47d982741a61c7d5
MD5 3ed566e9c9c66493283c42d34163ce61
BLAKE2b-256 c6b9cd681ed5d585b90d11d5338fbd69dd25045687557e34c6f85597a046f279

See more details on using hashes here.

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