CUPS in RHEL is unable to communicate with printer

Solution Verified - Updated -

Issue

  • When we send a file to a printer, it just sits in the queue. I have increased the logging level. I amm conercned about the following line:

    prnt/backend/hp.c 746: INFO: open device failed stat=12: hp:/net/HP_LaserJet?ip=10.1.2.3; will retry in 30 seconds...
    
  • We can see many connection error for print queue:

    D [01/Jul/2015:16:26:20 +0100] [Job 1] Connection error: Connection timed out
    D [01/Jul/2015:16:26:20 +0100] [Job 1] Connection error: Connection timed out
    
  • The following status is returned by the "lpstat -p" command:

    printer pr1 now printing pr1-97824.  enabled since Tue 15 May 2018 10:10:55 AM EDT
            The printer is not responding.
    printer pr33 now printing pr33-99134.  enabled since Tue 15 May 2018 12:03:25 PM EDT
            The printer is not responding.
    

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.