Label formatter parameters/switches
Label data can be pushed to the Label Formatter using the File Drop or Socket Listener functionality. A more direct interaction is possible via command line interface. To access the Label Formatter (ubfmt.exe) functionality directly via command line, you must be at the server itself.
Labels can be generated by directly piping data to the Label Formatter, or by creating a file and shelling out to the Label Formatter. Programs can also write to a file and initiate the label printing when the labels are needed.
The Label Formatter (ubfmt) may take input from STDIN (standard input), so it will accept input either from a file (“ubfmt <input_file>”) or piped from an application (“user_program | ubfmt”).
Label Formatter parameters can be set on the Formatter Settings page or entered directly. For more information, refer to Configure formatter settings. Below is a list of parameters that can be sent to the Formatter. Some parameters are required and others are optional.
Parameters Required for All Print Jobs
Some parameters are required in every print job. "Yes" indicates where a parameter can be defined for a print job.
Parameter | Syntax | Required for all print jobs | Defined on Formatter Settings Page/Configuration File | Defined on Command Line | Defined in Data File |
---|---|---|---|---|---|
Data Record Format (Field Names) |
/DR[TxData] or /DR= |
Yes | No | Yes | Yes |
Label Name | /L= | Yes | No | Yes | Yes |
Print Destination | /P= | Yes | Yes | Yes | Yes |
Optional Parameters for Print Jobs
The following table summarizes parameter definitions and where Label Formatter parameters can be defined.
Parameter | Syntax | Defined on Formatter Settings Page/Configuration File | Defined on Command Line | Defined in Data File |
---|---|---|---|---|
Copies |
/C=n "n" copies of each record are printed |
No | Yes | Yes |
Data Format Type (File Type) |
/T=Type of File | Yes | Yes | No |
Data Record Format (Field Names) | ubfmt /L=label /P=printer /DRtxdata_name txdata_name is the name of the TXDATA entry in the Label Data Dictionary for the given label format
|
No | Yes | Yes |
Delimiter Character | /DEL= d, where "d" is the field delimiter | Yes | Yes | No |
File (Input) | /F =data file | No | Yes | No |
New Page | /NP | No | No | Yes |
New Row | /NR | No | No | Yes |
Outfile | /OUTFILE | No | No | Yes |
Report | /R= Report component Valid values include Header, Detail, and Footer. This parameter is not case sensitive.
|
No | Yes | Yes |
Loading...
There was a problem loading this topic