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

Reading contents of a PDF file from its HEX code

New Here ,
Jan 11, 2021 Jan 11, 2021

Hello,

 

I have a requirement to process pdf forms within SAP that were generated outside of SAP.

I am trying to see if there is a way to interpret the form fields by converting the HEX / .BIN format of the PDF into something that is readable text. 

 

For Example: I am trying to interpret something like this

%PDF-1.7
%µµµµ
1 0 obj................................

stream
xœì]xTUÚ>çÞiÉd’™ôdf@˜„„„Šd BÉ`&HHCQŒŠ Q,kïèÚv±L”€

 

To the actual contents which is "TEST 1234"

 

Any help or direction is highly appreciated. 

 

PS: I have already exhausted the SAP forums for answers 🙂 

 

Thanks

TOPICS
Create PDFs , How to , PDF forms
3.6K
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 Expert ,
Jan 11, 2021 Jan 11, 2021
LATEST

Sure, you just need to write your own PDF parser. The document describing how to do it is about 1000 pages of an extremely technical nature. Try searching for "ISO 32000". Good luck!

 

PS. That's assuming it's a PDF 1.7 or lower. If it's a PDF 2.0 file then you need to add several hundred pages to it.

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