You are not logged in.
Hi - got a new Samsung ML-2010 laser printer. Having no luck getting the manufacturer driver to talk to CUPS in Arch, I see that linuxprinting.org recommends splix. I attempted a PKGBUILD but it's beyond my capabilities at this point in time.
Would be grateful if anybody can help!
http://www.linuxprinting.org/show_drive … iver=splix
http://sourceforge.net/project/showfile … _id=175815
Regards
Francis
Offline
looks simple enough to build ... are you having problems with pkgbuild?
install -m 755 -s rastertospl2 /usr/lib/cups/filter
install: cannot create regular file `/usr/lib/cups/filter/rastertospl2': Permission denied
emmm we don't want that ....
Need to edit Makefile or stop that trying to install ....
CUPSPREFIX := /usr
needs to point to pkg/usr
need an awk or sed guru right about now ....
Mr Green
Offline
Mr Green: post the PKGBUILD you're using.
Offline
No you would only laugh lol....
I just used stock abs proto .. hacked around with it ...
sure it would more than likely build under root
Its just line above causes permission denied...
took ./configure out ....
Mr Green
Offline
Mr Green PM'ed me his PKGBUILD. I did some fixes and it builds fine. I haven't tested it (no printer)
pkgname=splix
pkgver=0.0.1
pkgrel=1
pkgdesc="A driver for SPL printers (Samsung and several Xerox printers)"
url="http://splix.sourceforge.net/"
license="GPL"
depends=('libcups' 'gcc')
source=(http://dl.sourceforge.net/splix/$pkgname-$pkgver.tar.gz)
md5sums=('35d34e67d739640b198c31c24d630018')
build() {
cd $startdir/src/$pkgname
make || return 1
install -d $startdir/pkg/usr/lib/cups/filter
install -d $startdir/pkg/usr/share/cups/model
make CUPSPREFIX=$startdir/pkg/usr install
}
Offline
noooooooooooooooo
Mr Green
Offline
Guys, I'm impressed. That was fast.
When I get home from work I'll test your PKGBUILD, Snowman.
Will report back.
Thanks
Francis
Offline
OK - the package builds and installs fine using the above PKGBUILD.
Unfortunately the programme isn't well documented in English so I was scratching my head a bit.
After installing splix, I managed to get the printer working through the CUPS web interface. I had to copy the PPD out of the splix source package manually though.
There is a comment on the splix home page that
For CUPS 1.2 or later: you have to get the rastertospl2.cpp version 7 in the subversion repository to replace the original one in the source package (splix/src/rastertospl2.cpp).
I'm not sure if this has anything to do with it.
I also have some margin size issues with the test page printed so will post separately about that.
To finish off this thread, should this package go in the AUR?
Cheers
Francis
Offline
Try this one. It should install the .ppd files and uses the newest rastertospl2.cpp. Feel free to add it in AUR.
pkgname=splix
pkgver=0.0.1
pkgrel=2
pkgdesc="A driver for SPL printers (Samsung and several Xerox printers)"
url="http://splix.sourceforge.net/"
license="GPL"
depends=('libcups' 'gcc')
source=(http://dl.sourceforge.net/splix/$pkgname-$pkgver.tar.gz "http://svn.sourceforge.net/viewvc/*checkout*/splix/splix/src/rastertospl2.cpp?revision=7")
md5sums=('35d34e67d739640b198c31c24d630018' 'e3a48a220ef53768e0e6f1b0c14e2be3')
build() {
cd $startdir/src/$pkgname
cp ../'rastertospl2.cpp?revision=7' src/rastertospl2.cpp
make || return 1
install -d $startdir/pkg/usr/lib/cups/filter
install -d $startdir/pkg/usr/share/cups/model/samsung
make CUPSPREFIX=$startdir/pkg/usr install
}
Offline
Added to AUR. Still pending an update from the developers of splix, I think, to fix some minor margin issues.
Thanks for the help with this, Snowman. I've built a couple of my own packages now and this is a really good way to learn about it.
Cheers
Francis
Offline
hi,
from Splix News line
*Saturday February, 10: A important bug, related to the ML-2010 printers has been fixed (it seems to be a printer firmware bug which has been solved by a workaround). This patch has been applied to the version 1.0.1-1.
but, can not BUILD from AUR PKGBUILD?
error:
ppdpo -o po/fr.po samsung.drv
make[1]: ppdpo: Command not found
make[1]: *** [po/fr.po] Error 127
anyone can help? just bought new 2010 days ago.
Last edited by once (2007-02-24 01:58:48)
Offline
anyone help?
Offline
I've just recently acquired a Samsung CLP-300 which I am hoping to get working with this driver soon. I don't think my printer is currently supported by the development team of SpliX so I cannot currently test this driver. When this changes (soon) I'll test this driver too.
Offline
if use 1.0.1 not 1.0.1-1 and print CUPS test page, it got error
internal error - false
position : 0x11 (17)
system :h6fwsim_mono/x1_tb1
line :396
version :qpdl 5.04 04-25-2005
Offline
Here is the build for splix 1.0.1-1.
The current version depends on cupsddk, the CUPS development kit (i've built it and already put it in AUR), which actually is the reason you got this strange errors.
Rather than providing static directories, i preferred to use cups-config for fetching cups pathes.
splix pkgbuild (1.0.1-1 - just the '-' wasn't supported in the pkgver, just numbers and dots).
# Contributor: Francis Carroll (franciscarroll at gmail dot com)
pkgname=splix
pkgver=1.0.1
pkgrel=2
pkgdesc="CUPS drivers for SPL (Samsung Printer Language) printers"
url="http://splix.ap2c.org/"
license="GPL"
depends=('libcups' 'gcc')
makedepends=('cupsddk' 'libcups')
source=(http://dl.sf.net/splix/$pkgname-$pkgver-1.tar.bz2)
md5sums=('4773d8a451455b5b3d0cec00434cecf7')
build() {
cd $startdir/src/$pkgname-$pkgver-1
make || return 1
install -d $startdir/pkg/usr/lib/cups/filter
install -d $startdir/pkg/usr/share/cups/model/samsung
make CUPSFILTER=$startdir/pkg/`cups-config --serverbin`/filter \
CUPSPPD=$startdir/pkg/`cups-config --datadir`/model \
install
}
I'd be also interested in taking the package for splix, if the original maintainer isn't available any longer.
I've written an E-Mail to fdac, informing him about the package here and with the offer that i'll continue to maintain it.
Kind regards,
Georg
Last edited by STiAT (2007-02-27 12:11:41)
Ability is nothing without opportunity.
Offline
thanks STiAT
just make cupsddk and splix-1.0.1-1 from tarball, and all problem solved, thanks anyway.
Offline
Updated in AUR.
Francis
Offline
Thanks Francis.
Kind regards,
Georg
Ability is nothing without opportunity.
Offline
It would seem that nothing has been committed into the SVN repo for this project for ~6 wks. Is this driver still being developed?
Offline