PDFill PDF Editor Professional/Enterprise PDFill Free PDF and Image Writer PDFill Free PDF Tools PDFill Free PDF Editor Basic

PDF Batch Command Line (Available for the registered user for PDFill PDF Editor)

DOS Command Support: You can start a batch job in Windows by issuing the execution command directly from the MS-DOS command prompt window without opening the PDFill GUI. Note: Please put "" on your file name with space. Make sure all command is in one line.

Script File for Batch Error: When there is error from Batch Command, the error message is saved into this file instead of pop up. See PDFill Options => System.

1. PDF Form Data Export and Import
2. Bookmark Export and Import
3. Merge PDF Page into a new PDF
4. Split or Extract a PDF into a new PDF
5. Encrypt or Decrypt a PDF
6. Rotate or Crop PDF Pages
7. Reformat PDF Pages
8. Add Header or Footer on  PDF Pages
9. Add Watermark by Text on  PDF Pages
10. Add Watermark by Image on  PDF Pages

11. Add Watermark by PDF on  PDF Pages
12. Convert Images to PDF
13. Convert PDF into Image
14. Export and Import Metadata Information
15. Add Barcode on PDF Pages

16. PDF Optimizer
17. Extract Text inside PDF
18. Extract Image inside PDF
19. OCR to Convert Image to Searchable PDF


1. PDF Form Data Export and  Import

Export a PDF form into XLS with Options     

    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT Input.pdf Output.XLS  -UseRow 1 -Append "12" -SheetName "Sheet2"

-UseRow 1: (Optional) Flag to Use Row: If set 1, all set of the form data is under one row. Default is 0 for the column.
-Append "AB": (Optional) With this Append Flag, the form data is appended to Column "AB" if -UseRow 0;  -Append "12" if -UseRow 1. Default is "" and a new file will be created.
-SheetName "Sheet2"
: (Optional) The sheet name. Default is "", which is the first sheet.

  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe"
    EXPORT  "D:\BatchTest\Input.pdf"  "D:\BatchTest\output.xls"
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT  "D:\BatchTest\Input.pdf"  "D:\BatchTest\output.xls"  -Append "AB"
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe"
    EXPORT  "D:\BatchTest\Input.pdf"  "D:\BatchTest\output.xls"  -UseRow 1 -Append "12" -SheetName "Sheet2"

Export a PDF form into FDF, TXT, or CSV 

    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT Input.pdf Output.FDF
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT Input.pdf Output.TXT  (Tab-delimited Text File)
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT Input.pdf Output.CSV  (Comma-delimited Text File)

Import a Excel table into a PDF form (Before using Import, please use Export first to see the file format)

    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT XLS AB Input.xls Input.pdf Output.pdf
-SheetName "Sheet3"  (from Column Name "AB" )
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT XLS 12 Input.xls Input.pdf Flatten Output.pdf  
-UseRow 1 -SheetName "Sheet2" (from Row Name "12" )

Flatten: To Flatten the Output.pdf
-UseRow 1:
(Optional) Flag to Use Row: If set 1, all set of the form data is under one row. Default is 0 for the column.
-SheetName "Sheet2": (Optional) the sheet name. Default is "", which is the first sheet.

Import a tab-delimited text file into a PDF Form

 
   "C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT TXT Input.txt Input.pdf Output.pdf
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT TXT Input.txt Input.pdf Flatten Output.pdf   (to Flatten the Output.pdf)

Import FDF into a PDF form

 
   "C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT FDF Input.fdf Input.pdf Output.pdf
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT FDF Input.fdf Input.pdf Flatten Output.pdf  (to Flatten the Output.pdf)

Flatten a PDF form
"C:\Program Files\PlotSoft\PDFill\PDFill.exe" Flatten Input.pdf Output.pdf

2. Bookmark Export and Import

Export PDF's Bookmark into a XML file

    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT BOOKMARK Input.pdf Output.xml

Import a XML Bookmark file into a PDF

 
   "C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT BOOKMARK Input.xml Input.pdf Output.pdf

3. Merge PDF Page into a new PDF

Merge PDFs into a new PDF

    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" MERGE Input1.pdf Input2.pdf Input3.pdf Output.pdf
-bookmark 1

Merge all PDFs under a folder into a new PDF

     "C:\Program Files\PlotSoft\PDFill\PDFill.exe" MERGE "C:\Test\" Output.pdf
-bookmark 1

-bookmark 1: Add Bookmark using File Names. Default 0

