Dear lprng-wrestlers,
What I want to do:
I'm having trouble figuring out how to select the `:sh' (suppress
header page) option via printer NAME. That is, for the benefit of our
Samba interface to our printing system (running on Solaris), we want
the PC people to be able to select (or not select) the equivalent of
"lpr -h" through which printer they select. So, from the Windows PC
perspective, printing to, say, printer pr5 would print with a header
page, and printing to printer pr5-h would print without a header page.
I want this to still go through only one queue directory for this
printer on the lprng server.
What I've tried:
We have a small Perl filter that runs between the LPRng system and
ifhp. It preprocess some things like printer input tray selection
based on printer name suffix. This is done by manipulating -Z
options. I tried to figure out how to control header page printing
through this mechanism (modifying -T options), but this apparently had
no effect. If you have any suggestions on how this might work, please
let me know, because it would be the most transparent from our printer
setup perspective.
I've tried messing with printcap file entries, to have a separate
pr5-h stanza which then `:tc's the pr5 entry. It gets kind of messy,
and then for some reason, use of pr5-h mysteriously introduces a very
long time delay into the print job (maybe a couple of minutes).
Again, I do want it to use the same queue directory, if at all
possible.
We're running LPRng-3.7.4 and ifhp-3.4.4 .
Suggestions? Other ideas?
Thanks...
-Dan
--
Daniel E. Singer, System Administrator
Dept. of Computer Science, Duke University, Durham NC 27708 USA
"Non cognosco. In hoc tantum laboro."
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------