---
title: "Streamline document automation and conversion"
canonical_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps/"
md_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps.md"
last_updated: "2026-06-08T17:11:05.453Z"
description: "Enhance your document processing with GdPicture’s command-line interface for OCR, PDF/A validation, and comprehensive file conversions."
---

# Document conversion with the GdPicture CLI

The Document Automation Server (DAS) command-line interface (CLI) also supports the GdPicture module.

Example:

```

1. OCR an image PDF to create a searchable PDF

"c:\Aquaforest\Autobahn DX\bin\autobahndx.exe" /source="C:\ADX Demo\In\PDF\File\US2007246939A1.pdf" /sourcetype=file /target="C:\ADX Demo\Output" /outputtype=PDF /operation=ocrpdfgd /ocr=true /Tempfolder="C:\ADX Demo\Temp" /Dictionary="eng" /DictionaryPath="D:\Aquaforest\Autobahn DX\distribution\gdpicture\ocr" /PageRange="\*" /DPI="300" /Output=pdf /Overwrite /logfile="C:\ADX Demo\Log\LogFile.log" /debug

```

## Validate PDF/A

This is used with `validatepdfa`.

| Parameter          | Notes                                                               |
| ------------------ | ------------------------------------------------------------------- |
| **`/operation`**   | Use the `validatepdfa` operation.                                   |
| **`/debug`**       | Log additional information.                                         |
| **`/pdfaoption`**  | PDF/A option. Select the values from the PDF/A options table below. |
| **`/ErrorFolder`** | Path for error files.                                               |
| **`/Source`**      | Source file to be validated.                                        |
| **`/Target`**      | Target path for the output file.                                    |
| **`/TempFolder`**  | Path for temporary folder (must be unique).                         |

### PDF/A options

| Value       | Description                            |
| ----------- | -------------------------------------- |
| **PDFA-1a** | The PDF conformance level is PDF/A-1a. |
| **PDFA-1b** | The PDF conformance level is PDF/A-1b. |
| **PDFA-2a** | The PDF conformance level is PDF/A-2a. |
| **PDFA-2b** | The PDF conformance level is PDF/A-2b. |
| **PDFA-2u** | The PDF conformance level is PDF/A-2u. |
| **PDFA-3a** | The PDF conformance level is PDF/A-3a. |
| **PDFA-3b** | The PDF conformance level is PDF/A-3b. |
| **PDFA-3u** | The PDF conformance level is PDF/A-3u. |
| **PDFA-4**  | The PDF conformance level is PDF/A-4.  |
| **PDFA-4e** | The PDF conformance level is PDF/A-4e. |
| **PDFA-4f** | The PDF conformance level is PDF/A-4f. |

## Linearize PDF

This is used with `linearizepdf`.

| Parameter                | Notes                                                                                 |
| ------------------------ | ------------------------------------------------------------------------------------- |
| **`/operation`**         | Use the `linearizepdf` operation.                                                     |
| **`/debug`**             | Log additional information.                                                           |
| **`/EnableCompression`** | Add this parameter if you want to compress the PDF document during each save process. |
| **`/PackDocument`**      | Add this parameter to pack the output PDF when saved to reduce its size.              |
| **`/Source`**            | Source file to be linearized.                                                         |
| **`/Target`**            | Target path for the output file.                                                      |
| **`/TempFolder`**        | Path for temporary folder (must be unique).                                           |

## Convert any file to PDF

This is used with `convertany`.

| Parameter                                            | Notes                                                                                                                                                                                                                                                                                                                                                            |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                     | Use the `convertany` operation.                                                                                                                                                                                                                                                                                                                                  |
| **`/debug`**                                         | Log additional information.                                                                                                                                                                                                                                                                                                                                      |
| **`/ConvertAttachments`**                            | Convert any attachments.                                                                                                                                                                                                                                                                                                                                         |
| **`/AttachAttachments`**                             | Attach converted attachments rather than merge attachments.                                                                                                                                                                                                                                                                                                      |
| **`/EmailPageHeight="num"`**                         | Page height in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/EmailPageWidth="num"`**                          | Page width in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/EmailPageMarginBottom="num"`**                   | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                    |
| **`/EmailPageMarginLeft="num"`**                     | Page margin left in points.                                                                                                                                                                                                                                                                                                                                      |
| **`/EmailPageMarginRight="num"`**                    | Page margin right in points.                                                                                                                                                                                                                                                                                                                                     |
| **`/EmailPageMarginTop="num"`**                      | Page margin top in points.                                                                                                                                                                                                                                                                                                                                       |
| **`/EmailPreferOnePage`**                            | Add to output document as one page.                                                                                                                                                                                                                                                                                                                              |
| **`/EnableICC`**                                     | When present, specifies the International Color Consortium (ICC) profile should be preserved during the conversion if it’s present in the loaded document.                                                                                                                                                                                                       |
| **`/HtmlEmulationType="num"`**                       | Specifies a type of media to emulate.

- No emulation

- Print

- Screen                                                                                                                                                                                                                                                                    |
| **`/HtmlPageHeight="num"`**                          | Page height in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/HtmlPageWidth="num"`**                           | Page width in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/HtmlPageMarginBottom="num"`**                    | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                    |
| **`/HtmlPageMarginLeft="num"`**                      | Page margin left in points.                                                                                                                                                                                                                                                                                                                                      |
| **`/HtmlPageMarginRight="num"`**                     | Page margin right in points.                                                                                                                                                                                                                                                                                                                                     |
| **`/HtmlPageMarginTop="num"`**                       | Page margin top in points.                                                                                                                                                                                                                                                                                                                                       |
| **`/HtmlPreferOnePage`**                             | Include to specify that the output document should contain a single page.                                                                                                                                                                                                                                                                                        |
| **`/HtmlPreferCSSPageSize`**                         | Include to give any CSS `@page` size declared in the page priority over what is declared in `HtmlPageWidth` and `HtmlPageHeight`. If not included, the renderer will scale the content to fit the paper size.                                                                                                                                                    |
| **`/LoadOnlyOnePage`**                               | Specifies that all executed actions with the loaded document will be processed using only the first page of the document.                                                                                                                                                                                                                                        |
| **`/PageRange="range"`**                             | Range of pages to OCR; use `*` for all pages.                                                                                                                                                                                                                                                                                                                    |
| **`/PdfBitonalImageCompression=”ID”`**               | Sets the scheme to be used to compress bitonal image data when converting/saving the currently loaded document to PDF format.

- 0: None

- 1: Flate

- 2: CCITT4

- 3: JPEG

- 4: JBIG2

