Print PDF files to a local installed printer using a print tool
Project description
printfactory
printfactory
is a package for printing PDF files to a physical printer
using a print tool like Adobe Reader or Foxit Reader.
Example usage
import pathlib
import printfactory
printer = printfactory.Printer()
print_tool = printfactory.AdobeReader(printer)
file = pathlib.Path('my.pdf')
print_tool.print_file(file)
Table of Contents
Why?
The motivation for this project was to have a simple Python interface for printing PDF files to a physical printer using a local installed software ("print-tool").
Only publicly and freely available software should be used on the client or server that is using this package.
Requirements
Installing printfactory
To install the latest version of printfactory
use pip as simple as follows.
pip install printfactory
Known issues
- The AdobeAcrobat print tool implementation is limited to only send files to the defaults system printer
Contributing
If you'd like to contribute to this project Poetry is recommended.
Changelog
All notable changes to this project will be documented in the CHANGELOG.md.
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
Built Distribution
File details
Details for the file printfactory-0.1.1.tar.gz
.
File metadata
- Download URL: printfactory-0.1.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15423d8ee1099eeb034848e04e7868595cde0b17c77dd16ed16d4c360efeeeee |
|
MD5 | 5c6455c90cc797a3e1d1ef90e1ea51b8 |
|
BLAKE2b-256 | 75b47caee877aa5760fb9ff13e387464b1d6dfb7d431060bbe5e730f3c2b6050 |
File details
Details for the file printfactory-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: printfactory-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65a131782b9f6c078c994132ed4d58821f6f25d980fc003366a172fc68e5bc63 |
|
MD5 | 826a34b09ffb44ff0c5a5fb0f6f3d0dc |
|
BLAKE2b-256 | 10ad5530f02da3a0bc1c71732a21cb99e7d93754bbcb0169e3103ba5099a57ff |