Re: Printing

From: Prakash Countcham (countcham_p.nos_at_pam.invalid.club-internet.fr)
Date: 01/14/04


Date: Wed, 14 Jan 2004 11:45:04 +0100

Lew Pitcher wrote:
> How about changing your /etc/printcap entry to enable the :sh:
> ("suppress headers") option? See the printcap(5) manpage for details.

Interesting ! That is what I am looking for (this file was also pointed out
by the command suggested by mj: "strace -e trace=open lpr <file>"). But this
option is already in the printcap file (produced by magicfilter) :

  :sd=/var/spool/lpd/printer:rm=printer.host.fr:rp=printer:lpr_bounce:\
  :sh:pw#80:pl#72:px#1440:mx#0:\
  :if=/etc/magicfilter/ps600-filter:\
  :af=/var/log/lp-acct:lf=/var/log/lp-errs:

Is it a but of lpr ? Should I do a bug report ?

Thanks for your help !

Prakash