Processing Mail Pieces : Using the Command Line

Using the Command Line
The Mail Markup Pro command line can be called from your own applications in the following way:
MailMarkupCmd config.xml input.pdf [/o]

The command line call contains the following components:
The name of the XML file that contains elements, attributes and values that determine how Mail Markup Pro processes a PDF document.
EXAMPLE:
MailMarkupCmd DS100.xml C:\MMP_Docs\Welcome_Letters.pdf /o
 
The above example would cause Mail Markup Pro to use elements, attributes and values contained in DS100.xml for processing mail pieces in Welcome_Letters.pdf. Following processing, Welcome_Letters.pdf would be overwritten by the newly created PDF document.
NOTE:
If the path for the command line executable has not been specified in Windows, it will need to be included in the command line call.
EXAMPLE:
C:\Program Files (x86)\Mail Markup Pro\MailMarkupCmd etc
MORE:
For details about setting the Windows path for the command line, refer to Getting Started > Installation > Setting the Windows Path for the Command Line.
MORE:
For details about creating an XML file for use with the command line, refer to Command Line XML.