
A-PDF Merger Command Line
A-PDF Merger Command line (PMCMD) is a Windows console utility that merges two or more Acrobat PDF or image files into one single PDF document. PMCMD is a standalone program. It does not need Adobe Acrobat. A trial version for PMCMD is NOT available, but you can download the GUI trial version for free.
USAGE
PMCMD <destination> <source file list> [Options]
destination : Specifies the name for the new file.
source file list: There are two way to specifies the files to be merged.
1, use source file name, Accept wildcards(* and ?),Example:
conver.pdf content*.pdf
2, use the -F<file list>. <File list> is a text file which
contains file names to be merged.One file name per line.
Options: All the options change the destination(output) file.
-B<setting> : Option for merging bookmark. Default is NO bookmark. The
<setting> is a quote string, an example is:
"IMAGEFILE=FILENAME,PDFFILE=IGNORE,FILEASROOT=Y".
setting syntax: KEY=VALUE, every setting split by comma.
Available keys are:
PDFFILE: Special how to handle PDF files without bookmark.
Available values are: Ignore, Filename and
Filenamewithext. Default is Filename.
IMAGEFILE: Special how to handle image files.
Available values are: Ignore, Filename and
Filenamewithext. Default is Filename.
FILEASROOT: Use file name as root bookmark.
Values are Y,N
COLLAPSE: Collapse top level bookmarks. Values are Y,N
-P<setting> : Option for changing the properties. Default is blank. The
<setting> is a quote string, an example is: "TITLE=A good
manual for beginner,AUTHOR=Bill".
setting syntax: KEY=VALUE, every setting split by comma.
Available keys are:
TITLE: Special the title of output pdf document.
SUBJECT: Special the subject of output pdf document.
AUTHOR: Special the author of output pdf document.
KEYWORDS: Special the keywords of output pdf document.
-S<setting> : Option for change the security. Default is No security. The
<setting> is a quote string, an example is:"RESTRICTPASSWORD
=pASSwOrD096,PRINT=low,FILLFIELDS=Y".
setting syntax: KEY=VALUE, every setting split by comma.
Available keys are:
OPENPASSWORD: Setting the open password.
RESTRICTPASSWORD: Setting the restrictions(owner) password.
PRINT: Setting print allowed. Default is none. Available
values are: none, low, high.
CHANGE: Changing the document. Values are: Y,N
COPY: Content copying or extraction.Values are:Y,N
COMMENT: Commenting. Values are: Y,N
FILLFIELDS: Filling of form fields. Values are: Y,N
COPYACCESS: Content extraction for accessibility. Values
are:Y,N
ASSEMBLE: Document assembly. Values are: Y,N
-N<setting> : Option for adding page number to pdf. Default is NO page
number. The <setting> is a quote string. an example is:
"COLOR=0000FF,STYLE=[0]/[9]".
setting syntax: KEY=VALUE, every setting split by comma.
Available keys:
PAGEBEGIN: First page will be added number. default is 1
PAGEEND: Last page will be added number. default is 999999
OFFSET: Page number offset. default is 1
COLOR: RGB color. Default is 000000, means black
FONT: Font name, support standard font and true type font.
Default is Helvetica. Standard fonts are:
Courier,CourierBold,CourierBoldOblique,
CourierOblique,Helvetica,HelveticaBold,
HelveticaBoldOblique,HelveticaOblique,
TimesRoman,TimesBold,TimesItalic,TimesBoldItalic,
Symbol,ZapfDingbats
FONTSIZE: Font size with point. Default is 12.
POSITION: Page number position. Available value is: left,
middle,right. Default is middle.
STYLE: Page number style.
[0] means numeric page number.
[9] means numeric total page.
[a] manes lowercase roman numerals page number.
[z] means lowercase roman numerals total page.
[A] means capital ROMAN numerals page number.
[Z] manes capital ROMAN numerals total page.
Example, style=[0]/[9], the page number in 3rd
page will be "3/100" (100 is total pages).
Example2, style=page [A] of [Z], the page number
in 3 page will be "page III of C".
-V<setting> : Option for viewer preferences. The <setting> is a quote string,
an example is: "OPENSHOW=bookmark,OPENPAGE=5".
setting syntax: KEY=VALUE, every setting split by comma.
Available keys:
OPENSHOW: Which panes and tabs are displayed in the
application window by default. Available value
are Page,Bookmark,Thumbnail. Default is: Page.
ZOOM: Sets the zoom level the document will appear at when
opened. The value range is -1,-2 and 1 to 1600.
-1 means fit window
-2 means fit width
other value means percent. 100 means 100%, actual size.
OPENPAGE: Sets the page that the document opens at.
Default is 1.
WINDOWRESIZE: Adjusts the document window to fit snugly around
the opening page. Values are: Y,N
WINDOWCENTER: Positions the window in the center of the screen
area. Values are: Y,N
WINDOWFULLSCREEN: Maximizes the document window and displays
the document without the menu bar, toolbar,
or window controls. Values are: Y,N
HIDEMENU: Hides the menu of interface. Values are: Y,N
HIDETOOLBAR: Hides the toolbar of interface. Values are: Y,N
HIDEWINDOWCONTROLS: Hides the window controls of interface.
Values are: Y,N
-O : Option for adding a blank page for each document if the total page
number for current PDF is odd.
-W<setting> : Option for adding watermark. The <setting> is a quote string,
an example is: "NAME=c:\watermarks\w.pdf,BACKGROUND=Y".
setting syntax: KEY=VALUE, every setting split by comma.
Available keys:
NAME: watermark PDF file name
BACKGROUND: Set if the watermark is backgound. Values are
Y, N. Default is N.
Return code:
0: Merge successful
1: Merge failed
2: Parameters' wrong
3: One of sources file does not exist
8: Unexpected error.
License: CMD_License.txt
See also
- A-PDF Merger
- A-PDF Split Command Line
- Want more powerful program? Let us do a special one for you.
Follow us
Newsletter
Only $35. Special Offers
100% unconditional 30 Day Money Back Guarantee
Once you order goes through, you will be provided with a link that allows you to download the full version.