> From [EMAIL PROTECTED] Wed Oct 18 17:32:47 2000
> Date: Wed, 18 Oct 2000 23:27:44 +0000 (GMT)
> From: iddwb <[EMAIL PROTECTED]>
> Subject: LPRng: totally confused on printcap
> To: [EMAIL PROTECTED]
>
>
> I thought I understood how to build my printcap but now I feel real
> stupid.  I want to spool all jobs through a linux machine called "a".  I'm
> sending jobs to jetdirect interfaces in hp printers from "a".  On all
> other machines, I want them to send jobs to "a" so in these client
> machines the printcap looks like
>
> lp:\
>  :sh:rm=a.asu.edu:rp=hp1:sd=/var/spool/lpd/lp:
>
> then on the server machine "a" the printcap looks like
>
> hp1:\
>  :su:rm=jetdirect.asu.edu:rp=hp:sd=/var/spool/hp1:
>
> This seems to work.  However, from any client machine when I do an 
> lpq 
>
> It wants to connect directly to the jetdirect interface, rather than
> listing all the jobs on the server queue. 
>
> what am I doing wrong?
>
> David Bear
> College of Public Programs/ASU

Nothing.  LPR is 'lightweight' and does not need to contact
the LPD print spooler to do its job.  Use the following:

 # clients see this
 hp1|lp:[EMAIL PROTECTED]
 # lpd server sees this
 hp1:server
  :su:[EMAIL PROTECTED]:sd=/var/spool/%P:

Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.astart.com)

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