* Got a few responses:
@ 1995-03-09 16:20 Graydon Mah
0 siblings, 0 replies; only message in thread
From: Graydon Mah @ 1995-03-09 16:20 UTC (permalink / raw)
To: tru64-unix-managers
Got a few responses:
Chris Jankowski <chris@lagoon.meo.dec.com>
- "can't be done" I love these guys!
Wayne Herringe <syswjh@devetir.qld.gov.au>
- "man lpr says:
All other filters are called as:
filter -xwidth -ylength -nlogin -h host acct-file"
Got a few questions:
Helleb# Knut <bgk1142@bggfu2.nho.hydro.com>
<johanl@basys.svt.se>
Used archie to locate a routine on the 'net:
vtprint by Garrett D'Amore <garrett@sciences.sdsu.edu>
http://sunsite.unc.edu/mdw/HOWTO/Serial-HOWTO-13.html#ss13.4
While Wayne correctly points out the man doc, I found that the only information
carried in the host parameter was my login name (without device information). Given
the chance of multiple logins, the parameters did not offer enough information.
In the end I wrote a simple wrapper that replaces /usr/bin/lpr. The wrapper parses the
first one or two lpr parameters for the fake /etc/printcap device C (as in "lpr -PC", get
it?) If the print device is not C, then pass all lpr arguments to the real lpr (renamed
/usr/bin/lpr.orig). Finally, the PRINTER environment variable was set to C just to catch
any strays.
Regards,
Graydon Mah, Database Administrator,
University College of the Fraser Valley,
Abbotsford, British Columbia, Canada
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-03-09 16:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-09 16:20 Got a few responses: Graydon Mah
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox