From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621650.tru64-unix-managers.marc@archive.invalid> From: "Michael Whittaker \(QAC\)" Date: Tue, 05 Jun 2001 13:25:24 +0000 To: tru64-unix-managers Subject: General Printcap Question. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621650 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