Created Date: 16 Nov, 2020 11:29
Last Modifed Date: 16 May, 2022 11:23
The usage is the same for both applications, although the options that may be added to an
arg file are different, as described below.
testpdflibcmd <arg_file#1> [arg_file#2] ... [arg_file#N]
makodistillercmd <arg_file#1> [arg_file#2] ... [arg_file#N]
<arg_file> contains the inputs to a process instance. There can be a maximum of N=16 such instances.
All instances run in parallel.
<arg_file> can contain zero or more options given below, followed by a list of folders and/or files to be run. The folders are recursively scanned for input files.
The options in
<arg_file> can be zero or more of the following arguments. If you need to specify a lot of arguments, you can give one argument per line with no leading whitespace. Lines that begin with a space are treated as comments and are ignored. Ensure that the files to run are given after a set of arguments to be applied to those files.
The list of the options offered by the two programs are almost identical, but there are some differences which are described in detail in the following tables, providing a comparison between the two. Some options missing from makodistillercmd can still be accessed by adding an appropriate entry to a PostScript prolog. Where this is the case, the entry is listed in the Prolog Entry column.
Key: n/a = Not Available.
Distiller mode, convert PS files to PDF (default)
Xlat mode, convert PDF files to PostScript
makodistillercmd offers only PS to PDF conversion. Use makoconverter to convert PDF to any other PDL, including PostScript.
Convert mode, input file is of type <filetype> (default Auto)
For convert mode, valid filetypes are:
Convert mode, output file is of type <filetype>
Specifies the directory where output files are written to.
Note that <path> should be terminated by a path separator (forward slash or backslash)
Distill (PDF output) mode options
Thumbnail options, where:
Use the DSC BoundingBox for:
Color image options (see below)
Convert device independent colors to device-dependent colors
Resolution of the whole file (default 72)
Embed the base 14 fonts
Embed disk-based (external) CIDFonts
Substitute original TrueType fonts
Disable Illustrator overprint mode (requires -dv)
Disable generation of a job ticket (default)
Enable generation of a job ticket in the PDF file
Specify an explicit log file to use
Optimize (aka linearize) the PDF file
PDF file format
For example, dP1.3 or -dP1.4
Auto-rotate pages according to the prevalent text direction
Security options (see below)
Apply transfer functions
Preserve transfer functions
Remove transfer functions
Preserve Under Color Removal and Black Generation info
Flate/Zip compress text
PDF1.5 (and above) object compression.
option can be None, Tags ,or All
The default is All
If this setting is omitted, this is the same as -dZNone
-dZ<option> maps to the IDistiller setting,
-dZ and -dZAll sets
-dZTags and -dZNone sets
|n/a||-dT<Title>||Sets the text of Title field in the PDF description|
|n/a||-dA<Author>||Sets the text of Author field in the PDF description|
|n/a||-dS<Subject>||Sets the text of Subject field in the PDF description|
|n/a||-dR<Creator>||Sets the text of Creator field in the PDF description|
Not applicable to
Number of chars to pass to
Distill (PDF output) mode security options
Disable security on PDF file output (default)
Enable security on PDF file output
Owner password (default empty)
|-dsu <password>||-dsu <password>||User password (default empty)||The Owner password is set to the User password if just the latter is specified.|
|-dsp <permissions>||-dsp <permissions>|
Permission flags (default value is 0xFFFFFFFC or -4 decimal, see the IDistiller documentation for details of bit meanings). The permissions integer must be specified in decimal.
Distill (PDF output) mode image options
color image options
grayscale image options
monochrome image options
where * is one or more of the following:
Bicubic downsample (not monochrome)
Auto compression (Note: for color/grayscale only, set JPEG options with l/m/h/q switches)
Flate/Zip with Predictor compression
JPEG low compression (QFactor 0.1)
JPEG is for color/grayscale only. Qfactor = quality factor
JPEG medium compression (QFactor 0.5)
JPEG high compression (QFactor 1.3)
JPEG compression using specified QFactor
CCITT compression (monochrome only)
Convert CMYK images to RGB
|r <dpi>||r<dpi>||Image downsampling resolution|
Distill (PDF output) font options
Specifies the font directory
|Must occur BEFORE -fa or -fr if they're used.|
Adds the font filename so that
Lists the names of the fonts that are available in the specified font file
Removes the named font from
This switch may be repeated as necessary.
Lists the names of the fonts known to
Fonts are listed when the switch is processed, thus -fa or -fr switches that occur after this switch won't have taken effect. Probably best to specify -fl as the LAST -f* switch you specify.
Add the font name to the list of fonts to always embed
Prolog entry for
Add the font name to the list of fonts to never embed
Prolog entry for
Display the always and never font embed lists