4. Split or Extract a PDF into a new PDF

Split a PDF into a new PDF according to page number selection
      "C:\Program Files\PlotSoft\PDFill\PDFill.exe" SPLIT "1,3-6,10,13,24,last,4-last,odd,even,
landscape,portrait,reverse" Input.pdf Output.pdf

Extract a PDF into a serial of single or multiple pages
      "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXTRACT 3 Input.pdf Output.pdf

Extract a PDF into a serial of pages using Top Level Bookmark
      "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXTRACT BOOKMARK Input.pdf Output.pdf

Extract a PDF into a serial of pages using File Size
      "C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXTRACT 1.50MB Input.pdf Output.pdf

Delete PDF Pages selected into a new PDF
     
"C:\Program Files\PlotSoft\PDFill\PDFill.exe" DELETE "1,3-6,10,13,24,last,4-last,odd,even,
landscape,portrait" Input.pdf Output.pdf

5. Encrypt or Decrypt a PDF

Encrypt a PDF
     "C:\Program Files\PlotSoft\PDFill\PDFill.exe" ENCRYPT INPUT OUTPUT -bit 40 -option 11110000 -userpassword str1 -ownerpassword str2

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • -bit 40: Encryption Level bit with 40 or 128.

  • -option 11110000: The option String consists of 8 bit of 0 or 1 for Printing, Modify Contents, Copy, Modify Annotations, Fill In, Screen Readers, Assembly, Degraded Printing.  11111111 means all checked and 00000000 means all unchecked.

  • -userpassword str1: String str1 is for User Password. If the user password is empty, don't use this option.

  • -ownerpassword str2: String str2 is for Owner Password. If the owner password is empty, don't use this option.
     

  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" ENCRYPT "D:\Test\complaintform.pdf"   "D:\Test\output.pdf"  -bit 128  -option 00000000   -userpassword pdfill

Decrypt a PDF:
     "C:\Program Files\PlotSoft\PDFill\PDFill.exe" DECRYPT INPUT OUTPUT  -password str

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • -password str: String str is Password to open this PDF if it is password-protected. If there is no password to open this PDF, don't use this option.
     

  • Example:
     
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" DECRYPT "D:\Test\visa.pdf"  "D:\Test\output.pdf"  -password 4567

6. Rotate or Crop PDF Pages

Rotate  PDF Pages
     "C:\Program Files\PlotSoft\PDFill\PDFill.exe" ROTATE INPUT OUTPUT degree
-page "1,3-6, last"

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • Degree: Rotate page by 0,  90 (Clockwise 90), 180, 270 (Counterclockwise 90)

  • -page "1,3-6, last": (Optional) The pages to be rotated. You can use tags:  landscape, portrait, even, odd, all, last
     

  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" ROTATE
    "D:\Test\visa.pdf"  "D:\Test\output.pdf"  90 -page "1,3-6, last"

Crop PDF Pages
     "C:\Program Files\PlotSoft\PDFill\PDFill.exe" CROP INPUT OUTPUT  leftMargin rightMargin bottomMargin topMargin
-page "1,3-6, last"

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • leftMargin rightMargin bottomMargin topMargin in Point

  • -page "1,3-6, last": (Optional) The pages to be cropped. You can use tags:  landscape, portrait, even, odd, all, last
     

  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe"
    CROP "D:\Test\visa.pdf"  "D:\Test\output.pdf"  18 36 54 72 -page "1,3-6, last"

7. Reformat PDF Pages

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" Reformat INPUT OUTPUT  W H  row column  leftMargin rightMargin bottomMargin topMargin   horizSpace vertSpace  -showNoteline 1 -showBorder 1 -rgbColor "0 0 255"  -lineWidth 2.0 

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • W H: Specify new PDF's Page Width and Height in Point
  • row column: Specify Number of Rows and Columns that appears in the new page.
  • leftMargin rightMargin bottomMargin topMargin: Specify Page Margin from Left, Right, Bottom and Top Edges
  • horizSpace vertSpace: Specify the horizontal and vertical space between the original PDF pages.
  • -showNoteline 1:  (Optional) Show Note Line if -showNoteline 1; Doesn't show Note Line if -showNoteline 0. Default is 0
  • -showBorder 1:     (Optional) Show Border if -showBorder 1; Doesn't show Border if -showBorder 0. Default is 0
  • -rgbColor "0 0 255":  (Optional) line color in Red, Green Blue Component between 0 to 255. Default is 0 0 255. Note: Put "" on the 3 values and each value (0-255) is separated with space.
  • -lineWidth 2.0:      (Optional) line width in Point. Default is 1.0
     
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" Reformat
    "D:\BatchTest\FormsAPIReference.pdf"  "D:\BatchTest\output.pdf"  612 792 2 1 9 18 27 36 18 36 -showNoteline 1 -showBorder 1 -rgbColor  "0 0 255" -lineWidth 2.0

