0.0.14 • Published 10 months ago

therminal-print v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

thermal-printer

A plugin to print using thermal printers

Install

npm install thermal-printer
npx cap sync

API

printFormattedText(...)

printFormattedText(data: PrintFormattedText) => Promise<void>
ParamType
dataPrintFormattedText

requestPermissions(...)

requestPermissions(data: PrinterToUse) => Promise<void>
ParamType
dataPrinterToUse

listPrinters()

listPrinters() => Promise<{ printers: any[]; }>

Returns: Promise<{ printers: any[]; }>


launchIntent(...)

launchIntent(data: Intent) => Promise<void>
ParamType
dataIntent

launchIntentPDF(...)

launchIntentPDF(data: Intent) => Promise<void>
ParamType
dataIntent

Interfaces

PrintFormattedText

PropType
textstring

PrinterToUse

PropType
idstring | number

Intent

PropType
paramstring
0.0.13

11 months ago

0.0.14

10 months ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago