You can specify an .XML configuration file or project file as a command line option.
In this section:
Specifying an .XML configuration file with the command prompt
You can specify an .XML configuration file as a command line option. The Publisher for Raster version 5.0.0 engine works with new .XML configuration files defined and saved through the Publisher for Raster user interface. If the .XML configuration file was created using a prior version of Publisher for Raster, the file generation process accepts the bands that represent the base RGB colors but does not accept any additional color bands.
From your computer's Start menu, navigate to All Programs > Accessories > Command Prompt. You can also access the Command Prompt via the Run dialog box. From the Start menu, click Run. In the Open box, type cmd
and then click OK.
Use the following syntax in the command prompt to specify an .XML configuration file:
raster2pdf.exe c:\mydata\sample.img --config=c:\myfiles\myconfig.xml
or
raster2pdf c:\mydata\sample.img c:\myoutput\great.pdf --config=c:\myfiles\myconfig.xml
The Publisher for Raster engine reads all file generation parameters from the .XML configuration file.
Specifying an .XML project file with the command prompt
You can specify an .XML project file as a command line argument.
From your computer's Start menu, navigate to All Programs > Accessories > Command Prompt. You can also access the Command Prompt via the Run dialog box. From the Start menu, click Run. In the Open box, type cmd
and then click OK.
Use the following syntax in the command prompt to specify an .XML project file:
raster2pdf.exe c:\myfiles\myproject.xml
The Publisher for Raster engine reads all file generation parameters including the source image file from the .XML project file.
Comments
0 comments
Please sign in to leave a comment.