You are not logged in.

#1 2006-09-28 12:42:28

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

[Done] SpliX - Samsung printer drivers [now in AUR]

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://splix.ap2c.org/

http://www.linuxprinting.org/show_drive … iver=splix

http://sourceforge.net/project/showfile … _id=175815

Regards
Francis

Offline

#2 2006-09-28 13:28:12

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#3 2006-09-28 18:40:31

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

Mr Green: post the PKGBUILD you're using.

Offline

#4 2006-09-28 19:01:13

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#5 2006-09-28 19:22:56

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#6 2006-09-28 19:31:08

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

noooooooooooooooo  lol


Mr Green

Offline

#7 2006-09-28 22:53:31

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#8 2006-10-05 22:33:38

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#9 2006-10-06 01:31:47

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#10 2006-10-13 14:04:55

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#11 2007-02-24 01:36:25

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#12 2007-02-26 14:12:28

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

anyone help?

Offline

#13 2007-02-26 20:02:56

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#14 2007-02-26 23:05:24

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

#15 2007-02-27 10:13:59

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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.

AUR cupsddk-1.1.0

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

#16 2007-02-27 11:56:58

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

thanks STiAT

just make cupsddk and splix-1.0.1-1 from tarball, and all problem solved, thanks anyway.

Offline

#17 2007-03-01 15:01:51

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

Updated in AUR.

Francis

Offline

#18 2007-03-05 07:47:30

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

Thanks Francis.

Kind regards,
Georg


Ability is nothing without opportunity.

Offline

#19 2007-03-28 21:56:16

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [Done] SpliX - Samsung printer drivers [now in AUR]

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

Board footer

Powered by FluxBB