Bug 692633 - interpreter exits with error -1
Summary: interpreter exits with error -1
Status: RESOLVED WORKSFORME
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL interpreter (show other bugs)
Version: 8.71
Hardware: PC Linux
: P4 normal
Assignee: Henry Stiles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 16:57 UTC by kginbg
Modified: 2011-10-31 15:45 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
pcl source (2.54 KB, application/octet-stream)
2011-10-28 16:57 UTC, kginbg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kginbg 2011-10-28 16:57:34 UTC
Created attachment 8047 [details]
pcl source 

I have successfully compiled ghostpdl-8.71 on Debian squeeze.
Using it on the attached file 'klemens.pcl' with

   ./pspcl6 -sDEVICE=pdfwrite -sOutputFile=klemens.pdf klemens.pcl

yields

    Warning interpreter exited with error code -1

The output file is generated, but contains only some preliminaries
but none of contents of the source whatsoever.

The source is generated by own software, which is in use for
years and could be properly converted on an other machine
by a version of pcl6 built in 2003. Please advise.

Klemens
Comment 1 Henry Stiles 2011-10-28 18:21:27 UTC
Two Problems here (1) the shared language build pspcl6 is an alpha product I don't think we are going to address bugs in it.  (2) 8.71 is very old and we won't look at problems in this release unless you are paying customer.  If you can reproduce your problem in on one of these platforms:

http://www.ghostscript.com/download/gpcldnld.html

I'll have a look.  Good luck.
Comment 2 kginbg 2011-10-31 09:30:55 UTC
(In reply to comment #1)
> Two Problems here (1) the shared language build pspcl6 is an alpha product I
> don't think we are going to address bugs in it.  (2) 8.71 is very old and we
> won't look at problems in this release unless you are paying customer.  If you
> can reproduce your problem in on one of these platforms:
> 
> http://www.ghostscript.com/download/gpcldnld.html
> 
> I'll have a look.  Good luck.

After compiling 9.04 from source, using it on the same pcl-sourcefile
yields

    glyph index c0000000 is out of range
    End of page 1, press <enter> to continue
    End of page 2, press <enter> to continue

When trying to open the output with the filebrowser is not possible,
it says the pdf is damaged. Could you please address to the problem.

Thanks in advance.

Klemens.
Comment 3 Henry Stiles 2011-10-31 15:45:35 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Two Problems here (1) the shared language build pspcl6 is an alpha product I
> > don't think we are going to address bugs in it.  (2) 8.71 is very old and we
> > won't look at problems in this release unless you are paying customer.  If you
> > can reproduce your problem in on one of these platforms:
> > 
> > http://www.ghostscript.com/download/gpcldnld.html
> > 
> > I'll have a look.  Good luck.
> 
> After compiling 9.04 from source, using it on the same pcl-sourcefile
> yields
> 
>     glyph index c0000000 is out of range
>     End of page 1, press <enter> to continue
>     End of page 2, press <enter> to continue
> 
> When trying to open the output with the filebrowser is not possible,
> it says the pdf is damaged. Could you please address to the problem.
> 
> Thanks in advance.
> 
> Klemens.


The 9.04 generated PDF works with Adobe Acrobat and Apple Preview.  There is an extra blank page in your file, that matches the HP, so it is not a bug.