[cups.general] Error: /invalidfont in findfont

Helge Blischke H.Blischke at srz-berlin.de
Mon Oct 4 05:07:15 PDT 2004


julius wrote:
> 
> On Sat, 02 Oct 2004 13:06:55 +0200
> Helge Blischke <H.Blischke at srz-berlin.de> wrote:
> 
> > julius wrote:
> > >
> > > Hi,
> > >
> > > arent there any archives from the cups mailing list?
> > >
> > > cups isnt printing and LogLevel debug prints this:
> > >
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] cups->header.Duplex = 0
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] cups->page = 1
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] cups->ppd = 0x89f3f48
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] cups->ppd->flip_duplex = 1
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] width = 2329, height = 3333
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] PageSize = [ 595 842 ], HWResolution = [ 300 300 ]
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] HWMargins = [ 18.000 36.000 18.000 6.000 ]
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] matrix = [ 4.167 0.000 0.000 -4.167 -75.000 3483.333 ]
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] Error: /invalidfont in findfont
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] Operand stack:
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] bigFont   Helvetica-Bold   Font   Helvetica-Bold   436121   Helvetica-Bold   --nostringval--   Helvetica-Bold   NimbusSanL-Bold   (NimbusSanL-Bold)   NimbusSanL-Bold   (NimbusSanL-Bold)   NimbusSanL-Bold
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] Execution stack:
> > >
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] Dictionary stack:
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] --dict:1052/1417(ro)(G)--   --dict:0/20(G)--   --dict:87/200(L)--   --dict:17/17(ro)(G)--   --dict:1052/1417(ro)(G)--
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] Current allocation mode is local
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] Last OS error: 2
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
> > > E [30/Sep/2004:15:22:02 +0200] PID 14351 stopped with status 1!
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] 0 %%EOF
> > > D [30/Sep/2004:15:22:02 +0200] [Job 22] Saw EOF!
> > > E [30/Sep/2004:15:22:02 +0200] [Job 22] No pages found!
> > > E [30/Sep/2004:15:22:02 +0200] PID 14353 stopped with status 1!
> > > D [30/Sep/2004:15:22:02 +0200] UpdateJob: job 22, file 0 is complete.
> > > D [30/Sep/2004:15:22:02 +0200] CancelJob: id = 22
> > > D [30/Sep/2004:15:22:02 +0200] StopJob: id = 22, force = 0
> > > D [30/Sep/2004:15:22:02 +0200] StopJob: printer state is 3
> > >
> > > I use kde-cvs, the standard font is Helvectia....but why isnt the font found by ghostscript?
> > >
> > > Regards
> > > Jukius
> >
> > Probably gs and kde have different ideas where to find fonts. Adapt
> > Ghostscript's
> > Fontmap file top contain the correct path names.
> >
> > Helge
> >
> 
> I dont see any Path settings in the Fontmap.GS file....ive exported GS_FONTPATH to /usr/X11R6/lib/X11/fonts/75dpi and 100dpi....still the same error message :(
> the Helvec... names in the ghostscripts Fontmap.GS doenst seem to match any font in the fonts dir?
> 
> Dont know if this is new, but the webpage displays "No pages found", under Printer State: idle, accepting jobs.
> 

By default (like Fontmap.GS), the fontmap file only lists the plain
file names. In this case Ghostscript looks for the said font in all
the directories listed in GS_FGONTPATH.
But you may easily specify the full path name in the fontmap file,
like

/RotisSansSerif-ExtraBold 
(/PostScript/pfa/RotisSansSerif-ExtraBold.ps)   ;

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list