You are not logged in.
Alright, I've got a this printer, a Lexmark x6675
http://www1.lexmark.com/products/view/A … 79-product
And so there are Linux drivers for it. Unfortunately they are executable files which I can't extract the files from directly:
http://support.lexmark.com/index?locale … 33847975#2 (click downloads)
They come in rpm, and deb excutables (you'll see what I mean -_-), and I tried installing it onto an Ubuntu laptop which after could operate the printer perfectly, and I copied the files I knew were installed (the ppm, and some lexmark drivers in /usr/lexinkjet) but it still cannot recognize the printer it is connected to. All it can detect is an "unknown" upon which I install the drivers, it doesn't respond and the job goes from processing to stopped. However, I am doing this in the Gnome Cups manager which might be at fault (I am going to check that now).
I know the device is connected, and the SD card reader on the printer is actually recognized and registered as a removable device (just like it does in Windows).
This is the only think stopping me from a perfect Arch Linux setup on my desktop. Anyone know how to get these drivers working, or knows an alternative? Any suggestions are welcome. There is nothing in the AUR or Pacman that seems to support this printer
And oh yeah, this is my first time posting on these forums. Please be nice
Last edited by ajbader (2010-03-22 05:06:52)
Offline
Just curious, have you tried some drivers from some other models? Sometimes, more than not, printers work with older drivers too.
My Linux & Progamming Blog - Jimmy Burnett
Offline
As far as I am concerned (also open printing seems to say so), that older drivers don't tend to work with this device. I have tried a few and with no results. This driver, even for Windows, requires a more complex set of processes in order to run (that's why there was a /usr/lexinkjet folder).
The driver installation utility for Ubuntu requires that the x6675 to be plugged in order for some 'recognition' to be used. This is what really seems to annoy me, because I can detect printers from other people's computers down the hall, but I cannot seem to detect this one.
Offline
Hi,
you can install the driver in following steps.
1) Download the driver from here:
http://support.lexmark.com/index?locale … 33847975#2
2) Extract the tar.gz archive
tar xvf lexmark-08z-series-driver-1.0-1.i386.rpm.sh.tar.gz
3) Now run shell script and begin driver install
chmod a+x lexmark-08z-series-driver-1.0-1.i386.rpm.sh
sh lexmark-08z-series-driver-1.0-1.i386.rpm.sh
Now,
follow onscreen instructions.
PS: works only on 32bit, I think
Last edited by cool (2010-03-22 14:18:43)
Offline
I'll give it a shot, I tried the .deb executable and it came up with an error, but I don't remember trying the .rpm (I think I did, but I'll try again).
But...... I don't have 32bit!! grrr..... but I'll still give it a shot though because it could run in 32 bit mode. I'll report back to see if it works.
Offline
search on aur.
Give what you have. To someone, it may be better than you dare to think.
Offline
It appears that lexmark-08z-series-driver-1.0-1.i386.rpm.sh is an installable shell file (binary inside) and not an RPM ?
My Linux & Progamming Blog - Jimmy Burnett
Offline
and for 32bit try "linux32 sh lexmark-08z-series-driver-1.0-1.i386.rpm.sh" and search for lib32
Offline
search on aur.
I have checked, but as far as I know, these drivers are fairly new and probably haven't been added to the AUR. When I had purchased the printer in fall of 2009, there were no Linux drivers at the time, and now they have been added fairly recently. It's no surprise that I couldn't find them in the AUR.
It appears that lexmark-08z-series-driver-1.0-1.i386.rpm.sh is an installable shell file (binary inside) and not an RPM ?
I know this is actually quite strange, but I think it runs the installer to make sure the printer is recognized, but uses the rpm to install the content I believe. I remember I did the .deb executable, and it came up with an error and couldn't complete. I still am taking classes, so I haven't had the chance go to my dorm room to test it.
nd for 32bit try "linux32 sh lexmark-08z-series-driver-1.0-1.i386.rpm.sh" and search for lib32
I'll do that. Wish me luck.
Offline
Alright, I have just done it but unfortunately it yields no results, just like the .deb installer. It requires that the (most likely) that the package management utility is there to manage the drivers. Ah well, there must be a way to get this working properly. If it can run on Ubuntu, Fedora and OpenSUSE, then there must be a way to make it install properly on Arch.
Screenshot:
*Grinds teeth* I'll see if I can find the answer in my Ubuntu rig which runs it fine. Any more suggestions will be helpful.
Also if someone finds it on the AUR (which I don't think it's there), point that out to me.
Last edited by ajbader (2010-03-22 20:47:09)
Offline
Hi,
For 64bit, try installing following packages, it might work:
pacman -S cups lib32-gcc-libs lib32-heimdal lib32-libcups lib32-gnutls lib32-libstdc++5 lib32-sqlite3
This driver is packaged using nixstaller - that the reason behind weird formats.
Also,Try Extracting the driver embedded inside the shell script using
$ mkdir driver
$ sh lexmark-08z-series-driver-1.0-1.i386.rpm.sh --target driver
there driver is in instarchive_all file which has filesize of 8mb.
So, lets extract it
> tar -xvvf instarchive_all --lzma
-rwxr-xr-x build/build 160 2010-02-23 13:19 printdriver.te
-rw-r--r-- build/build 22502840 2010-02-23 13:19 lexmark-08z-series-driver-1.0-1.i386.rpm
-rw-r--r-- build/build 3755 2010-02-23 13:19 launcher.c
-rwxr-xr-x build/build 8771 2010-02-23 13:19 launcher
-rwxr-xr-x build/build 6334 2010-02-23 13:19 lsbrowser
-rwxr-xr-x build/build 9670 2010-02-23 13:19 lsusbdevice
Now you need to install rpmextract and extract files inside the rpm
$ pacman -S rpmextract
$ rpmextract.sh lexmark-08z-series-driver-1.0-1.i386.rpm
#Here are driver files, finally!
$ ls -R usr
ls -R usr
usr:
local
usr/local:
lexmark
usr/local/lexmark:
08zero 08z-series-driver.link 08z-series-driver.unlink
usr/local/lexmark/08zero:
bin docs etc lib
usr/local/lexmark/08zero/bin:
lxk08zusb printdriver prnutility
usr/local/lexmark/08zero/docs:
license.txt readme.txt
usr/local/lexmark/08zero/etc:
99-lexmark-08z.rules lx56-66.ppd lxdmscan.conf lxdq.conf lxdrSCc0.bin lxduscan.conf lxdw.conf lxdxclr3.lut testpage.pdf
Lexmark08_1_0_0.conf lx7600.ppd lxdmSCc0.bin lxdrclr1.lut lxdrSCg0.bin lxduSCc0.bin lxdwscan.conf lxdx.conf
Lexmark-logo.xpm lxdmclr1.lut lxdmSCg0.bin lxdrclr2.lut lxduclr1.lut lxduSCg0.bin lxdwSCc0.bin lxdxscan.conf
lx36-46.ppd lxdmclr2.lut lxdqclr1.lut lxdrclr3.lut lxduclr2.lut lxdwclr1.lut lxdwSCg0.bin lxdxSCc0.bin
lx4900.ppd lxdmclr3.lut lxdqclr2.lut lxdr.conf lxduclr3.lut lxdwclr2.lut lxdxclr1.lut lxdxSCg0.bin
lx5000.ppd lxdm.conf lxdqclr3.lut lxdrscan.conf lxdu.conf lxdwclr3.lut lxdxclr2.lut lxZ2400.ppd
usr/local/lexmark/08zero/lib:
libhdctransport.so liblxdqflib.so liblxdrhpec.so liblxduhpeh.so liblxdwhpep.so libnpa407.so libuiocli.so
liblxdmflib.so liblxdqhpec.so liblxdrhpeh.so liblxduhpep.so liblxdxflib.so libprintengine.so libuiocmd.so
liblxdmhpec.so liblxdqhpeh.so liblxdrhpep.so liblxdwflib.so liblxdxhpec.so libprinterdictionary.so libusblp.so
liblxdmhpeh.so liblxdqhpep.so liblxduflib.so liblxdwhpec.so liblxdxhpeh.so libsane-Lexmark08_1_0_0.so.1.0.18
liblxdmhpep.so liblxdrflib.so liblxduhpec.so liblxdwhpeh.so liblxdxhpep.so libScanCorrect.so.2.0
Lastly, we need to generate a arch package and install it. After this your printer should work.
Good Luck!
@ajbader
the Ubuntu and fedora systems on which are you have reported that this drivers are working are 32bit or 64bit?
Last edited by cool (2010-03-22 23:51:43)
Offline
Hi,
For 64bit, try installing following packages, it might work:pacman -S cups lib32-gcc-libs lib32-heimdal lib32-libcups lib32-gnutls lib32-libstdc++5 lib32-sqlite3
This driver is packaged using nixstaller - that the reason behind weird formats.
Also,Try Extracting the driver embedded inside the shell script using
$ mkdir driver $ sh lexmark-08z-series-driver-1.0-1.i386.rpm.sh --target driver
there driver is in instarchive_all file which has filesize of 8mb.
So, lets extract it
> tar -xvvf instarchive_all --lzma -rwxr-xr-x build/build 160 2010-02-23 13:19 printdriver.te -rw-r--r-- build/build 22502840 2010-02-23 13:19 lexmark-08z-series-driver-1.0-1.i386.rpm -rw-r--r-- build/build 3755 2010-02-23 13:19 launcher.c -rwxr-xr-x build/build 8771 2010-02-23 13:19 launcher -rwxr-xr-x build/build 6334 2010-02-23 13:19 lsbrowser -rwxr-xr-x build/build 9670 2010-02-23 13:19 lsusbdevice
maybe reading the .lau files in text editor and figure what installer does. then do the same manually.
perhaps, anyone familiar with lua programming language can help;)
Good Luck!
@ajbader
the Ubuntu and fedora systems on which are you have reported that this drivers are working are 32bit or 64bit?
I have it running on an Ubuntu 64bit system, and it works absolutely fine.
Offline
Well according to readme, it supports 32bit only.
===================================
Lexmark 08z Series Driver README
===================================1. Minimum System Requirements:
-------------------------------
500 MHz Processor Speed
256 MB RAM
300 MB free Hard Disk Space2. Supported Operating Systems:
-------------------------------
openSUSE 11.2
Ubuntu 9.10
Fedora 12Note: 32-bit support only.
3. Supported Language:
-----------------------
English Onlyhere some other usefull info given:
5. Installation:
----------------
1. Do not attach the printer via USB to the Linux machine.
2. Extract the zip file.
For RPM-based systems: lexmark-08z-series-driver-1.0-1.i386.rpm.sh.tar.gz
For DEB-based systems: lexmark-08z-series-driver-1.0-1.i386.deb.sh.tar.gz
3. Run the installer script file by double-clicking on the file icon and
then click the "Run in Terminal" button or run the script file via command-line.
4. Follow the instructions in the installer screen.6. Manually adding the Printer in CUPS:
---------------------------------------
1. Attach the printer via USB to the Linux machine.
2. Run a browser and open "http://localhost:631"
3. Click "Add Printer" and fill out the details, such as name and description.
In the Device dropdown list, select "Lexmark <printer model> USB #1"
Make sure you select the correct device. The printer is not detected by the
machine if you cannot see its model in the list. On some distro, you may have
to reboot the machine so it can be detected.You can also Browse for the PPD file if the device is not on the list.
The ppd files are located in folder /usr/lexinkjet/08zero/etc/. The following
are the different models supported by this driver and with their matching
ppd file:Printer PPD
------------------------------------------------------
Lexmark Z2400 Series ..... lxZ2400.ppd
Lexmark 3600-4600 Series ..... lx36-46.ppd
Lexmark 4900 Series ..... lx4900.ppd
Lexmark 5600-6600 Series ..... lx56-66.ppd
Lexmark 7600 Series ..... lx7600.ppd
Offline
Sounds like Lexmark needs to make pure Linux drivers and not Ubuntu drivers.
My Linux & Progamming Blog - Jimmy Burnett
Offline
Alright, its amazing what you've figured out.
However, I don't completely understand how to create my own package from this. From what I am reading in the wiki, it takes more than just saying these files go here, and done. It looks like a rather involved process in which I don't completely understand because I have never done this before.
How would you start making a package from this stuff?
Offline