queue backend



I am attempting to write my own backend to a "print queue" for AIX 4.3.3

For starters I have written a simple backend that simply does

echo $* >/tmp/queuelog

However when I lpr from a remote Solaris box using

lpr -Pmyaixserver:myqueue myfile


the values that appears in /tmp/queuelog on AIX are temporary file names
e.g.
-HSUN1 /var/spool/lpd/dfA042SUN1.1145869593
/var/spool/lpd/dfA042SUN1.1145869593

How can I get the original name of the file from lpr?


John Dunn
Product Consultant
Direct Dial +44 (0) 117 373 6122
Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK.
Tel: +44(0) 117 373 6114
Fax: +44 (0) 117 373 6115

www.sefas.com



Relevant Pages