Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Opensuse 11.4 and lpd printer

  1. #1
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    278

    Thumbs up Opensuse 11.4 and lpd printer

    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
    Tumbleweed (x86_64) Kernel 5.16 with KDE plasma

  2. #2
    Join Date
    Oct 2010
    Posts
    43

    Default Re: Opensuse 11.4 and lpd printer

    phil524 wrote:

    >
    > 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



    Firewall?

    --
    Don

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,710
    Blog Entries
    1

    Default Re: Opensuse 11.4 and lpd printer

    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.

  4. #4
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    278

    Default Re: Opensuse 11.4 and lpd printer

    Thanks for your answers.

    I had already stopped the firewall. Th error occurs with no firewall started.


    Regards
    Philippe
    Tumbleweed (x86_64) Kernel 5.16 with KDE plasma

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,710
    Blog Entries
    1

    Default Re: Opensuse 11.4 and lpd printer

    A blog dealing with a similar problem.

    Have a look at /etc/cups/printers.conf for the entries mentioned

    Code:
    State Stopped
    StateMessage /usr/lib/cups/backend/lpd failed
    and remove if necessary. Replace with

    Code:
    State Idle
    Restart CUPS with

    Code:
    rccups restart
    then try a test print from the CUPS web interface utility.

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Opensuse 11.4 and lpd printer

    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)

  7. #7
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    278

    Default Re: Opensuse 11.4 and lpd printer

    Quote Originally Posted by deano_ferrari View Post
    A blog dealing with a similar problem.

    Have a look at /etc/cups/printers.conf for the entries mentioned

    .
    Hi,

    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
    Code:
    # 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
    Code:
    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
    Code:
    Unable to connect
             Firefox can't establish a connection to the server at hpprol:631.


    The firewall is stopped

    Regards
    Philippe
    Tumbleweed (x86_64) Kernel 5.16 with KDE plasma

  8. #8
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    278

    Default Re: Opensuse 11.4 and lpd printer

    Quote Originally Posted by robin_listas View Post
    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)
    Hi,

    thanks for your answer,

    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
    Code:
    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
    Regards
    Philippe
    Tumbleweed (x86_64) Kernel 5.16 with KDE plasma

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Opensuse 11.4 and lpd printer

    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)

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,710
    Blog Entries
    1

    Default Re: Opensuse 11.4 and lpd printer

    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).

    software.opensuse.org: Search Results

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •