Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 07-20-2004, 09:49 AM   #1
LQ Newbie
Registered: Oct 2003
Distribution: Fedora core 3 and Debian stable
Posts: 27

Rep: Reputation: 15
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
debian & cups printing h3xis Linux - Software 8 08-24-2005 12:27 PM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
CUPS printing drguitarum2005 Linux - General 17 02-17-2005 06:31 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration