arts-pdf split pro 2.0 User Manual

Page of 58
 
ARTS PDF Split Pro™ Guide 
 
 
Appendix B - Command Line Switches 
 
Split by bookmark switch  
-m [1-1]  
  
The split by bookmark switch uses two numbers separated by a dash to specify the level of 
bookmarks that are used for splitting. See split by bookmarks for more information.  
  
Coordinate file switch  
-x [c:\coordinate.crd]  
  
The -x switch specifies a coordinate file to be used in splitting a pdf file. The -i and –o switches are 
required. See the coordinate files section for more information.  
  
Serial number switch  
-n [3]  
  
The -n switch specifies the minimum number of digits in a serial number. If a serial number has 
fewer digits than the number specified by the -n switch, zeros are added to the front of the serial 
number to pad it to length. Since any number has a least one digit already, -n 1 does not cause 
any padding. This flag is only relevant if you are using the - k flag.  
  
No subfolders switch  
-ns  
  
The -ns switch results in ARTS PDF Split Pro™ putting the split fragments directly into the output 
folder, rather than create subfolders for the fragments. By default, for each pdf placed into the 
input folder there will be a subfolder created in which the fragments from each pdf will be stored 
in. This switch must be used before the –wc switch.  
  
Fragment numbering switch  
-f [123]  
  
The -f switch specifies the first number to use when serially numbering the fragments. This switch 
is ignored unless the -n flag is present and specifies a number greater than zero. This flag is only 
relevant if you are using the –k flag.  
  
Fragment size switch  
-k [1]  
  
The -k switch splits files into chunks of the specified size. The number specifies the number of 
pages that go into each fragment. Currently, only -k 1 is supported, which will split a file into 
fragments of one page each. The -i and -o flags are required. A serial number (1,2,3,4...) Is added 
to the file name specified by the -o flag. If you use the optional -n and -f flags may be used to 
control the numbering of the fragments. -k 1 –i c:\big.pdf -o c:\files\tiny.pdf will produce files 
named tiny1.pdf and tiny2.pdf inside the folder named files on the c drive.