Menu

Connecting NAPS2 to a Web App

Luca Saba
2014-09-17
2017-09-18
  • Luca Saba

    Luca Saba - 2014-09-17

    Hi,
    I'm using NAPS2 with a web application. I've slightly modified NAPS2 to send the content with a POST HTTP packet.
    Not a lot of code but I was wondering if my code could be useful.
    I could change it so that it could be a general purpose code....

    In my case, I've associated a .naps extension to NAPS2. So when the browser receives a text file with that extension NAPS2 starts, saves some information from the text file and uses it to send the PDF to the web.

    Let me know if you want me to submit a...proposal!

    P.S. The basic idea is this: https://sourceforge.net/u/luca-saba/naps2/ci/3993e50c93656e34ab904b6e06a463e7dccbb12d/#diff-4

     

    Last edit: Luca Saba 2014-09-17
  • ajmakoni

    ajmakoni - 2017-09-15

    Hello, am looking at a silimar solution. Does your code work with the current version? I am working on a n eletron app which give me 2 options (1) return scanned PDF files as strings to my electron app or (2) read saved PDF files as stream from my electron.
    However, with (1), I have no clue how to return srting on PDF save and (option 2) I do not know the files to modify to make disable prompt and save PDF files in the current working directory and close the program on successful save

     

    Last edit: ajmakoni 2017-09-15
  • Quinten Questel

    Quinten Questel - 2017-09-18

    Hi Ajmakoni... I tried to follow your link but it is not working.

     
    • ajmakoni

      ajmakoni - 2017-09-18

      Hi, sorry about that. I have updated the link above. Its working now. If you need further clarification on how to modify the code, don't hesitate to write to me and I will write back as soon as I can

       

Log in to post a comment.

MongoDB Logo MongoDB