Posts: 5
jerem
Joined: 02 May 2009
#1
Hello,

I'm french so I hope you will understand me __{{emoticon}}__

I'm a begginer in Linux.
I've discover AntiX with the 7.5 version and I love it!
But now I've installed the Antix 8 which works fine expect with my printers __{{emoticon}}__

On the 7.5 I've juste installed drivers (gutenprint) to use my printer but I do the same things and this time I have an error when I try to print a test page:
"/usr/lib/cups/backend/lpd failed"
And the printer is paused.
That do it for my two printers and on my Fedora 10, that works good with de same drivers :S

I don't understand this error.. I need de lpd port because I use a printing server.
Do I need to install a special package? or something?

I've travelled Google but the responses don't help me more __{{emoticon}}__

I hope you could help me!

Thank you.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#2
jerem,

Welcome to the antiX family, we are a friendly group here and will help where we can.

Could you post your /etc/cups/printer.conf so we can examine the problem in more detail.

cheers,
oldhoghead
Posts: 903
plvera
Joined: 11 Oct 2008
#3
Hello Jerem:

Welcome to Antix! I'm sorry that CUPS is giving you so much trouble. I myself have been struggling over the last 2 hours to get a network printer (HP) to work. So far, it hasn't worked but I have gotten to work in the past, so I need to find troubleshoot my problem some more. If I find any great solutions, I'll let you know.

I hope your problem will be resolved soon.

enjoy Antix!

Pedro
Posts: 5
jerem
Joined: 02 May 2009
#4
Hello!

Thank you for the welcome! It's awesome family __{{emoticon}}__

Here is my printers.conf:
# Printer configuration file for CUPS v1.3.8
# Written by cupsd on 2009-05-02 07:44
<Printer HL-1250---CUPS+Gutenprint-v5.2.3>
Info HL-1250---CUPS+Gutenprint-v5.2.3
DeviceURI lpd://192.168.1.10/BrotherH" onclick="window.open(this.href);return false
State Stopped
StateMessage /usr/lib/cups/backend/lpd failed
StateTime 1241264664
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
I've tried to change the State in idle (and that active the printer in cups) but when i try to print it pass in stopped and write the StateMessage __{{emoticon}}__

I hopde you could Help me __{{emoticon}}__

Thank you!

Really good Family __{{emoticon}}__

Jerem
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
Try this:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux.dsplabs.com.au/cups-fixing-cups-printer-problem-usr-lib-cups-backend-lpd-failed-p16/"
linktext was:"http://linux.dsplabs.com.au/cups-fixing ... ailed-p16/"
====================================
" onclick="window.open(this.href);return false
Posts: 5
jerem
Joined: 02 May 2009
#6
anticapitalista wrote:Try this:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux.dsplabs.com.au/cups-fixing"
linktext was:"http://linux.dsplabs.com.au/cups-fixing"
====================================
" onclick="window.open(this.href);return false ... ailed-p16/
Thank you for the reply __{{emoticon}}__
But I've already try this (it was the first answer in Google). It change the status of the printer but when I try to print, I've the same error __{{emoticon}}__

Thank you for the help!

Jerem
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#7
Is lpd running? Does cups get started at boot? Run as root:

Code: Select all

#sysvconfig
Select enable/disable and scroll down to see if cups is set to start at boot. Also, have you upgraded recently? I was having trouble printing over a network but recent updates seem to have cleared up the problems(this is with sid though).
Posts: 5
jerem
Joined: 02 May 2009
#8
eriefisher wrote:Is lpd running? Does cups get started at boot? Run as root:

Code: Select all

#sysvconfig
Select enable/disable and scroll down to see if cups is set to start at boot. Also, have you upgraded recently? I was having trouble printing over a network but recent updates seem to have cleared up the problems(this is with sid though).
Hello,

I don't know if lpd is running: How could I do to know that?
I try this:

Code: Select all

root@JeremLaptop:~# ps aux | grep lpd
root      5785  0.0  0.4   4920   792 pts/1    S+   02:07   0:00 grep lpd
root@JeremLaptop:~# service lpd start
root@JeremLaptop:~# ps aux | grep lpd
root      5827  0.0  0.4   4920   792 pts/1    S+   02:08   0:00 grep lpd
root@JeremLaptop:~# 
but I don't know if it works... that just show my command __{{emoticon}}__
How could verify if lpd is running?

However, cups is running et start well at boot __{{emoticon}}__
And my version is: 1.3.8


Thank you again! __{{emoticon}}__
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#9
jerem,

can you post your output of

lpstat -t

also have you tried to configure your printer using:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://localhost:631/"
linktext was:"http://localhost:631/"
====================================
" onclick="window.open(this.href);return false

cheers,
oldhoghead
Posts: 5
jerem
Joined: 02 May 2009
#10
I've found! __{{emoticon}}__
I'm not sure but it works now. Yesterday I've installed a package: libcupsimage2
And I've tested and that don't work , and today I've tried to reinstall my printer and that works ! I haven't install other things :s I don't know why but it works __{{emoticon}}__

I've always use the web interface of cups (localhost:631) and my lpstats -t is:

Code: Select all

jerem@JeremLaptop:~$ lpstat -t
scheduler is running
no system default destination
device for Brother: lpd://192.168.1.10/BrotherH
device for HP_CP1515n: lpd://192.168.1.10/HPColorL
Brother accepting requests since Sun May  3 09:40:58 2009
HP_CP1515n accepting requests since Sun May  3 09:44:34 2009
printer Brother is idle.  enabled since Sun May  3 09:40:58 2009
printer HP_CP1515n is idle.  enabled since Sun May  3 09:44:34 2009
I hope that works again tomorrow lol __{{emoticon}}__

Thank you for all the help! This is a very cool forum!!

Jerem
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#11
Great,

Code: Select all

    jerem@JeremLaptop:~$ lpstat -t
    scheduler is running
    no system default destination
    device for Brother: lpd://192.168.1.10/BrotherH
    device for HP_CP1515n: lpd://192.168.1.10/HPColorL
    Brother accepting requests since Sun May  3 09:40:58 2009
    HP_CP1515n accepting requests since Sun May  3 09:44:34 2009
    printer Brother is idle.  enabled since Sun May  3 09:40:58 2009
    printer HP_CP1515n is idle.  enabled since Sun May  3 09:44:34 2009
Your first post did not show a lpd for the HP_CP1515n, whatever you did has it now available. Hope it stays fixed!!

cheers,
oldhoghead