8. Add Header or Footer on  PDF Pages

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" HeadFoot INPUT OUTPUT flagHeadFoot addOnFirstPage leftMargin rightMargin bottomMargin topMargin "HeaderFooterString"
-align 1 -pageOffset 10 -fontEncode "Western"  -fontName "Times New Roman" -fontStyle 3  -fontSize 12.0  -rgbFontColor "0 0 255"
-pageNotShown  "1,3-6, last"

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • flagHeadFoot: 0 is Adding Header Only, 1 is Adding Footer only, and 2 is adding both Header and Footer.
  • addOnFirstPage: If 1, add on First Page; if 0, don't add on First page
  • leftMargin rightMargin bottomMargin topMargin: Specify the white margin space around the header or footer.
  • "HeaderFooterString": "Test Page <<1>> of <<N>> <<R>>Page <<Bates#6#Offset#100>><<R>>Date: <<mm/dd/yyyy>>"
    "<<1>> of <<N>>" Where <<1>> means Page Index and <<N>> is the total page number.
    "<<Bates#6#Offset#100>>" defines the bates number with digit 6 and the offset 100.
    <<R>> defines the new line.
    <<m/d>> <<m/d/yy>> <<m/d/yyyy>> <<mm/dd/yy>> <<mm/dd/yyyy>> <<d/m/yy>> <<d/m/yyyy>> <<dd/mm/yy>> <<dd/mm/yyyy>> and <<mm/yy>> define the Date format.
  • -align 1: (Optional) the value can 0 (left), 1 (center) or 2 (right). Default is 0.
  • -pageOffset 10: (Optional) the page offset to add onto the page Index and the total page number.  Default is 0.
  • -fontEncode "Western": (Optional) Font Encode. Default is "Western".
  • -fontName "Times New Roman": (Optional) Font name. Default is "Times New Roman".
  • -fontStyle 3: (Optional) Font Styles: 0 (Regular), 1 (Bold), 2 (Italic) and 3 (Bold Italic). Default is 0
  • -fontSize 12.0: (Optional) Font Size. Default is 12.0
  • -rgbFontColor "0 0 255": (Optional) font color in Red, Green and Blue Component between 0 to 255. Default is 0 0 255. Note: Put "" on the 3 values and each value (0-255) is separated with space.
  • -pageNotShown  "1,3-6, last": (Optional) The pages not shown.  
     
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe"
    HeadFoot "D:\BatchTest\FormsAPIReference.pdf"  "D:\BatchTest\output.pdf"  2 1 18 36 18 36  "Test Page <<1>> of <<N>> <<R>>Page <<Bates#6#Offset#100>><<R>>Date: <<mm/dd/yyyy>>"  -align 1 -pageOffset 10 -fontEncode "Western" -fontName "Times New Roman" -fontStyle 3 -fontSize 12.0 -rgbFontColor "0 0 255" -pageNotShown  "1,3-6, last"

