ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Read data from a PDF in the IFS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Read data from a PDF in the IFS

    Hi,

    I need to read the data from a PDF stored in the IFS, these are payment remittances with invoice number, date of payment, amount etc.
    What's the best way of doing it in ILE?

    Thanks
    Nuno

  • #2
    There are libraries to extract the text from a pdf available in Python and PHP - and no doubt Java and node although I have not used them. Of these only Java can be directly integrated into an ILE RPG program but any of them can run in PASE and be invoked from RPG in a number of ways.

    I am not aware of any functions that can do this in RPG or SQL. I did "play" with processing pdfs with RPG many years ago but it wasn't worth the effort when I could do it easily in PHP.

    Comment

    Working...
    X