Print a batch of invoices from Collmex on paper from two trays.
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.
- Work on invoices printed in English as well.
- first release
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gocept.printinvoices-0.2.tar.gz (19.9 kB)||File type Source||Python version None||Upload date||Hashes View|