Dear list,
 we have an old LaserWriter 12/640 (Postscript - Lan) printer and we're using ihfp to 
communicate with the raw port of the printer.
The printing is ok, but we coulnd't get the pagecount (always null); as we are 
accounting every job to charge to the owner the pages
printed, this is an important feature.

Anyone has resolved this problem ?

.... printcap is following ...

--snip--
ric3
:server
:cm=Apple LaserWriter 12/640
:filter=/opt/LPRng/libexec/filters/ifhp
:ifhp=model=apple,status=ps,sync=ps,pagecount=ps,waitend=ps
:lp=raw@laserdip
:mx=0
:prefix_z=600,a4,portrait,simplex
:ps=status
:sd=/var/spool/lpd/%P
:sh
--snip--

Another question on lpd.perms:

We want that the owner of a job can delete the job from every machine, is this the way?

--snip--
....omissis
# allow same user on every host to remove a job
ACCEPT SERVICE=M SAMEUSER
# allow root on server to remove a job
ACCEPT SERVICE=M SERVER REMOTEUSER=root
REJECT SERVICE=M

DEFAULT ACCEPT
--snip--

Now if I try to delete a job from an host (not as root) I receive a "no permission" 
.... :-(
Thanks.
-- 
Dott. Sergio Rabellino 

 Technical Staff
 Department of Computer Science
 University of Torino (Italy)
 Member of the Internet Society

http://www.di.unito.it/~rabser
Tel. +39-0116706701
Fax. +39-011751603

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to