I have two printers connected to an Intel NetportExpress.
The printer connections are defined as lpd://192.168.1.150/LPT1_PASSTHRU
where 192.168.1.150 is the IP address of the Intel NetportExpress, LPT1_PASSTHRU and LPT2_PASSTHRU are the queues for the 2 printers
This setting works perfectly in Opensuse 11.2 or Opensus11.3
In Opensuse 11.4 this doesn’t works
when I try printing a test page I receive in cups this error message “/usr/lib/cups/backend/lpd failed”
I tried defining the printer in Yast or in CUPS but the result is every time the same: failed
i added my user to the group lp
the command
>
> I have strange problem with my printers.
>
> I have two printers connected to an Intel NetportExpress.
> The printer connections are defined as
> lpd://192.168.1.150/LPT1_PASSTHRU
> where 192.168.1.150 is the IP address of the Intel NetportExpress,
> LPT1_PASSTHRU and LPT2_PASSTHRU are the queues for the 2 printers
> This setting works perfectly in Opensuse 11.2 or Opensus11.3
>
> In Opensuse 11.4 this doesn’t works
> when I try printing a test page I receive in cups this error message
> “/usr/lib/cups/backend/lpd failed”
>
> I tried defining the printer in Yast or in CUPS but the result is every
> time the same: failed
> i added my user to the group lp
> the command
>
> Code:
> --------------------
> lsmod | grep lp
> lp 10477 0
> --------------------
>
>
> Any advice?
> Many thanks in advance
> Philippe
Further to drab’s advice, I think the relevant port 515 (TCP) that LPD print servers listen on, so make the necessary adjustments via YaST > Security and Users > Firewall.
On 2011-03-26 16:06, phil524 wrote:
> In Opensuse 11.4 this doesn’t works
> when I try printing a test page I receive in cups this error message
> “/usr/lib/cups/backend/lpd failed”
You have to look in the cups logs, perhaps increase verbosity
/etc/cups/cupsd.conf:
Log general information in error_log - change “info” to “debug” for
troubleshooting…
debug2 Log everything.
debug Log almost everything.
info Log all requests and state changes.
warn Log errors and warnings.
error Log only errors.
none Log nothing.
#LogLevel debug
LogLevel info
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
interesting but in my case I have the following status displayed in cups: ( idle, accepting jobs, not shared)
if I look in /etc/cups/printer.conf
# Printer configuration file for CUPS v1.4.6
# Written by cupsd on 2011-03-27 20:42
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP2550>
Info Hp colorlaserjet
Location
MakeModel HP Color LaserJet 2550 Foomatic/Postscript
DeviceURI lpd://192.168.1.150/LPT1_PASSTHRU
State Idle
StateTime 1301251311
Type 8400924
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
and the error is displayed on the job level in cups printer page
HP2550-18 Test Page anonymous 1k Unknown held since
lun. 28 mars 2011 16:20:51 CEST
"/usr/lib/cups/backend/lpd failed"
I have also deleted the printer definition and recreated it in cups or via Yast but the error remains
In cups if I click on the job id I receive a login screen, I enter root and the password and receive this error
Unable to connect
Firefox can't establish a connection to the server at hpprol:631.
I changed in the tab administration of cups, the server logging : activated “Save debugging information for troubleshooting”
after cups restart I asked again printing a test page
here the error log Pastebin.com
the only thing that i found is not more detailled
D [28/Mar/2011:17:00:32 +0200] [Job 19] lpd_command returning 1
D [28/Mar/2011:17:00:32 +0200] PID 9080 (/usr/lib/cups/backend/lpd) stopped with status 1!
I [28/Mar/2011:17:00:32 +0200] [Job 19] Backend returned status 1 (failed)
D
On 2011-03-28 17:06, phil524 wrote:
> Code:
> --------------------
> HP2550-18 Test Page anonymous 1k Unknown held since
> lun. 28 mars 2011 16:20:51 CEST
> “/usr/lib/cups/backend/lpd failed”
> --------------------
Does the file “/usr/lib/cups/backend/lpd” exist? It is not in my system.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
Does the file “/usr/lib/cups/backend/lpd” exist? It is not in my system.
Well spotted Carlos.
I see that 11.4 has a package called cups-backends that may not yet be installed on your system. (I’m still running 11.3 and the backends are part of the cups package).
I have verified: program /usr/lib/cups/backend/lpd exist and is executable
hpprol:/usr/lib/cups/backend # ./lpd -?
Usage: ./lpd job-id user title copies options [file]
hpprol:/usr/lib/cups/backend # ./lpd HP2550-20 philippe titre 1
Usage: ./lpd job-id user title copies options [file]
not sure if this are the correct parameters that lpd is waiting
no man or info for lpd
I reinstalled yesterday all rpm related to cups from the Opensuse repository
Yet another info:
the kernel that I use is the XEN kernel
Linux hpprol 2.6.37.1-1.2-xen #1 SMP 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux
after the initial installation I found that the bridge for IP connection was not correctly configured: I did some correction
here the ifconfig
On 2011-03-31 22:36, phil524 wrote:
>
> robin_listas;2315578 Wrote:
>> This is weird. The file should be in “/usr/lib64/cups/backend/lpd”, not
>> where you have yours.
>>
>
> Yes I have also see this, In Yast a large part of cups is located in
> /usr/lib. Maybe some parts are still using 32 bit libraries
True, but in mine that particular file is in the 64bit path (11.2). I
wonder why the change.
> The problem is now solved: bad configuration of the ethernet bridge
Curious. Glad you found it.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)