Issues: Samsung ML-1915 USB printer

  1. Using CUPS, I added a New Printer. CUPS correctly identifies the printer connection as “usb://Samsung/ML-191x%20252x%20Series”. The driver I specified is “Samsung ML-191x 252x Series (en)”. The “Default Options” are set correctly. Printing a test page gives the following message: “Unable to open print file: No such file or directory

  2. Download and install the Samsung Unified Driver. Run the Samsung Unified Driver as root. When attempting to run “Print Test Page”, get an error message that printer at the configured port does not exist.

  3. Go into YAST > Printer > Automatic Configuration > Check box “Do an automatic configuration of local connected printers now”. Check box “Use the package udev-configure-printer for automatic USB printer configuration”. Go back to CUPS to print a Test Page. Page fails with message “”/usr/lib/cups/filter/rastertosamsungspl failed". I consider this progress!

[size=2]Have examined /var/log/cups/error_log. Nothing stands out to me, but I have v little experience reading CUPS log files! Tail end is given here:

[/size]

E [18/Jan/2013:09:36:40 +0800] PID 30279 (/usr/lib/cups/filter/rastertosamsungspl) crashed on signal 11.
E [18/Jan/2013:09:36:40 +0800] [Job 92] Job stopped due to filter errors; please consult the error_log file for details.
D [18/Jan/2013:09:36:40 +0800] [Job 92] The following messages were recorded from 09:36:40 AM to 09:36:40 AM
D [18/Jan/2013:09:36:40 +0800] [Job 92] Adding start banner page "none".
D [18/Jan/2013:09:36:40 +0800] [Job 92] Queued on "ML-191x-252x-Series" by "root".
D [18/Jan/2013:09:36:40 +0800] [Job 92] Auto-typing file...
D [18/Jan/2013:09:36:40 +0800] [Job 92] Request file type is application/postscript.
D [18/Jan/2013:09:36:40 +0800] [Job 92] File of type application/postscript queued by "root".
D [18/Jan/2013:09:36:40 +0800] [Job 92] Adding end banner page "none".
D [18/Jan/2013:09:36:40 +0800] [Job 92] job-sheets=none,none
D [18/Jan/2013:09:36:40 +0800] [Job 92] argv[0]="ML-191x-252x-Series"
D [18/Jan/2013:09:36:40 +0800] [Job 92] argv[1]="92"
D [18/Jan/2013:09:36:40 +0800] [Job 92] argv[2]="root"
D [18/Jan/2013:09:36:40 +0800] [Job 92] argv[3]="YaST2testprint_ML-191x-252x-Series"
D [18/Jan/2013:09:36:40 +0800] [Job 92] argv[4]="1"
D [18/Jan/2013:09:36:40 +0800] [Job 92] argv[5]="finishings=3 number-up=1 page-label=ML-191x-252x-Series:YaST2testprint@linux-cmna job-uuid=urn:uuid:0f49297c-be24-39da-4ddb-360babf5e897 job-originating-host-name=localhost time-at-creation=1358473000 time-at-processing=1358473000"
D [18/Jan/2013:09:36:40 +0800] [Job 92] argv[6]="/var/spool/cups/d00092-001"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[2]="CUPS_DOCROOT=/usr/share/cups/webcontent"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[8]="HOME=/var/spool/cups/tmp"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[10]="SERVER_ADMIN=root@linux-cmna"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[11]="SOFTWARE=CUPS/1.5.3"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[13]="USER=root"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[16]="IPP_PORT=631"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[17]="CHARSET=utf-8"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[18]="LANG=en.UTF-8"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[19]="PPD=/etc/cups/ppd/ML-191x-252x-Series.ppd"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[20]="RIP_MAX_CACHE=128m"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[21]="CONTENT_TYPE=application/postscript"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[22]="DEVICE_URI=usb://Samsung/ML-191x%20252x%20Series"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[23]="PRINTER_INFO=Samsung ML-191x 252x Series"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[24]="PRINTER_LOCATION=linux-cmna"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[25]="PRINTER=ML-191x-252x-Series"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[26]="PRINTER_STATE_REASONS=none"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[27]="CUPS_FILETYPE=document"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[28]="FINAL_CONTENT_TYPE=printer/ML-191x-252x-Series"
D [18/Jan/2013:09:36:40 +0800] [Job 92] envp[29]="AUTH_I****"
D [18/Jan/2013:09:36:40 +0800] [Job 92] Started filter /usr/lib/cups/filter/pstops (PID 30278)
D [18/Jan/2013:09:36:40 +0800] [Job 92] Started filter /usr/lib/cups/filter/rastertosamsungspl (PID 30279)
D [18/Jan/2013:09:36:40 +0800] [Job 92] Started backend /usr/lib/cups/backend/usb (PID 30280)
D [18/Jan/2013:09:36:40 +0800] [Job 92] STATE: +connecting-to-device
D [18/Jan/2013:09:36:40 +0800] [Job 92] Printer using device file "/dev/usb/lp0"...
D [18/Jan/2013:09:36:40 +0800] [Job 92] STATE: -connecting-to-device
D [18/Jan/2013:09:36:40 +0800] [Job 92] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=1, side_cb=0xb7730180)
D [18/Jan/2013:09:36:40 +0800] [Job 92] Page = 612x792; 12,12 to 600,780
D [18/Jan/2013:09:36:40 +0800] [Job 92] slow_collate=0, slow_duplex=0, slow_order=0
D [18/Jan/2013:09:36:40 +0800] [Job 92] Before copy_comments - %!PS-Adobe-3.0
D [18/Jan/2013:09:36:40 +0800] [Job 92] %!PS-Adobe-3.0
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%BoundingBox: 0 0 612 792
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%Pages: 1
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%LanguageLevel: 1
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%DocumentData: Clean7Bit
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%DocumentSuppliedResources: procset testprint/1.3
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%Creator: Michael Sweet, Apple Inc. - adapted by openSUSE/Novell
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%CreationDate: D:20090113092400+0800
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%Title: Test Page
D [18/Jan/2013:09:36:40 +0800] [Job 92] %%EndComments
D [18/Jan/2013:09:36:40 +0800] [Job 92] Before copy_prolog - %%BeginProlog
D [18/Jan/2013:09:36:40 +0800] [Job 92] Before copy_setup - %%Page: 1 1
D [18/Jan/2013:09:36:40 +0800] [Job 92] Before page loop - %%Page: 1 1
D [18/Jan/2013:09:36:40 +0800] [Job 92] Copying page 1...
D [18/Jan/2013:09:36:40 +0800] [Job 92] pagew = 587.0, pagel = 767.0
D [18/Jan/2013:09:36:40 +0800] [Job 92] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [18/Jan/2013:09:36:40 +0800] [Job 92] PageLeft = 12.5, PageRight = 599.5
D [18/Jan/2013:09:36:40 +0800] [Job 92] PageTop = 779.5, PageBottom = 12.5
D [18/Jan/2013:09:36:40 +0800] [Job 92] PageWidth = 612.0, PageLength = 792.0
D [18/Jan/2013:09:36:40 +0800] [Job 92] Wrote 1 pages...
D [18/Jan/2013:09:36:40 +0800] [Job 92] End of messages
D [18/Jan/2013:09:36:40 +0800] [Job 92] printer-state=3(idle)
D [18/Jan/2013:09:36:40 +0800] [Job 92] printer-state-message="/usr/lib/cups/filter/rastertosamsungspl failed"
D [18/Jan/2013:09:36:40 +0800] [Job 92] printer-state-reasons=none

[size=2]Any suggestions gratefully received.

Kaz Augustin

[/size]

https://en.opensuse.org/SDB:Installing_a_Printer

USB printers When the printer is connected to the USB, and when it is the only  printer which is connected to the USB, reload the kernel module for  direct USB printer access (as root): 

 
rmmod usblp modprobe usblp  You can test if the printer is accessible as first USB printer via /dev/usb/lp0 using the following command (as root): 

 
echo -en "\rHello\r\f" >/dev/usb/lp0  If the above "rmmod usblp" command did show an error message like  "Module usblp does not exist in /proc/modules" the usblp kernel module  was not loaded before so that you may unload the usblp kernel module  with "rmmod usblp" after the test to go back to the state before the  test. 


Thanks! Will try this and get back with findings.

Kaz Augustin