Created attachment 10168 [details] ps file Hi, I used to run the command html2ps http://cedarsdeli.com/ | ps2pdf - site.pdf but now for some reason it fails. attached is the ps file the error i get is Retrieving http://cedarsdeli.com Error: /nocurrentpoint in --currentpoint-- Operand stack: --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1170/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- --dict:407/2000(L)-- Current allocation mode is local Last OS error: No such file or directory GPL Ghostscript 9.10: Unrecoverable error, exit code 1
Yes, the file executes currentpoint before setting the current point. In PostScript the current point is initially undefined, any attempt to make marking operations or retrieve the current point will therefore fail with 'undefined' until some move operation is performed. The file errors on every PostScript interpreter I've tried. I did start debugging the PostScript but it turned out to be hideous so I stopped. You should report this bug to whoever maintains html2ps,or at least try the beta 7 release, you seem to be a couple of releases behind. I notice that the web site says that html2ps isn't under development any longer. If you want a PDF file why don't you use html2pdf ?
thanks i will try html2pdf. I realized the .ps file was corrupt only after posting, I am sorry I should have closed the bug report.