Luca,

Luca Morettoni wrote:
> On 08/21/08 11:39, Paul Cunningham wrote:
>> Have you tried setting debug on in the foomatic-rip script (my $debug = 
>> 1) and then looking in its log file after it fails to see if that helps 
>> diagnose your problem?
> 
> I put online the two files, if anyone can help me :(
> 
> http://www.morettoni.net/foomatic-rip.ps
> http://www.morettoni.net/foomatic-rip.log

being as no one else has responded to this I will take a *guess* as to 
the reason ...

To me it looks like your 'Java application' has generated a postscript 
(ps) print file which CUPS has then filters with 'pstops' and then 
'foomatic-rip'; foomatic-rip has then invoked 'ghostscript' (gs) to 
convert it to what ever format the printer wants, but has failed because 
it thinks the ps it was feed was invalid.

So my guess is either the 'Java application' is generating invalid ps or 
the 'pstops' filter has corrupted it in someway.

Try getting the 'Java application' to print to a file then look at the 
generated ps and/or display it with ghost view. If thats okay try 
passing that file through 'pstops' and capture the output to file. Then 
look at that output. Hope that helps or someone else can help you.

Paul
-- 
----------------------------------------------------------------------
Paul Cunningham
Software Engineer
Tadpole Computer Products

Reply via email to