Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install gocept.printinvoices

How to install gocept.printinvoices

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install gocept.printinvoices
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2 Available View build log
0.1 Available View build log
Windows (64-bit)
0.2 Available View build log
0.1 Available View build log
Mac OS X (10.5+)
0.2 Available View build log
0.1 Available View build log
Linux (32-bit)
0.2 Available View build log
0.1 Available View build log
Linux (64-bit)
0.2 Available View build log
0.1 Available View build log
 
Author
License
ZPL 2.1
Dependencies
Lastest release
version 0.2 on May 6th, 2011

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

Subscribe to package updates

Last updated May 6th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.