lptools

Home David Projects lptools
Updated: 2003-04-23

Introduction

I wrote these scripts to allow me to use a shared office printer via Python on RISC OS although they should work on other operating systems. Interaction with a line printer daemon was straightforward thanks to RFC 1179.

lpr.py
A script which sends files to the lpd for printing. Note that the job numbers it generates are incorrect.
lpq.py
A script which returns the state of the printer queue.