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=_at_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=_at_%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_at_pac.ericsson.se and I will summarise.
Regards - Mike
Received on Tue Jun 05 2001 - 13:26:53 NZST