I'm trying to set up my printer a Lexmark x2470 in Mint 17.1 Cinammon. The printer is detected as a 2400 series which is correct but when I try to install the printer after choosing Lexmark there is no 2400 option. I've tried a few different options including the Generic(Recommended) settings none of which work. The error I get is that I require c2050 driver which is not currently installed. I've found the driver at http://www.prato.linux.it/~mnencia/lexmark2050/ Downloaded the tar file which after extraction gives me the following files.
c2050.1 c2050.c COPYING Makefile ps2lexmark ps2lexmark.1 README
but when I try to compile the file I get the following error.
gcc -g -O2 -c c2050.c
c2050.c:16:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
make: *** [c2050.o] Error 1
As I am new to LInux I have no idea what this means or how to fix. Any help would be appreciated.
Lexmark 2400 driver
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Re: Lexmark 2400 driver
What is the output from this command?
$ locate stdio.h
Edit: installing build-essential may supply the missing file
$ locate stdio.h
Edit: installing build-essential may supply the missing file
Re: Lexmark 2400 driver
so my take on the instructions; and after investigating; ............is that one clicks to Download and save, and it ends up in the Downloads directory
so the commands are
and that command creates a directory called c2050-0.3b so the next command; ...............that to me is not mentioned in any instructions .............. is ..............
..........so that takes you inside the directory c2050-0.3b and there one issues the command
and for me that gave the output of
-____________
any joy?
so the commands are
Code: Select all
cd Downloads
Code: Select all
tar -zxvf c2050-0.3b.tar.gz
Code: Select all
cd c2050-0.3b
Code: Select all
make
and then the final command isgcc -g -O2 -c c2050.c
gcc -g -O2 -o c2050 c2050.o
Code: Select all
sudo make install
any joy?
-
- Level 1
- Posts: 17
- Joined: Wed Apr 29, 2015 4:43 am
Re: Lexmark 2400 driver
Thanks for the help. Installing build-essential fixed the build problem but not the printing problem. If i select the generic driver the error I get when I print is
'client-error-document-format-not-supported'.
When I select the Lexmark 2050 driver everything appears to install ok but nothing works. When I print the test page or anything else a little window pops up saying the page is printing. A bit later another window pops up saying printing completed but nothing actually happens. All cables are connected nothing changed from when I had windows installed. I checked that the printer still prints by using the photo copy button (it does). It just won't print using Linux.
'client-error-document-format-not-supported'.
When I select the Lexmark 2050 driver everything appears to install ok but nothing works. When I print the test page or anything else a little window pops up saying the page is printing. A bit later another window pops up saying printing completed but nothing actually happens. All cables are connected nothing changed from when I had windows installed. I checked that the printer still prints by using the photo copy button (it does). It just won't print using Linux.
-
- Level 1
- Posts: 17
- Joined: Wed Apr 29, 2015 4:43 am
Re: Lexmark 2400 driver
Thanks I hadn't seen that page. I Followed the instructions but it gets about half way through and then I get a little window that says "install failed". When I plug the printer back in it does get automatically detected but when you open the printer properties the print test page is greyed out and if I try to print a document it still doesn't work. I'm beginning to think my printer is just too old. The Lexmark website doesn't list Linux drivers for this model and even the most recent Windows drivers are from 2010.
Thanks everyone for your help but I guess I'm going to have to spend some money if I want to print in Linux.
Thanks everyone for your help but I guess I'm going to have to spend some money if I want to print in Linux.