- 5: JPEG2000                                                                                                                |
| **`/JBIG2PMSThreshold`**                             | Specifies the threshold value for the JBIG2 encoder pattern matching and substitution between `0` and `1`. Any number lower than `1` may lead to lossy compression. Default value is `0.85`.                                                                                                                                                                     |
| **`/PdfColorImageCompression`**                      | Sets the scheme to be used to compress color image data when converting/saving the currently loaded document to PDF format.                                                                                                                                                                                                                                      |
| **`/PdfImageQuality`**                               | Sets the level of quality used to compress images with a lossy compression scheme, which are embedded in the newly produced PDF document when converting/saving the currently loaded document to PDF format. It must be a value from `0` to `100`. `0` means the worst quality and the best compression, `100` means the best quality and the worst compression. |
| **`/PDFUseDeflateOnJPEG`**                           | Include to specify if the converter will use additional deflate compression for JPEG images in PDF output.                                                                                                                                                                                                                                                       |
| **`/RasterizationDPI="DPI"`**                        | Sets the rendering resolution to be used when converting vector content to raster content, if any is included in the currently loaded document.                                                                                                                                                                                                                  |
| **`/TiffEnableExifRotate`**                          | Include to specify that the TIFF encoder will use Exif rotate flag to handle page rotations.                                                                                                                                                                                                                                                                     |
| **`/TimeoutMilliseconds="timeout in milliseconds"`** | Specifies the timeout of the subsequent conversion process, in milliseconds. Default value is `-1`, which means no timeout.                                                                                                                                                                                                                                      |
| **`/TxtFontBold`**                                   | Specifies whether the font used for the resulting document when converting from the source TXT file must have a bold style.                                                                                                                                                                                                                                      |
| **`/TxtFontItalic`**                                 | Specifies whether the font used for the resulting document when converting from the source TXT file must have an italic style.                                                                                                                                                                                                                                   |
| **`/TxtFontFamily="font family"`**                   | Specifies the name of the font to be used for the resulting document when converting from the source TXT file.                                                                                                                                                                                                                                                   |
| **`/TxtFontSize="font size"`**                       | Specifies the text size, in points, to be used for the resulting document when converting from the source TXT file.                                                                                                                                                                                                                                              |
| **`/TxtPageHeight="num"`**                           | Page height in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/TxtPageWidth="num"`**                            | Page width in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/TxtPageMarginBottom="num"`**                     | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                    |
| **`/TxtPageMarginLeft="num"`**                       | Page margin left in points.                                                                                                                                                                                                                                                                                                                                      |
| **`/TxtPageMarginRight="num"`**                      | Page margin right in points.                                                                                                                                                                                                                                                                                                                                     |
| **`/TxtPageMarginTop="num"`**                        | Page margin top in points.                                                                                                                                                                                                                                                                                                                                       |
| **`/Source`**                                        | Source file to be converted to PDF.                                                                                                                                                                                                                                                                                                                              |
| **`/Target`**                                        | Target path for the output file. This can include the `%FILENAME` variable.                                                                                                                                                                                                                                                                                      |
| **`/TempFolder`**                                    | Path for temporary folder (must be unique).                                                                                                                                                                                                                                                                                                                      |

## Combine any file

This is used with `combineany`.

| Parameter                                            | Notes                                                                                                                                                                                                                                                                                                                                                            |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                     | Use the `combineany` operation.                                                                                                                                                                                                                                                                                                                                  |
| **`/debug`**                                         | Log additional information.                                                                                                                                                                                                                                                                                                                                      |
| **`/ConvertAttachments`**                            | Convert any attachments.                                                                                                                                                                                                                                                                                                                                         |
| **`/AttachAttachments`**                             | Attach converted attachments rather than merge attachments.                                                                                                                                                                                                                                                                                                      |
| **`/EmailPageHeight="num"`**                         | Page height in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/EmailPageWidth="num"`**                          | Page width in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/EmailPageMarginBottom="num"`**                   | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                    |
| **`/EmailPageMarginLeft="num"`**                     | Page margin left in points.                                                                                                                                                                                                                                                                                                                                      |
| **`/EmailPageMarginRight="num"`**                    | Page margin right in points.                                                                                                                                                                                                                                                                                                                                     |
| **`/EmailPageMarginTop="num"`**                      | Page margin top in points.                                                                                                                                                                                                                                                                                                                                       |
| **`/EmailPreferOnePage`**                            | Add to output document as one page.                                                                                                                                                                                                                                                                                                                              |
| **`/EnableICC`**                                     | When present, favor to preserve ICC profile, if present in the loaded document, during the conversion.                                                                                                                                                                                                                                                           |
| **`/HtmlEmulationType="num"`**                       | Specifies a type of a media to emulate.                                                                                                                                                                                                                                                                                                                          |
| **`/HtmlPageHeight="num"`**                          | Page height in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/HtmlPageWidth="num"`**                           | Page width in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/HtmlPageMarginBottom="num"`**                    | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                    |
| **`/HtmlPageMarginLeft="num"`**                      | Page margin left in points.                                                                                                                                                                                                                                                                                                                                      |
| **`/HtmlPageMarginRight="num"`**                     | Page margin right in points.                                                                                                                                                                                                                                                                                                                                     |
| **`/HtmlPageMarginTop="num"`**                       | Page margin top in points.                                                                                                                                                                                                                                                                                                                                       |
| **`/HtmlPreferOnePage`**                             | Include to specify that the output document should contain a single page.                                                                                                                                                                                                                                                                                        |
| **`/HtmlPreferCSSPageSize`**                         | Include to give any CSS `@page` size declared in the page priority over what is declared in `HtmlPageWidth` and `HtmlPageHeight`. If not included, the renderer will scale the content to fit the paper size.                                                                                                                                                    |
| **`/LoadOnlyOnePage`**                               | Specifies that all executed actions with the loaded document will be processed using only the first page of the document.                                                                                                                                                                                                                                        |
| **`/PageRange="range"`**                             | Range of pages to OCR; use `*` for all pages.                                                                                                                                                                                                                                                                                                                    |
| **`/PdfBitonalImageCompression=”ID”`**               | Sets the scheme to be used to compress bitonal image data when converting/saving the currently loaded document to PDF format.

- 0: None

- 1: Flate

- 2: CCITT4

- 3: JPEG

- 4: JBIG2

- 5: JPEG2000                                                                                                                |
| **`/JBIG2PMSThreshold`**                             | Specifies the threshold value for the JBIG2 encoder pattern matching and substitution between `0` and `1`. Any number lower than `1` may lead to lossy compression. Default value is `0.85`.                                                                                                                                                                     |
| **`/PdfColorImageCompression`**                      | Sets the scheme to be used to compress color image data when converting/saving the currently loaded document to PDF format.                                                                                                                                                                                                                                      |
| **`/PdfImageQuality`**                               | Sets the level of quality used to compress images with a lossy compression scheme, which are embedded in the newly produced PDF document when converting/saving the currently loaded document to PDF format. It must be a value from `0` to `100`. `0` means the worst quality and the best compression, `100` means the best quality and the worst compression. |
| **`/PDFUseDeflateOnJPEG`**                           | Include to specify if the converter will use additional deflate compression for JPEG images in PDF output.                                                                                                                                                                                                                                                       |
| **`/RasterizationDPI="DPI"`**                        | Sets the rendering resolution to be used when converting vector content to raster content, if any is included in the currently loaded document.                                                                                                                                                                                                                  |
| **`/TiffEnableExifRotate`**                          | Include to specify that the TIFF encoder will use Exif rotate flag to handle page rotations.                                                                                                                                                                                                                                                                     |
| **`/TimeoutMilliseconds="timeout in milliseconds"`** | Specifies the timeout of the subsequent conversion process, in milliseconds. Default value is `-1`, which means no timeout                                                                                                                                                                                                                                       |
| **`/TxtFontBold`**                                   | Specifies whether the font used for the resulting document when converting from the source TXT file must have a bold style.                                                                                                                                                                                                                                      |
| **`/TxtFontItalic`**                                 | Specifies whether the font used for the resulting document when converting from the source TXT file must have an italic style.                                                                                                                                                                                                                                   |
| **`/TxtFontFamily="font family"`**                   | Specifies the name of the font to be used for the resulting document when converting from the source TXT file.                                                                                                                                                                                                                                                   |
| **`/TxtFontSize="font size"`**                       | Specifies the text size, in points, to be used for the resulting document when converting from the source TXT file.                                                                                                                                                                                                                                              |
| **`/TxtPageHeight="num"`**                           | Page height in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/TxtPageWidth="num"`**                            | Page width in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/TxtPageMarginBottom="num"`**                     | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                    |
| **`/TxtPageMarginLeft="num"`**                       | Page margin left in points.                                                                                                                                                                                                                                                                                                                                      |
| **`/TxtPageMarginRight="num"`**                      | Page margin right in points.                                                                                                                                                                                                                                                                                                                                     |
| **`/TxtPageMarginTop="num"`**                        | Page margin top in points.                                                                                                                                                                                                                                                                                                                                       |
| **`/Source`**                                        | Source folder for the files to be combined.                                                                                                                                                                                                                                                                                                                      |
| **`/Target`**                                        | Target path for the output file. This can include the `%DIRNAME` variable.                                                                                                                                                                                                                                                                                       |
| **`/TempFolder`**                                    | Path for temporary folder (must be unique).                                                                                                                                                                                                                                                                                                                      |

## Combine PDFs

This is used with `combinepdfs`.

