Results 1 to 2 of 2
I am trying to send text files to a line printer using the command
'>cat file.txt | unix2dos | lpr -P seris_lpr'
Each time a print job is scheduled I ...
- 06-30-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 6
Unwanted CUPS header
I am trying to send text files to a line printer using the command
'>cat file.txt | unix2dos | lpr -P seris_lpr'
Each time a print job is scheduled I get what looks to be a CUPS print header (see below). Is there some option I can set to stop the header?
("CUPS")
(301)
(name)
(name)
(C)
(UNIX)
(Printing)
(System)
(1 - loopval)
(1 - loopval)
(E)
(S)
(P)
(asy)
(oftware)
(roducts)
(nominally 33)
(nominally 16.5)
(Job ID: )
(seris_lpr-3085)
(Title: )
(\(stdin\)
(Requesting User: )
(system)
(Billing Info: )
()
("CUPS")
(301)
(name)
(name)
(C)
(UNIX)
(Printing)
(System)
(1 - loopval)
(1 - loopval)
(E)
(S)
(P)
(asy)
(oftware)
(roducts)
(nominally 33)
(nominally 16.5)
(Job ID: )
(seris_lpr-3086)
(Title: )
(\(stdin\)
(Requesting User: )
(system)
(Billing Info: )
()
(
|----------------------------------------------------------------------------|
| Report Name | Generation Time | Start Time | End Time |
- 06-30-2011 #2Just Joined!
- Join Date
- Jun 2011
- Posts
- 6
I have used the command
>lpadmin -p seris_lpr -o job-sheets-default=none,none
to turn off banner pages.
I can see in /etc/cups/printers.conf that the printer config is update i.e. JobSheets none none
This seems to stop my unwanted banner but only when I run my lpr command as root.
When I run my lpr command as system I still get the unwanted banner! What am I doing wrong?


Reply With Quote