printer backend and lpr

From: Arthur Prince (arthurp@TOTALISE.CO.UK)
Date: Fri Mar 28 2003 - 10:19:09 EST


I am writing a printer backend script that needs to access all the
values passed by the lpr command

If in my backend script I do

echo $* >> /tmp/mylog I do not see all the values from the lpr command

e.g.

lpr -s -J "JOHNJOB" -P myqueue /etc/hosts

simply produces

/etc/hosts in /tmp/mylog

Is there anyway for my backend script to access all the lpr
parameters?



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:41 EDT