Skip to content

hp2ps sometimes creates invalid postscript files

The attached .hp file is one example; running the resulting ps file through ps2pdf gives

Error: /syntaxerror in -file- Operand stack:

Execution stack:

%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push

Dictionary stack:

--dict:1157/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)--

Current allocation mode is local Last OS error: 2 Current file position is 12516 GPL Ghostscript 9.05: Unrecoverable error, exit code 1

Trac metadata
Trac field Value
Version 7.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information