Cannot Print On CentOS 6.7

Home » CentOS » Cannot Print On CentOS 6.7
CentOS 9 Comments

Hello everyone,

I have been scouring the Internet for answers, wikipages, non-CentOS
pages, and I am stumped.

I have a HP LaserJet P4014n. When I plugged it in via USB cable, it found it as a P4014, but in any case, it simply wouldn’t print, so I deleted it, and tried to start from scratch.

When I manually add the printer, it seems all is well, but it won’t print a test page. In my CUPS error_log file, I see:

D [21/Aug/2015:11:09:05 -0500] [Job 28]
printer-state-message=”/usr/lib/cups/backend/lpd failed”
D [21/Aug/2015:11:09:05 -0500] [Job 28] printer-state-reasons=paused E [21/Aug/2015:11:11:54 -0500] [CGI] Unable to create avahi client:
Resource temporarily unavailable E [21/Aug/2015:11:11:54 -0500] [cups-deviced] PID 20472 (dnssd) stopped with status 1!
E [21/Aug/2015:11:13:38 -0500] [CGI] Unable to create avahi client:
Resource temporarily unavailable E [21/Aug/2015:11:13:38 -0500] [cups-deviced] PID 21358 (dnssd) stopped with status 1!
E [21/Aug/2015:11:14:48 -0500] [CGI] Unable to create avahi client:
Resource temporarily unavailable E [21/Aug/2015:11:14:48 -0500] [cups-deviced] PID 22205 (dnssd) stopped with status 1!
E [21/Aug/2015:11:16:02 -0500] [CGI] Unable to create avahi client:
Resource temporarily unavailable E [21/Aug/2015:11:16:02 -0500] [cups-deviced] PID 23522 (dnssd) stopped with status 1!
# lpq HP-LaserJet-P4014 is ready and printing Rank Owner Job File(s) Total Size active root 33 Test Page 1024 bytes

But nothing prints. Any ideas?

Gilbert

*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
*******************************************************************************

9 thoughts on - Cannot Print On CentOS 6.7

  • Hello Eero,

    I just saw that. I now have it so that it prints a few pages, then locks up the printer. Funny, it worked just fine under CentOS5, now under CentOS
    6, it won’t? That’s weird. Do you, or anyone else, have any suggestions?

    Gilbert

    *******************************************************************************
    Gilbert Sebenste ********
    (My opinions only!) ******
    *******************************************************************************

    >

  • Well, maybe it’s bug in cups? Usually software comes with bugs..

    Eero
    21.8.2015 7.52 ip. “Gilbert Sebenste”
    kirjoitti:

  • How about HPLIP? if you do not have it installed, I’d recomment doing so before trying other drivers. it should “just work”.

  • Do you have hplip installed? For my CentOS 6.7, I have hplip 3.14.6. In the past, what has worked best for me it use the hp-setup utility from hplip. It does interface fine with cups. I also use the hpgui (I
    added it to my startup apps). From that you can check status, start/stop state etc.


    ——————————————–
    MzK

    “The journey of a thousand miles begins with a single step.”
    –Lao Tzu

  • Using HPLIp…it’s been years since I have set up a printer on CentOS. Is that using the localhost:631 website? Tried that, still got the same result.

    Gilbert

    *******************************************************************************
    Gilbert Sebenste ********
    (My opinions only!) ******
    Staff Meteorologist, Northern Illinois University ****
    E-mail: sebenste@weather.admin.niu.edu ***
    web: http://weather.admin.niu.edu **
    Twitter: http://www.twitter.com/NIU_Weather **
    Facebook: http://www.facebook.com/niu.weather *
    *******************************************************************************

  • localhost:631 is used for cups administration. This isn’t directly related to hplip.

    Tried that, still got the


    ——————————————–
    MzK

    “The journey of a thousand miles begins with a single step.”
    –Lao Tzu

  • No, 631 is for access to the web server built into CUPS.

    HPLIP is a printer driver toolkit provided by HP that installs and manages the “official” HP drivers for (nearly) all their printers, on Linux systems.

    try “yum install hplip”.

    I’ve got four hplip packages, I don’t recall if the above command grabs them all or not, so here’s what I’ve got installed:

    hpijs.x86_64 1:3.13.7-6.el7 @anaconda
    hplip.x86_64 3.13.7-6.el7 @base
    hplip-common.x86_64 3.13.7-6.el7 @anaconda
    hplip-gui.x86_64 3.13.7-6.el7 @base
    hplip-libs.x86_64 3.13.7-6.el7 @anaconda

    note there’s also a hpijs package. don’t know if you need it or not, but you might!

    good luck!