Invalid PDF exported
Posted: Fri Jun 07, 2013 2:53 pm
When exporting a report do PDF, the resulting file is invalid.
A regular PDF looks like:
Our application generates a PDF this way, everything on the same line:
It seems that CR-LF is changed to a space. What should we do?
A regular PDF looks like:
Code: Select all
%PDF-1.4
%âãÏÓ
1 0 obj
<<
/Type /Catalog
/Pages 4 0 R
/MarkInfo<</Marked true>>
/Metadata 21 0 R
/OutputIntents 23 0 R
/StructTreeRoot 5 0 R
/PageMode /UseNone
Code: Select all
%PDF-1.4 %âãÏÓ 1 0 obj << /Type /Catalog /Pages 4 0 R /MarkInfo<</Marked true>> /Metadata 27 0 R /OutputIntents 29 0 R /StructTreeRoot