windows - Print a specific PDF page using command line -


i working in windows platform.

it possible open pdf file @ specific page:

acrord32.exe /a "page=3" "file.pdf" 

is there similar solution printing specific page? like:

acrord32.exe /p "page=3" "file.pdf" 

is there similar solution printing specific page?

something like:

acrord32.exe /p "page=3" "file.pdf" 

no. there no option print specific page.

what use /p option vbs (or similar) script manipulate print dialog , select required page print:

acrord32.exe /p pathname — executes adobe reader , displays print dialog box.

see below list of possible command line options.


how use command lines acrobat , adobe reader on windows?

these unsupported command lines, have worked developers.

there no documentation these commands other listed below. can display , print pdf file acrobat , adobe reader command line.

note: examples below use adobe reader, apply acrobat well.

if using acrobat, substitute acrobat.exe in place of acrord32.exe on command line.

acrord32.exe pathname — executes adobe reader , displays file, full path must provided.

other options command line are:

  • /n

    launches separate instance of acrobat or adobe reader, if 1 open.

  • /s

    opens acrobat or adobe reader, suppressing splash screen.

  • /o

    opens acrobat or adobe reader, suppressing open file dialog.

  • /h

    opens acrobat or adobe reader in minimized window.

acrord32.exe /p pathname — executes adobe reader , displays print dialog box.

acrord32.exe /t path "printername" "drivername" "portname" — initiates adobe reader , prints file, path must specified, while suppressing print dialog box.

the 4 parameters of /t option evaluate path, printername, drivername, , portname (all strings).

  • printername — name of printer.

  • drivername — printer driver’s name, appears in printer’s properties.

  • portname — printer’s port. portname cannot contain / characters; if does, output routed default port printer.

source acrobat developer faq


Comments