Printing Commands |
Required Edition |
Automation, Enterprise Automation |
/P
Executes a print job, leaving the status of the Use Database check box of the Print dialog unchanged. If this setting is checked, the various settings inside the Database Setup dialog will be used as is, unless they are overruled by another command line parameter.
/PD
Same as /P, but also displays the Print dialog, thereby allowing the user to make changes to the dialog settings and start the print job manually.
/QP
/QPD
Same as/QP, but also displays the Print dialog, thereby allowing the user to make changes to the dialog settings and start the print job manually.
/FP
Forces the status of the Use Database check box of the Print dialog to enabled (or "checked"), so that data may be read from any properly specified data file.
/FPD
Same as /FP, but also displays the Print dialog, thereby allowing the user to make changes to the dialog settings and start the print job manually. (Often used with the Data Entry Form and Query Prompts.)
/C=n
Overwrites the currently specified value for the number of copies to print of each template.
/S=n
Overwrites the currently specified value for the number of serialized items to print.
/PRN=<printer name>
/PRNFILE=<printer file name>
/PRNMDL="<model>[, <port>]"
Sets the printer model and, optionally, the port. This parameter is usually used as an alternative to /PRN when it is not certain that the printer you want will be on line.
/PrintJobName=<printer job name>
Sets the visible name for the print job in the spooler.
/Tray=<tray name>
Specifies the printer's paper tray to print from if multiple trays are available. The "tray name" string is compared to the list of tray names provided by the driver. Matching ignores whitespaces and is case-insensitive. If the specified tray is not available, this setting reverts to the default printer tray.
/MediaHandling= "option=value;[options=values]"
Sets media handling commands, triggers, and actions. For more information, see the Media Handling Tab section of the Page Setup Dialog help.
Option |
Available Values |
---|---|
Action |
DriverSettings |
Occurrence |
AtEndOfPrintJob |
DataItemType |
DatabaseField |
DataItemName |
(string value) |
NumberLabels |
(integer value) |
IgnoreCase |
True/False |
Related Topics