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.
See the comet_pdf documentation for the full set of command line arguments and their explanation:
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.
{
// ...
"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
| Since | Argument Name | Value Pattern | comet_pdf option | Notes |
|---|---|---|---|---|
| R27017 | PDFSET | . {1,120} | --pdfset | Name of PDF Preset |
| R27017 | COMPRESSION | [1-9] | --compression | Compress PDF Content (except images) |
| R27017 | APPLY_ICC | 0 or 1 | --apply_icc | Apply Color Profiles |
| R27017 | EPS_ESC | 0 or 1 | --eps_esc | Automatically convert unsupported image formats |
| R29300 | CHECK_WEBIMAGES | 0 or 1 | --check-webimages | Check Web Images |
| R29300 | LAZYFIT | 0 or 1 | --lazyfit | Avoid superflous FitFrames |
| R34266 | LINEARIZE | 0 or 1 | --linearize | Optimize PDF for Web (Linearize) |
| R34671 | PDFFLAGS | [0-3] | --pdfflags | Optimisation of Image Sizes |