Recently Lexmark published drivers for many of its all-in-one printer/scanner/faxes. Here's how to get them working on Ubuntu 10.04 and 10.10. I've tested this on both Ubuntu 10.04 and 10.10 using printer models X5650 and X4650. I have tested it both on 32-bit and 64-bit machines. This tutorial should work for the following series of printers: X3600 Series, X4600 Series, X4900 Series, X5070 Series, X5600 Series, X6600 Series, X7600 Series, Z2400 Series.
1. Download and Extract the Lexmark Driver Installation Script
Here is the driver file for the printers listed above:
http://www.downloaddelivery.com/down....deb.sh.tar.gz
You might have a similar model not listed above. Find your driver here:
http://support.lexmark.com/index?pag...erlocale=EN_US
After the file has completed downloading, extract the script to your home folder. You can do this by double-clicking the file. Then click the "Extract" button near the top of the new window. On the left select your home folder (it will be your user name). Then click the "Extract" button at the bottom. Then click "Quit" at the prompt.
2. Install the Drivers and Printer Using "Sudo"
If you've tried running the installation script you have realized that it asks you for your root password, and it will not accept your user's password (by default Ubuntu has no root password). You will need to use "sudo" to run the script to make this work (for more information on sudo, visit https://help.ubuntu.com/community/RootSudo).
To do so go to Applications > Accessories > Terminal. In the terminal type:
Code:
sudo ./lexmark-08z-series-driver-1.0-1.i386.deb.sh
Follow the instructions in the prompt, making sure not to plug in the printer until instructed. Most likely you will end up with two printers installed, but thats ok. During the installation you will install the printer and Ubuntu will also detect it. Most likely the one Ubuntu detected and installed will work. Once the installation has finished, you can close the terminal window.
3. Setup Wireless (applicable models only)
If you have a wireless Lexmark All-In-One, you have a few more things to do to get it working without plugging in the USB cable. First, you need to find the IP address. You can do this by printing the network settings page from the printer as follows (source). Press the setup button on your printer (its a physical actual button on the printer itself, not in Ubuntu; it might look like a wrench). Press the right or left arrow until you see the display say "Network Setup". Press "OK". Press "OK" where it says "Print Setup Page". Press "OK" again.
Now that you have the IP address of your printer, let's add it (thanks to Ubuntu forums user relapse for this part). In Ubuntu go to System > Administration > Printing. Right-click the printer that was added from the previous steps and select "Duplicate". Give the duplicate a new name, something like "Lexmark Wireless" or whatever you want.
Right-click this new wireless printer and select "Properties". Enter the IP address from the printout you got earlier in the "Device URI:" box. For example, if your printer's IP address is 123.45.67 enter "socket://123.45.67" without quotes. Click "OK" when finished.
If you've followed all the instructions on this tutorial you should now have two printers installed of the same version. One is for when you plug it in with the USB; the other is for wireless. At this time, as far as a I know, scanning over the wireless is not available until Lexmark updates the drivers. If you know otherwise, please let me know.
4. Print a Test Page; Test Scanning
You should now test to see if your printer works. Go to System > Administration > Printing. Right-click the printer you wish to test. Click the "Print Test Page" button. You may have two printers installed. If one does not print, try the other installed printer. One of them should work.
Scanning should work automatically now. Go to Applications > Graphics > Simple Scan. Try to scan something, and it should show up.
Ubuntu 10.04 64-bit Issue
If you are running Ubuntu 10.04 64-bit, you may need libstdc++5. Follow the instructions here: http://www.digitalenigma.net/directo...gid=2009111000 This does not seem to be an issue on Ubuntu 10.10.
------------------------
Complete Removal and Reversal. If you want to completely reverse the above procedures and remove everything installed do the following:
1. Delete the downloaded archive of the drivers.
2. Delete the driver installation script (in your home folder according to the above instructions).
3. Delete the printer(s) by going to System > Administration > Printing, right-click the installed printer and select Delete.
4. Remove the printer drivers by going to Applications > Accessories > Terminal. Enter the following into the Terminal:
Code:
sudo dpkg -r lexmark-08z-series-driver
Bookmarks