On Wed, Jan 28, 2004 at 10:02:50AM -0800, Adam Crews wrote:
> Hello,
>
> I have looked over the docs, but don't quite see what I am after. Is
> there a way to disable the querying of the remote machine when using lpq?
>
> I have a few queues set up to autohold any jobs that come into them, then
> when my print floor is ready, I release the jobs to the printer. The
> problem is that I have several queues that all point to the same remote lp
> server, and when you do an lpq on any of the local queues, you get the
> local queue listing, as well as anything on the remote printer.
>
> Here is a snippet from my printcap:
>
> .common:
> :sd=/var/spool/lpd/%P
> :ah
> :longnumber
> :save_when_done
> :ifhp=model=default,status@
>
> emea-only:
> :tc=.common
> :rm=xxx.xxx.xxx.xxx
> :rp=lp
>
> us-only:
> :tc=.common
> :rm=xxx.xxx.xxx.xxx
> :rp=lp
>
> Basically, I just don't care what is in the queue on the remote end, so
> I'd like to disable all querying of the remote end.
>
> Since the jobs are not filtered, the ifhp line above doesn't seem to have
> any effect.
>
> Thanks.
> -Adam
>
>
Use the 'remote_support' option:
.common:
:sd=/var/spool/lpd/%P
:ah
:longnumber
:save_when_done
:ifhp=model=default,status@
emea-only:
:tc=.common
:rm=xxx.xxx.xxx.xxx
:rp=lp
:remote_support=R
us-only:
:tc=.common
:rm=xxx.xxx.xxx.xxx
:rp=lp
:remote_support=R
--
Patrick Powell Astart Technologies
[EMAIL PROTECTED] 6741 Convoy Court
Network and System San Diego, CA 92111
Consulting 858-874-6543 FAX 858-751-2435
LPRng - Print Spooler (http://www.lprng.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.
-----------------------------------------------------------------------------