9. Add Watermark by Text on  PDF Pages

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" WatermarkText INPUT OUTPUT "Top Secret" -fontEncode "Western"  -fontName "Times New Roman" -fontStyle 3 -rgbFontColor "0 0 255"  -rgbStrikeColor "255 0 0" -flagLayout 0  -drawType 1 -StrokeSize 1.0 -flagOrder 0 -transparency 0.5  -pageNotShown  "1,3-6, last"

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • "Top Secret":  The string to be added as Watermark. Must have "" if there is space.
  • -fontEncode "Western": (Optional) Font Encode. Default is "Western".
  • -fontName "Times New Roman": (Optional) Font name. Default is "Times New Roman".
  • -fontStyle 0: (Optional) Font Styles: 0 (Regular), 1 (Bold), 2 (Italic) and 3 (Bold Italic).
  • -rgbFontColor "0 0 255": (Optional) Font color in Red, Green and Blue Component between 0 to 255. Default is 0 0 255. Note: Put "" on the 3 values and each value (0-255) is separated with space.
  • -rgbStrikeColor "255 0 0": (Optional) Strike color in Red, Green and Blue Component between 0 to 255. Default is 255 0 0. Note: Put "" on the 3 values and each value (0-255) is separated with space.
  • -flagLayout 0: (Optional) 0 (Horizontal), 1 (Vertical), and 2 (Diagonal).  Default is 0.
  • -drawType 1: (Optional) 0 (Fill), 1 (Stroke), 2 (Fill and Stroke), and 3 (Invisible). Default is 1.
  • -StrokeSize 1.0: (Optional) the stroke size using Percent of the actual font size. Default is 1.0.
  • -flagOrder 0: (Optional) 0 is Background and 1 is Foreground. Default is 1.
  • -transparency 0.5: (Optional) value between 0 and 1. Default is 0.
  • -pageNotShown  "1,3-6, last": (Optional) The pages not shown.
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" WatermarkText
    "D:\BatchTest\FormsAPIReference.pdf"  "D:\BatchTest\output.pdf"  "Top Secret" -fontEncode "Western" -fontName "Times New Roman" -fontStyle 3 -rgbFontColor "0 0 255"  -rgbStrikeColor "255 0 0" -flagLayout 0  -drawType 1 -StrokeSize 1.0 -flagOrder 0 -transparency 0.5 -pageNotShown  "1,3-6, last"

10. Add Watermark by Image on  PDF Pages

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" WatermarkImage INPUT OUTPUT ImagePathName scaleX scaleY rotateDegree -positionFlag 1 -left 36 -bottom 72 -flagOrder 1 -URL "http://www.PDFill.com"  -pageNotShown  "1,3-6, last"

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • ImagePathName: An image file (bmp, png, gif, jpeg, tiff, wmf) that you want to add into the PDF file as Watermark.
  • scaleX scaleY: The Percentage of Image Scale Size in Width and Height.
  • rotateDegree: Image Rotation in degree.
  • -positionFlag 1: (Optional) 0 is Center of the page and 1 is Any Position. Default is 0.
  • -left 36:  (Optional) Left position in Point defined when -positionFlag 1. Default is 0.
  • -bottom 72: (Optional) Bottom position in Point defined when -positionFlag 1. Default is 0.
  • -flagOrder 1: (Optional) 0 is Background and 1 is Foreground. Default is 1.
  • -URL "http://www.PDFill.com": (Optional) The URL address that the click on this image will direct to a web page defined by this URL.
  • -pageNotShown  "1,3-6, last": (Optional) The pages not shown.
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" WatermarkImage
    "D:\BatchTest\FormsAPIReference.pdf"  "D:\BatchTest\output.pdf"  "D:\BatchTest\Water lilies.jpg"  100 100 45 -positionFlag 1 -left 36 -bottom 72 -flagOrder 1 -URL "http://www.PDFill.com"  -pageNotShown  "1,3-6, last"

11. Add Watermark by PDF on  PDF Pages

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" WatermarkPDF INPUT OUTPUT pdfPathName scaleX scaleY rotateDegree -pageNo 1 -positionFlag 1 -left 36 -bottom 72 -flagOrder 1 -URL "http://www.PDFill.com"  -pageNotShown  "1,3-6, last"

  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • pdfPathName: A PDF Page that you want to add into the PDF file as Watermark.
  • scaleX scaleY: The Percentage of PDF Scale Size in Width and Height.
  • rotateDegree: Added PDF Page Rotation in degree.
  • -pageNo 2: (Optional) The page number in the added PDF. Default is 1.
  • -positionFlag 1: (Optional) 0 is Center of the added page and 1 is Any Position. Default is 0.
  • -left 36:  (Optional) Left position in Point defined when -positionFlag 1. Default is 0.
  • -bottom 72: (Optional) Bottom position in Point defined when -positionFlag 1. Default is 0.
  • -flagOrder 1: (Optional) 0 is Background and 1 is Foreground. Default is 1.
  • -URL "http://www.PDFill.com": (Optional) The URL address that the click on this added PDF Page will direct to a web page defined by this URL.
  • -pageNotShown  "1,3-6, last": (Optional) The pages not shown.
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" WatermarkImage
    "D:\BatchTest\FormsAPIReference.pdf"  "D:\BatchTest\output.pdf"  "D:\BatchTest\Water lilies.jpg"  100 100 45 -positionFlag 1 -left 36 -bottom 72 -flagOrder 1 -URL "http://www.PDFill.com"  -pageNotShown  "1,3-6, last"

12. Convert Images to PDF

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" Image2PDF Image1 Image2 Image3 Output.pdf W H row column leftMargin rightMargin bottomMargin topMargin horizSpace vertSpace -showFileName 1 -defaultImageFolder "C:\Test\"

  • Image1 Image2 Image3: You can have many Images as you need.  It can be just image files or folders.  If Image(N) is a folder, all the images files under this folder will be added;   If it is image file name without a folder path, the  -defaultImageFolder option must be used.
  • W H: Specify new PDF's Page Width and Height in Point
  • row column: Specify Number of Rows and Columns that appears in the new page.
  • leftMargin rightMargin bottomMargin topMargin: Specify the distance from Left, Right, Bottom and Top Edges of the Images to the PDF Page's edge.
  • horizSpace vertSpace: Specify the horizontal and vertical space in Point between the images.
  • -showFileName 1: (Optional) Flag to show File Name. Default is 0   
  • -fontSize 12.0: (Optional) Font Size. Default is 12.0. Font Name of Adobe's Time Roman Normal is used.
  • -defaultImageFolder "C:\Test\": (Optional) If set, there is no need to add folder path on Image1 Image2 Image3.
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" Image2PDF
    "Water lilies.jpg"  "D:\Test\"  "Blue hills.jpg"  "Winter.jpg"  "Sunset.jpg"  "output.pdf"  612 792  1 2  9 18 27 36 18 36 -showFileName 1 -fontSize 12.0 -defaultImageFolder "C:\BatchTest\"

13. Convert PDF into Image

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" PDF2Image Input.pdf  OutputImageName Image_Resolution Color_Bits Page_Number_Bits JPG_Quality Flag_TIF

  • outputImageName: Image Type with PNG, GIF, BMP, EPS, WMF, EMF, JPG or TIF.

  • Image_Resolution: Image Resolution.

  • Color_Bits: Color Bits with 24 bits.

  • Page_Number_Bits: 1.

  • JPG_Quality: Flag for For JPG Image Type. Set the JPG quality between 0-100.

  • Flag_TIF: Flag (0/1) for TIF Image Type. If set 1, create a single file with multiple pages.
     

  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" PDF2Image "D:\Test\visa.pdf" "D:\visa_.png" 144 24 1 100 1

14. Export and Import Metadata Information

Export Metadata Information from a PDF file  into a TXT or XML file.  The total PDF Page Number is exported as PageCount.

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT INFORMATION Input.pdf Output.txt  (Tab-delimited Text File)
"C:\Program Files\PlotSoft\PDFill\PDFill.exe" EXPORT INFORMATION Input.pdf Output.xml    (XML)

Import Metadata Information  from a TXT or XML file into a PDF file

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT INFORMATION Input.txt Input.pdf Output.pdf
"C:\Program Files\PlotSoft\PDFill\PDFill.exe" IMPORT INFORMATION Input.xml Input.pdf Output.pdf

15. Add Barcode on PDF Pages

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" BARCODE TYPE INPUT OUTPUT leftX  bottomY W H R  "BarcodeString"

  • TYPE: QRCODE, DataMatrix,  PDF417, POSTNET, PLANET, CODABAR, Code39, Code39Extended, Interleaved2of5, EAN, or Code128.
  • INPUT: an input PDF File or an input folder with PDF Files
  • OUTPUT: an output PDF File or an output folder with PDF Files
  • leftX  bottomY: leftX Specify the distance from the left edge of barcode to the left edge of PDF page.  bottomY Specify the distance from the bottom edge of barcode to the bottom edge of PDF page if -positionFlag is 0 bottomY Specify the distance from the top edge of barcode to the top edge of PDF page if -positionFlag is 1.
  • W H:  If W>0 and H=0, the barcode size will be decided by W; If W=0 and H>0, the barcode size will be decided by H.
  • R: Barcode Rotation in degree.
  • "BarcodeString" The Input String for Barcode. <<R>>is used for New Line.
  • -rgbBarcodeColor "255 0 0": (Optional) Barcode color in Red, Green and Blue Component between 0 to 255. Default is 0 0 0. Note: Put "" on the 3 values and each value (0-255) is separated with space.
  • -rgbBackgroundColor "255 255 0": (Optional) Background color in Red, Green and Blue Component between 0 to 255. Default is 255 255 255. Note: Put "" on the 3 values and each value (0-255) is separated with space.
  • -rgbFontColor "0 0 255": (Optional) Font color in Red, Green and Blue Component between 0 to 255. Default is 0 0 0. Note: Put "" on the 3 values and each value (0-255) is separated with space.
  • -pageNotShown  "3,5,8-last": (Optional) The pages not shown.
  • -codeType EAN13:  (Optional) When TYPE is EAN, -codeType can be EAN13, EAN8, UPCA, UPCE, SUPP2 or SUPP5. When TYPE is CODE128, -codeType can be PLAIN, UCC or RAW.
  • -codeTypeSupp SUPP5:  (Optional) When TYPE is EAN, -codeType can be EAN13, EAN8, UPCA or UPCE, -codeTypeSupp can be SUPP2 or SUPP5.
  • -positionFlag 1: (Optional) If 1, bottomY is the distance from Top edge of barcode to the top edge of the PDF Page. Default is 0.
  • Example: See more Barcode Examples
    "C:\Program Files (x86)\PlotSoft\PDFill\PDFill.exe" BARCODE EAN "D:\BatchTest\Input.pdf" "D:\BatchTest\Output.pdf" 100 600 200 100 90 "0123456789012<<R>>01234" -codeType EAN13 -codeTypeSupp SUPP5 -positionFlag 1

16. PDF Optimizer

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" Optimizer Input.pdf Output.pdf flagSettings Resolution MaxInlineImage  AutoRotatePage ColorModel CompressFont

  • flagSettings (integer): PDF Output Settings. Screen(0), Ebook(1), Printer(2), Prepress(3), Default(4)
  • Resolution (integer): PDF Resolution (dpi). The default value is 300 dpi.
  • MaxInlineImage (integer): Max Inline Image Size (Bytes). The default value is 4000.
  • AutoRotatePage (integer): There are 3 options: None Page(0), All Pages(1), Page by Page(2). The default is All Pages (1).
  • ColorModel (integer): There are 3 options: Device Gray(0), Device RGB(1), or Device CMYK (2). The default value is Device RGB(1).
  • CompressFont (integer): Compress Embedded Fonts. 0 or 1. The default value is 1.
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe"
    Optimizer  "D:\BatchTest\Input.pdf"  "D:\BatchTest\output.pdf"  0 300 4000 1 1 1

17. Extract Text inside PDF

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" ExtractText Input.pdf Output.txt TextOption1to7 UnicodeTextFortmat OutputPageSeparately -SelectPages "1-2" -HeaderText  "Test<<Page 1 of n>>"

  • TextOption1to7 (1-7): 1: Human readable format; 2: Human Readable Format with Unformatted Lines; 3: CSV String with X, Y, Color, Size, Font and Text; 4: CSV String: Font, Color, Size, X1, Y1, X2, Y2, X3, Y3, X4, Y4, Text; 5: Similar to option 4, but individual words are returned; 6: Similar to option 4 but character widths are output after each block of text; 7: Similar to option 5 but character widths are output after each line of text
  • UnicodeTextFortmat (0/1): ANSI Text Format (0); Unicode Text Format(1)
  • OutputPageSeparately (0/1): Output all PDF Pages into one file(0); Separately Output each PDF Page Separately(1)
  • -SelectPages: Selection Page Number String (Optional),  "1,2-3,4-last". Default is "" for all pages.
  • -HeaderTextTo add automatic page numbering, select Format (Optional): <<1>>; <<1 of n>>; <<1/n>>; <<Page 1>>; <<Page 1 of n>>; <<Bates#6#Offset#100>>
     
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" ExtractText  "D:\BatchTest\Input.pdf"  "D:\BatchTest\output.txt"  4  1  1  -SelectPages "1-2"   -HeaderText  "Test <<Page 1 of n>> "

18. Extract Image inside PDF

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" ExtractImage Input.pdf Output.bmp -SelectPages "1-2"

  • -SelectPages: Selection Page Number String (Optional),  "1,2-3,4-last". Default is "" for all pages.
     
  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe"
    ExtractImage  "D:\BatchTest\Input.pdf"  "D:\BatchTest\output.bmp"  -SelectPages "1-2"

19. OCR to Convert Image to Searchable PDF

"C:\Program Files\PlotSoft\PDFill\PDFill.exe" OCR Input.BMP Output.PDF

  • Example:
    "C:\Program Files\PlotSoft\PDFill\PDFill.exe" OCR
      "D:\BatchTest\Input.bmp"  "D:\BatchTest\output.pdf" 

 

PDFill Copyright 2002-2022 by PlotSoft L.L.C..  All rights reserved.