---
title: "Stamp PDF with flexible options"
canonical_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/stamp-pdf--used-with-stamppdf/"
md_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/stamp-pdf--used-with-stamppdf.md"
last_updated: "2026-06-08T17:26:16.293Z"
description: "Explore various PDF stamping options such as position, color, and direction to enhance your documents with a personal touch!"
---

# Customize PDF stamping options easily

| Parameter                   | Notes                                                                                                                                                                                                                                                                                                                                                                                                                       |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`/stampoperation`**       | Select the way you want to stamp the PDF pages. Below are the different options:

- text (Stamp PDF Text)

- image (Stamp PDF Text)

- pagenumber (Stamp PDF Text)

- bates (Stamp PDF Text)

- variables (Stamp PDF Text)                                                                                                                                                               |
| **`/stampposition`**        | Select where you want the stamp to appear, below are the options:

- bottomcenter

- bottomleft

- bottomright

- center

- centerleft

- centerright

- topcenter

- topleft

- topright                                                                                                                                                                    |
| **`/stampdirection`**       | Select the direction you want the stamp to face:

- none

- diagonalup

- diagonaldown                                                                                                                                                                                                                                                                                                                 |
| **`/stampobject`**          | This represents the text, image path or variable you want to stamp on the pdf. The below options will show you what **stampobject** stands for in relation to the selected **stampoperation.**

- **Text**: The string you want to stamp on the PDF.

- **Image**: The path to the image to be used as a stamp on the PDF.

- **Variables**: The stamp variable you want to use to stamp the PDF file. |
| **`/stamppagerange`**       | Set of page ranges separated by commas that define which pages from the original should be stamped. Using * or leaving it blank will process all pages.                                                                                                                                                                                                                                                                     |
| **`/stampstartnumber`**     | The number that the page numbering will start with.                                                                                                                                                                                                                                                                                                                                                                         |
| **`/StartPage`**            | The page where the stamping should start from.                                                                                                                                                                                                                                                                                                                                                                              |
| **`/EndPage`**              | The page where the stamping should end.                                                                                                                                                                                                                                                                                                                                                                                     |
| **`/batesprefix`**          | Prefix for Bates Numbering.                                                                                                                                                                                                                                                                                                                                                                                                 |
| **`/batessuffix`**          | Suffix for Bates Numbering.                                                                                                                                                                                                                                                                                                                                                                                                 |
| **`/bateslength`**          | Length of Bates Numbering.                                                                                                                                                                                                                                                                                                                                                                                                  |
| **`/stampcolor`**           | Enter a valid color name. If the color name is not valid, we will use black.                                                                                                                                                                                                                                                                                                                                                |
| **`/stampopacity`**         | Sets the transparency of image stamps, the value is from 0-100. 0 stands for transparent, while 100 stands for solid.                                                                                                                                                                                                                                                                                                       |
| **`/fontname`**             | Font name for all text-based stamps, use a type1 font name or provide a path to a true type font(.ttf) file.                                                                                                                                                                                                                                                                                                                |
| **`/fontsize`**             | Font Size for all text-based stamps.                                                                                                                                                                                                                                                                                                                                                                                        |
| **`/stampasimage`**         | If set to true, Document Automation Server (DAS) will convert text values to an image before stamping.                                                                                                                                                                                                                                                                                                                      |
| **`/stampbackgroundcolor`** | Enter a valid color name. If the color name is not valid, we will use Transparent.                                                                                                                                                                                                                                                                                                                                          |

---

## Related pages

- [Streamline PDF text extraction with ease](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extract-text-download--used-with-extracttext.md)
- [Document automation: Convert and redact files easily](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/examples.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)
- [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 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)
- [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)
- [Efficient job control in document automation](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/general-job-options.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)
- [[PDF to TIFF [used with pdftotiff]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-to-tiff-used-with-pdftotiff.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)
- [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)
- [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)
- [Optimize your documents with extended OCR steps](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extended-ocr-steps.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)
- [Efficient document automation with barcode processing](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/tiffpdf-barcode--used-with-barcode.md)
- [Document conversion with the GdPicture CLI](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps.md)

