How to install Lexmark S305 on Ubuntu 9.10 amd64? Lexmark has only an i386 driver for it.

Asked by DR. VIMAL HURRY

Lexmark has only an i386 driver for it. When I install it, it gives wrong architecture.

Question information

Language:
Polish Edit question
Status:
Solved
For:
Ubuntu cups Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#1

The driver is in the deb.sh format.

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#2

dpkg: error processing lexmark-inkjet-09-driver-1.0-1.i386.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 lexmark-inkjet-09-driver-1.0-1.i386.deb
=============================
dpkg: error processing lexmark-inkjet-09-driver-1.0-1.i386.deb (--install): package architecture (i386) does not match system (amd64)Errors were encountered while processing: lexmark-inkjet-09-driver-1.0-1.i386.deb
=============================

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

you could try:

sudo dpkg --force-all -i lexmark-inkjet-09-driver-1.0-1.i386.deb

Not sure if it will fly but you may have to use a 32bit OS to accommodate the poor support from Lexmark. You may need to also install ia32-libs to make it run ok.

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#4

I tried that already. But the problem is that file is not .deb but deb.sh It has the .deb file inside of it.
Check out the driver here :
File Information
Title: Lexmark Linux Driver for S300, S400, S500, Pro200, Pro700
File Name lexmark_inkjet_09_driver_1.0_1.i386.deb.sh.tar.gz

http://support.lexmark.com/index?page=content&productCode=LEXMARK_IMPACT_S305&actp=PRODUCT&id=DR4255&segment=SUPPORT&userlocale=EN_US&locale=en

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5
Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#6

THANK YOU VERY MUCH!!! IT WORKED!
I did a little modification for the final command.

cd /home/myusername/Downloads

sh ./extracter.sh lexmark-inkjet-09-driver-1.0-1.i386.deb.sh

mv lexmark-inkjet-09-driver-1.0-1.i386.deb installer_i386.deb

sh ./deb2lpia.sh installer_i386.deb
result is this file gets created installer_lpia.deb

sudo dpkg --force-architecture -i dpkg -i installer_lpia.deb

But how to use the scanner function?

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#7

I tried XSane but it not detecting the scanner.
Any solutions?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#8

Again, due to poor support you wioll most likely noty get this working. Lemark really are the lowest of the low.

According to: https://help.ubuntu.com/community/ScanningHowTo

1. Your scanner is not supported in Ubuntu. The most common type of scanner not supported is old parallel port or Lexmark All-in-One printer/scanner/faxes

You can pressure Lexmark to support Linux better but they'll probably stroke their fat wallets and laugh in your face.

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#9

Thanks actionparsnip, that solved my question.

Revision history for this message
Rizzly (rizzly) said :
#10

I tried the steps that were described here, but it doesn't seem to work anyway. What am I doing wrong?

Cups is not showing any "Lexmark Network Backend #1" to choose from. I can not start lexmark printing toolbox either, it does not give any error, it just does not start. I 've checked that everything is installed, it just seems that the driver simply won't run in the 64-bit enviroment.

I have installed Java and even the 32 bit parts through synaptic, but to no avail.

I'm using Linux Mint 8 64 bit (practically Ubuntu 9.10).

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#11

The Lexmark printing toolbox does not work for me also.

But "Lexmark S300-S400" shows up in CUPS & I can print from Ubuntu without any problems. For scanning you can insert a memory card or a pen drive in the printer.

Did you create the "installer_lpia.deb" ?

Then you can do this:

sudo dpkg --force-architecture -i dpkg -i installer_lpia.deb

If you give me your email I can send you the "installer_lpia.deb" that I created.

Revision history for this message
Rizzly (rizzly) said :
#12

I just realised one thing however, are you using your printer over a network or just at the linux computer? What I'm trying to do is to use it in a network.

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#13

I'm using my home wifi to access the printer from a desktop & from a laptop.
If you have a larger network maybe you should share the printer through Samba.

Revision history for this message
Rizzly (rizzly) said :
#14

Same here, and still it won't work. It would be great if you could upload your installer_lpia.deb somewhere. I just don't feel comfortable posting my email-adress here.

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#15

I understand that posting your email on a forum is not safe.
But I don't know where to upload this 7.3 MB file.
The best solution is to create a temporary email on gmail.
After getting the attachment you can close that email account.

Revision history for this message
Rizzly (rizzly) said :
#16

You could try a hosting service such as rapidshare or megaupload, that should work fine.

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#17

OK. Here is the "installer_lpia.deb" file.

http://rapidshare.com/files/328481249/installer_lpia.deb.html

Download it.

Then you can do this:

sudo dpkg --force-architecture -i dpkg -i installer_lpia.deb

Revision history for this message
Rizzly (rizzly) said :
#18

Still didn't work, there's no printer to be added via cups, not even if i try to search for the IP of the printer.

Revision history for this message
DR. VIMAL HURRY (vhurry200) said :
#19

Last solution: try to do the initial printer setup using Windows then try again in Ubuntu.
I have a dual-boot on my desktop.
I did the printer wifi setup on Windows then I added the printer in Ubuntu.
So the printer was already on my wifi network when I added it to Ubuntu.

Revision history for this message
Rizzly (rizzly) said :
#20

It's already been set up, so that's not solution either. Thanks for the help though!

Revision history for this message
Alberto Quattrini Li (alberto-quattrinili) said :
#21

There is one problem whose solution was not found: lexmark printer toolbox, which does not start.
I figured out that you have to modify the variable JAVA_CMD in the script file /usr/lexinkjet/lxk09/bin/.scripts/shared, and setting the latter to "java" instead of "/usr/lexinkjet/jre/bin/java". Otherwise it cannot found the java application launcher, which is already in the enviroment variables if you have already installed java package.
So after the modification it should be: JAVA_CMD="/usr/lexinkjet/jre/bin/java"

Revision history for this message
Alberto Quattrini Li (alberto-quattrinili) said :
#22

whooops, sorry, I made a mistake with copy&paste.
The last line is incorrect (So after the modification it should be: JAVA_CMD="/usr/lexinkjet/jre/bin/java")
The correct one: So after the modification it should be: JAVA_CMD="java"

Sorry again!

Revision history for this message
Yanick Rochon (yanick-rochon) said :
#23

No need of all those fancy scripts.... I have a Lexmark Interpret S408 that I've been trying to install the entire evening. Then I tried

./lexmark-inkjet-09-driver-1.5-1.i386.deb.sh --target deb

which created a bunch of files there. Running the installation program, it created a file named "arch.tar" which contained a bunch of other installers, among which "lexmark-inkjet-09-driver-1.5-1.i386.deb". I extracted that file and simply ran

sudo dpkg -i -force-all lexmark-inkjet-09-driver-1.5-1.i386.deb

and it reported no error. Now, I had configured the printer over the wireless network using a VBox WindowsXP machine, so I searched the printer IP and found the Lexmark Backend listed there and voilà!

The scanner does not work, but then again, I scan -> save unto a USB storage device and if I ever need OCR, etc. I still have that VBox machine... I'm an optimistic too, I assume there will be solutions for the scanner someday (?)

Revision history for this message
Ulrich Enslin (ulrichenslin-gmail) said :
#24

Thanks Yanick Rochon

Your post worked for me. Just adding a little more detail.

When the installer runs, with:
./lexmark-inkjet-09-driver-1.5-1.i386.deb.sh --target deb
a deb folder is created. Get the 'arch.tar' from there and untar it. Then as from Yanick Rochon post, run:
dpkg -i --force-all lexmark-inkjet-09-driver-1.5-1.i386.deb