You are not logged in.

#1 2010-09-08 11:46:33

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Trying to install drivers for Lexmark X4650

I've downloaded the RPM based drivers for this printer from Lexmark and am now trying to get it working with CUPS.

I created a PKGBUILD based on one of the other LEXmark driver examples. makepkg completes successfully and gives me a package but, after installing, this package doesn't seem to make any difference to CUPS...  In particular I'm hoping to see it listed in the printers available when setting up a printer.

My PKGBUILD is as follows:

# Contributor: Paul Hunnisett <phunnilemur@gmail.com>
pkgname=lexmark-08z
pkgver=1
pkgrel=1
pkgdesc="Lexmark 08z Printer Driver"
makedepends=('rpmunpack' 'cpio' 'gzip' 'bash')
depends=('libstdc++5' 'libcups')
url="http://www.lexmark.com/"
arch=('i686')
source=(http://www.monkeypower.co.uk/lexmark-08z-series-driver-1.0-1.i386.rpm)

md5sums=('1fc4ff46b306efb29d1806bfbbcbf85c')


build() {
  cd $startdir/src
  rpmunpack lexmark-08z-series-driver-1.0-1.i386.rpm
  cd $startdir/pkg
  mkdir -p ./usr/lib/cups/backend/
  mkdir -p ./usr/lib/cups/filter/
  mkdir -p ./usr/share/cups/model/
  mkdir -p ./usr/local/08zero/
  mkdir -p ./usr/include/lexmark/
  mkdir -p ./usr/local/08zero/utility/
  zcat $startdir/src/lexmark-08z-series-driver-1.0-1.cpio.gz | cpio -i
  rm -rf ./usr/include
  rm -rf ./usr/local/08zero
  find . -name '*.la' -exec rm {} \;
}

Any ideas what I'm missing/getting wrong?

Offline

#2 2010-09-08 20:33:27

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 907
Website

Re: Trying to install drivers for Lexmark X4650

could you post us your /var/lib/pacman/local/$pkgname-$pkgver-$pkgrel/files

Offline

#3 2010-09-10 09:40:51

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Trying to install drivers for Lexmark X4650

Here ya go:

%FILES%
usr/
usr/lib/
usr/lib/cups/
usr/lib/cups/backend/
usr/lib/cups/filter/
usr/local/
usr/local/lexmark/
usr/local/lexmark/08z-series-driver.link
usr/local/lexmark/08z-series-driver.unlink
usr/local/lexmark/08zero/
usr/local/lexmark/08zero/bin/
usr/local/lexmark/08zero/bin/.scripts/
usr/local/lexmark/08zero/bin/.scripts/apparmor.pl
usr/local/lexmark/08zero/bin/.scripts/lsbrowser
usr/local/lexmark/08zero/bin/.scripts/lsusbdevice
usr/local/lexmark/08zero/bin/lxk08zusb
usr/local/lexmark/08zero/bin/printdriver
usr/local/lexmark/08zero/bin/prnutility
usr/local/lexmark/08zero/docs/
usr/local/lexmark/08zero/docs/license.txt
usr/local/lexmark/08zero/docs/readme.txt
usr/local/lexmark/08zero/etc/
usr/local/lexmark/08zero/etc/99-lexmark-08z.rules
usr/local/lexmark/08zero/etc/Lexmark-logo.xpm
usr/local/lexmark/08zero/etc/Lexmark08_1_0_0.conf
usr/local/lexmark/08zero/etc/lx36-46.ppd
usr/local/lexmark/08zero/etc/lx4900.ppd
usr/local/lexmark/08zero/etc/lx5000.ppd
usr/local/lexmark/08zero/etc/lx56-66.ppd
usr/local/lexmark/08zero/etc/lx7600.ppd
usr/local/lexmark/08zero/etc/lxZ2400.ppd
usr/local/lexmark/08zero/etc/lxdm.conf
usr/local/lexmark/08zero/etc/lxdmSCc0.bin
usr/local/lexmark/08zero/etc/lxdmSCg0.bin
usr/local/lexmark/08zero/etc/lxdmclr1.lut
usr/local/lexmark/08zero/etc/lxdmclr2.lut
usr/local/lexmark/08zero/etc/lxdmclr3.lut
usr/local/lexmark/08zero/etc/lxdmscan.conf
usr/local/lexmark/08zero/etc/lxdq.conf
usr/local/lexmark/08zero/etc/lxdqclr1.lut
usr/local/lexmark/08zero/etc/lxdqclr2.lut
usr/local/lexmark/08zero/etc/lxdqclr3.lut
usr/local/lexmark/08zero/etc/lxdr.conf
usr/local/lexmark/08zero/etc/lxdrSCc0.bin
usr/local/lexmark/08zero/etc/lxdrSCg0.bin
usr/local/lexmark/08zero/etc/lxdrclr1.lut
usr/local/lexmark/08zero/etc/lxdrclr2.lut
usr/local/lexmark/08zero/etc/lxdrclr3.lut
usr/local/lexmark/08zero/etc/lxdrscan.conf
usr/local/lexmark/08zero/etc/lxdu.conf
usr/local/lexmark/08zero/etc/lxduSCc0.bin
usr/local/lexmark/08zero/etc/lxduSCg0.bin
usr/local/lexmark/08zero/etc/lxduclr1.lut
usr/local/lexmark/08zero/etc/lxduclr2.lut
usr/local/lexmark/08zero/etc/lxduclr3.lut
usr/local/lexmark/08zero/etc/lxduscan.conf
usr/local/lexmark/08zero/etc/lxdw.conf
usr/local/lexmark/08zero/etc/lxdwSCc0.bin
usr/local/lexmark/08zero/etc/lxdwSCg0.bin
usr/local/lexmark/08zero/etc/lxdwclr1.lut
usr/local/lexmark/08zero/etc/lxdwclr2.lut
usr/local/lexmark/08zero/etc/lxdwclr3.lut
usr/local/lexmark/08zero/etc/lxdwscan.conf
usr/local/lexmark/08zero/etc/lxdx.conf
usr/local/lexmark/08zero/etc/lxdxSCc0.bin
usr/local/lexmark/08zero/etc/lxdxSCg0.bin
usr/local/lexmark/08zero/etc/lxdxclr1.lut
usr/local/lexmark/08zero/etc/lxdxclr2.lut
usr/local/lexmark/08zero/etc/lxdxclr3.lut
usr/local/lexmark/08zero/etc/lxdxscan.conf
usr/local/lexmark/08zero/etc/testpage.pdf
usr/local/lexmark/08zero/lib/
usr/local/lexmark/08zero/lib/libScanCorrect.so.2.0
usr/local/lexmark/08zero/lib/libhdctransport.so
usr/local/lexmark/08zero/lib/liblxdmflib.so
usr/local/lexmark/08zero/lib/liblxdmhpec.so
usr/local/lexmark/08zero/lib/liblxdmhpeh.so
usr/local/lexmark/08zero/lib/liblxdmhpep.so
usr/local/lexmark/08zero/lib/liblxdqflib.so
usr/local/lexmark/08zero/lib/liblxdqhpec.so
usr/local/lexmark/08zero/lib/liblxdqhpeh.so
usr/local/lexmark/08zero/lib/liblxdqhpep.so
usr/local/lexmark/08zero/lib/liblxdrflib.so
usr/local/lexmark/08zero/lib/liblxdrhpec.so
usr/local/lexmark/08zero/lib/liblxdrhpeh.so
usr/local/lexmark/08zero/lib/liblxdrhpep.so
usr/local/lexmark/08zero/lib/liblxduflib.so
usr/local/lexmark/08zero/lib/liblxduhpec.so
usr/local/lexmark/08zero/lib/liblxduhpeh.so
usr/local/lexmark/08zero/lib/liblxduhpep.so
usr/local/lexmark/08zero/lib/liblxdwflib.so
usr/local/lexmark/08zero/lib/liblxdwhpec.so
usr/local/lexmark/08zero/lib/liblxdwhpeh.so
usr/local/lexmark/08zero/lib/liblxdwhpep.so
usr/local/lexmark/08zero/lib/liblxdxflib.so
usr/local/lexmark/08zero/lib/liblxdxhpec.so
usr/local/lexmark/08zero/lib/liblxdxhpeh.so
usr/local/lexmark/08zero/lib/liblxdxhpep.so
usr/local/lexmark/08zero/lib/libnpa407.so
usr/local/lexmark/08zero/lib/libprintengine.so
usr/local/lexmark/08zero/lib/libprinterdictionary.so
usr/local/lexmark/08zero/lib/libsane-Lexmark08_1_0_0.so.1.0.18
usr/local/lexmark/08zero/lib/libuiocli.so
usr/local/lexmark/08zero/lib/libuiocmd.so
usr/local/lexmark/08zero/lib/libusblp.so
usr/share/
usr/share/cups/
usr/share/cups/model/

Offline

#4 2010-09-12 14:17:26

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Trying to install drivers for Lexmark X4650

Bump...

Offline

#5 2010-09-14 08:09:27

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Trying to install drivers for Lexmark X4650

Bump again... No ideas?

Offline

#6 2010-09-16 04:15:17

ASOM
Member
Registered: 2009-07-10
Posts: 68

Re: Trying to install drivers for Lexmark X4650

After having my printer die, I stopped and grabbed the cheapest printer I could find with a linux driver available. Lexmark X5650 (same 08zero driver package). I tried writing a PKGBUILD with similar results. After getting tired, frustrated and just needing a working printer I resulted to a manual install using rpm2cpio, copying the files into the directory and symlinking lxk08zusb to lxkusb. It's not pretty but it worked.

Offline

#7 2010-09-18 18:52:11

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Trying to install drivers for Lexmark X4650

OK - I need this to work over the network, but I might be able to build on what you've done.  Trouble is - I have no idea where the files are supposed to be in order to copy/symlink...

Offline

#8 2010-09-18 19:32:37

ASOM
Member
Registered: 2009-07-10
Posts: 68

Re: Trying to install drivers for Lexmark X4650

I made a tar.gz to make it a little simpler to install. You can find the file and the instructions in this thread.

https://bbs.archlinux.org/viewtopic.php?id=105055

Offline

#9 2010-09-20 14:45:43

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Trying to install drivers for Lexmark X4650

Thanks for that - I gave it a go and it didn't work... :-( When I went to print a test page, CUPS behaved as if it was all working and the job completed, but there was nothing in the printer...

Offline

#10 2010-11-11 01:04:22

ezaeza
Member
Registered: 2010-11-11
Posts: 1

Re: Trying to install drivers for Lexmark X4650

Edit : I should have took more time to read ASOM answer, he did it before me, I would have saved a lot of time by getting his tar sad
I just don't make his link of lxk08zusb on lxkusb, but I configure the printer with the network like I wrote before the edit.

Original post :
Hi, I got this printer work on ArchLinux using network, the USB only worked on Gentoo for me.
I just wrote an article here : http://gnu-vautes.eg2.fr/imprimante-lex … gnu-linux/

It's in French, but for summarize :
I extracted the rpm from the .i386.rmp.sh.tar.gz thing you can find on Lexmark site. You can download it here : http://gnu-vautes.eg2.fr/wp-content/upl … 386.tar.gz

For the installation, just untar this tar in /usr/local/lexmark/ like this :
# tar xvf lexmark-08z-series-driver-1.0-1.i386.tar.gz -C /

then you have to link librairies and make a link in /usr/lexinkjet/ so do
# cd /usr/local/lexmark
# ./08z-series-driver.link /usr/local/lexmark

now the drivers should be installed correctly smile

before launching cupsd, launch avahi-daemon
# /etc/rc.d/avahi-daemon start
# /etc.rc.d/cupsd start

in http://localhost:631 add a printer :
I don't know exacts English names of all part, but when you have to chose the device type, choose AppSocket/HP JetDirect
the address is socket://printer_ip_address:9100
chose manually the ppd file which is in /usr/local/lexmark/08zero/etc/
for a x4650, the good ppd file is lx36-46.ppd

You should be able to print a test page.
Conclusion : do never buy a Lexmark printer even if they provide Linux drivers.

Last edited by ezaeza (2010-11-11 01:15:02)

Offline

#11 2010-11-11 09:38:36

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Trying to install drivers for Lexmark X4650

Thanks for that - I followed it closely, but it hasn't worked...

There is nothing in the logs either unfortunately...

I wonder if I've got my permissions set up badly on the server...

Offline

Board footer

Powered by FluxBB