tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Michael Whittaker \(QAC\)" <Michael.Whittaker () pac ! ericsson ! se>
To: tru64-unix-managers
Subject: General Printcap Question.
Date: Tue, 05 Jun 2001 13:25:24 +0000	[thread overview]
Message-ID: <102653649621650.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-06-05 13:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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