Is there an option to print the job class in the page headers in RHEL?

Solution Verified - Updated -

Issue

  • On Unix platforms, the user is able to pass the "class" option to printer using below command:

    lpr -P <PRINT_QUEUE_NAME> -C CN_SEPARATOR.pdf,cover <FILE_NAME>
    

    the "-C" option in Unix passes the class option to the printer, is there equivalent option on Linux?

  • After Migrating from Solaris to Linux, our print jobs are not printing banner pages properly. Please find the difference in printing banner between Solaris and Linux.

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