Hi
I'm testing princexml for creating large pdf files (over 5000 pages, over 1000 source html files, typical result is something like 50MB).
It works great but sometimes generated PDF seems to be broken:
- acrobat reader 8 on linux displays "rebuilding" message before opening but the contents look good
- older reader (on windows) refuses to open the file
- ghostscript pdfopt tool displays:
Note: most files are generated ok, I guess 1 in 10 is faulty.
princexml displays no warnings during processing, like
I'm testing princexml for creating large pdf files (over 5000 pages, over 1000 source html files, typical result is something like 50MB).
It works great but sometimes generated PDF seems to be broken:
- acrobat reader 8 on linux displays "rebuilding" message before opening but the contents look good
- older reader (on windows) refuses to open the file
- ghostscript pdfopt tool displays:
**** 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.
**** Warning: There are objects with matching object and generation
**** numbers. The accuracy of the resulting image is unknown.
Error: /undefined in /BXlevel
Operand stack:
--nostringval-- --dict:4/5(L)-- Next --nostringval-- 50725196 2562 0 --nostringval-- Title (\376\377\000W\000e\000z\000w\000a\000n\000i\000e\000 \000d\000o\000 \000z\000a\000p\001B\000a\000t\000y) Parent --nostringval-- Dest --nostringval-- --nostringval-- X421324 0 8 --dict:11/11(ro)(G)-- (n)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1846 1 3 %oparray_pop 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop 1723 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- %array_continue --nostringval-- --dict:4/5(L)-- --nostringval-- 2 %dict_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval--
Dictionary stack:
--dict:1147/1684(ro)(G)-- --dict:1/20(G)-- --dict:108/200(L)-- --dict:76/200(G)-- --dict:278/300(ro)(G)-- --dict:20/25(L)-- --dict:9/40(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 36516
GPL Ghostscript 8.64: Unrecoverable error, exit code 1
Note: most files are generated ok, I guess 1 in 10 is faulty.
princexml displays no warnings during processing, like
Wed Jun 10 13:51:22 2009: ---- begin
Wed Jun 10 13:51:22 2009: loading HTML input: 00_eaecde438d6a2fcc4745fb35b4032b6f_0.html
...
Wed Jun 10 13:51:42 2009: loading image: 12d1ee8c5ac41714e59ff4387bec755f.gif
Wed Jun 10 13:51:42 2009: loading image: 0011087.jpg
Wed Jun 10 13:51:42 2009: loading image: 0017947.jpg
...
Wed Jun 10 13:52:19 2009: used font: Arial, Regular
Wed Jun 10 13:52:19 2009: used font: Arial, Bold
Wed Jun 10 13:52:19 2009: used font: Arial, Italic
Wed Jun 10 13:52:19 2009: used font: Georgia, Regular
Wed Jun 10 13:52:56 2009: loading image: 0025088.jpg
...
Wed Jun 10 13:52:56 2009: ---- end