Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: CUPS does not print | Samsung CLP-315

  1. #1

    Default CUPS does not print | Samsung CLP-315

    I own a Samsung CLP-315 printer, which used to work flawlessly on Tumbleweed.

    Recently, I downgraded to Leap 42.3 due to unrelated issues. Since then, I am not able to get this printer to work. No printing at all...

    Some basic facts:

    CUPS 1.7.5
    openSUSE Leap 42.3

    Code:
    $ lsusb
    Bus 001 Device 002: ID 04e8:328e Samsung Electronics Co., Ltd CLP-310 Color Laser Printer
    Code:
    $ ls -l /dev/usb/lp* /dev/bus/usb/*/* 
    crw-rw-r--  1 root root 189,   0 28. Feb 09:27 /dev/bus/usb/001/001
    crw-rw-rw-  1 root lp   189,   1 28. Feb 09:27 /dev/bus/usb/001/002
    crw-rw-r--  1 root root 189,   2 28. Feb 09:27 /dev/bus/usb/001/003
    crw-rw-r--  1 root root 189,   3 28. Feb 09:27 /dev/bus/usb/001/004
    crw-rw-r--+ 1 root root 189,   4 28. Feb 09:27 /dev/bus/usb/001/005
    crw-rw-r--  1 root root 189,   5 28. Feb 09:27 /dev/bus/usb/001/006
    crw-rw-r--  1 root root 189,   6 28. Feb 09:27 /dev/bus/usb/001/007
    crw-rw-r--  1 root root 189, 128 28. Feb 09:27 /dev/bus/usb/002/001
    crw-rw-r--  1 root root 189, 256 28. Feb 09:27 /dev/bus/usb/003/001
    crw-rw-r--  1 root root 189, 384 28. Feb 09:27 /dev/bus/usb/004/001
    crw-rw-r--  1 root root 189, 385 28. Feb 09:27 /dev/bus/usb/004/002
    crw-rw-r--  1 root root 189, 512 28. Feb 09:27 /dev/bus/usb/005/001
    crw-rw----  1 root lp   180,   0 28. Feb 09:27 /dev/usb/lp0
    Code:
    $ sudo lpinfo -v
    network ipp
    file cups-pdf:/
    network http
    direct hp
    network https
    network ipps
    network lpd
    network beh
    serial serial:/dev/ttyS0?baud=115200
    direct pipe
    network socket
    network beh.pl
    direct usb://Samsung/CLP-310%20Series?serial=1434BAFS105740W
    network smb
    direct hpfax
    Code:
    $ sudo usb_printerid /dev/usb/lp0
    GET_DEVICE_ID string:
    MFG:Samsung;CMD:SPLC,FWV;MDL:CLP-310 Series;CLS:PRINTER;STATUS:BUSY;
    Code:
    $ sudo lpinfo -m | grep CLP-3
    Samsung-CLP-300.ppd.gz Samsung CLP-300 Foomatic/foo2qpdl (recommended)
    lsb/usr/foo2zjs/Samsung-CLP-300.ppd.gz Samsung CLP-300 Foomatic/foo2qpdl (recommended)
    uld-samsung/Samsung_CLP-300_Series.ppd Samsung CLP-300 Series
    samsung/CLP-300splc.ppd.gz Samsung CLP-300 Series (SPL-C)
    Samsung-CLP-310.ppd.gz Samsung CLP-310 Foomatic/foo2qpdl (recommended)
    lsb/usr/foo2zjs/Samsung-CLP-310.ppd.gz Samsung CLP-310 Foomatic/foo2qpdl (recommended)
    uld-samsung/Samsung_CLP-310_Series.ppd Samsung CLP-310 Series
    samsung/CLP-310splc.ppd.gz Samsung CLP-310 Series (SPL-C)
    Samsung-CLP-315.ppd.gz Samsung CLP-315 Foomatic/foo2qpdl (recommended)
    lsb/usr/foo2zjs/Samsung-CLP-315.ppd.gz Samsung CLP-315 Foomatic/foo2qpdl (recommended)
    uld-samsung/Samsung_CLP-320_Series.ppd Samsung CLP-320 Series
    Samsung-CLP-325.ppd.gz Samsung CLP-325 Foomatic/foo2qpdl (recommended)
    lsb/usr/foo2zjs/Samsung-CLP-325.ppd.gz Samsung CLP-325 Foomatic/foo2qpdl (recommended)
    samsung/CLP-340splc.ppd.gz Samsung CLP-340 Series (SPL-C)
    OpenPrintingPPDs/postscript/Samsung-CLP-350.Postscript.ppd.gz Samsung CLP-350 Foomatic/Postscript
    OpenPrintingPPDs/ghostscript/Samsung-CLP-350.pxlcolor.ppd.gz Samsung CLP-350 Foomatic/pxlcolor
    OpenPrintingPPDs/postscript/Samsung-CLP-350.Postscript-Samsung.ppd.gz Samsung CLP-350 Series PS
    samsung/CLP-350ps.ppd.gz Samsung CLP-350 Series PS
    uld-samsung/Samsung_CLP-350_Series.ppd Samsung CLP-350 Series PS
    uld-samsung/Samsung_CLP-360_Series.ppd Samsung CLP-360 Series
    Samsung-CLP-365.ppd.gz Samsung CLP-365 Foomatic/foo2qpdl (recommended)
    lsb/usr/foo2zjs/Samsung-CLP-365.ppd.gz Samsung CLP-365 Foomatic/foo2qpdl (recommended)
    I have two driver installed, the original Samsung driver which used to work previously and the foo2qpdl driver from here (compiled and installed according to the instructions given there).

    Log with Samsung driver after trying to send a test page to printer: https://goo.gl/AvzZML
    Log with foo2qpdl driver: https://goo.gl/S7LBc5


    Any help will be greatly appreciated.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,695
    Blog Entries
    1

    Default Re: CUPS does not print | Samsung CLP-315

    If you start by power-cycling the printer, and cancel all stale jobs with
    Code:
    cancel -a
    can you then print a test page from CUPS successfully (with either driver)?

    I note that both logs have the following messages present
    Code:
    Got USB transaction timeout during read.
    This leads me wonder if it is a USB comms-related issue. I wonder if configuring the printer to use unidirectional communication might help here? Using the name of the printer try configuring with
    Code:
    lpadmin -p <printer> -o usb-unidir-default=true
    Not sure if you did this already, but CUPS logging can be put into debug mode with
    Code:
    cupsctl --debug-logging
    That might help yield more information about what is causing the problem.

  3. #3

    Default Re: CUPS does not print | Samsung CLP-315

    Thank you for your reply.

    I did
    Code:
    sudo lpadmin -p Samsung_CLP-310_Series -o usb-unidir-default=true
    and
    Code:
    sudo lpadmin -p samsungclp310series -o usb-unidir-default=true
    after clearing the printer cache. Printer is still dead.

    The debugging level was already raised by manually setting the Loglevel to debug in /etc/cups/cupsd.conf

    Here is the error_log output from CUPS.

    I hate it to write but the printer works under Windows 10.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,695
    Blog Entries
    1

    Default Re: CUPS does not print | Samsung CLP-315

    Quote Originally Posted by Heulsuse71 View Post
    Here is the error_log output from CUPS.
    I couldn't access that site (paste is password protected). Please use our https://paste.opensuse.org/ instead.

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: CUPS does not print | Samsung CLP-315

    Did you try removing the printer queue in YaST, then readd it ? Is the self-compiled driver recompiles on Leap ?

    EDIT: Just discovered a different driver installer from Samsung themselves. IIRC that worked fine on Leap for 3 different Samsung printers. If you want I can tar those and send you a link to download it from my Nextcloud instance.

    The issue might simply be some leftover config ( TW has CUPS 2.2.6 ) that blocks working on Leap. Meanwhile it's quite a downgrade.
    BTW How did you perform the downgrade?
    Last edited by Knurpht; 01-Mar-2018 at 16:53.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: CUPS does not print | Samsung CLP-315

    @deano_ferrari: Paste is now accessible.

    @Knurpht:
    • Yes, I removed the printer queue in localhost:631
    • The downgrade was performed as a fresh install, so no leftovers from TW. The foo2 driver was therefore freshly compiled.
    • There are a lot of driver packages around from Samsung. The one I used was supposed to work. But I am of course open to give your driver a try.

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,695
    Blog Entries
    1

    Default Re: CUPS does not print | Samsung CLP-315

    Quote Originally Posted by Heulsuse71 View Post
    @deano_ferrari: Paste is now accessible.
    The error_log seems to be a bit different than before you applied the unidirectional USB communication, but I note that there are numerous entries like this...
    Code:
    D [01/Mar/2018:23:44:46 +0100] Report: stringpool-total-bytes=271040
    D [01/Mar/2018:23:44:46 +0100] [Job 95] Waiting for printer to become available.
    D [01/Mar/2018:23:44:51 +0100] [Job 95] libusb_get_device_list=10
    D [01/Mar/2018:23:44:51 +0100] [Job 95] Waiting for printer to become available.
    D [01/Mar/2018:23:44:56 +0100] [Job 95] libusb_get_device_list=10
    D [01/Mar/2018:23:44:56 +0100] [Job 95] Waiting for printer to become available.
    D [01/Mar/2018:23:45:01 +0100] [Job 95] libusb_get_device_list=10
    D [01/Mar/2018:23:45:01 +0100] [Job 95] Waiting for printer to become available.
    If I've interpreted this correctly, the data never gets sent to the printer (as it's not available) so the job never completes? I don't know what the underlying cause of this is though. Is the printer connected via a USB 2 or 3 port? Not sure if this might make a difference or not, but I have encountered users reporting scanner problems when attached to USB 3 ports on occasion.
    Last edited by deano_ferrari; 02-Mar-2018 at 02:02.

  8. #8

    Default Re: CUPS does not print | Samsung CLP-315

    My computer is rather old so only USB 2.0 ports are available.

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,695
    Blog Entries
    1

    Default Re: CUPS does not print | Samsung CLP-315

    I'm not sure where the problem lies, but perhaps worth trying the following:

    1) Install the current stable kernel, and see if that helps with this strange comms behaviour. (The existing kernel can be left in place, in case you need to boot from it again.)

    2) Subscribe to the Printing repo with zypper and upgrade CUPS to see if that helps

    https://download.opensuse.org/reposi...USE_Leap_42.3/

    If you need help with doing either of these let me know.

  10. #10

    Default Re: CUPS does not print | Samsung CLP-315

    No luck.

    Upgrading the kernel has no effect. Same for CUPS with the one Printing repo.

    I deinstalled all drivers (foo2, splix, ULD), deleted CUPS, reinstalled CUPS and the Universal Linux Driver from Samsung which is supposed to work: Nothing.

    Here is some data from the log file:

    https://paste.kde.org/pur64m4oq/5ahscg


    And that is what is installed in terms of CUPS:

    Code:
    rpm -qa | grep cups
    cups-2.3b3-226.1.x86_64
    libcupscgi1-2.3b3-226.1.x86_64
    libcupsppdc1-2.3b3-226.1.x86_64
    cups-libs-32bit-1.7.5-11.1.x86_64
    libcupsimage2-2.3b3-226.1.x86_64
    cups-pk-helper-0.2.5-9.1.x86_64
    cups-filters-1.20.0-78.1.x86_64
    libcups2-2.3b3-226.1.x86_64
    cups-pk-helper-lang-0.2.5-9.1.noarch
    cups-client-2.3b3-226.1.x86_64
    libcupsmime1-2.3b3-226.1.x86_64
    python3-cups-1.9.72-6.1.x86_64
    cups-config-2.3b3-226.1.x86_64
    python3-cupshelpers-1.5.7-9.2.noarch
    cups-backends-1.1-296.2.noarch
    cups-pdf-3.0.1-8.3.x86_64

Page 1 of 3 123 LastLast

Posting Permissions

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