View previous topic :: View next topic |
Author |
Message |
macgyvier n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Apr 2004 Posts: 6 Location: Denver, CO
|
Posted: Fri Nov 17, 2006 3:54 am Post subject: Samsung ML-2510 printer (Solved - kinda) |
|
|
Hi, I was just wondering if anyone has had any luck getting a Samsung ML-2510 printer to work under Gentoo. Under cups the printer is detected on the parallel port when it's connected via usb. The printer does have both a parallel port and usb connection. I made sure that usb printer support was built into the kernel. Has anyone seen this kind of strange behavior before? It almost seems that the printer is reporting that it's a parallel port printer while it's connected via usb. Is that possible?
Thanks for any help, I've been working on trying to get this to work for quite a while now and could really use some other suggestions.
Last edited by macgyvier on Sat Nov 18, 2006 11:05 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
macgyvier n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Apr 2004 Posts: 6 Location: Denver, CO
|
Posted: Sat Nov 18, 2006 10:45 am Post subject: Samsung ML-2510 printer (Solved) |
|
|
Ok, I finally got it working. It looks like it was just permission problems. However it was a great learning experience. Here's how I got it working:
Download the latest "Unified Linux Driver" from Samsung:
http://www.samsung.com/support/index.asp
The one I used was the 20060711102552437_UnifiedLinuxDriver.tar.gz driver set.
It's not necessary to run the installer, as it installs the multi-function peripheral/printer (mfp) interface which doesn't seem to work. If you connect the printer via USB there is a little confusion because the printer seems to show up on the parallel port, but not to worry, we can still communicate with it via the cups parallel interface.
Extract the tarball, it will place all files in a dir called cdroot.
We'll need to copy a couple of files over:
cdroot/Linux/noarch/at_opt/share/ppd/ML-2510spl2.ppd
cdroot/Linux/i386/at_root/usr/lib/cups/filter/rastertosamsungspl (there also looks to be one for x86_64, which I take to be the 64bit version)
Copy the files into the following directories (make sure you are the root user)
Code: |
cp ./cdroot/Linux/noarch/at_opt/share/ppd/ML-2510spl2.ppd /usr/share/cups/model/
cp ./cdroot/Linux/i386/at_root/usr/lib/cups/filter/rastertosamsungspl /usr/libexec/cups/filter/
|
I created a udev rule to add the printer under /dev/usb/ml2510
Code: | BUS=="usb", SYSFS{serial}=="3V61BKEL624688W.", NAME="%k", SYMLINK+="usb/ml2510", MODE="0777", GROUP="users" |
Now we just need to configure cups.
1 - Open up http://localhost:631/ and go to "Add Printer"
2 - Call the printer whatever you want and click "Continue"
3 - Under device, select the printer if it found it, otherwise select LPT#1 (I think that's the name)
4 - If we select the actual printer the next screen should take us to model selection, if not, just select Samsung,
On the model screen you will hopefully see "Samsung ML-2510 Series (en)", select this and click Add Printer
5 - If you are prompted for a username and password enter the root user and password
At this point the printer should be added, however it is most likely pointing to /dev/lp0, which is not correct.
First stop cups if its running:
Code: | /etc/init.d/cupsd stop |
Open up /etc/cups/printers.conf
Quote: | <Printer ML-2510>
Info Samsung ML-2510
Location Room
DeviceURI parallel:/dev/lp0
State Idle
StateTime 1163843428
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
|
Change DeviceURI from /dev/lp0 to whatever you created in your udev rule, for me it's /dev/usb/ml2510
Restart cups and you should be good to go.
Code: | /etc/init.d/cupsd start |
I had to reboot to get it working, but I was also fooling around with deleting and readding the printer, so that might not be necessary.
Hope this helps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
macgyvier n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Apr 2004 Posts: 6 Location: Denver, CO
|
Posted: Sat Nov 18, 2006 11:03 pm Post subject: |
|
|
Update: Today it stopped working. I'm going to return this one. My advice would be to stay away from this printer for linux, unless you have Suse or really want a challenge. It's really too bad, because it's a nice printer and runs well under Windows. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xante Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Aug 2004 Posts: 229
|
Posted: Sun Dec 10, 2006 8:44 pm Post subject: |
|
|
My printer stopped working for a while to but I never needed until today, all I had to do was copy over the 2 files for my ML-2010 and it started working again, I found another post with similar issues so the Samsung Laser series works great for me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ugluk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Oct 2006 Posts: 64
|
Posted: Wed Jan 17, 2007 6:19 pm Post subject: |
|
|
The original author of this thread is a genius. The only thing that works for my ML-2010p (notice the p!).
You don't have to create any new devices, just specify parallel:/dev/usb/lp0 or whatever. No special permissions are needed either, just watch out for libgphoto2, which sometimes messes up udev rules!
Stupid Samsung and their Linux support. Instead of using their driver and messing up you HD you can easily use splix. Here is what works for me:
Code: |
emerge splix
--- install printer as ML-2010(??) ---
su
vim /etc/cups/printers.conf
--- change DeviceURI to parallel:/dev/usb/lp0
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
and3k n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 May 2006 Posts: 32
|
Posted: Mon Jan 28, 2008 11:48 am Post subject: Multiples pages doesn't work ... |
|
|
i have a problem with printing two pages on one sheet ...
everytime i try to print 2 pages on one sheet with kpdf cups fails:
Code: |
I [28/Jan/2008:12:45:18 +0100] [Job 571] Adding start banner page "none".
I [28/Jan/2008:12:45:18 +0100] [Job 571] Adding job file of type application/postscript.
I [28/Jan/2008:12:45:18 +0100] [Job 571] Adding end banner page "none".
I [28/Jan/2008:12:45:18 +0100] [Job 571] Queued on "Samsung_ML-2510" by "and3k".
I [28/Jan/2008:12:45:18 +0100] [Job 571] Started filter /usr/libexec/cups/filter/pstops (PID 32125)
I [28/Jan/2008:12:45:18 +0100] [Job 571] Started filter /usr/libexec/cups/filter/rastertosamsungspl (PID 32126)
I [28/Jan/2008:12:45:18 +0100] [Job 571] Started backend /usr/libexec/cups/backend/usb (PID 32127)
E [28/Jan/2008:12:45:19 +0100] [Job 571] Failed to load the PPM image
E [28/Jan/2008:12:45:19 +0100] PID 32126 (/usr/libexec/cups/filter/rastertosamsungspl) stopped with status 3!
I [28/Jan/2008:12:45:19 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
E [28/Jan/2008:12:45:19 +0100] [Job 571] Job stopped due to filter errors.
|
normal printing works fine, i installed the printer after this howto: http://gentoo-wiki.com/HOWTO_Samsung_ML-2510_driver_with_CUPS
any ideas how to fix this? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chris_harvey n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Mar 2010 Posts: 42 Location: Ottawa, Canada
|
Posted: Sun Mar 14, 2010 11:21 pm Post subject: |
|
|
works for Samsung ML-1915. Didn't need to do udev rules.
The default install script is REALLY scary. I recommend installing just the ppd and rastertosamsungspl files.
Thanks for the guide! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|