View Full Version : Problems with my Samsung USB printer
SoniXAnT
January 14th, 2010, 17:26
Hi there guys,
I'm stuck with my USB printer, a Samsung SCX-4300.
I followed all of the steps reported in the handbook, besides Openprinting reports that it should work "Mostly":
http://www.openprinting.org/show_printer.cgi?recnum=Samsung-SCX-4300
however I downloaded the related ppd from the Unified Linux Drivers (scx4300.ppd) as shown in the page linked above, kldloaded ulpt and loaded lpd to start at boot and the result is:
when I attach my USB plug here is what I see from dmesg:
ugen4.5: <Samsung> at usbus4
ulpt0: <Samsung SCX-4300 Series, class 0/0, rev 2.00/1.00, addr 5> on usbus4
ulpt0: using bi-directional mode
then when I
cat foo.txt > /dev/ulpt0
the printer reacts like it is going to print something but the paper never exits.
I tried printing with lp and foomatic-rip...same thing.
This is my /etc/printcap:
lp|Samsung|SCX4300|scx4300:\
:lp=/dev/ulpt0:\
:af=/usr/local/etc/foomatic/ppd/scx4300.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sh:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:
Tried even with Cups + samsungspl but cups doesn't recognize my printer, when trying to add printer from web interface it gets stuck with "Looking for printers..." and never shows me an option to choose name or device for the printer to be added.
Thanks in advance!
mky
January 14th, 2010, 22:58
Unified Linux Drivers is for Linux and will not work with FreeBSD. However there is a opensource project named SpliX (http://splix.sourceforge.net/) which support some Samung SPL printers (e.g. SCX-4200, SCX-4500). SpliX is available via FreeBSD ports (print/splix). Try to install this port and configure it for your printer. Maybe it will work.
marthyr
February 16th, 2010, 00:12
Hello,
I am still having the same problem, everything was working perfect with freebsd 7.0 x86
http://forums.freebsd.org/showthread.php?t=11335
I am not able to add a local printer from http://localhost:631/Admin
I am affraid that something is not working as should be.
Cups should be able to allow you to add printers, no matter with usb/serial/parallel port are you using.
marthyr
February 16th, 2010, 03:55
All was solved setting 0660 permision to USB related files..
All is about file permission.
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'ugen*' mode 0660 group cups
add path 'usb/X.X.X' mode 0660 group cups
'usb/X.X.X' value could be obtained listing files inside /dev directory
using 'ugenX.X' -> where printer is detected.
DutchDaemon
February 16th, 2010, 12:26
SoniXAnT, is your problem solved?
SoniXAnT
February 17th, 2010, 15:03
Unified Linux Drivers is for Linux and will not work with FreeBSD. However there is a opensource project named SpliX (http://splix.sourceforge.net/) which support some Samung SPL printers (e.g. SCX-4200, SCX-4500). SpliX is available via FreeBSD ports (print/splix). Try to install this port and configure it for your printer. Maybe it will work.
I took only the right ppd from Unified Linux Drivers and put it to foomatic (scx4300.ppd as you can see above, ppd files are platform indipendent).
Already tried with splix but no luck. :(
SoniXAnT
February 21st, 2010, 18:45
All was solved setting 0660 permision to USB related files..
All is about file permission.
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'ugen*' mode 0660 group cups
add path 'usb/3.2.0' mode 0660 group cups
I modified /etc/devs.rules as you said, but as I open Firefox:
http://localhost:631/admin
login as root, go to Add Printer and Local Printers is still empty.....
however I'm using
cups-base-1.4.2_4 Common UNIX Printing System: Server
cups-client-1.4.2_3 Common UNIX Printing System: Library cups
cups-image-1.4.2_3 Common UNIX Printing System: Library cupsimage
and FreeBSD 8.0-x86
maybe a driver issue I guess.....where I'm supposed to find the right drivers for FreeBSD apart from splix?
marthyr
February 21st, 2010, 20:31
Hello
/etc/devs.rules should be edited according your usb configuration.
I noted that your printed is detected as ugen4.5: <Samsung> at usbus4
to determine which usb correspond to that ugen4.5 device.
cd /dev
ls -all
ugen4.5->"usb/X.X.X"
so edit /etc/devfs.rules
add path 'usb/X.X.X' mode 0660 group cups
With this your printer MUST BE detected.
FBSDin20Steps
February 24th, 2010, 20:14
I also had a problem with cups not detecting my Samsung ML-1610 usb printer. I've solved it by disabling libusb in "print/cups-base" and reinstalled cups-base.
SoniXAnT
February 25th, 2010, 21:40
cd /dev
ls -all
ugen4.5->"usb/X.X.X"
so edit /etc/devfs.rules
add path 'usb/X.X.X' mode 0660 group cups
With this your printer MUST BE detected.
Yeah!! My printer is now detected, I added the right ppd but still I'm not able to print anything.....tried Administration->print test page, a new job is added but stopped immediately. :(
Here it is the output from:
lpstat -t
scheduler is running
system default destination: Samsung_SCX-4300_Series
device for Samsung_SCX-4300_Series: usb://Samsung/SCX-
4300%20Series?serial=1457BFGQ601061E.&interface=1
Samsung_SCX-4300_Series accepting requests since Thu Feb 25
21:13:41 2010
printer Samsung_SCX-4300_Series is idle. enabled since Thu Feb 25
21:13:41 2010
Samsung_SCX-4300_Series-5 sonic 1024 Thu Feb 25 21:13:29
2010
Any hints?
marthyr
February 26th, 2010, 18:42
Hello,
I think if you have PPD file, you should be able to print, no matter Unified driver or not. That means to me that your printer is Cups compatible, You might not be able to install automatically, but manual installation could be possible.
My printer model was compatible with foo2qpdl driver, It was mandatory to install gs and foomatic-filters.
You are not mentioning error messages from cups, or dmesg.
I was having a couple problems with gs (noX11) and foomatic-filters).
Foomatic-filters didn't compile succesfully because I was having dependency problems with gs,
I am not a cups expert but I was able to determine if gs and foomatic-filters was working,
gs:
gs --version
foomatic-filters:
>cd /usr/local/libexec/cups/filter
>./foomatic-rip
No printer definition (option "-P <name>") specified!
SoniXAnT
March 11th, 2010, 20:58
Hey guys, I'm so sorry for my very late reply but I'm frequently out from home lately and had no time for my printing issues....
(I'm going to graduate and I'm working on my thesis with my freebsd box ^^)
However, I installed both foomatic-filters and ghostscript but with no luck...job is queued but never printed:
gs --version
8.70
ls /usr/local/libexec/cups/filter/
bannertops pstoqpdl
commandtoescpx rastertodymo
commandtopclx rastertoepson
commandtops rastertoescpx
foomatic-rip rastertohp
gziptoany rastertolabel
hpgltops rastertopclx
imagetops rastertoqpdl
imagetoraster pdftops
texttops pstops
dmesg says always the same old thing:
...
ugen4.3: <Samsung> at usbus4
ulpt0: <Samsung SCX-4300 Series, class 0/0, rev 2.00/1.00, addr 3>
on usbus4
ulpt0: using bi-directional mode
However here is the error log from in /var/log/cups/error_log:
E [11/Mar/2010:20:48:05 +0100] cupsdReadClient: 13 IPP Read Error!
E [11/Mar/2010:20:48:05 +0100] Unable to execute
/usr/local/libexec/cups/filter/rastertosamsungspl: No such file
or directory
E [11/Mar/2010:20:48:05 +0100] [Job 10] Unable to start filter
"rastertosamsungspl" - No such file or directory.
E [11/Mar/2010:20:48:05 +0100] [Job 10] Stopping job because the
scheduler could not execute a filter.
So this is evidently a filter issue. The only rastertosamsunggspl I found is from Unified Linux Drivers, maybe trying with the linux compatibility module?
marthyr
May 13th, 2010, 02:01
Hello again,
I did a mistake , you should execute
./foomatic-rip
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.
0