Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.


0.2 (2011-05-05)

  • Work on invoices printed in English as well.

0.1 (2011-04-10)

  • first release
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gocept.printinvoices-0.2.tar.gz (19.9 kB) Copy SHA256 Checksum SHA256 Source May 5, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting