I'm trying to get my Samsung SCX-3405W printer working on my Raspberry Pi Model B+, running Raspbian and CUPS, and I seem to be running into a wall with "rastertospl" or the corresponding PPD.
$ uname -a
Linux raspi01 3.18.5+ #744 PREEMPT Fri Jan 30 18:19:07 GMT 2015 armv6l GNU/Linux
Samsung Driver: ULD_V1.00.27.04.tar.gz
The driver includes ARM binaries, but the install script had to be modified slightly to include "armhf" as a valid ARM architecture.
I am able to add the printer using the CUPS web interface, the driver is found, and it looks great, except for when I go to print.
The job status says:
stopped "/usr/lib/cups/filter/rastertospl failed"
Now, the file rastertospl does exist, and is executable, but perhaps there's something else I'm missing.
$ /usr/lib/cups/filter/rastertospl
INFO: Usage: rastertospl job-id user title copies options [file]
ERROR: Wrong number of arguments
I enabled debug logging in CUPS, and tested a print job. The following is an excerpt of where I believe is it's failing.
D [09/Feb/2015:19:58:25 -0800] [Job 15] Printing on printer with URI: usb://Samsung /SCX-3400%20Series?serial=Z8BNB8KD5C00EQY&interface=1
D [09/Feb/2015:19:58:25 -0800] [Job 15] libusb_get_device_list=4
D [09/Feb/2015:19:58:25 -0800] [Job 15] STATE: +connecting-to-device
D [09/Feb/2015:19:58:25 -0800] Discarding unused printer-state-changed event...
D [09/Feb/2015:19:58:25 -0800] PID 2684 **(/usr/lib/cups/filter/rastertospl) stopped with status 1.**
D [09/Feb/2015:19:58:25 -0800] PID 2681 (/usr/lib/cups/filter/gziptoany) exited with no errors.
D [09/Feb/2015:19:58:25 -0800] [Job 15] Switching USB device configuration: 0 -> 1
D [09/Feb/2015:19:58:25 -0800] [Job 15] PPD uses qualifier 'Gray.None.600dpi'
D [09/Feb/2015:19:58:25 -0800] PID 2682 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [09/Feb/2015:19:58:25 -0800] [Job 15] **Calling FindDeviceById(Samsung_SCX-3400_Series)**
D [09/Feb/2015:19:58:25 -0800] [Job 15] **Failed to send: org.freedesktop.ColorManager.Failed:device id 'Samsung_SCX-3400_Series' does not exists**
D [09/Feb/2015:19:58:25 -0800] [Job 15] **Failed to get profile filename!**
I [09/Feb/2015:19:58:25 -0800] [Job 15] **no profiles specified in PPD**
D [09/Feb/2015:19:58:25 -0800] Discarding unused job-progress event...
D [09/Feb/2015:19:58:25 -0800] Discarding unused printer-state-changed event...
A couple key messages above are interesting, but I'm not sure of root cause. Perhaps something with the PPD? Anyone else have any ideas?