>  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 ?

We had a number of LW 12/640's here.  NONE of them had "raw port" capabilities.

I got on the phone with Apple tech support one day asking about this (and for 
our 16/600's we had at the time).  Surprisingly, it was someone who knew what 
I was talking about and who in the engineering office would know the answer.  
After being on hold for a while, I was told the engineer was nearly in tears 
because he had wanted to put raw port capabilities on this printer.  Marketing 
told him no one wanted it and it should be disabled before the product was 
shipped.

> .... 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--

You need :lp=laserdip%rawport; what you have done is pass jobs via LPD to the 
internal LPD on the printer.  You will never get printer status or accounting 
information back this way.

The >ONLY< way I got this to work with Apple printers was to communicate with 
them via Appletalk (we used CAP; you could probably use Netatalk if you want).

I tried using a Linksys printserver with the 12/640.  The printer has a flaky 
parallel port implementation, where it will go from online/ready to offline 
for no apparent reason.  An Epson Stylus inkjet on the same Linksys box had no 
trouble at all.

> 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" 
>.... :-(

We use the following:

ACCEPT SERVICE=M SAMEUSER
ACCEPT SERVICE=M REMOTEUSER=root

There were some problems with earlier LPRng releases in getting SAMEUSER and 
REMOTEUSER directives correct.  We run LPRng-3.7.4 here now, which does not 
have those bugs.  If you're trying to use 3.5* or maybe 3.6* releases, you 
should download a newer copy.

-- 
============================================================================
   John Perkins                   |   University of Wisconsin-Madison
   Associate Researcher           |   Department of Computer Science
   [EMAIL PROTECTED]               |   1210 W. Dayton St.
   608-262-0438/608-262-9997 FAX  |   Madison, WI  53706-1685
============================================================================




-----------------------------------------------------------------------------
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