Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347995 - New ebuild net-print/samsung-unified-linux-driver-1.01
Summary: New ebuild net-print/samsung-unified-linux-driver-1.01
Status: RESOLVED DUPLICATE of bug 139715
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 03:15 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2011-01-14 15:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
samsung-unified-linux-driver-1.01.ebuild (samsung-unified-linux-driver-1.01.ebuild,3.07 KB, text/plain)
2010-12-07 03:16 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
licenses/SAMSUNG-ELECTRONICS-software (SAMSUNG-ELECTRONICS-software,10.70 KB, text/plain)
2010-12-07 03:16 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-12-07 03:15:40 UTC
See to-be-attached ebuild and license file.

This is an ebuild which installs enough of Samsung's UnifiedLinuxDriver to let CUPS print to a newer Samsung printer. I have tested that the driver produces valid output as installed by my ebuild. It should be possible to extend the ebuild so that sane support can be made use of when the printer is plugged directly into a Linux machine. However, I have only yet had the opportunity to test printing using samba against a Windows XP machine. Thus, I think/hope that this is enough to print directly to the printer if attached via USB (which is better than being unable to do anything).

To allow the CUPS filter to work, I have decided to install libscmssc.so into the system library search path and modify the CUPS filter to not use an absolute path when trying to dlopen() that shared object. (the rastertosamsungsplc filter tries to access libscmssc.so at an absolute path where the filter thinks that CUPS filters would be installed to, which isn't where Gentoo installs filters.) Perhaps bin_replace_string is overkill, but IMO it's cleaner than installing a lone file into /usr/lib/cups/filters.
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-12-07 03:16:18 UTC
Created attachment 256564 [details]
samsung-unified-linux-driver-1.01.ebuild
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-12-07 03:16:41 UTC
Created attachment 256565 [details]
licenses/SAMSUNG-ELECTRONICS-software
Comment 3 Mads 2011-01-05 21:16:21 UTC
Fantastic!

Worked perfectly with my Samsung CLP-315 printer, much better than foo2zjs which screws up paper margins. My printer also seems to drop documents randomly with foo2zjs as driver, that problem has yet to appear with this official driver.

It's contributions like this that makes Gentoo top notch, keep up the good work! Really hoping for these ebuilds to enter either sunrise or the main tree.
Comment 4 Mads 2011-01-05 22:14:27 UTC
For the record: My Samsung CLP-315 still drops documents, it seems if you send a print job to it meanwhile it's printing something, the document gets dropped. The printer does not tell CUPS if a job is printing, when a job comes in it just tells CUPS that it is finished, instantly. I guess this is a firmware issue (or something that lacks implementation in the driver), because it was the same with foo2zjs.
Comment 5 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-01-14 15:33:24 UTC

*** This bug has been marked as a duplicate of bug 139715 ***