tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* General Printcap Question.
@ 2001-06-05 13:25 Michael Whittaker (QAC)
  0 siblings, 0 replies; only message in thread
From: Michael Whittaker (QAC) @ 2001-06-05 13:25 UTC (permalink / raw)
  To: tru64-unix-managers

Hi

From my dark days of working with lpd on other platforms, I though that the following is possible. 

I would like to replace the following printcap entry

MYPRINTER:\
        :af=/usr/adm/MYPRINTER-lpacct:\
        :ct=tcp:\
        :if=/usr/lbin/hplaserof:\
        :lf=/usr/adm/MYPRINTER-lperr:\
        :lp=@MYPRINTER/hp:\
        :sd=/usr/spool/MYPRINTER:\
        :xf=/usr/lbin/xf:

with

MYPRINTER:\
        :af=/usr/adm/%P-lpacct:\
        :ct=tcp:\
        :if=/usr/lbin/hplaserof:\
        :lf=/usr/adm/%P-lperr:\
        :lp=@%P/hp:\
        :sd=/usr/spool/%P:\
        :xf=/usr/lbin/xf:

where %P represents the name of the printer (in this case MYPRINTER). From recollection I have seen this done on other lpd implementations but I cannot remember what the variable name is (I know it is not %P).

Please respond to Michael.Whittaker@pac.ericsson.se and I will summarise.

Regards - Mike

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-05 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-05 13:25 General Printcap Question Michael Whittaker (QAC)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox