CUPS Printing Fails

Discussion in 'macOS' started by tiwizard, Oct 9, 2010.

  1. tiwizard macrumors regular

    Jul 12, 2010
    I am trying to print via LPD on my MBP to a Windows 7 computer. I already enabled LPD Server in the "Enable Windows Features" dialog in Windows 7.

    I added it by the CUPS admin page (IP I used was lpd:// because the computer's IP is and it seemed to add fine. I selected the model (Samsung CLP 620) and tried printing a test page.

    It fails (usr/libexec/cups/backend/lpd failed) with the following log:

    D [09/Oct/2010:18:28:51 -0700] [Job 6] Ready to print.
    D [09/Oct/2010:18:28:51 -0700] [Job 6] STATE: +connecting-to-device
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Looking up ""...
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Connecting to for printer 
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Connecting to printer...
    D [09/Oct/2010:18:28:51 -0700] [Job 6] STATE: -connecting-to-device
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Connected to printer...
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Connected to (IPv4) (local port 1017)...
    D [09/Oct/2010:18:28:51 -0700] [Job 6] lpd_command 02 
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Sending command string (2 bytes)...
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Reading command status...
    D [09/Oct/2010:18:28:51 -0700] [Job 6] lpd_command returning 1
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Backend returned status 1 (failed)
    D [09/Oct/2010:18:28:51 -0700] [Job 6] Printer stopped due to backend errors; please consult the error_log file for details.
    D [09/Oct/2010:18:28:51 -0700] [Job 6] End of messages
    D [09/Oct/2010:18:28:51 -0700] [Job 6] printer-state=5(stopped)
    D [09/Oct/2010:18:28:51 -0700] [Job 6] printer-state-message="/usr/libexec/cups/backend/lpd failed"
    D [09/Oct/2010:18:28:51 -0700] [Job 6] printer-state-reasons=paused
    Anyone have an idea why? I don't see anything in that log that tells me why it failed...
  2. crypticlineage macrumors regular

    Jun 24, 2010
    Try the port number after ip address in settings. It can be either 9100 or some other depending upon the protocol used to connect to the printer.

    If your windows box is running as a print server, it needs to enable connections from your mac. I suppose you have set this already.

    Also, why are you using lpd? You may have to use specific protocol depending upon the manufacturer of the printer.

    You can also get help from #cups channel on
  3. MisterMe macrumors G4


    Jul 17, 2002
    I have no idea what you are doing. The IP-address for the built-in MacOS X CUPS admin page is this one. It has nothing to do with the computer's IP-address. However, you don't need to manually configure CUPS. You are supposed to use either the Printer Setup Utility [in older versions of MacOS X] or the Print & Fax preferences pane in System Preferences [in Snow Leopard].

    The CUPS driver for the Samsung CLP 620 can be found here. However, you must be careful which driver you install.
  4. tiwizard thread starter macrumors regular

    Jul 12, 2010
    I am simply using LDP because I couldn't get it to print through SMB. I have the LDP server enabled and the printer is able to be shared.

    Sorry if it was confusing-- I went to the correct IP to manage the CUPS printers, but I entered the IP address when I was adding the IP address of the printer.

    I can't find the printer through the setup utility-- it never shows up.

    I'll try adding the port now, but if anyone has any other ideas it would be helpful :)
  5. MisterMe macrumors G4


    Jul 17, 2002
    The printer will only show up if it supports Bonjour, AppleTalk (which is unavailable on MacOS X 10.6), or if you use direct connection. If you use LPD, then the printer will not show up. You must type-in the IP-address of the print server. If you share the printer from a Windows computer, then the IP-address of the print server is the IP-address of the host computer. If the printer is accessed exclusively over the network, then it has an internal print server. You may get its IP-address by printing a test page or from the front panel on the printer. Type in the IP-address and select the correct PPD file.

    For additional help, you may download the Gutenprint bundle of CUPS drivers. It includes a user's manual for using CUPS. The Gutenprint site includes a link to allow you to download the manual separately.

Share This Page