Supported Model:
TSP100IV TSP100IV SK TSP100IIIW TSP100IIILAN TSP100IIIBI TSP100IIIU MCP31L MCP31LB MCP31CI MCP31CBI MCP31C MCP31CB MCP30 MCP21LB MCP20B MCP20 MCL32CI MCL32CBI POP10 POP10CI POP10CBI TSP650II TSP650IISK TSP700II TSP800II SP700 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
actionPrintText(_ content: String, _ parameter: TextParameter? = nil)
Execute text printing
actionPrintText(_ content: String, _ parameter: TextParameter? = nil) -> Self
Parameter |
||
---|---|---|
content |
Text |
|
parameter |
Additional setting parameter for text printing. The number of characters to print can be set (for details, see TextWidthParameter) |
Return value |
|
---|---|
This object |
Note
To print Kanji, you need to set styleSecondPriorityCharacterEncoding(_ type: StarXpandCommand.Printer.CharacterEncodingType) according to the printer model.
TSP100III series and TSP100IIU+ do not support actionPrintText(_ content: String, _ parameter: TextParameter? = nil) because these products are graphics-only printers. Please use the actionPrintImage(_ parameter: StarXpandCommand.Printer.ImageParameter) to create printing data for these products. For other available methods, please also refer to “Supported Model” of each method.