@cloudesk/tspl
v1.0.0
Published
TSPL/TSP2 command implementation
Readme
TSPL/TSPL2 command library written in typescript
Install
npm install --save @cloudesk/tsplUsage
import {TSPL} form '@cloudesk/tspl';
const job = TSPL.build()
.size(4, 2.5) // inches
.gap(0, 0) // continuous
.direction(1)
.cls()
.text({x: 10, y: 10, font: "3", rotation: 0, xmul: 1, ymul: 1, content: "Hello TSPL"})
.print(1)
.toString();
console.log(job);