Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF Page Extraction

Scroll Prev Top Next More

Extract Pages Command Line Format


win2pdfd.exe extractpages "sourcefile" startpage endpage "destfile"


Extract pages from “sourcefile” starting at “startpage” to “endpage”, and save extracted pages in “destfile”.


Any file names that contain spaces must be enclosed with quotation marks. The "sourcefile" can be a local file path, or an web address (URL) to an existing PDF.


This feature requires a licensed version of Win2PDF. Contact us for a time limited evaluation license.


Returns 0 on success, and a Windows system error code on failure.