Newly installed printer won't print!

Asked by Dick Metzger

Installed a Lexmark Z-11 printer. Printer is recognized and set as default but will not print anything at all. All connections checked and are OK. Connected to LPT-1 port. Don't belive a driver was found when setting it up but have no way of checking for sure. Printer is used but had been working fine on another machine! Do not have a specific driver for it on CD or Floppy.Could I download one from Lexmark and install it on my Linux Ubuntu system? Would need help on this if that is what I must do! Any and all suggestions will be appreciated! Thanks: Dick

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hal Edit question
Assignee:
No assignee Edit question
Solved by:
Og Maciel
Solved:
Last query:
Last reply:
Revision history for this message
williamts99 (williamts99) said :
#1

What version of Ubuntu are you using, and when you set up your printer, what driver did you select from the drop down list? I can see the correct drive in the latest release 6.10 the driver version is lz11-v2.

Revision history for this message
Peter Liedler (peter-liedler) said :
#2

You can download a working driver here:

http://sourceforge.net/project/showfiles.php?group_id=61066&package_id=57372&release_id=390836

It obviously doesn't work out of the box on ubuntu.

I also wrote a small script for a friend who has this printer containing the following lines:
______________________________
#Driver for Lexmark Z11

cd /tmp
wget -c http://www.liedler.at/dl/Lexmark-Z11-lz11-V2.ppd
wget -c http://www.liedler.at/dl/lz11-V2-1.2.tar.gz
tar -xvvf lz11-V2-1.2.tar.gz
cd lz11-V2-1.2
sudo ./lz11.install
_______________________________

After installing the driver, add the printer in your system settings and give it a try.

Revision history for this message
Dick Metzger (rlmetzger) said :
#3

Thank you Peter. Being a newcomer to Linux Ubuntu I am not all that familiar with where to find the proper screens to perform certain tasks. Therefore, I have downloaded the driver for the Z-11 Printer and have unpacked the files but cannot find where to go to find the "ROOT" as described in the installation instructions per as follows:..."- unpack the archive
- log in as "root"
- change to the installation directory lz11-V2
- and type

./lz11.install

I went to: "Applications-Accessories-Terminal-and typed in the command shown but this did not work.

Could you explain further? I also have never been able to get my ZIP Drive to function tho it is recognized so perhaps I can figure this problem a bit further as well once I catch on how to navigate this system a bit better!! Many Thanks: Dick

Revision history for this message
Dick Metzger (rlmetzger) said :
#4

williamts99
Thanks for your reply William - In am useing 6.10 and selected the driver version lz11-v2 - but it was a no go, so I have downloaded a driver for this printer and just need detailed instructions on how to install it. I am not familiar on how to install anything on this operating system yet! Thanks for your help! Dick

Revision history for this message
Peter Liedler (peter-liedler) said :
#5

Did you try to copy the commands into a terminal session?

For further helt it would be good to know if you are using kde or gnome.

Revision history for this message
bobnovak (rfrannovak) said :
#6

Hey, bub, I also have a Lex Z11, and the "standard" software that came with 6.06 LTS won't run it, although there is a listing for it. I downloaded the files you suggested and tried to run the install, but the thing didn't compile -- it output a couple dozen error messages, then stopped. My knowlege of C programming is rudimentary at best (if I tried REAL hard, I MIGHT be able to get "Hello, World" written and compiled...), but it almost seems like my compiler is missing some libraries or something.

Any suggestions on how I can get the thing compiled would be greatly appreciated (debug output from GCC is below). I would really prefer to NOT have to reboot into windoze every time I want to print something!

OR, even better, do you have a pre-compiled version of the driver?

Thanks,
 Bob

Here's the debug output from GCC:

gcc -O3 -DDEBUG= cZ11-V2.c -o cZ11-V2
cZ11-V2.c:80:20: error: unistd.h: No such file or directory
cZ11-V2.c:81:23: error: sys/types.h: No such file or directory
cZ11-V2.c:82:19: error: fcntl.h: No such file or directory
cZ11-V2.c:83:19: error: stdio.h: No such file or directory
cZ11-V2.c:84:20: error: stdlib.h: No such file or directory
cZ11-V2.c:85:20: error: string.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:11,
                 from cZ11-V2.c:86:
/usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:122:61: error: limits.h: No such file or directory
cZ11-V2.c:87:20: error: malloc.h: No such file or directory
cZ11-V2.c: In function ‘CheckForTerminate’:
cZ11-V2.c:444: error: ‘O_RDONLY’ undeclared (first use in this function)
cZ11-V2.c:444: error: (Each undeclared identifier is reported only once
cZ11-V2.c:444: error: for each function it appears in.)
cZ11-V2.c:493: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:493: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:503: error: syntax error before ‘size_t’
cZ11-V2.c: In function ‘filewrite’:
cZ11-V2.c:506: error: ‘termFileName’ undeclared (first use in this function)
cZ11-V2.c:510: warning: incompatible implicit declaration of built-in function ‘fwrite’
cZ11-V2.c:510: error: ‘buffer’ undeclared (first use in this function)
cZ11-V2.c:510: error: ‘size’ undeclared (first use in this function)
cZ11-V2.c:510: error: ‘count’ undeclared (first use in this function)
cZ11-V2.c:510: error: ‘stream’ undeclared (first use in this function)
cZ11-V2.c: In function ‘WidthCMYKtoBIT’:
cZ11-V2.c:616: error: ‘RAND_MAX’ undeclared (first use in this function)
cZ11-V2.c: In function ‘WidthRGBtoBIT’:
cZ11-V2.c:669: error: ‘RAND_MAX’ undeclared (first use in this function)
cZ11-V2.c: In function ‘InitDataPipe’:
cZ11-V2.c:705: warning: incompatible implicit declaration of built-in function ‘memset’
cZ11-V2.c:791: warning: incompatible implicit declaration of built-in function ‘malloc’
cZ11-V2.c: At top level:
cZ11-V2.c:809: error: syntax error before ‘FILE’
cZ11-V2.c: In function ‘ReadDataPipe’:
cZ11-V2.c:812: error: ‘p’ undeclared (first use in this function)
cZ11-V2.c:823: error: ‘in’ undeclared (first use in this function)
cZ11-V2.c:824: error: ‘EOF’ undeclared (first use in this function)
cZ11-V2.c:840: error: ‘fDiscardContents’ undeclared (first use in this function)cZ11-V2.c:849: error: ‘fUnget’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:878: error: syntax error before ‘FILE’
cZ11-V2.c: In function ‘EndPage’:
cZ11-V2.c:880: error: ‘p’ undeclared (first use in this function)
cZ11-V2.c:880: error: ‘in’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:894: error: syntax error before ‘FILE’
cZ11-V2.c: In function ‘IsDataPipeEmpty’:
cZ11-V2.c:896: error: ‘p’ undeclared (first use in this function)
cZ11-V2.c:896: error: ‘in’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:905: error: syntax error before ‘FILE’
cZ11-V2.c: In function ‘GetNextLine’:
cZ11-V2.c:907: error: ‘p’ undeclared (first use in this function)
cZ11-V2.c:915: error: ‘in’ undeclared (first use in this function)
cZ11-V2.c: In function ‘StartRndLine’:
cZ11-V2.c:963: error: ‘RAND_MAX’ undeclared (first use in this function)
cZ11-V2.c: In function ‘FinishDataPipe’:
cZ11-V2.c:1067: warning: incompatible implicit declaration of built-in function ‘memset’
cZ11-V2.c: In function ‘ClearBuffer’:
cZ11-V2.c:1081: warning: incompatible implicit declaration of built-in function ‘memset’
cZ11-V2.c: In function ‘SweepBufferInit’:
cZ11-V2.c:1097: warning: incompatible implicit declaration of built-in function ‘malloc’
cZ11-V2.c: At top level:
cZ11-V2.c:1119: error: syntax error before ‘*’ token
cZ11-V2.c: In function ‘fPutLString’:
cZ11-V2.c:1121: error: ‘data’ undeclared (first use in this function)
cZ11-V2.c:1121: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c:1122: error: ‘termFileName’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1129: error: syntax error before ‘*’ token
cZ11-V2.c: In function ‘LexMove’:
cZ11-V2.c:1135: error: ‘pixel’ undeclared (first use in this function)
cZ11-V2.c:1138: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c:1138: error: ‘termFileName’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1145: error: syntax error before ‘*’ token
cZ11-V2.c: In function ‘LexInit’:
cZ11-V2.c:1147: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c:1148: error: ‘termFileName’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1155: error: syntax error before ‘*’ token
cZ11-V2.c: In function ‘LexEOP’:
cZ11-V2.c:1162: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c:1162: error: ‘termFileName’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1252: error: syntax error before ‘FILE’
cZ11-V2.c: In function ‘PrintSweep’:
cZ11-V2.c:1264: error: ‘sweep’ undeclared (first use in this function)
cZ11-V2.c:1281: warning: incompatible implicit declaration of built-in function ‘malloc’
cZ11-V2.c:1282: warning: incompatible implicit declaration of built-in function ‘memset’
cZ11-V2.c:1302: error: ‘lineDrive’ undeclared (first use in this function)
cZ11-V2.c:1310: error: ‘emptyLines’ undeclared (first use in this function)
cZ11-V2.c:1311: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c:1311: error: ‘termFileName’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1337: error: syntax error before ‘FILE’
cZ11-V2.c: In function ‘PrintBWSweep’:
cZ11-V2.c:1344: error: ‘emptyLines’ undeclared (first use in this function)
cZ11-V2.c:1345: error: ‘sweep’ undeclared (first use in this function)
cZ11-V2.c:1345: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c:1345: error: ‘lineDrive’ undeclared (first use in this function)
cZ11-V2.c:1346: error: ‘termFileName’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1443: error: syntax error before ‘*’ token
cZ11-V2.c: In function ‘LexPrintCMYK’:
cZ11-V2.c:1464: error: ‘pParam’ undeclared (first use in this function)
cZ11-V2.c:1484: error: ‘in’ undeclared (first use in this function)
cZ11-V2.c:1494: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1727: error: syntax error before ‘*’ token
cZ11-V2.c: In function ‘LexPrintK’:
cZ11-V2.c:1741: error: ‘pParam’ undeclared (first use in this function)
cZ11-V2.c:1747: error: ‘in’ undeclared (first use in this function)
cZ11-V2.c:1757: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c: At top level:
cZ11-V2.c:1913: error: syntax error before ‘*’ token
cZ11-V2.c: In function ‘LexPrintKAdjust’:
cZ11-V2.c:1933: error: ‘out’ undeclared (first use in this function)
cZ11-V2.c:1933: error: ‘pParam’ undeclared (first use in this function)
cZ11-V2.c:2029: warning: incompatible implicit declaration of built-in function ‘sprintf’
cZ11-V2.c:2030: warning: incompatible implicit declaration of built-in function ‘strlen’
cZ11-V2.c:2089: error: ‘in’ undeclared (first use in this function)
cZ11-V2.c:2089: error: ‘EOF’ undeclared (first use in this function)
cZ11-V2.c: In function ‘DecodeOption’:
cZ11-V2.c:2130: warning: incompatible implicit declaration of built-in function ‘strlen’
cZ11-V2.c: In function ‘DecodeTerminateFile’:
cZ11-V2.c:2280: warning: incompatible implicit declaration of built-in function ‘strlen’
cZ11-V2.c:2283: warning: incompatible implicit declaration of built-in function ‘strcpy’
cZ11-V2.c: In function ‘PrintHelp’:
cZ11-V2.c:2393: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:2393: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c:2398: warning: incompatible implicit declaration of built-in function ‘exit’
cZ11-V2.c: In function ‘PrintVersion’:
cZ11-V2.c:2407: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:2407: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c:2408: warning: incompatible implicit declaration of built-in function ‘exit’
cZ11-V2.c: In function ‘InvalidInvokation’:
cZ11-V2.c:2418: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:2418: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c: In function ‘ConflictingInvokation’:
cZ11-V2.c:2429: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:2429: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c: In function ‘DuplicateInvokation’:
cZ11-V2.c:2441: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:2441: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c: In function ‘IncompleteInvokation’:
cZ11-V2.c:2453: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:2453: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c: In function ‘IgnoringParameter’:
cZ11-V2.c:2464: warning: incompatible implicit declaration of built-in function ‘fprintf’
cZ11-V2.c:2464: error: ‘stderr’ undeclared (first use in this function)
cZ11-V2.c: In function ‘main’:
cZ11-V2.c:2700: error: ‘FILE’ undeclared (first use in this function)
cZ11-V2.c:2700: error: ‘InputFile’ undeclared (first use in this function)
cZ11-V2.c:2701: error: ‘OutPutFile’ undeclared (first use in this function)
cZ11-V2.c:2717: error: ‘stdin’ undeclared (first use in this function)
cZ11-V2.c:2718: error: ‘stdout’ undeclared (first use in this function)
make: *** [cZ11-V2] Error 1
------------------------------------------------------------------

Revision history for this message
Peter Liedler (peter-liedler) said :
#7

The driver issued on sourceforge does not need compiling:

http://mesh.dl.sourceforge.net/sourceforge/lz11/lz11-V2-1.2.tar.gz

You still should be able to install it with these commands (change to download folder):
tar -xvvf lz11-V2-1.2.tar.gz
cd lz11-V2-1.2
sudo ./lz11.install

Revision history for this message
Best Og Maciel (ogmaciel) said :
#8
Revision history for this message
Dick Metzger (rlmetzger) said :
#9

Hello Og:
Thank you for your input. I have since purchased a different model Printer which installed properly and runs ok.
My thanks to ALL who responded! It is very much appreciated! Richard