Files

15 lines
782 B
Markdown

# CUTOS Receipt Printer Demo
End-to-end LWA for `@cutos/device-receipt-printer` and the MS-MA90 Provider.
The Demo covers USB/serial connection, device information, styled text, QR code, paper feed, cutting, status, and Device events. Text and QR printing explicitly call `feed({ dots: 240 })` after printing so the result advances to the paper outlet. The standalone Feed action also defaults to 240 dots. Development uses CUTOS Mock through `.env.development`; deployed builds use CUTOS Runtime and the declared Provider dependency.
The card grid is responsive: portrait displays use two columns, landscape displays use four columns, and narrow displays use one column.
```sh
npm install
npx cutos lwa build
npx cutos lwa upload
npx cutos lwa publish --device <device-id>
```