Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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 |

  2. #2
    Just 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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •