Other options: German, French, Hebrew, Japanese, Russian, Spanish. Select language available for text recognition via OCR. Set file name for a combined multipage fileIf you want to set a filename with spaces, type it within double quotation marks. Example: "my multipage.pdf" Prepend – adds new files as pages to the beginning
#Pdf search command pdf
Split – splits multipage files into separate PDF pagesĪppend – adds new files as pages to the end Possible options:Īs is – keeps the original file structure Value (values in bold are set by default)Ĭonvert to PDF/A (works for Word documents only)Ĭompress output PDF to minimize the file size. You can control different parameters related to the PDF format using the -pdf switch. PDF format parameters for converted files By default, page counter appears only for multipage files split into pages. Keep the same subfolder structure as in the input folder (if you specify a folder as a source)īreak on error (stop the program in case of an error)Īdd output file name template. General file conversion options are controlled by the -options switch.Values that are marked bold below are set by default.Ĭonvert files within subfolders too (if you specify a folder as a source) Sets up file processing and common 2PDF options. Rotates document pages at a specific angle.Īdds an image watermark to document pages. Sets landscape or portrait orientation for output files. Sets PDF format options, such as multipage and OCR. The destination folder for the output PDF file(s). To set a list of files as a source, use before the file path. If you have a list of files to convert, it should be saved as a text file. Can contain a search mask (to allow processing any files use *.*).ĢPDF.exe -src "C:\Incoming\Overview.docx" -dst "C:\Output"ĢPDF.exe -src "C:\Incoming\*.*" -dst "C:\Output" The source path to a file or files within a folder that should be converted. You can also rotate document pages using -oper autorotate, -oper rotate add a watermark using -oper textwatermark and -oper watermark switches. Use switches -src and -dst to set source for input files and and output destination for converted files. After them you can add optional parameters for output PDF files such as file structure, handling attachments, page autorotation, and more.ĢPDF.exe - Switches The basic command line structure sets the source for files and the destination path. Example: -src "C:\Incoming files\For conversion\Invoice.docx". When specifying the source folder path (or source file) and destination path (output folder) – enclose them in double quotation marks. -dst should be followed by the destination folder path for output files.*.* stands for any filename – point – any file extension Asterisk (star, *) is a wildcard character which stands for any string of characters (or no characters at all).-src should be followed by the source folder path with files to be converted or path to input file.In general, the basic syntax is as follows: The command lines have arguments with values, which are typed after the command itself. You can get an entire list of available operations and options by using this command line:ģ. To call 2PDF, type in 2PDF.exe and press Enter. Press Win+R on your keyboard, type cmd and click OK to open the Command Prompt (CMD).Ģ. PDF format parameters for converted filesġ.