Debian printing with cups
I have a server running debian stable. The server allready serves as samba fileserver, webserver and a mailserver. Only thing missing before I am done with the box is getting it to work as a printserver to.
For this purpose I have connected a Lexmark Inkjet printer to the parallelport which is discovered by the debianbox. Furthermore I have installed cups, cupsomatic-ppd, gs and a2ps with debian apt-get.
Now I am able to go to the webinterface and configure my printer, but here the fun stuff ends! Trying to print a test page from the webinterface just gives me a "page not found" in my browser, and no active or completed job in the joblist for the printer.
Trying to print a file (.gif or .txt) using "lp test.txt" returns no error and I get a completed job in the joblist in the webinterface. But still nothing happens with the printer.
From my Win XP-box I can see and install the printer, but trying to print a testpage from windows just returns an error, that the page couldn't be written.
The following is a snippet of my cups/error_log:
D [20/Jul/2004:16:28:28 +0200] gs command: gs -dSAFER -sDEVICE=bitcmyk -r600x600 -dDITHERPPI=100 -sOutputFile='|cZ11' -dBATCH -q -dNOPAUSE -
D [20/Jul/2004:16:28:28 +0200] perl: warning: Setting locale failed.
D [20/Jul/2004:16:28:28 +0200] perl: warning: Please check that your locale settings:
D [20/Jul/2004:16:28:28 +0200] LANGUAGE = (unset),
D [20/Jul/2004:16:28:28 +0200] LC_ALL = (unset),
D [20/Jul/2004:16:28:28 +0200] LANG = "c"
D [20/Jul/2004:16:28:28 +0200] are supported and installed on your system.
D [20/Jul/2004:16:28:28 +0200] perl: warning: Falling back to the standard locale ("C").
D [20/Jul/2004:16:28:28 +0200] foomatic-gswrapper: gs '-dSAFER' '-sDEVICE=bitcmyk' '-r600x600' '-dDITHERPPI=100' '-sOutputFile=|cZ11' '-dBATCH' '-dNOPAUSE' '/dev/fd/0' 3>&1 1>&2
D [20/Jul/2004:16:28:30 +0200] GNU Ghostscript 6.53 (2002-02-13)
D [20/Jul/2004:16:28:30 +0200] Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
D [20/Jul/2004:16:28:30 +0200] This software comes with NO WARRANTY: see the file COPYING for details.
D [20/Jul/2004:16:28:38 +0200] sh: cZ11: command not found
D [20/Jul/2004:16:28:38 +0200] Error: /ioerror in --.outputpage--
D [20/Jul/2004:16:28:38 +0200] Operand stack:
D [20/Jul/2004:16:28:38 +0200] 1 true
D [20/Jul/2004:16:28:38 +0200] Execution stack:
D [20/Jul/2004:16:28:38 +0200] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval--
D [20/Jul/2004:16:28:38 +0200] Dictionary stack:
D [20/Jul/2004:16:28:38 +0200] --dict:1039/1476(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)--
D [20/Jul/2004:16:28:38 +0200] Current allocation mode is local
D [20/Jul/2004:16:28:38 +0200] Last OS error: 32
D [20/Jul/2004:16:28:38 +0200] GNU Ghostscript 6.53: Unrecoverable error, exit code 1
D [20/Jul/2004:16:28:39 +0200] Couldn't exec foomatic-gswrapper -dSAFER -sDEVICE=bitcmyk -r600x600 -dDITHERPPI=100 -sOutputFile='|cZ11' -dBATCH -q -dNOPAUSE - at /usr/lib/cups/filter/cupsomatic line 965.
D [20/Jul/2004:16:28:40 +0200] Main process finished
D [20/Jul/2004:16:28:40 +0200] tail process done writing data to *main::STDOUT
D [20/Jul/2004:16:28:40 +0200] KID4 finished
D [20/Jul/2004:16:28:40 +0200] UpdateJob: job 4, file 0 is complete.
D [20/Jul/2004:16:28:40 +0200] CancelJob: id = 4
D [20/Jul/2004:16:28:40 +0200] StopJob: id = 4, force = 0
D [20/Jul/2004:16:28:40 +0200] StopJob: printer state is 3
D [20/Jul/2004:16:28:41 +0200] mallinfo: arena = 534048, used = 439752, free = 94296
I have now been searching for an solution for a day and I can't seem to find anything. Any help would be greatly appreciated!!!
I've tried appending as much info as posible, if its to much I appologize and if it's not enough I'll try to come up with some more. And just one last thing - I have of course tested the printer, that it is not a hardware problem.
/Morten
|