Pdf Header Format Question


hello, have question pdf header. have noticed have pdf's have header "%pdf-1.3\r\n", note header has both carraige return , line feed (\r\n). have other pdf's header "%pdf-1.5\r", has carraige return , no line feed. header without line feed still valid? have done page extracts adobe acrobat pro (v 8.1.0) , noticed when saving page extracts adobe software creates header without line feed character, i'm guessing valid confirmation. thank time.

this described in section 7.5 of pdf spec (file structure). in

7.5.1 (general), you'll find following line endings: "each

line shall terminated end-of-line (eol) marker, may a

carriage return (0dh), line feed (0ah), or both. "

 

so, can use 1 of 3 different methods of ending line: \r, \n

or \r\n

 

 

 

karl heinz kremer

pdf acrobatics without net

pdf software development, training , more...

 

khk@khk.net

http://www.khkonsulting.com



More discussions in PDF Language and Specifications


adobe

Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support