Skip to main content

Analyzes Postscript files containing batches of invoices output by Collmex and inserts printer control commands to make the printer use paper from one tray for first pages and paper from another tray for subsequent pages.

Works with Collmex output as of March, 2011 and with a Kyocera FS 1128MFP printer.

The package comes with two console_script entry points, process-ps and process-pdf.

The first one, process-ps, implements a stream filter reading Postscript from stdin and writing Postscript to stdout. The entry point needs to be called with two arguments: tray1 specifying the number of the tray holding first-page paper, and tray2 specifying the tray number for subsequent pages. There isn’t currently a configuration file or command-line arguments for configuring the trays.

The second script, process-pdf, takes four command-line arguments: the numbers of the papers trays used for first pages and subsequent pages, resp., the path to a PDF file as output by Collmex and the name of a printer queue for the lpr command to print to.

Changes

0.2 (2011-05-05)

  • Work on invoices printed in English as well.

0.1 (2011-04-10)

  • first release

Release files for gocept.printinvoices 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gocept.printinvoices 0.2
File Size Uploaded
gocept.printinvoices-0.2.tar.gz 19.9 kB Details

Release files / gocept.printinvoices-0.2.tar.gz

Download URL gocept.printinvoices-0.2.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1a3d50076558ce523825588d9232ded80c8647da89cc5dd382234f9e674725d0
BLAKE2b-256 checksum
How to use checksums
f6a55a9fd21beacf509dc0930e38889467a7c4807469c54ae12be6e56df9de53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page