Hello,

I am working on a chooser script to query printers on network print boxes.

My test printcap is as follows

lp:force_localhost
lp:server
  :sd=/spool/%P
  :sv=lp2,lp3
  :chooser=/testarea/chooser.script
lp2:force_localhost
lp2:server
  :ss=lp
  :sd=/spool/%P
  :lp=localhost%5760
lp3:force_localhost
lp3:server
  :ss=lp
  :sd=/spool/%P
  :lp=localhost%5761 

How can I get the value of lp=host%port from within my chooser script?
I would think that value would appear in the environmental variables
of the pool's printers when the chooser is called.

I am using LPRng-3.7.4

TIA

Garth Nielsen


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