Figure 2: Incorporating the tray script into the printcap queue entry
ps1b|spooler for ps1b_2|PostScript Printer (Legal Paper Tray):\
:lp=:rm=sleepy:rp=ps1b_2:mx#0:sd=/var/spool/ps1b:
ps1b_2|spooler to select Legal Paper Tray and then lpr to ps1:\
:lp=/dev/ps1b:sd=/var/spool/ps1b_lp:\
:lf=/var/adm/ps1b-log:\
:sh:mx#0:\
:if=/usr/local/lib/ts/tray_ps1.sh:\
:of=/usr/local/lib/ts/psof:\
:nf=/usr/local/lib/ts/tray_ps1.sh:tf=/usr/local/lib/ts/tray_ps1.sh:\
:rf=/usr/local/lib/ts/tray_ps1.sh:vf=/usr/local/lib/ts/tray_ps1.sh:\
:cf=/usr/local/lib/ts/tray_ps1.sh:df=/usr/local/lib/ts/tray_ps1.sh:
|