[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error when printing to Samsung C410 series colour laser printer



On 2019-06-14 7:15 a.m., Brian wrote:
On Thu 13 Jun 2019 at 21:31:49 -0400, Gary Dale wrote:

On 2019-06-13 5:06 a.m., Brian wrote:
[...]

Your setup would appear to be:

1. The C410 is connected to a CUPS server via USB (but the connection
     can also be via wireless).

2. The server has the Samsung ULD software installed and is advertising
     shared queues.

3. The buster client contacts the server over wireless and is running
     cups-browsed.

Please post what you get with 'lpstat -l -e' from the client. You should
be able to recognise your print queue from the output, so follow up with
'lpoptions -p <print_queue>'.

Not quite. The network connection is wired. The C410 only connects
wirelessly using WPS, which I have disabled on the router.

$
Samsung_C410_Series permanent ipp://localhost/printers/Samsung_C410_Series
dnssd://Samsung%20C410%20Series%20(SEC30CDA71CB48A)._printer._tcp.local/
Samsung_C410_Series_SEC30CDA71CB48A_ network none
ipp://Samsung%20C410%20Series%20(SEC30CDA71CB48A)._ipp._tcp.local/
Samsung_C410_Series_TheLibrarian network none
ipps://Samsung%20C410%20Series%20%40%20TheLibrarian._ipps._tcp.local/cups
Samsung_C410_Series_TheLibrarian_3 permanent
ipp://localhost/printers/Samsung_C410_Series_TheLibrarian_3 file:///dev/null

The printer is defined  on the server (TheLibrarian) twice - once as a
network printer and once as a USB printer. It's defined once on my
workstation as a network printer, so I can avoid going through the server.

$ lpoptions -p Samsung_C410_Series
copies=1 device-uri=dnssd://Samsung%20C410%20Series%20(SEC30CDA71CB48A)._printer._tcp.local/
finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50
job-sheets=none,none marker-change-time=1560454516
marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00,none,none,none,none,none,none
marker-levels=201,178,74,62,89,60,61,89,50,0 marker-names='Black\ Toner\
S/N\ :CRUM-14031169715,Cyan\ Toner\ S/N\ :CRUM-14031169678,Magenta\ Toner\
S/N\ :CRUM-14031182177,Yellow\ Toner\ S/N\ :CRUM-14031182186,Transfer\
Roller,Transfer\ Belt,Fuser\ Life,Pick-up\ Roller,Imaging\ Unit,Waste\
Toner'
marker-types=toner,toner,toner,toner,other,other,fuser,other,other,other
number-up=1 PageSize=Letter printer-commands=none printer-info='Samsung C410
Series' printer-is-accepting-jobs=true printer-is-shared=false
printer-is-temporary=false printer-location='family room'
printer-make-and-model='Samsung C410 Series' printer-state=3
printer-state-change-time=1560454516 printer-state-reasons=none
printer-type=2101324
printer-uri-supported=ipp://localhost/printers/Samsung_C410_Series
Very useful. As confirmation (or not) of an idea, let us have what

cupsfilter -p /etc/cups/ppd/<Samsung_C410_Series_ppd> -m printer/foo \
-e --list-filters /etc/nsswitch.conf

gives (as root). The line is broken for readability.

Reading over the above output, it struck me that my printer setup wasn't quite what I thought it was, so I went back to basics, deleted the queues on both my workstation and the server, downloaded and installed the Samsung driver on both machines then put the print queues back.

Now I seem to be able to print from the workstation to the server via the USB connector.

I stopped sharing the network connected printer from the server since that really made little sense. Unfortunately I still can't print directly to the network connection. The job gets processed but I just get an error message again.

I tried switching to the "driverless" driver but CUPS complained about not being able to copy the PPD file. I noticed an "IPP Anywhere" driver but that produced the same results as the normal driver.

The error I got on both print attempts (normal and IPP Anywhere) was:

SPL-C ERROR - Disconnected from host. Please check the connection and try again.

    POSITION : 0x396913 (3762451)

    SYSTEM : src/os_hook

    LINE :   1981

    VERSION : SPL-C 5.59.01 06-19-2013

This was printed by the printer instead of the output I sent.

The lpstat output is now:

Samsung_C410_Series permanent ipp://localhost/printers/Samsung_C410_Series ipp://SEC30CDA71CB48A.local:631/ipp/printer Samsung_C410_Series_SEC30CDA71CB48A_ network none ipp://Samsung%20C410%20Series%20(SEC30CDA71CB48A)._ipp._tcp.local/ Samsung_C410_Series_TheLibrarian network none ipps://Samsung%20C410%20Series%20%40%20TheLibrarian._ipps._tcp.local/cups

$ lpoptions -p Samsung_C410_Series is now:
copies=1 device-uri=ipp://SEC30CDA71CB48A.local:631/ipp/printer finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=1560552544 marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00,none,none,none,none,none,none marker-levels=64,55,55,55,98,94,94,98,93,0 marker-message=marker-message marker-names='Black\ Toner\ S/N\ :CRUM-14031169715,Cyan\ Toner\ S/N\ :CRUM-14031169678,Magenta\ Toner\ S/N\ :CRUM-14031182177,Yellow\ Toner\ S/N\ :CRUM-14031182186,Transfer\ Roller,Transfer\ Belt,Fuser\ Life,Pick-up\ Roller,Imaging\ Unit,Waste\ Toner' marker-types=toner,toner,toner,toner,other,other,fuser,other,other,other number-up=1 PageSize=Letter printer-commands=none printer-info='Samsung C410 Series' printer-is-accepting-jobs=true printer-is-shared=false printer-is-temporary=false printer-location='family room' printer-make-and-model='Samsung C410 Series' printer-state=3 printer-state-change-time=1560552569 printer-state-reasons=cups-ipp-conformance-failure-report,cups-ipp-missing-send-document printer-type=2101324 printer-uri-supported=ipp://localhost/printers/Samsung_C410_Series

Your latest request fails:

cupsfilter -p /etc/cups/ppd/Samsung_C410_Series_ppd -m printer/foo -e --list-filters /etc/nsswitch.conf
cupsfilter: Unable to open PPD file: Unable to open PPD file on line 0.
Segmentation fault
root@transponder:~# ls -l /etc/cups/ppd
total 512
-rw-r----- 1 root lp 192111 Jun 14 18:39 EPSON_Stylus_Photo_R300_TheLibrarian.ppd
-rw-r----- 1 root lp  78398 Dec  9  2018 EPSON_XP-820_Series.ppd
-rw-r----- 1 root lp  78390 Nov  5  2018 EPSON_XP-820_Series.ppd.O
-rw-r----- 1 root lp  43299 Jun 14 18:39 HP_Color_LaserJet_CP1215_TheLibrarian.ppd
-rw-r----- 1 root lp  21016 Jun 14 18:39 PDF_TheLibrarian.ppd
-rw-r----- 1 root lp  32046 Jun 14 18:40 Samsung_C410_Series.ppd
-rw-r----- 1 root lp  32046 Jun 14 18:40 Samsung_C410_Series.ppd.O
-rw-r----- 1 root lp  32048 Jun 14 18:39 Samsung_C410_Series_TheLibrarian.ppd


Reply to: