Good Morning (or Day or Night),
I have a network drive with 10s of thousands of PDFs. Any given week, I have to print off 500-1000 different ones, depending on the work I am doing. I know in advance, which PDFs will be needed. I would need to print these PDFs in a specific order. (they are engineering blueprints)
I've attempted to use the command line and print out pdfs, to test to see if I could add them to a batch file and print them all in sequence, but every time I attempt to do so the application I am trying to use (doesnt matter which so far) opens up and prints. It would need to print and close or not open at all, as I am limited in computer resources/time.
Edit
Currently I've tried the following, without my expected result:
C:\Users>print /d:IP_172.31.86.2 "J:\30000's\31121-015-O.pdf"
J:\30000's\31121-015-O.pdf is currently being printed
This actually just states its being printed, I think the PRINT command is to blame. I can rerun it and get a different response:
C:\Users>print /d:IP_172.31.86.2 "J:\30000's\31121-015-O.pdf"
Unable to initialize device IP_172.31.86.2
Which confuses me as I've verified the printer port and I'm specifying it.
I've also tried the following, which does work, but it leaves the application open (cant have this):
C:\Users>"C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe" /p "J:\30000's\31121-015-O.pdf"
I get similar results from Adobe Reader DC.
Any suggestions or sample cmd line syntax/switches that you think I might be able to learn from? I do not have a linux/unix machine to work from, just windows 7. If you have suggestions on an alternative method to printing a large number of PDFs at once, please let me know. Perhaps using something similar to kill -9 foxitreader after each /p line in the bat file? Seems excessive, but I'm open to ideas!
Thank you for your time, have a good Sunday!
Best Answer
The command in Windows for batch printing PDFs using Adobe in Windows is this:
Assuming
IP_172.31.86.2
is the name of your printer device, you would add that after the /t switch.For more information you can visit this question on StackOverflow.