| Parameter                                                             | Notes                                                                                                                                                                                                                                            |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **`/operation`**                                                      | Use the `combinepdfs` operation.                                                                                                                                                                                                                 |
| **`/debug`**                                                          | Log additional information.                                                                                                                                                                                                                      |
| **`/NumericalOrdering=true`**
 **`/NumericalOrdering=false`** | Choose whether the merging of file should happen in numerical order. For example, `file1`, `file3`, `file11`, `file20`, `file101`. Otherwise it will be ordered lexicographically. For example, `file1`, `file101`, `file11`, `file20`, `file3`. |
| **`/Source`**                                                         | Source folder for files to be combined.                                                                                                                                                                                                          |
| **`/Target`**                                                         | Target path for the output file.                                                                                                                                                                                                                 |
| **`/TempFolder`**                                                     | Path for temporary folder (must be unique).                                                                                                                                                                                                      |

## Convert PDF to JPEG

This is used with `pdftojpeg`.

| Parameter                          | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **`/operation`**                   | Use the `pdftojpeg` operation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **`/debug`**                       | Log additional information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **`/DPI=”num”`**                   | The DPI resolution for rendering.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **`/Brightness="num"`**            | Brightness adjustment between `-100` and `100`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **`/Contrast="num"`**              | Contrast adjustment between `-100` and `100`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **`/Saturation="num"`**            | Saturation adjustment between `-100` and `100`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **`/Gamma="num"`**                 | Gamma adjustment between `-100` and `100`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **`/Threshold1Bpp="num"`**         | If set, converts the output image to a 1-bit BW indexed color image specifying a threshold value. Pixel values less than the threshold will be turned black, while the values equal to or larger will be turned white. Value must be between `0` and `255`.                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **`/AutoDeskew`**                  | When this flag is set, the image is skewed between ±15 degrees to obtain the best information from the image.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **`/CropBlackBorders`**            | Detects and removes margins consisting of black color around a GdPicture image.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **`/CropBlackBordersEx`**          | Detects and sets to white; margins consisting of black color around a GdPicture image. This method doesn’t have the same behavior as `CropBlackBorders`. The black borders aren’t removed but are set to blank. Therefore, the image dimensions are kept the same.                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **`/CropHeight="num"`**            | Specifies the page height, in pixels, of the resulting output document after cropping.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **`/CropWidth="num"`**             | Specifies the page width, in pixels, of the resulting output document after cropping.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **`/CropLeft ="num"`**             | Specifies the distance, in pixels, to crop from the top of the resulting document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **`/CropTop="num"`**               | Specifies the distance, in pixels, to crop from the top of the resulting document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **`/Despeckle`**                   | Performs a 3×3 despeckle filter (also known as median filter).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **`/DespeckleMore`**               | Performs a 5×5 despeckle filter (also known as median filter).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **`/EnableICM`**                   | Specifies if color correction is used for images embedding an ICC profile.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **`/RemoveHolePunch`**             | Removes all punch holes situated on the margins. Be aware this can affect some barcode types.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **`/RemoveLines="num"`**           | Perform line removal.

- Horizontal is `1`

- Vertical is `2`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **`/ResizeNewHeight="num"`**       | New image height in pixel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **`/ResizeNewWidth="num"`**        | New image width in pixel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **`/ResizeInterpolateMode=”num"`** | The interpolation mode specifies the algorithm used when the image is stretched. Following are the different modes and their corresponding values:

- Default: 0

- Low: 1

- High: 2

- Bilinear: 3

- Bicubic: 4

- Nearest Neighbor: 5

- High Quality Bilinear: 6

- High Quality Bicubic: 7                                                                                                                                                                                                                                                                                                                                                     |
| **`/RotateByAngle`**               | Add parameter to rotate the image by an angle (see `/RotationAngle`).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **`/RotationAngle="num"`**         | Rotate clockwise by this many degrees when /RotateByAngle parameter is present.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **`/RotationType="num"`**          | Value determines rotate and/or flip action. Some actions result in the same final outcome, so the value is shared. Following are the different actions and their associated values:

- Rotate180 Flip None: 2

- Rotate180 Flip X: 6

- Rotate180 Flip XY: 0

- Rotate180 Flip Y: 4

- Rotate270 Flip None: 3

- Rotate270 Flip X: 7

- Rotate270 Flip XY: 1

- Rotate 270 Flip Y: 5

- Rotate 90 Flip None: 1

- Rotate 90 Flip X: 5

- Rotate 90 Flip XY: 3

- Rotate 90 Flip Y: 7

- Rotate None Flip None: 0

- Rotate None Flip X: 4

- Rotate None Flip XY: 2

- Rotate None Flip Y: 6 |
| **`/PageRange="page range"`**      | Range of pages to OCR; use `*` for all pages.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **`/Source`**                      | Source file to be converted to JPEG.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **`/Target`**                      | Target path for the output file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **`/TempFolder`**                  | Path for temporary folder (must be unique).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

## Convert PDF to PNG

This is used with `pdftopng`.

| Parameter        | Notes                         |
| ---------------- | ----------------------------- |
| **`/operation`** | Use the `pdftopng` operation. |

See the convert PDF to JPEG table above for the rest of the parameters.

## Convert PDF to TIFF

This is used with `pdftotiffgd`.

| Parameter              | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**       | Use the `pdftotiffgd` operation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **`/TiffCompression`** | Following are different values of this parameter and their description:

- 8: Deflate compression, as recognized by Adobe.

- 65536: Uses CCITT4 compression for bitonal image and LZW for others. This allows a mix of compression in a multipage TIFF document.

- 3: CCITT Group 3 fax encoding
-4: CCITT Group 4 fax encoding

- 32771: #1 w/ word alignment

- 32946: Deflate compression

- 7: `%JPEG` DCT compression

- 5: Lempel-Ziv and Welch

- 32766: NeXT 2-bit RLE

- 1: No compression

- 6:!6.0 JPEG

- 2: CCITT modified Huffman RLE

- 32809: ThunderScan RLE |

See the convert PDF to JPEG table above for the rest of the parameters.

## Convert PDF to text

This is used with `pdftotext`.

| Parameter                                                                       | Notes                                                                                                                                                        |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **`/operation`**                                                                | Use the `pdftotext` operation.                                                                                                                               |
| **`/debug`**                                                                    | Log additional information.                                                                                                                                  |
| **`/PageRange`**                                                                | Range of pages to OCR, use `*` for all pages.                                                                                                                |
| **`/PageSeparator=”text”`**                                                     | Text that will separate the pages of text.                                                                                                                   |
| **`/PageSeparatorPlacement=top`**
 **`/PageSeparatorPlacement=bottom`** | The placement of the text separator. The separator text can either go at the top or bottom of the page text. Default is bottom.                              |
