Rao Sankarmanchi Posted February 25, 2022 Report Share Posted February 25, 2022 Cannot find documentation of command line parameters. Merging files opens nitro pro and aks for merged file name. Anyway to merge files and auto create final pdf without opening Nitro Pro Link to comment Share on other sites More sharing options...
Official Nitronaut Reymund Oyong Posted February 27, 2022 Official Nitronaut Report Share Posted February 27, 2022 Greetings @Rao Sankarmanchi Thank you for reaching out to us through our Community Forums! Here a link to our knowledgebase about the Command line functions available in Nitro Pro: https://kb.gonitro.com/knowledgebase#/search/command line/000004309 Kind regards, Link to comment Share on other sites More sharing options...
MartinC69 Posted March 4, 2022 Report Share Posted March 4, 2022 The Command Line for Merge doesn't appear to have any logic behind the order that they are being merged and the file you are merging into has to already exist as a file. Is there a way to force a new file and merge into that, in the order that they are passed For example: NitroPDF.exe /m NewFile.pdf 1stFile.pdf 2ndFile.pdf 3rdFile.pdf Where NewFile.pdf is a new file which the following files will be merged into 1stFile.pdf is the 1st file which should be merged 2ndFile.pdf is the 2nd file which should be merged 3rdfile.pdf is the 3rd file which whould be merged Executing the command line will error with a corrupt file if NewFile.pdf does not exist. If the file does exist the Combine screen is displayed and the files are displayed, but not in the order that they are passed in the command line. Is there a way to run NitroPDF from the command line so that it is silent, no application is displayed, it just does what is passed to it and then exits? Link to comment Share on other sites More sharing options...
Rao Sankarmanchi Posted March 10, 2022 Author Report Share Posted March 10, 2022 Thanks for the command line link @Reymund G. As a follow up, have the exact same question as @MartinC69. How can we do the combining that it is silent, no application is displayed, it just does what is passed to it and then exits? Link to comment Share on other sites More sharing options...
Official Nitronaut Reymund Oyong Posted March 15, 2022 Official Nitronaut Report Share Posted March 15, 2022 (edited) Hi @MartinC69and @Rao Sankarmanchi You may try adding the /INS=after and see if this works for you. Here are the steps: Note: Please make sure to back-up the PDF files before applying this command line. 1. Open Nitro PDF Pro with no document. (leave this open as you go with executing the command lines ) 2. Open Windows Command Prompt in administrator mode. 3. Run the command line below: C:\Program Files\Nitro\Pro\13>NitroPDF.exe /INS=after <file path to Master pdf> <file path to Secondary pdf> Example: C:\Program Files\Nitro\Pro\13>NitroPDF.exe /INS=after C:\Users\royong\Downloads\TestDocument\SkyJanBill.pdf C:\Users\royong\Downloads\TestDocument\TestDocument.pdf The SkyJanBill.pdf is the main PDF. The TestDocument.pdf will be combined and added at the end of the main PDF. 4. Click Enter on your keyboard and you will be prompted with a message that the pages of the secondary pdf is successfully inserted into the main/master pdf. I have made a screen recording so you could see the workflow: Kind regards, Edited March 15, 2022 by Reymund G. Link to comment Share on other sites More sharing options...
Faizan Majid Posted March 27 Report Share Posted March 27 On 3/16/2022 at 2:56 AM, Reymund Oyong said: Hi @MartinC69and @Rao Sankarmanchi You may try adding the /INS=after and see if this works for you. Here are the steps: Note: Please make sure to back-up the PDF files before applying this command line. 1. Open Nitro PDF Pro with no document. (leave this open as you go with executing the command lines ) 2. Open Windows Command Prompt in administrator mode. 3. Run the command line below: C:\Program Files\Nitro\Pro\13>NitroPDF.exe /INS=after <file path to Master pdf> <file path to Secondary pdf> Example: C:\Program Files\Nitro\Pro\13>NitroPDF.exe /INS=after C:\Users\royong\Downloads\TestDocument\SkyJanBill.pdf C:\Users\royong\Downloads\TestDocument\TestDocument.pdf The SkyJanBill.pdf is the main PDF. The TestDocument.pdf will be combined and added at the end of the main PDF. 4. Click Enter on your keyboard and you will be prompted with a message that the pages of the secondary pdf is successfully inserted into the main/master pdf. I have made a screen recording so you could see the workflow: Kind regards, Can we do similar for converting a PDF file to Excel file without opening Nitro PDF and using command line or APIs? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now