[cups.general] Can't print bank statement from ar,test page fine.

Helge Blischke h.blischke at srz.de
Tue Aug 22 06:27:33 PDT 2006


Gene Heskett wrote:
> On Tuesday 22 August 2006 08:44, Helge Blischke wrote:
> 
>>Gene Heskett wrote:
>>
>>>On Tuesday 22 August 2006 00:55, Gene Heskett wrote:
>>>
>>>>Greetings;
>>>>
>>>>My bank has gone to electronic statements, published in the form of a
>>>>pdf-3.0 file, which firefox automaticly hands off to acrobat reader, in
>>>>this case version 7.0.
>>>
>>>And I just upgraded acrobat reader to 7.08-1, no change regarding this.
>>>Localhost:631/printers says the job is 1% done, but a test page comes
>>>right on out in spite of the so-call busy status.
>>>
>>>
>>>>Test pages print fine, but to get any meaningfull debug info in the
>>>>error_log file I had to crank it up to 'debug', at which point its gets
>>>>very verbose, and finally spits out this as the first hint of trouble
>>>>and this is 300 or so lines down from the start of the job as
>>>>requested by acrobat issueing the '/usr/bin/lpr -P lp2' :
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0 %%BeginFont: ArialMT
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0 %%EndFont
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0 %%BeginFont:
>>>>TimesNewRomanPS-BoldMT
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0 %%EndFont
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0 %%BeginFont: Arial-BoldMT
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0 %%EndFont
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0 %%BeginFont: Arial-ItalicMT
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] ...FINISHED...
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] *** defined charmap ***
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] 0
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] [() (\002\001\000\002)
>>>>(\000\000\377\377) (\000\000) 0]
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] *** undefined charmap ***
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] requested array size 2
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] requested array size 5
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] requested array size 0
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] Error: /invalidfileaccess in
>>>>--.libfile--
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] Operand stack:
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] --nostringval--   true
>>>>ArialMT ArialMT   Font   ArialMT   588854   Ar
>>>>ialMT   --nostringval--   ArialMT
>>>>(/usr/local/share/fonts/TTF/arial.ttf) D [22/Aug/2006:00:34:32 -0400]
>>>>[Job 1697] Execution stack:
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] %interp_exit   .runexec2
>>>>--nostringval--   --nostringval--   --nostring
>>>>val--   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--   --n
>>>>ostringval--   2   %stopped_push   --nostringval--   --nostringval--  
>>>>4 9   %oparray_pop   5   9   %oparray_pop
>>>>--nostringval--   --nostringval--   --nostringval--   --nostringval--
>>>>--nostringval--   false   1   %stopped_pu
>>>>sh   8   10   %oparray_pop   --nostringval--   --nostringval--
>>>>--nostringval--   --nostringval--   --nostringval-
>>>>-   %array_continue   --nostringval--   --nostringval--  
>>>>--nostringval-- %loop_continue   --nostringval--   11
>>>>11   %oparray_pop   --nostringval--   --nostringval--   --nostringval--
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] Dictionary stack:
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] --dict:1052/1417(ro)(G)--
>>>>--dict:4/20(G)--   --dict:80/200(L)--   --dic
>>>>t:36/89(L)--   --dict:91/162(ro)(L)--   --dict:64/78(ro)(L)--
>>>>--dict:80/200(L)--   --dict:21/30(L)--   --dict:10/
>>>>10(L)--   --dict:17/17(ro)(G)--   --dict:1052/1417(ro)(G)--
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] Current allocation mode is
>>>>local D [22/Aug/2006:00:34:32 -0400] [Job 1697] Last OS error: 2
>>>>D [22/Aug/2006:00:34:32 -0400] [Job 1697] ESP Ghostscript 7.07.1:
>>>>Unrecoverable error, exit code 1
>>>>
>>>>
>>>>At which point it goes through another 100 logged lines or so before
>>>>finally bailing out.
>>>>
>>>>System is FC2, cups is locally built cups-1.1.23.  Using beh.
>>>>
>>>>is this an acrobat reader bug, or bad composition in the banks pdf
>>>>generator?
>>
>>Are you sure the font file:
>>/usr/local/share/fonts/TTF/arial.ttf
>>does really exist and is accessible by Ghostscript (probably running as
>>user lp in this case)?
>>The error "invalid file access" means that access to the named file
>>is not allowed.
> 
> 
> [root at coyote /]# ls -l /usr/local/share/fonts/TTF/arial.ttf
> -rw-r--r--  1 root root 275572 Jan  8  
> 2003 /usr/local/share/fonts/TTF/arial.ttf
> 
> In fact, root:root owns them all, and I was printing them as root.
> 
> 
>>You should also have a look at Ghostscript's command line options.
>>I suspect that there is a "-dPARANOIDSAFER", which - AFAIK - prohibits
>>file access altogether. If so, replace it by "-dSAFER" (without the
>>quotes), which only forbids write access to files, I think.
> 
> 
> And where do I find this file that would contain that option?  I've grepped 
> quite a bit of the system w/o finding either phrase.
> 
> 
>>Helge
> 
> 

Tell us how your printer is configured (device_uri, special filters, etc).
Is it perhaps using foomatic-rip ?

Helge


-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list