The user interface for Direct Print can be run from the command line to automate the import and deletion of connected environments.
The following command line parameters are supported:
- Myenvironment.fornavprintconfig – Configuration file with information about which environment to import or delete.
- /SILENT – No dialogs are shown during the operation.
- /REMOVE – Remove the environment described in the configuration file.
- /KEEP – Do not delete the configuration file after import or removal.
You can specify more than one fornavprintconfig file. The other parameters will be used for all config files on the command line.
Examples
Standard import of configuration that shows the dialog after importing:
ForNav.DirectPrintUI.exe newconfig.fornavprintconfig
Same as previous but without showing the dialog after importing:
ForNav.DirectPrintUI.exe newconfig.fornavprintconfig /SILENT
Do not delete the newconfig file after importing:
ForNav.DirectPrintUI.exe newconfig.fornavprintconfig /SILENT /KEEP
Remove the environment that was created when importing the newconfig file:
ForNav.DirectPrintUI.exe newconfig.fornavprintconfig /REMOVE /SILENT /KEEP