LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2003, 06:42 AM   #1
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
cups woes


Hi there.
I have a epson stylus c62 I want to get working under linux. Bt there are problems
I installed cups 1.1.18 from soucre. I also installed gimp-print 4.2.5. I can print images from the gimp, but I can't print any thing else.
In the file :/var/log/cups/error_log i can read :

Code:
E [28/Apr/2003:15:20:05 +0200] Unable to convert file 0 to printable format for job 34!
I [28/Apr/2003:15:20:05 +0200] Hint: Do you have ESP Ghostscript installed?
I do have EPS ghost script installed. This is the output of "gs -v"

Code:
ESP Ghostscript 7.05.5 (2002-09-02)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
What's going on? I set the log level of cups to debug, but I don't get eny wiser from the error_log file. I can connect to the cups server fine. Browsing to "http://localhost:631" works as expected.
Maby EPS gs can't, for some reason convert file to printeble formats. How can I check if it is able to do some my self? I installed xpdf and it can display pdf files. How ever, when I do :


Code:
bash-2.05a# gs -q -dSAFER -sDEVICE=epsonc /home/sohail/scriptie.pdf 
Error: /invalidfileaccess in --.outputpage--
Operand stack:
   1   true
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   --nostringval--   2   1   22   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   0   9   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1047/1123(ro)(G)--   --dict:0/20(G)--   --dict:72/200(L)--   --dict:72/200(L)--   --dict:97/127(ro)(G)--   --dict:229/230(ro)(G)--   --dict:19/24(L)--   --dict:4/6(L)--   --dict:22/31(L)--
Current allocation mode is local
ESP Ghostscript 7.05.5: Unrecoverable error, exit code 1
I don't know if this has any thing to do with it
ANY help would be apreciated.
 
Old 04-28-2003, 07:04 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Did you install ESP Ghostscript yourself? If so did you includes the --with-drivers=ALL option so you definately got the necessary drivers?

cheers

Jamie...
 
Old 04-28-2003, 07:43 AM   #3
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
Hello. Yes, I installed EPS gs my self. I configured like this :

./configure --prefix=/usr --enable-gimp-print

I'l recompile with the " --with-drivers=ALL" option and see what hapens.
 
Old 04-28-2003, 08:00 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
The default location for EPS gs is /usr/local - I'm not sure if you'll need to tell CUPS where to find it if its not in this location.

cheers

Jamie...
 
Old 04-28-2003, 08:31 AM   #5
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
Well, it worked partially. I can print a text file by doing

"lp -s -d printer -o raw some.txt"

And I don't have that "Do you have ESP Ghostscript installed? " thing in my error_log file any more. But going to "localhost:631" I see the jobs it tell it to do, are abored immediatly. This means I can't print any thing other than pictures (from the gimp) and raw text file. But things like pdf don't work.
Looking at the error_log file, I see things like :

Code:
D [28/Apr/2003:17:26:30 +0200] [Job 51] pw = 594.0, pl = 783.0
D [28/Apr/2003:17:26:30 +0200] [Job 51] PageLeft = 9.0, PageRight = 603.0
D [28/Apr/2003:17:26:30 +0200] [Job 51] PageTop = 792.0, PageBottom = 9.0
D [28/Apr/2003:17:26:30 +0200] [Job 51] PageWidth = 612.0, PageLength = 792.0
d [28/Apr/2003:17:26:30 +0200] PID 11546 exited with no errors.
So it did do something, but effectifly, I still can't print the way I should be.

Last edited by qanopus; 04-28-2003 at 08:33 AM.
 
Old 04-28-2003, 08:55 AM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
And there nothing before that text in the log to indicate any problems?

Jamie...
 
Old 04-28-2003, 09:02 AM   #7
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
Yes, succes!!!
This is what happend. Somehow there was a nother error log file called error_log.0.
I really don't know how that happend, but, looking at that I saw it coulden't load the gimp-print library. So i did "ldconfig", deleted the printer and reinstalled it again. And, succes. It printed a test page.
Thanks a million jharris

Last edited by qanopus; 04-28-2003 at 09:03 AM.
 
Old 04-28-2003, 09:20 AM   #8
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
No probs. I've banged my head against a few walls in the part sorting out off CUPS errors. Once its going though its really worth it.

Jamie...
 
  


Reply



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
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
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
CUPS in SuSE <> Cups RH' Like? Tiago Cruz Linux - Hardware 0 02-13-2003 12:46 PM
cups-libs need to install cups illtbagu Linux - Newbie 3 01-23-2003 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:52 AM.

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