Making pdf with HTMLDOC


I’m having a problem with HTMLdoc and rails.

I’ve set it up as per and I’m using
windows and version 1.8.24.

I can make ps files without a problem and I can make pdfs using the
stand alone app, however I can’t get the pdf created in RoR to work.

Loading it into gsviewer I get the error below…

Any help would be appreciated!


GSview 4.6 2004-01-11
AFPL Ghostscript 8.14 (2004-02-20)
Copyright © 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Scanning PDF file
**** Warning: File has a corrupted %%EOF marker, or garbage after
**** Warning: An error occurred while reading an XREF table.
**** The file has been damaged. This may have been caused
**** by a problem while converting or transfering the file.
**** Ghostscript will attempt to recover the data.
Error: /typecheck in --lt–
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval–
–nostringval-- 2 %stopped_push --nostringval-- --nostringval–
false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop
1 3 %oparray_pop 1 3 %oparray_pop .runexec2
–nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
–nostringval-- --nostringval-- --nostringval-- --nostringval–
Dictionary stack:
–dict:1120/1686(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)–
–dict:104/127(ro)(G)-- --dict:238/347(ro)(G)-- --dict:18/24(L)–
Current allocation mode is local

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs