A-PDF :: Affordable PDF Tools

How do you use command line to stamp PDF files?

Return KB main page


Can I use command line to add different types of watermarks to PDF document?


Yes, A-PDF Watermark (free download here) is professional PDF Watermark tool which enables Command Line Mode:

The Usage is as follow:
PWMCMD [Input File] [-S:Password] [Watermarks|wm file] [-O:Output File Name] [-U"[Macro Name]=[Macro Value], [Macro Name]=[Macro Value],..."]

Here are some examples:
1. PWMCMD c:\pdfs\doc.pdf "Text - FINAL"'
2. PWMCMD c:\pdfs\doc.pdf "FINAL" "Com Logo" -O"c:\pdfs\out.pdf"'
3. PWMCMD "c:\pdfs\doc.pdf" "C:\Watermark\doMark.wm" -o"c:\pdfs\out.pdf"
4. PWMCMD c:\pdfs\doc.pdf "MacroWatermark" -O"c:\pdfs\out.pdf" -U"mymacroA=companyA,InputName=clientA"

This web tutorial will give you an overview of the procedure how easy to use this product!

Or view video tutorial here:


More Related Q&A

Related products

  • A-PDF Watermark - Add image and text watermarks to a batch of Acrobat PDF documents
  • A-PDF Image to PDF - Convert photos, drawings, scans and faxes into PDF documents
  • A-PDF Number Pro - Batch add Page Number to Acrobat PDF documents, including prefix and suffix.

We always like improving our products based on your suggestions. Please send your feedback (or ask questions) to us in the contact page.

Return KB main page