Skip to content

hodvak/pyrinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

printer package for python

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages