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 Connection Setup dialog will be used as is, unless they are overruled by another command line parameter. Applies to all open
/PD
Same as /P, but also displays the Print dialog, thereby allowing the user to make changes as desired to the dialog settings and start the print job manually.
/QP
Forces the status of the Use Database check box of the Print dialog to disabled (or "unchecked"), so that no data is read in by
/QPD
Same as/QP, but also displays the Print dialog, thereby allowing the user to make changes as desired 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 source file.
/FPD
Same as /FP, but also displays the Print dialog, thereby allowing the user to make changes as desired 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>
Specifies a printer to use. This parameter can be used at anytime and will apply to all open
/PRNFILE=<printer file name>
Specifies that
/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 desired printer will be on line. It will apply to all opened
/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 |
Value |
Action |
DriverSettings PageBreak Pause WaitForLabelTakenSensor Cut CutAndPause |
Occurrence |
AtEndOfPrintJob AfterEveryPage AfterEveryRecord AfterAllIdenticalCopies AfterDataChange AfterNumberOfLabels |
DataItemType |
DatabaseField NamedSubstring NamedObject |
DataItemName |
(string value) |
NumberLabels |
(integer value) |
IgnoreCase |
True/False |
BarTender Document Commands • Database Connection Commands