Skip to main content

Print a batch of invoices from Collmex on paper from two trays.

Project description

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

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

gocept.printinvoices-0.2.tar.gz (19.9 kB view details)

Uploaded Source

File details

Details for the file gocept.printinvoices-0.2.tar.gz.

File metadata

File hashes

Hashes for gocept.printinvoices-0.2.tar.gz
Algorithm Hash digest
SHA256 1a3d50076558ce523825588d9232ded80c8647da89cc5dd382234f9e674725d0
MD5 8264114eb191ec389ccc1e59279df255
BLAKE2b-256 f6a55a9fd21beacf509dc0930e38889467a7c4807469c54ae12be6e56df9de53

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