PS プリンタへ出力する場合
/etc/printcap に以下の様な記述をするだけで良い.
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.
psp|Local PS printer entry:\
:lp=/dev/lp0:\
:rp=lp:\
:sd=/var/spool/lpd/remote:\
:mx#0:\
:sh:
また ネットワークプリンタである場合は以下の様になる
rpsp|Remote PS printer entry:\
:lp=:\
:rm=IP address or Host Name:\
:rp=lp:\
:sd=/var/spool/lpd/remote:\
:mx#0:\
:sh: