OptionalcheckWhether to print or calculate a check digit when supported (defaults to false).
Optionalcode128Code 128 mode flag for ^BC (only for Code128 type)
OptionaldataDataMatrix: quality setting (1-99999, default 200).
OptionalheightOptionalhexOptional ^FH hex indicator for embedding hex escapes inside the field data.
OptionallineWhether to print the human-readable interpretation line (defaults to true for linear barcodes).
OptionallineWhether to print the interpretation line above the barcode (defaults to false; Code128 mode U defaults to true).
OptionalmoduleOptionalpdf417PDF417: number of columns (1-30, default 3).
Optionalpdf417PDF417: number of rows (3-90, default 3).
Optionalpdf417PDF417: security level (0-8, default 0 = auto).
Optionalpdf417PDF417: truncate right row indicator to reduce width (default false).
OptionalqrQR Code error correction level (only for QRCode type)
OptionalqrQR Code mask pattern 0-7 (only for QRCode type)
OptionalqrQR Code model 1 or 2 (only for QRCode type)
OptionalratioOptionalrotate
Options for barcode fields on the label.
Remarks
This interface defines the configuration options for adding a barcode to a label:
at: Specifies the x and y coordinates for the barcode position.type: The type of barcode to print.data: The data string to encode in the barcode.height: Optional height of the barcode.module: Optional module width for the barcode.ratio: Optional module width ratio for the ^BY command.rotate: Optional orientation of the barcode (N, R, I, B).code128Mode: Optional Code 128 mode (N, U, A, D) to control GS1/auto behavior.QR Code specific options (only used when type is QRCode):
qrErrorCorrection: Error correction level for QR codes.qrMask: Mask pattern for QR codes (0-7).qrModel: QR model (1 or 2).