CUPS returns "client-error-bad-request" when printing a file

Solution Verified - Updated -

Issue

  • Printing works fine using CUPS in RHEL 6. but below messages keeps showing up in /var/log/cups/error_log:

    E [11/Feb/2016:14:08:34 -0500] Returning IPP client-error-bad-request for Send-Document (ipp://localhost:631/printers/prt123) from localhost
    I [11/Feb/2016:14:08:34 -0500] [Job 65584] Canceled by "root".
    E [11/Feb/2016:14:08:34 -0500] Returning IPP client-error-bad-request for Send-Document (ipp://localhost:631/printers/PRT234) from localhost
    I [11/Feb/2016:14:08:34 -0500] [Job 65585] Canceled by "root".
    
  • In RHEL 7, some jobs are not printing and we see the following messages in the error_log:

    E [02/Feb/2019:12:23:52 -0500] Returning IPP client-error-bad-request for Send-Document (ipp://localhost:631/printers/prab2) from localhost
    E [02/Feb/2019:12:37:34 -0500] Returning IPP client-error-bad-request for Send-Document (ipp://localhost:631/printers/ltrpt08) from localhost
    

Environment

  • Red Hat Enterprise Linux (RHEL) 6, 7, & 8
  • Common Unix Printing System (CUPS) 1.4.2, 1.6.3, & 2.2.6

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