Menu

Wish List Item

2018-02-27
2018-03-05
  • Tracy Smith

    Tracy Smith - 2018-02-27

    NAPS2 has been a great alternative to what I've previously used Adobe
    Acrobat Interop routines to accomplish for scanning documents into my
    Microsoft Access applications. However, there's one thing that I've not
    found an alternative for-the ability to split a multi-page PDF. Could NAPS2
    do that? Does anyone know anything other than Adobe Acrobat that can
    accomplish this?

    Tracy Smith

     
  • Ben Olden-Cooligan

    NAPS2 has the basic capability. You can import the PDF, then use the Save Selected option under the Save PDF menu to save each piece.

     
  • Tracy Smith

    Tracy Smith - 2018-02-27

    Thanks for the quick response, Ben. I need to be able to automate it. Is there a command line option for this that I've just not noticed?

     
  • Ben Olden-Cooligan

    Not at the moment. How would you want that to work? Just save N pages into N files?

     
  • Tracy Smith

    Tracy Smith - 2018-02-28

    The most basic request would be just to take a multi-page file and create a bunch of single-page pdf's. Maybe have logic that would take multi-page file named FILE01.PDF and create single-page files named FILE01_001.PDF, FILE01_002.PDF, etc.

    A more extensive request would be to create the equivalent of the Adobe Interop methods for InsertPages and DeletePages. Basically you're able to pass parameters to the InsertPages method for the page range from the source file to insert into the desination file at a specific page location. I'm usually inserting them at the end of the destination file, so I check the NumPages property of the file to determine what the last page number is to insert it after. I suppose you could just append it to the end of the destination file and that would take care of how I typically use it. The DeletePages method allows you to delete a page range from a selected file.

    I've always been nervous about trusting Adobe Acrobat with these routines as they roll out new versions. This actually happened with Adobe Acrobat 2017, some of my routines no longer worked. If I had an alternative (that didn't require the high cost of an Adobe Acrobat license), I'd be a happy guy.

     

Log in to post a comment.

MongoDB Logo MongoDB