Supported Model:
TSP650II TSP650IISK TSP700II TSP800II TSP100IIIW TSP100IIILAN TSP100IIIBI TSP100IIIU TSP100IV mPOP MCP20 MCP20B MCP21LB MCP30 MCP31L MCP31LB MCP31C MCP31CB SM-S210i(StarPRNT) SM-S210i(ESC/POS) SM-S230i(StarPRNT) SM-S230i(ESC/POS) SM-T300i(StarPRNT) SM-T300i(ESC/POS) SM-T400i(StarPRNT) SM-T400i(ESC/POS) SM-L200 SM-L300 SP700
actionPrintBarcode(_ parameter: StarXpandCommand.Printer.BarcodeParameter)
Execute barcode printing
actionPrintBarcode(_ parameter: StarXpandCommand.Printer.BarcodeParameter) -> Self
Parameter |
||
---|---|---|
parameter |
Barcode setting parameters |
Return value |
|
---|---|
This object |
Note
A line break is automatically added after the barcode is printed.
If a barcode that does not fit in the printing area is specified, the printing data for the barcode is not generated. (Except for TSP100 series)
To specify a control code lower than 0x1F in contents, specify the coding as
\\x[0-9A-Fa-f]{1,2}
. (Example: For 0x00, specify\\x00
)barRatioLevel is valid for code39, nw7, and itf.
For code128, control codes such as start codes or code conversions are unnecessary because they are specified automatically. To specify a control code such as FNC1, specify the coding as
\\(control code)
. (Example: For FNC1, specify\\(FNC1)
)