LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 02-11-2003, 08:03 PM   #1
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Rep: Reputation: 15
Exclamation CUPS printer ghostscript error!


I've been working on this one for a week.
I'm using CUPS, hpoj, hpijs, foomatic, ghostscript, and a HP PSC750. Running EvilE linux with 2.4.20.
All is updated to most current version. Been downloading and messing with these for a while now.

When I try to print from OpenOffice, it prints out the postscript code:
%!PS-Adobe-3.0 %%BoundingBox:
and so on

Xsane works perfectly. Gimp works fine if I use a built in gimp-print driver for a different model.

CUPS won't print a testpage. Upon looking into /var/log/cups/error.log, I see the following:

D [11/Feb/2003:18:53:21 -0600] [Job 81] successful.
D [11/Feb/2003:18:53:21 -0600] [Job 81] Error: /invalidfont in findfont
D [11/Feb/2003:18:53:21 -0600] [Job 81] Operand stack:
D [11/Feb/2003:18:53:21 -0600] [Job 81] bigFont Helvetica-Bold Font Helvetica-Bold 280989 Helvetica-Bold --nostringval-- Helvetica-Bold NimbusSanL-Bold (NimbusSanL-Bold) NimbusSanL-Bold (NimbusSanL-Bold) NimbusSanL-Bold
D [11/Feb/2003:18:53:21 -0600] [Job 81] Execution stack:
D [11/Feb/2003:18:53:21 -0600] [Job 81] %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 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 2 3 %oparray_pop 3 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 6 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- 5 -1 1 --nostringval-- %for_neg_int_continue --nostringval-- --nostringval--
D [11/Feb/2003:18:53:21 -0600] [Job 81] Dictionary stack:
D [11/Feb/2003:18:53:21 -0600] [Job 81] --dict:1056/1123(ro)(G)-- --dict:0/20(G)-- --dict:92/200(L)-- --dict:17/17(ro)(G)-- --dict:1056/1123(ro)(G)--
D [11/Feb/2003:18:53:21 -0600] [Job 81] Current allocation mode is local
D [11/Feb/2003:18:53:21 -0600] [Job 81] Last OS error: 2
D [11/Feb/2003:18:53:21 -0600] [Job 81] AFPL Ghostscript 8.00: Unrecoverable error, exit code 1
D [11/Feb/2003:18:53:21 -0600] [Job 81] Couldn't exec foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 930" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 -dIjsUseOutputFD -sOutputFile=- - at /usr/lib/cups/filter/cupsomatic line 1149.
D [11/Feb/2003:18:53:21 -0600] [Job 81] tail process done writing data to *main::STDOUT
D [11/Feb/2003:18:53:21 -0600] [Job 81] KID4 finished
D [11/Feb/2003:18:53:21 -0600] [Job 81] error closing *main::KID3 at /usr/lib/cups/filter/cupsomatic line 944, <STDIN> line 557.
E [11/Feb/2003:18:53:21 -0600] PID 22781 stopped with status 32!
D [11/Feb/2003:18:53:21 -0600] UpdateJob: job 81, file 0 is complete.
D [11/Feb/2003:18:53:21 -0600] CancelJob: id = 81
D [11/Feb/2003:18:53:21 -0600] StopJob: id = 81, force = 0
D [11/Feb/2003:18:53:21 -0600] StopJob: printer state is 3

Notice the /invalidfont in findfont.
I've tried moving fonts to almost every /font I can find. I still get this error. I found these fonts in an X11R6 directory in .gz format, so I tried gunzip -d *.gz, and copied these to /usr/share/cups/fonts. Still no luck.

I'm completely clueless. Adding up the clues and seeing this log, I know it's a ghostscript problem.

ANy help would be great!
 
Old 02-13-2003, 07:31 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
great printer, i have one myself and love it. i use mdk9.0 so i'll try to help. when you do a dmesg what do you have for the usb? ex-

usb-ohci.c: USB OHCI at membase 0xe083a000, IRQ 11
usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected

hub.c: USB new device connect on bus1/1, assigned device number 2
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1411

that's what mine says. i was having a hell of a time trying to pront in a user, root could without a problem. not positive with o.o., but with s.o (should be the same) you should have a .hidden file in your home. go there and see if you have a ./spadmin, could be ./opadmin, and run it in a shell. you might be able to just click on it to run. that's how i made mine work.

hopefully this helps some. good luck.
 
  


Reply


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
Cups/Ghostscript Problem lman817 Linux - Software 3 06-10-2005 01:34 AM
CUPS error - trouble printing to windows printer vr6stress Linux - Newbie 13 12-23-2004 09:46 AM
just installed CUPS printer is OK.. but can't print Error: loop in printcap on lpr soylentgreen Linux - Newbie 4 09-23-2004 11:41 AM
gentoo+cups+ghostscript+foomatic=nothing works busbarn Linux - Software 1 04-30-2003 12:28 PM
Compiling Ghostscript with particular printer drivers Obi-Wan_Kenobi Linux - Software 0 02-10-2003 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:09 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