Specifying printing options in Red Hat Enterprise Linux

Solution Verified - Updated -

Issue

  • How to specify options for printing in portrait mode or tray settings in cups on Red Hat Enterprise Linux ?
  • How to set printing from CUPS to default to landscape?
  • How do I Configure printer configuration with the following options:

    Page Bottom 43
    Page Left 28
    Page Right 28
    Page Top 36
    
  • I have added lpoptions using:

    lpoptions -p SPPRTCNTR -o"cpi=17 l=66 page-bottom=0 page-left=25 page-length=66 page-top=0"
    

    Yet when we print reports to this printer, the print comes out of the printer in "10 cpi" and NONE of the features that we set with lpoptions.

  • We want to print a cover page, however using the following command doesn't work:

    lpr -P bprinter -o InputSlot=tray1,job-sheets=classified test.txt
    
  • How do I set the default to output to tray 3 only via command line.

  • How to I change the paper type in CUPS. CUPS will currently only print on A4 paper.

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Common Unix Printing System (CUPS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content