On Sat, 15 Mar 2003, Alexander Fomin wrote:

> Hi All ,
> I have RedHat 6.2 and having printing problems on PostScript Printer HP 
> 4 ML.
> How can I remove last page from EVERY print job, where it says my 
> "username and date".
> It's like ID page, but I don't need it.
> Thanks
> 
> 
Try adding a line to the /etc/printcap file in the section for that
printer.  What you need to add it the :sh: option.  Here is what one of
my printers looks like, so you can see how to do it.

SuperScript_660|lp0:\
        :sd=/var/spool/lpd/lp0:\
        :mx#0:\
        :sh:\
        :if=/var/spool/lpd/lp0/filter:\
        :af=/var/spool/lpd/lp0/acct:\
        :lp=/dev/null:

This is a remote Windows printer, so it doesn't talk to a real port.  
The filter takes care of sending it to the remote printer.  Basicly, you 
can add anywhere except the first or last line by inserting:
        :sh:\
The \ at the end means that the printer definition continues on the next 
line.  If you realy wanted to, you could do something like:

SuperScript_660|lp0:sd=/var/spool/lpd/lp0:mx#0:sh:lp=/dev/null:\
        :if=/var/spool/lpd/lp0/filter:af=/var/spool/lpd/lp0/acct:
        
But that is harder to read.  You could also put it all on one line, but 
workwrap would mess it up in the E-mail.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to