| **`/PreserveParagraph`**                                                        | Specifies that the text extraction engine must preserve text paragraphs. Default `false`.                                                                    |
| **`/ParagraphSeparator=`**                                                      | This property specifies the separator to be utilized for splitting paragraphs. It only takes effect when the `PreserveParagraphs` property is set to `true`. |
| **`/EnableOCR`**                                                                | Enables the use of the GdPicture OCR engine if the page in non-searchable.                                                                                   |
| **`/DictionaryPath=`**                                                          | Path to GdPicture dictionary files.                                                                                                                          |
| **`/Dictionary=`**                                                              | The codes of the chosen languages for OCR, seperated by `+`. For example, `eng+fra`
 Codes can be found in the [OCR language codes](https://www.nutrient.io/(/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps/#pdf-to-searchable-pdf-gdpicture).               |
| **`/CopyPdf`**                                                                  | If the flag is present, it copies the input PDF to the output location.                                                                                      |
| **`/Source`**                                                                   | Source file to be converted to text.                                                                                                                         |
| **`/Target`**                                                                   | Target path for the output file.                                                                                                                             |
| **`/TempFolder`**                                                               | Path for temporary folder (must be unique).                                                                                                                  |

## OCR PDF to searchable PDF

This is used with `ocrpdfgd`.

| Parameter                    | Notes                                                                                                                                                                                                                           |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**             | Use the `ocrpdfgd` operation.                                                                                                                                                                                                   |
| **`/debug`**                 | Log additional information.                                                                                                                                                                                                     |
| **`/Dictionary`**            | List of language codes, linked by `+`. For example: `/Dictionary="ENG+FRA"`.                                                                                                                                                    |
| **`/DictionaryPath`**        | Path to GdPicture dictionary files.                                                                                                                                                                                             |
| **`/DPI`**                   | DPI used for rendering.                                                                                                                                                                                                         |
| **`/PageRange`**             | Range of pages to OCR; use `*` for all pages.                                                                                                                                                                                   |
| **`/ThreadLimit`**           | Limits the amount of pages that can be processed concurrently.                                                                                                                                                                  |
| **`/ImageLimit`**            | If the page has images that can be ignored (e.g. company logos) you can set an image limit. Any page that contains a number of images equal to or less than the limit will be skipped.                                          |
| **`/IgnoreNonImagePages`**   | Setting this flag will skip OCRing any pages that contain fewer images than the image limit threshold.                                                                                                                          |
| **`/IgnoreSearchablePages`** | Setting this flag will skip OCRing and pages that already contain visible text.                                                                                                                                                 |
| **`/IgnoreHiddenText`**      | Setting this flag will skip OCRing and pages that already contain hidden text.
 **Note**: IgnoreSearchablePages must also be set.                                                                                       |
| **`/CharacterThreshold`**    | If a page has little text but you still want to OCR (e.g. bates numbers), the pages will only be skipped if the amount of characters is equal or above the threshold. If `0`, any text found will cause the page to be skipped. |
| **`/Autorotate`**            | Automatically rotate pages if the text doesn’t have the correct orientation.                                                                                                                                                    |
| **`/Source`**                | Source file to be OCRed.                                                                                                                                                                                                        |
| **`/Target`**                | Target path for the output file.                                                                                                                                                                                                |
| **`/TempFolder`**            | Path for temporary folder (must be unique).                                                                                                                                                                                     |

## Create PDF portfolio

This is used with `pdfportfolio`.

| Parameter               | Notes                                                                                             |
| ----------------------- | ------------------------------------------------------------------------------------------------- |
| **`/operation`**        | Use the `pdfportfolio` operation.                                                                 |
| **`/debug`**            | Log additional information.                                                                       |
| **`/PdfPortfolioType`** | See the PDF portfolio type table below for information on portfolio type, value, and description. |
| **`/Source`**           | Source folder.                                                                                    |
| **`/Target`**           | Target path for the output file.                                                                  |
| **`/TempFolder`**       | Path for temporary folder (must be unique).                                                       |

### PDF portfolio type

| Type       | Value | Description                                                                                                                                                                                                                                      |
| ---------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Detail** | 0     | The collection view is presented in details mode, with all information in the schema dictionary presented in a multicolumn format. This mode provides the most information to the user. The default value.                                       |
| **Hidden** | 2     | The collection view is initially hidden, without preventing the user from obtaining a file list via explicit action.                                                                                                                             |
| **Tile**   | 1     | The collection view is presented in tile mode, with each file in the collection denoted by a small icon and a subset of information from the schema dictionary. This mode provides top-level information about the file attachments to the user. |

## Convert PDF to PDF/A

This is used with `gdpicturepdfa`.

| Parameter                       | Notes                                                                                                                                                                                                                                                                                    |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                | Use the `gdpicturepdfa` operation.                                                                                                                                                                                                                                                       |
| **`/debug`**                    | Log additional information.                                                                                                                                                                                                                                                              |
| **`/AllowRasterization=false`** | Set this parameter to `false` if you don’t want the conversion engine to use page rasterization when the direct conversion and vectorization aren’t possible or allowed.                                                                                                                 |
| **`/AllowVectorization=false`** | Set this parameter to false, if you don’t want the conversion engine to use page vectorization when the direct conversion isn’t possible. Vectorization produces vector-based graphic elements where applicable — for example, fonts and paths — and combines them with image resources. |
| **`/Version="PDFA Option"`**    | See the PDF/A versions table below for different PDF/A versions and their descriptions.                                                                                                                                                                                                  |
| **`/Source`**                   | Source file.                                                                                                                                                                                                                                                                             |
| **`/Target`**                   | Target path for the output file.                                                                                                                                                                                                                                                         |
| **`/TempFolder`**               | Path for temporary folder (must be unique).                                                                                                                                                                                                                                              |

### PDF/A versions

| Value          | Description                            |
| -------------- | -------------------------------------- |
| **PDF\_A\_1a** | The PDF conformance level is PDF/A-1a. |
| **PDF\_A\_1b** | The PDF conformance level is PDF/A-1b. |
| **PDF\_A\_2a** | The PDF conformance level is PDF/A-2a. |
| **PDF\_A\_2b** | The PDF conformance level is PDF/A-2b. |
| **PDF\_A\_2u** | The PDF conformance level is PDF/A-2u. |
| **PDF\_A\_3a** | The PDF conformance level is PDF/A-3a. |
| **PDF\_A\_3b** | The PDF conformance level is PDF/A-3b. |
| **PDF\_A\_3u** | The PDF conformance level is PDF/A-3u. |
| **PDF\_A\_4**  | The PDF conformance level is PDF/A-4.  |
| **PDF\_A\_4e** | The PDF conformance level is PDF/A-4e. |
| **PDF\_A\_4f** | The PDF conformance level is PDF/A-4f. |

## Compress PDF

This is used with `gdpicturecompression`.

| **Parameter**                                  | **Notes**                                                                                                                                                                                    |
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                               | Use the `gdpicturecompression` operation.                                                                                                                                                    |
| **`/debug`**                                   | Log additional information.                                                                                                                                                                  |
| **`/Author="text"`**                           | Set PDF metadata author to supplied text.                                                                                                                                                    |
| **`/Producer="text"`**                         | Set PDF metadata producer to supplied text.                                                                                                                                                  |
| **`/Producername="text"`**                     | Set PDF metadata producer name to supplied text.                                                                                                                                             |
| **`/Title="text"`**                            | Set PDF metadata title to supplied text.                                                                                                                                                     |
| **`/RemoveAnnotations`**                       | When supplied, remove annotations.                                                                                                                                                           |
| **`/RemoveBlankPages`**                        | When supplied, remove blank pages.                                                                                                                                                           |
| **`/RemoveBookmarks`**                         | When supplied, remove bookmarks.                                                                                                                                                             |
| **`/RemoveEmbeddedFiles`**                     | When supplied, remove embedded files.                                                                                                                                                        |
| **`/RemoveFormFields`**                        | When supplied, remove form fields.                                                                                                                                                           |
| **`/RemoveJavaScript`**                        | When supplied, remove JavaScript.                                                                                                                                                            |
| **`/RemoveMetadata`**                          | When supplied, remove metadata. `RemoveMetadata` only removes XMP metadata in the document. PDF information (title, author, custom PDF information, etc.) If present, it isn’t touched.      |
| **`/removePageThumbnails`**                    | When supplied, remove page thumbnails.                                                                                                                                                       |
| **`/PackFonts=false`**                         | Specifies the PDF fonts won’t be packed to reduce their size.                                                                                                                                |
| **`/PackDocument=false`**                      | Specifies the PDF won’t be packed to reduce its size.                                                                                                                                        |
| **`/RecompressImages=false`**                  | Specifies the images from the PDF won’t be recompressed.                                                                                                                                     |
| **`/EnableMRC`**                               | Specifies MRC will be used for compressing the PDF contents.                                                                                                                                 |
| **`/DownscaleResolutionMRC="resolution mrc"`** | Specifies the resolution (DPI) for downscaling the background layer by the MRC engine, if any. Default value is `100`.                                                                       |
| **`/PreserveSmoothing=false`**                 | Specifies that the MRC engine won’t preserve smoothing between different layers.                                                                                                             |
| **`/ImageQuality="image quality"`**            | Specifies the quality to be used for the compression of the images from the PDF. See the image quality settings table below for further information.                                         |
| **`/DownscaleImages=false`**                   | Specifies the images from the PDF won’t be downscaled.                                                                                                                                       |
| **`/DownscaleResolution=downscaleresolution`** | Specifies the resolution to be used to downscale images. Default value is `150`.                                                                                                             |
| **`/EnableColorDetection=false`**              | Specifies whether color detection won’t be performed on the images from the PDF.                                                                                                             |
| **`/EnableCharRepair`**                        | Specifies whether character repairing will be performed during bitonal conversion.                                                                                                           |
| **`/EnableJPEG2000=false`**                    | Specifies that JPEG2000 compression scheme won’t be used to compress the images of the PDF.                                                                                                  |
| **`/EnableJBIG2=false`**                       | Specifies that the JBIG2 compression scheme won’t be used to compress the bitonal images of the PDF.                                                                                         |
| **`/JBIG2PMSThreshold=threshold`**             | Specifies the threshold value for the JBIG2 encoder pattern matching and substitution between `0` and `1`. Any number lower than `1` may lead to lossy compression. Default value is `0.85`. |
| **`/Source`**                                  | Source folder.                                                                                                                                                                               |
| **`/Target`**                                  | Target path for the output file.                                                                                                                                                             |
| **`/TempFolder`**                              | Path for temporary folder (must be unique).                                                                                                                                                  |

### Image quality settings

| Description                      | Value |
| -------------------------------- | ----- |
| **Image Quality Low**            | 0     |
| **Image Quality Medium**         | 1     |
| **Image Quality High**           | 2     |
| **Image Quality Very High**      | 3     |
| **Image Quality Very Very High** | 4     |
| **Image Quality Very Low**       | -1    |

## Smart redaction

This is used with `smartredaction`.

| Parameter                                       | Notes                                                                                                                                                                                     |
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                | Use the `smartredaction` operation.                                                                                                                                                       |
| **`/debug`**                                    | Log additional information.                                                                                                                                                               |
| **`/ResourcePath`**                             | Path to GdPicture dictionary files.                                                                                                                                                       |
| **`/Dictionary`**                               | List of language codes, linked by `+`. For example: `/Dictionary="ENG+FRA"`.                                                                                                              |
| **`/RedactCreditCardNumbers=false`**            | Specifies whether credit card numbers won’t be redacted.                                                                                                                                  |
| **`/RedactEmailAddresses=false`**               | Specifies whether email addresses won’t be redacted.                                                                                                                                      |
| **`/RedactPhoneNumbers=false`**                 | Specifies whether phone numbers won’t be redacted.                                                                                                                                        |
| **`/RedactVatIDs=false`**                       | Specifies whether VAT IDs won’t be redacted.                                                                                                                                              |
| **`/RedactURIs=false`**                         | Specifies whether URIs won’t be redacted.                                                                                                                                                 |
| **`/RedactIBANs=false`**                        | Specifies whether IBANs won’t be redacted.                                                                                                                                                |
| **`/RedactVehicleIdentificationNumbers=false`** | Specifies whether vehicle identification numbers won’t be redacted.                                                                                                                       |
| **`/RedactSocialSecurityNumbers=false`**        | Specifies whether Social Security Number won’t be redacted.                                                                                                                               |
| **`/RedactPostalAddresses=false`**              | Specifies whether postal addresses won’t be redacted.                                                                                                                                     |
| **`/MarkColor`**                                | The color used to cover redacted information. The options are: Black, Transparent, Aqua, Teal, Navy, Yellow, Olive, Lime, Blue, Fuchsia, Purple, Red, Maroon, White, Gray, Silver, Green. |
| **`/DetectOrientation=false`**                  | Specifies whether orientation won’t be detected automatically.                                                                                                                            |
| **`/PageRange`**                                | Range of pages to redact, use `*` for all pages.                                                                                                                                          |
| **`/Source`**                                   | Source file to be redacted.                                                                                                                                                               |
| **`/Target`**                                   | Target path for the output file.                                                                                                                                                          |
| **`/TempFolder`**                               | Path for temporary folder (must be unique).                                                                                                                                               |

## Detect signatures

This is used with `detectsignatures`.

| Parameter                                                                                                                 | Notes                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                                                                                          | Use the `detectsignatures` operation.                                                                                                                                                                                              |
| **`/debug`**                                                                                                              | Log additional information.                                                                                                                                                                                                        |
| **`/SignedFilename=`**                                                                                                    | The signed filename mask — for example, `%FILENAME`-signed. Used for the file moved/copied to the `SignedFilePath`.                                                                                                                |
| **`/SignedFilePath=path`**                                                                                                | The full path (including file name) that the input file will be copy/moved to if a signature is detected.                                                                                                                          |
| **`/CreateSignedPath`**
 **`/CreateSignedPath=false`**
 **`/CreateSignedPath=true`**                      | If the parameter `CreateSignedPath` is present or set to `true`, the signed file location will be created if it cannot be found. If set to `false`, the file will fail if the signed location doesn’t exist.                       |
| **`/OverwriteSigned`**
 **`/OverwriteSigned=false`**
 **`/OverwriteSigned=true`**                         | If the parameter `OverwriteSigned` is present or set to `true`, when a signed file is moved or copied into the signed location, it will overwrite files of the same name. If set to `false`, the file will fail in this situation. |
| **`/SignedAction=action`**                                                                                                | Specifies if signed files will be copied or moved to the signed location. Use `Copy` or `Move` as values.                                                                                                                          |
| **`/AttachSignedDocToOutput`**
 **`/AttachSignedDocToOutput=false`**
 **`/AttachSignedDocToOutput=true`** | If parameter `AttachSignedDocToOutput` is present or set to `true`, then the signed source file will be attached to the no longer signed output file.
 Only applied if `/SignedAction="copy"` is set.                      |
| **`/Source`**                                                                                                             | Source file to be checked for signatures.                                                                                                                                                                                          |
| **`/Target`**                                                                                                             | Target path for the output file.                                                                                                                                                                                                   |
| **`/TempFolder`**                                                                                                         | Path for temporary folder (must be unique).                                                                                                                                                                                        |

## Extract key value pairs

This is used with `keyvaluepairs`.

| Parameter                                          | Notes                                                                                                                                                                        |
| -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                   | Use the `keyvaluepairs` operation.                                                                                                                                           |
| **`/debug`**                                       | Log additional information.                                                                                                                                                  |
| **`/DictionaryPath`**                              | Path to GdPicture dictionary files.                                                                                                                                          |
| **`/Dictionary`**                                  | The codes of the chosen languages for OCR, separated by `+`. For example, `eng+fra`. Codes can be found in the [OCR language codes](https://www.nutrient.io/(/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps/#pdf-to-searchable-pdf-gdpicture).                                       |
| **`/DPI`**                                         | DPI used for rendering.                                                                                                                                                      |
| **`/KVPFormat`**                                   | The output formats are separated by JSON, CSV or XML.                                                                                                                        |
| **`/Autorotate`**
 **`/Autorotate=false`** | Setting this to `false` will disable the ability to rotate pages if the text orientation isn’t correct. The default is `true`.                                               |
| **`/TrimSymbols`**                                 | Setting this to `true` will remove any symbols from the start/end of values, except for the hash `#` or period `.` symbols.                                                  |

| **`/IncludeKeyBoundingBox`**                       | Setting this to `Yes` will include the bounding box values for the key in the output.                                                                                        |
| **`/IncludeValueBoundingBox`**                     | Setting this to `Yes` will include the bounding box values for the value in the output.                                                                                      |
| **`/IncludePageNumber`**                           | Setting this to `Yes` will include the page number of the key value pair in the output.                                                                                      |
| **`/IncludeConfidence`**                           | Setting this to `Yes` will include the confidence score of the key value pair in the output. Confidence is measured between `0` (no confidence) and `100` (full confidence). |
| **`/ConfidenceThreshold`**                         | The value of confidence (`0` to `100`) that a KVP must reach to be included in the output. Results under this confidence threshold will be discarded.                        |
| **`/IncludeType`**                                 | Setting this to `Yes` will include the data type of the key value pair in the output.                                                                                        |
| **`/ExpectedKeys`**                                | The path to a JSON file for the expected keys and synonyms.                                                                                                                  |
| **`/ExpectedKeysIsPath=true`**                     | Flag to show that the 	/ExpectedKeys	 flag is pointing to a JSON file location.                                                                                              |
| **`/Source`**                                      | Source file to be checked for key-value pairs.                                                                                                                               |
| **`/Target`**                                      | Target path for the output file. No extension is needed, as extensions will be added based on the KVP output format.                                                         |
| **`/TempFolder`**                                  | Path for temporary folder (must be unique).                                                                                                                                  |

## Pattern redaction

This is used with `patternredaction`.

| Parameter                     | Notes                                                                                                                                                                                                                        |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**              | Use the `patternredaction` operation.                                                                                                                                                                                        |
| **`/debug`**                  | Log additional information.                                                                                                                                                                                                  |
| **`/Pattern="regex"`**        | A regex pattern. The input PDF will be searched for matches to this regex pattern, and any matches will be redacted.                                                                                                         |
| **`/RedactedTermsPath=path`** | The path to a text file containing a list of terms to redact. Each line will be treated as a pattern, and any matches will be redacted.                                                                                      |
| **`/CaseSensitive`**          | Determined whether or not the regex pattern matching should be case sensitive.                                                                                                                                               |
| **`/Red=0`**                  | The amount of red color to be used for the redaction region color. Use a value between `0` and `255`.                                                                                                                        |
| **`/Green=0`**                | The amount of green color to be used for the redaction region color. Use a value between `0` and `255`.                                                                                                                      |
| **`/Blue=0`**                 | The amount of blue color to be used for the redaction region color. Use a value between `0` and `255`.                                                                                                                       |
| **`/Alpha=255`**              | The transparency value of the resulting region color. Use the value between `0` (full transparency) and `255` (full opacity). The redacted text will be removed, and so won’t be behind the color layer if made transparent. |
| **`/Source`**                 | Source file to be redacted.                                                                                                                                                                                                  |
| **`/Target`**                 | Target path for the output file.                                                                                                                                                                                             |
| **`/TempFolder`**             | Path for temporary folder (must be unique).                                                                                                                                                                                  |

## Pattern highlight

This is used with `patternhighlight`.

| Parameter        | Notes                                                                                                                                                                                               |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`** | Use the `patternhighlight` operation.                                                                                                                                                               |
| **`/Alpha=100`** | The transparency value of the resulting region color. Use the value between `0` (full transparency) and `255` (full opacity).
 The highlighted text will appear behind the highlight layer. |

See the pattern redaction table above for the rest of the parameters.

## Split PDF (GdPicture)

This is used with `splitpdfgdpicture`.

| Parameter                                                                                                                              | Notes                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                                                                                                       | Use the `splitpdfgdpicture` operation.                                                                                                                                                                               |
| **`/debug`**                                                                                                                           | Log additional information.                                                                                                                                                                                          |
| **`/RetainMetadata`**
 **`/RetainMetadata=false`**                                                                             | When set to `true`, generated files will include metadata (such as author and title) from the original file.                                                                                                         |
| **`/SplitType=Single`**
 **`/SplitType=Ranges`**
 **`/SplitType=Repeatingranges`**
 **`/SplitType=bookmarks`** | Sets the way that the input file will be split. One of:

- Split into single pages

- Split by ranges (See below)

- Split by repeating ranges (See below)

- Split by bookmarks         |
| **`/SplitRange=range`**                                                                                                                | Set of page ranges separated by commas that defines which pages from the original should be extracted.                                                                                                               |
| **`/RepeatEvery=num`**                                                                                                                 | Apply the page range to each set of page ranges pages within the document. For example if 2 to 4 is specified for page ranges, and 4 is specified as the repeating range, then the range is reapplied every 4 pages. |
| **`/RemoveUnusedResources`**
 **`/RemoveUnusedResources=false`**                                                               | Removes unused resources from a PDF file to minimize file size.                                                                                                                                                      |
| **`/Source`**                                                                                                                          | Source file to be redacted.                                                                                                                                                                                          |
| **`/Target`**                                                                                                                          | Target path for the output file.                                                                                                                                                                                     |
| **`/TempFolder`**                                                                                                                      | Path for temporary folder (must be unique).                                                                                                                                                                          |

## Split PDF by barcode

This is used with `splitbybarcode`.

| Parameter                                                                | Notes                                                                                                                   |
| ------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                                         | Use the `splitbybarcode` operation.                                                                                     |
| **`/debug`**                                                             | Log additional information.                                                                                             |
| **`/ReadQRCode`**                                                        | Set this to `true` to recognize QR code barcodes.                                                                       |
| **`/ReadMicroQR`**                                                       | Set this to `true` to recognize Micro QR barcodes.                                                                      |
| **`/ReadDataMatrix`**                                                    | Set this to `true` to recognize Data Matrix barcodes.                                                                   |
| **`/ReadPDF417`**                                                        | Set this to `true` to recognize PDF417 barcodes.                                                                        |
| **`/ReadAztec`**                                                         | Set this to `true` to recognize Aztec barcodes.                                                                         |
| **`/ReadMaxiCode`**                                                      | Set this to `true` to recognize MaxiCode barcodes.                                                                      |
| **`/ReadIndustrial2of5`**                                                | Set this to `true` to recognize Industrial 2 of 5 barcodes.                                                             |
| **`/ReadInverted2of5`**                                                  | Set this to `true` to recognize Inverted 2 of 5 barcodes.                                                               |
| **`/ReadInterleaved2of5`**                                               | Set this to `true` to recognize Interleaved 2 of 5 barcodes.                                                            |
| **`/ReadIata2of5`**                                                      | Set this to `true` to recognize Iata 2 of 5 barcodes.                                                                   |
| **`/ReadMatrix2of5`**                                                    | Set this to `true` to recognize Matrix 2 of 5 barcodes.                                                                 |
| **`/ReadCodabar`**                                                       | Set this to `true` to recognize Codabar barcodes.                                                                       |
| **`/ReadBcdMatrix`**                                                     | Set this to `true` to recognize BCD Matrix barcodes.                                                                    |
| **`/ReadDataLogic2of5`**                                                 | Set this to `true` to recognize Data Logic 2 of 5 barcodes.                                                             |
| **`/ReadCode128`**                                                       | Set this to `true` to recognize Code128 barcodes.                                                                       |
| **`/ReadCode93`**                                                        | Set this to `true` to recognize Code93 barcodes.                                                                        |
| **`/ReadCode39`**                                                        | Set this to `true` to recognize Code39 barcodes.                                                                        |
| **`/ReadEAN13`**                                                         | Set this to `true` to recognize EAN-13 barcodes.                                                                        |
| **`/ReadEAN8`**                                                          | Set this to `true` to recognize EAN-8 barcodes.                                                                         |
| **`/ReadUPCA`**                                                          | Set this to `true` to recognize UPCA barcodes.                                                                          |
| **`/ReadUPCE`**                                                          | Set this to `true` to recognize UPCE barcodes.                                                                          |
| **`/ReadADD5`**                                                          | Set this to `true` to recognize ADD 5 barcodes.                                                                         |
| **`/ReadADD2`**                                                          | Set this to `true` to recognize ADD 2 barcodes.                                                                         |
| **`/SplitRange=range`**                                                  | Specifies the page range to be scanned for barcodes. A value of `*` will scan every page for barcodes.                  |
| **`/Pattern="regex"`**                                                   | A regular expression that each barcode will be compared against. Only barcodes that match the pattern will be returned. |
| **`/DPI=int`**                                                           | DPI of TIFF images generated or converted from the source PDF file. These images are then scanned for barcodes.         |
| **`/RetainMetadata`**
 **`/RetainMetadata=false`**               | When set to `true`, generated files will include metadata (such as author and title) from the original file.            |
| **`/RemoveUnusedResources`**
 **`/RemoveUnusedResources=false`** | Removes unused resources from a PDF file to minimize file size.                                                         |
| **`/Left=int`**                                                          | X coordinate of the top-left point of the rectangle you want to recognize the barcode.                                  |
| **`/Top=int`**                                                           | Y coordinate of the top-left point of the rectangle you want to recognize the barcode.                                  |
| **`/Width=int`**                                                         | Width of the rectangle you want to recognize the barcode.                                                               |
| **`/Height=int`**                                                        | Height of the rectangle you want to recognize the barcode.                                                              |
| **`/Source`**                                                            | Source file to be redacted.                                                                                             |
| **`/Target`**                                                            | Target path for the output file.                                                                                        |
| **`/TempFolder`**                                                        | Path for temporary folder (must be unique).                                                                             |

## Pattern enumeration

This is used with `patternenumeration`.

| Parameter                     | Notes                                                                                                                                        |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**              | Use the `patternenumeration` operation.                                                                                                      |
| **`/debug`**                  | Log additional information.                                                                                                                  |
| **`/Pattern="regex"`**        | A regex pattern. The input PDF will be searched for matches to this regex pattern, and any matches will be enumerated.                       |
| **`/RedactedTermsPath=path`** | The path to a text file containing a list of terms to enumerate. Each line will be treated as a pattern, and any matches will be enumerated. |
| **`/CaseSensitive`**          | Determines whether or not the regex pattern matching should be case sensitive.                                                               |
| **`/PassThrough`**            | Determines if the source file should be copied to the output folder alongside the report.                                                    |
| **`/Source`**                 | Source file to be enumerated.                                                                                                                |
| **`/Target`**                 | Target path for the output file.                                                                                                             |
| **`/TempFolder`**             | Path for temporary folder (must be unique).                                                                                                  |

## Get document information

This is used with `getdocinformation`.

| Parameter           | Notes                                                                                              |
| ------------------- | -------------------------------------------------------------------------------------------------- |
| **`/operation`**    | Use the `getdocinformation` operation.                                                             |
| **`/debug`**        | Log additional information.                                                                        |
| **`/OutputFormat`** | The output format for the report:

- `txt`

- `csv`

- `json`

- `xml` |
| **`/PassThrough`**  | Determines if the source file should be copied to the output folder alongside the report.          |
| **`/Source`**       | Source PDF file.                                                                                   |
| **`/Target`**       | Target path for the output file.                                                                   |
| **`/TempFolder`**   | Path for temporary folder (must be unique).                                                        |

## Convert PDF to Office

This is used with `convertpdftooffice`.

| Parameter                  | Notes                                                                                                                       |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**           | Use the `convertpdftooffice` operation.                                                                                     |
| **`/debug`**               | Log additional information.                                                                                                 |
| **`/OfficeFormat`**        | The output format for the report:

- `docx`

- `pptx`

- `xlsx`

- `svg`                        |
| **`/EnableICC`**           | When present, specifies the ICC profile should be preserved during the conversion if it’s present in the loaded document.   |
| **`/PageRange`**           | Range of pages to convert. Use `*` for all pages.                                                                           |
| **`/TimeoutMilliseconds`** | Specifies the timeout of the subsequent conversion process, in milliseconds. Default value is `-1`, which means no timeout. |
| **`/Source`**              | Source file to be converted.                                                                                                |
| **`/Target`**              | Target path for the output file.                                                                                            |
| **`/TempFolder`**          | Path for temporary folder (must be unique).                                                                                 |

## Convert any file to Office

This is used with `convertanytooffice`.

| Parameter                                            | Notes                                                                                                                                                                                                                                                                                                                                                                 |
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**                                     | Use the `convertanytooffice` operation.                                                                                                                                                                                                                                                                                                                               |
| **`/debug`**                                         | Log additional information.                                                                                                                                                                                                                                                                                                                                           |
| **`/EmailInjectHeader`**                             | Specifies whether the email header should be injected in the output document.                                                                                                                                                                                                                                                                                         |
| **`/ConvertEmailAttachmentsToOffice`**               | Convert any attachments to Office format.                                                                                                                                                                                                                                                                                                                             |
| **`/EmailAttachmentsFilter`**                        | A regular expression that specifies the email attachments that will be picked up and converted. Files that don’t match will be ignored.                                                                                                                                                                                                                               |
| **`/EmailPageHeight="num"`**                         | Page height in points.                                                                                                                                                                                                                                                                                                                                                |
| **`/EmailPageWidth="num"`**                          | Page width in points.                                                                                                                                                                                                                                                                                                                                                 |
| **`/EmailPageMarginBottom="num"`**                   | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                         |
| **`/EmailPageMarginLeft="num"`**                     | Page margin left in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/EmailPageMarginRight="num"`**                    | Page margin right in points.                                                                                                                                                                                                                                                                                                                                          |
| **`/EmailPageMarginTop="num"`**                      | Page margin top in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/EmailPreferOnePage`**                            | Add to output document as one page.                                                                                                                                                                                                                                                                                                                                   |
| **`/EnableICC`**                                     | When present, specifies the ICC profile should be preserved during the conversion if it’s present in the loaded document.                                                                                                                                                                                                                                             |
| **`/HtmlEmulationType="num"`**                       | Specifies a type of media to emulate:

- **1** — No emulation

- **2** — Print

- **3** — Screen                                                                                                                                                                                                                                                 |
| **`/HtmlPageHeight="num"`**                          | Page height in points.                                                                                                                                                                                                                                                                                                                                                |
| **`/HtmlPageWidth="num"`**                           | Page width in points.                                                                                                                                                                                                                                                                                                                                                 |
| **`/HtmlPageMarginBottom="num"`**                    | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                         |
| **`/HtmlPageMarginLeft="num"`**                      | Page margin left in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/HtmlPageMarginRight="num"`**                     | Page margin right in points.                                                                                                                                                                                                                                                                                                                                          |
| **`/HtmlPageMarginTop="num"`**                       | Page margin top in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/HtmlPreferOnePage`**                             | Include to specify that the output document should contain a single page.                                                                                                                                                                                                                                                                                             |
| **`/HtmlPreferCSSPageSize`**                         | Include to give any CSS `@page` size declared in the page priority over what is declared in `HtmlPageWidth` and `HtmlPageHeight`. If not included, the renderer will scale the content to fit the paper size.                                                                                                                                                         |
| **`/LoadOnlyOnePage`**                               | Specifies that all executed actions with the loaded document will be processed using only the first page of the document.                                                                                                                                                                                                                                             |
| **`/PageRange="range"`**                             | Range of pages to OCR. Use `*` for all pages.                                                                                                                                                                                                                                                                                                                         |
| **`/PdfBitonalImageCompression="ID"`**               | Sets the scheme to be used to compress bitonal image data when converting/saving the currently loaded document to PDF format:

- **0** — None

- **1** — Flate

- **2** — CCITT4

- **3** — JPEG

- **4** — JBIG2

- **5** — JPEG2000                                                                                       |
| **`/JBIG2PMSThreshold`**                             | Specifies the threshold value for the `JBIG2` encoder pattern matching and substitution between `0` and `1`. Any number lower than `1` may lead to lossy compression. Default value is `0.85`.                                                                                                                                                                        |
| **`/PdfColorImageCompression`**                      | Sets the scheme to be used to compress color image data when converting/saving the currently loaded document to PDF format.                                                                                                                                                                                                                                           |
| **`/PdfImageQuality`**                               | Sets the level of quality used to compress images with a lossy compression scheme, which is embedded in the newly produced PDF document when converting/saving the currently loaded document to PDF format. It must be a value from `0` to `100`. `0` means the worst quality and the best compression, while `100` means the best quality and the worst compression. |
| **`/PDFUseDeflateOnJPEG`**                           | Include to specify if the converter will use additional `Deflate` compression for JPEG images in PDF output.                                                                                                                                                                                                                                                          |
| **`/RasterizationDPI="DPI"`**                        | Sets the rendering resolution to be used when converting vector content to raster content, if any is included in the currently loaded document.                                                                                                                                                                                                                       |
| **`/RenderSheetHeadersAndFooters`**                  | Specifies that the `xls` and `xlsx` headers and footers should be rendered. Affects XLSX/XLS input only.                                                                                                                                                                                                                                                              |
| **`/SplitExcelSheetsIntoPages`**                     | Specifies that `xls` and `xlsx` sheets should be split into pages according to the `PageSetup` element of each sheet. Affects XLSX/XLS input only.                                                                                                                                                                                                                    |
| **`/SpreadsheetBottomMarginOverride`**               | Specifies the spreadsheet bottom margin height in millimeters. If height isn’t given or is negative, the margin specified in the document will be used instead. Affects XLSX/XLS input only.                                                                                                                                                                          |
| **`/SpreadsheetLeftMarginOverride`**                 | Specifies the spreadsheet left margin width in millimeters. If height isn’t given or is negative, the margin specified in the document will be used instead. Affects XLSX/XLS input only.                                                                                                                                                                             |
| **`/SpreadsheetMaximumContentHeightPerSheet`**       | Decimal value indicating the maximum height of the sheet content, in millimeters. Maximum content height ignores header and footer height. Affects XLSX/XLS input only.                                                                                                                                                                                               |
| **`/SpreadsheetMaximumContentWidthPerSheet`**        | Decimal value indicating the maximum width of the sheet content, in millimeters. Maximum content width ignores margins. Affects XLSX/XLS input only.                                                                                                                                                                                                                  |
| **`/SpreadsheetPageHeightOverride`**                 | Specifies the spreadsheet page height in millimeters. If height isn’t given or isn’t positive, the page height specified in the document will be used instead. Affects XLSX/XLS input only.                                                                                                                                                                           |
| **`/SpreadsheetPageWidthOverride`**                  | Specifies the spreadsheet page width in millimeters. If width isn’t given or isn’t positive, the page width specified in the document will be used instead. Affects XLSX/XLS input only.                                                                                                                                                                              |
| **`/SpreadsheetRenderOnlyPrintArea`**                | For spreadsheet, specifies that for each sheet, only the print areas must be rendered. If no print area exists, the whole sheet will be rendered. Affects XLSX/XLS input only.                                                                                                                                                                                        |
| **`/SpreadsheetRightMarginOverride`**                | Specifies the spreadsheet right margin width in millimeters. If width isn’t given or isn’t positive, the page height specified in the document will be used instead. Affects XLSX/XLS input only.                                                                                                                                                                     |
| **`/SpreadsheetTopMarginOverride`**                  | Specifies the spreadsheet top margin height in millimeters. If width isn’t given or isn’t positive, the page width specified in the document will be used instead. Affects XLSX/XLS input only.                                                                                                                                                                       |
| **`/TiffEnableExifRotate`**                          | Include to specify that the TIFF encoder will use the Exif rotate flag to handle page rotations.                                                                                                                                                                                                                                                                      |
| **`/TimeoutMilliseconds="timeout in milliseconds"`** | Specifies the timeout of the subsequent conversion process, in milliseconds. Default value is `-1`, which means no timeout.                                                                                                                                                                                                                                           |
| **`/TxtFontBold`**                                   | Specifies whether the font used for the resulting document when converting from the source TXT file must have a bold style.                                                                                                                                                                                                                                           |
| **`/TxtFontItalic`**                                 | Specifies whether the font used for the resulting document when converting from the source TXT file must have an italic style.                                                                                                                                                                                                                                        |
| **`/TxtFontFamily="font family"`**                   | Specifies the name of the font to be used for the resulting document when converting from the source TXT file.                                                                                                                                                                                                                                                        |
| **`/TxtFontSize="font size"`**                       | Specifies the text size, in points, to be used for the resulting document when converting from the source TXT file.                                                                                                                                                                                                                                                   |
| **`/TxtPageHeight="num"`**                           | Page height in points.                                                                                                                                                                                                                                                                                                                                                |
| **`/TxtPageWidth="num"`**                            | Page width in points.                                                                                                                                                                                                                                                                                                                                                 |
| **`/TxtPageMarginBottom="num"`**                     | Page margin bottom in points.                                                                                                                                                                                                                                                                                                                                         |
| **`/TxtPageMarginLeft="num"`**                       | Page margin left in points.                                                                                                                                                                                                                                                                                                                                           |
| **`/TxtPageMarginRight="num"`**                      | Page margin right in points.                                                                                                                                                                                                                                                                                                                                          |
| **`/TxtPageMarginTop="num"`**                        | Page margin top in points.                                                                                                                                                                                                                                                                                                                                            |
| **`/Source`**                                        | Source file to be converted to PDF.                                                                                                                                                                                                                                                                                                                                   |
| **`/Target`**                                        | Target path for the output file. This can include the `%FILENAME` variable.                                                                                                                                                                                                                                                                                           |
| **`/TempFolder`**                                    | Path for temporary folder (must be unique).                                                                                                                                                                                                                                                                                                                           |

## Zip Folders

This is used with `zipfolders`.

| Parameter                   | Notes                                                                                                                                                                                                                                                          |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/operation`**            | Use the `zipfolders` operation.                                                                                                                                                                                                                                |
| **`/debug`**                | Log additional information.                                                                                                                                                                                                                                    |
| **`/ZipOption`**            | Choose the output zip option:

- **ziptoplevel** — Create one top level zip file

- **ziprecursive** — Recursively zip each subfolder

- **ziprecursivewithlimit** — Recursively zip each subfolder up to a specified depth limit.        |
| **`/SubfolderDepth="num"`** | Depending on the zip option, this determines the depth limit to stop recursive zipping, or the specific level to zip at.                                                                                                                                       |
| **`/CreateReport`**         | Choose if a report of the zip files should be created.                                                                                                                                                                                                         |
| **`/ReportDirectory`**      | The full path of the report file directory. This path can include `%DIRNAME` (input folder name), `%DATESTAMP` (date), or `%TIMESTAMP` (time the report is created). If left blank, the report will be saved in the target location specified by `/Target`.    |
| **`/ReportName`**           | The name of the report file without extension. This filename can include `%DIRNAME` (input folder name), `%DATESTAMP` (date), or `%TIMESTAMP` (time the report is created). If the path is left empty, it will be created with the format `report-%TIMESTAMP`. |
| **`/Source`**               | Source folder to be zipped.                                                                                                                                                                                                                                    |
| **`/Target`**               | Target path for the output zip files. This can include the `%FILENAME` variable.                                                                                                                                                                               |
| **`/TempFolder`**           | Path for temporary folder (must be unique).                                                                                                                                                                                                                    |
---

## Related pages

- [Create XML property file – [used with getxmlpdf]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/create-xml-property-file--used-with-getxmlpdf.md)
- [Streamline Azure file downloads with automation](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/azure-uploaddownload--used-with-azuredownload-and-azureupload.md)
- [Document automation: Convert and redact files easily](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/examples.md)
- [Streamline tasks with the command-line interface](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface.md)
- [Effortlessly merge PDFs with advanced features](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/merge-pdf--used-with-mergepdf.md)
- [Streamline PDF text extraction with ease](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extract-text-download--used-with-extracttext.md)
- [Efficient job control in document automation](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/general-job-options.md)
- [Effortlessly convert any file to PDF with OCR](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/ocr-any-file-to-pdf-used-with-ocranyfile-or-ocranyfileex.md)
- [PDF output file settings – [used with pdfprops]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-output-file-settings--used-with-pdfprops.md)
- [OCR [used with ocrimagepdf or tifftopdf/ mergetifftopdf]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/ocr-used-with-ocrimagepdf-or-tifftopdf-mergetifftopdf.md)
- [Customize PDF stamping options easily](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/stamp-pdf--used-with-stamppdf.md)
- [Optimize your documents with extended OCR steps](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extended-ocr-steps.md)
- [Sharepoint settings – [used with sharepointdownload and sharepointupload]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/sharepoint-settings--used-with-sharepointdownload-and-sharepointupload.md)
- [Split parameters [used with splittiff and splitpdf operations]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/split-parameters-used-with-splittiff-and-splitpdf-operations.md)
- [Efficient document automation with barcode processing](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/tiffpdf-barcode--used-with-barcode.md)
- [PDF conversion options [used with topdf operations]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-conversion-options-used-with-topdf-operations.md)
- [[PDF to TIFF [used with pdftotiff]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-to-tiff-used-with-pdftotiff.md)

