This article is brief introduction to Metafile to PDF Converter Command Line, and it has three parts.
|1. Download and run||2. Basic usage||3. Options|
This application is instantly runnable after downloading. What you should do is to download it and then unzip the package to any directory in your disk.
This application is based on command line interface, and you have to open a DOS command prompt window to run it. Change the current directory to the one where Metafile to PDF Converter Command Line is saved, and then you can run the application referring to the following usage,
emf2pdf [options] <source file> [<target PDF>]
In the command line, source file is to specify the source file to convert, and target PDF is the file name for saving created PDF.
Metafile to PDF Converter Command Line supports these options:
-width <int>: set page width of PDF -height <int>: set page height of PDF -margin <string>: set page margin of PDF: -margin 10: Set margin to 10 pt to left -margin 10x10: set margin to 10 pt to left and top -margin 10x10x10: set margin to 10 pt to left, top and right -margin 10x10x10x10: set margin to 10 pt to left, top, right, and bottom -view: View PDF after creation -append <0, 1, 2 or 3>: -append 0: overwrite if PDF exists -append 1: insert before first page if PDF exists -append 2: append to last page if PDF exists -append 3: rename if PDF exists -subject <string>: set 'subject' to PDF file -title <string>: set 'title' of PDF -author <string>: set 'author' of PDF -keywords <string>: set 'keywords' of PDF -openpwd <string>: set 'open password' of PDF -ownerpwd <string>: set 'owner password' of PDF -keylen <0, 1 or 2>: set key length: -keylen 0: 40-bit RC4 encryption (Acrobat 3 or higher) -keylen 1: 128-bit RC4 encryption (Acrobat 5 or higher) -keylen 2: 128-bit RC4 encryption (Acrobat 6 or higher) -encryption <int>: set restrictions: -encryption0: encrypt the PDF only -encryption 3900: deny anything -encryption4: deny printing -encryption8: deny modification of contents -encryption 16: deny copying of contents -encryption 32: deny commenting Below are for 128-bit encryption only and will be ignored if 40-bit encryption is used: -encryption 256: deny filling in form fields -encryption 512: deny extracting objects -encryption 1024: deny assembling -encryption 2048: disable high resolution printing -encryption 4096: do not encrypt metadata -unicode: enable Unicode conversion -rclbounds: use rclBound instead of rclFrame -bookmark <1, 2 or 3>: create bookmark for PDF: -bookmark 1: use short filename as bookmarks -bookmark 2: use full filename as bookmarks -bookmark 3: use short filename without suffix as bookmarks -mergepdf <file1|file2|file3|...>: merge several PDFs into one -v: print copyright and version information -h: print usage information -help: print usage information --help: print usage information -?: print usage information -$ <string>: input registration key