Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Unable to open certain pdf file with adobe reader

Community Beginner ,
Jun 29, 2022 Jun 29, 2022

Hi everyone, I've created a simple PDF file, it only shows the message "Hello world!!". However even although I can open it without any issue in several browsers and many other pdf readers I can't do it with the latest version of adobe acrobat reader dc (64 bits) installed from scratch some minutes ago in my windows 10 pc. I'm sending attached to this post the hello_world.pdf file and a screenshot whit the error message provided by adobe reader so you can review it. Any suggestion will be welcome.

TOPICS
View PDF
2.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jul 05, 2022 Jul 05, 2022

I already solved the issue, it seems that ASCIIHexDecode filter can't be used in the xref object. Thanks anyway.

Translate
Adobe Employee ,
Jun 30, 2022 Jun 30, 2022

Hi,

 

Thanks for sharing the PDF file and screenshot of the error.

It appears to be the file itself got corrupted at the time it was created. Would you mind confirming the exact steps of how this file was produced? Was it using the Acrobat DC or just saving a word document to .pdf format?

modify the way the PDF is produced and check back.

 

We assume that it's most likely a particular file that's causing the error. Let us know if you experience the same behavior with other .pdf files too.

 

Thanks,

Akanchha

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 30, 2022 Jun 30, 2022

The file was created by hand, just copy the following text in a text editor and save it with the name hello_world.pdf. Be careful to use only LF as the new line instead of CR LF, otherwise it may be wrong.
%PDF-1.7
1 0 obj<</Type/Catalog/Pages 2 0 R>>
endobj
2 0 obj<</Type/Pages/Count 1/Kids[3 0 R]>>
endobj
3 0 obj<</Type/Page/Parent 2 0 R/Contents 5 0 R/Resources <</Font <</F1 4 0 R>>>>/MediaBox[0 0 595 842]>>
endobj
4 0 obj<</Type/Font/Subtype/Type1/BaseFont/Helvetica>>
endobj
5 0 obj<</Length 43>>stream
BT
/F1 16 Tf
42 770 Td
(Hello world!!)Tj
ET
endstream
endobj
6 0 obj<</Root 1 0 R/Type/Xref/W[1 2 2]/Size 7/Length 90/Filter/ASCIIHexDecode>>stream
00 0000 FFFF
01 0009 0000
01 0035 0000
01 0067 0000
01 00D8 0000
01 0116 0000
01 016F 0000
endstream
endobj
startxref
367
%%EOF

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 04, 2022 Jul 04, 2022

According to the documentation it seems that the filter ASCIIHexDecode requires an ending GREATER-THAN SIGN(3Eh) marker, so I added that at the very end of the last entry in the cross-reference stream (ie, after the sequence 01 016F 0000) and also incremented the stream length from 90 to 91 to be consistent, but still the same issue. I don't know what else could I do to make adobe reader to open it. Any idea?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 05, 2022 Jul 05, 2022
LATEST

I already solved the issue, it seems that ASCIIHexDecode filter can't be used in the xref object. Thanks anyway.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines