Skip to main content

Command Line Arguments

The standalone version of comet_pdf supports a lot of command line arguments. Many of them are automatically set in the cloud. Others are not supported for security or stability reasons.

There are some additional arguments that can be controlled by configuration.
The following describes how additional arguments can be set in a priint:cloud project.

info

See the comet_pdf documentation for the full set of command line arguments and their explanation:

priint:comet_pdf quick help

For details of renderpdf configuration see: renderpdf configuration

Setting Additional Arguments

Additional arguments are configured in the configuration of the renderpdf process that manages the start and runtime of comet_pdf in the cloud. It can be configured via the /renderpdf/config.ion. This allows for a property object called additionalCometPdfArguments that supports sub-properties.

If e.g. the argument --check-webimages is required, then you can use the associated property `CHECK_WEBIMAGES``and set it to "1", which means "on" or "activated" here.

/tenants/mytenant/projects/myproject/renderpdf/config.ion
{
// ...
"additionalCometPdfArguments" : {
"CHECK_WEBIMAGES" : "1"
}
}

Note that (1) argument names in the config are in uppercase and (2) argument values are always strings.

Supported Additional Arguments

SinceArgument NameValue Patterncomet_pdf optionNotes
R27017PDFSET. {1,120}--pdfsetName of PDF Preset
R27017COMPRESSION[1-9]--compressionCompress PDF Content (except images)
R27017APPLY_ICC0 or 1--apply_iccApply Color Profiles
R27017EPS_ESC0 or 1--eps_escAutomatically convert unsupported image formats
R29300CHECK_WEBIMAGES0 or 1--check-webimagesCheck Web Images
R29300LAZYFIT0 or 1--lazyfitAvoid superflous FitFrames
R34266LINEARIZE0 or 1--linearizeOptimize PDF for Web (Linearize)
R34671PDFFLAGS[0-3]--pdfflagsOptimisation of Image Sizes