QISHU DOCUMENT ARCHIVE
啓枢アーカイブ
製品ドキュメント、インターフェース資料、エンジニアリング記録の入口です。
commands / tspl/lin8inch
TSPL Lin8inch
TsplLin8inch が提供する 8 インチ TSPL 拡張。
TsplLin8inch inherits TsplBoxliy and adds status feedback, media, ribbon, presentation, and device-info commands for 8-inch models.
Lin8inch Command list
The supported protocols, families, and parameter values depend on the target firmware. Ask engineering or support for the printer support list.
| SDK method | Emitted command | Parameters | Purpose | Response / notes |
|---|---|---|---|---|
TsplLin8inchComposites and aliases | Inherits the public Boxliy command surface. | - | Inherits TSPL Boxliy and adds 8-inch printer extensions. | - |
automaticStatusFeedback(enable)Status queries | 1F 28 63 0A 00 11 22 33 44 {flag} 00 44 33 22 11 | enable: true to enable, false to disable. | Configures automatic status feedback. | - |
printCompletion(token)Status queries | 1D 28 48 06 00 30 30 {d1} {d2} {d3} {d4} | token: 4-byte response token. | Configures print-completion response. | - |
printerStatus(flag)Status queries | 10 04 {flag} | flag: status selector. | Queries selected status. | - |
firmwareVersion()Device information | 1F 28 63 02 00 52 56 | - | Queries firmware version. | - |
serialNumber()Device information | 1F 28 63 02 00 52 53 | - | Queries serial number. | - |
macAddress()Device information | 1F 62 | - | Queries MAC address. | - |
deviceSpeed(speed)Device settings | 1F 28 73 02 00 {speedL} {speedH} | speed: clamped to 0-150. | Sets device speed. | - |
deviceSelfTest()Status queries | 12 54 | - | Runs device self-test. | - |
thermalStatus()Status queries | READSTA | - | Reads thermal status. | - |
productId()Device information | READC PRDOCUTID | - | Reads product ID. | Keeps PRDOCUTID spelling from source. |
versionInfo()Device information | READC VERSION | - | Reads version information. | - |
selfTestPage()Status queries | SELFTEST | - | Prints self-test page. | - |
redDensity(density)Device settings | RED {density} | density: red/accent density. | Sets red density. | Exposed by TypeScript. |
blackColor()Device settings | SETCOLOR BLACK | - | Sets black color mode. | Exposed by TypeScript. |
ribbonEnd(enable)Device settings | SET RIBBON_END ON|OFF | enable: on/off. | Sets ribbon-end detection. | Exposed by TypeScript. |
ribbonEndStatus()Status queries | GET RIBBON_END | - | Queries ribbon-end detection. | Exposed by TypeScript. |
modelSetting()Device information | OUT GETSETTING$("SYSTEM","INFORMATION","MODEL") | - | Reads model setting. | - |
serialSetting()Device information | OUT GETSETTING$("SYSTEM","INFORMATION","SERIAL") | - | Reads serial setting. | - |
versionSetting()Device information | OUT GETSETTING$("SYSTEM","INFORMATION","VERSION") | - | Reads version setting. | - |
gbkCodepage()Device settings | CODEPAGE 936 | - | Switches to GBK code page. | - |
utf8Codepage()Device settings | CODEPAGE UTF-8 | - | Switches to UTF-8 code page. | - |
gapDetection()Paper and media | GAPDETECT | - | Runs gap detection. | - |
configureStock(sensor, markOrGapMm, offsetMm)Paper and media | GAP ... / BLINE ... / GAP 0 mm,0 mm | sensor: DIE_CUT, BLACK_MARK, CONTINUOUS. | Configures media by stock type. | Composite exposed by Java. |
configurePresentation(mode)Device settings | SET CUTTER ... + SET TEAR ... + SET PEEL ... | mode: NONE, TEAR_OFF, PEEL_OFF, CUT. | Configures presentation mode. | Composite exposed by Java. |
twoColorRibbon(accentDensity)Device settings | RIBBON ON + SET RESIN {accentDensity} | accentDensity: accent density. | Sets two-color ribbon. | Composite exposed by Java. |
directThermal()Device settings | RIBBON OFF + SET RESIN 0 | - | Sets direct thermal mode. | Composite exposed by Java. |