andrewdeegan Posted May 3, 2016 Posted May 3, 2016 Good afternoon, Not sure if i have put this post in the correct place. Apologies if I have. I have a large volume of PDFs that I need to print for class teachers but I only want to print pages 1-3 of each document. I do not want to open each document and pint a page selection. Is there a way to save these settings like you would a printing profile. Any help would be greatly appreciated. Thanks in advance. Andrew
mrwoberts Posted May 3, 2016 Posted May 3, 2016 Here's a workable solution. Download this portable PDF reader - Download Sumatra PDF - a free reader I'm going to assume you've extracted it to D:\SumatraPDF This would be the command to print the first three pages of a pdf document, to the default printer. D:\SumatraPDF\SumatraPDF.exe -print-to-default -print-settings "1-3" "exampleDoc.pdf" Put all your PDFs into a folder, for example D:\PDFsToPrint\ Then use this script to print the first three pages of every PDF within D:\PDFsToPrint for /f %%G in ('dir /a:-d /b D:\PDFsToPrint\*.pdf') do ( D:\SumatraPDF\SumatraPDF.exe -print-to-default -print-settings "1-3" "%%G" )
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