2.0.7 • Published 4 years ago
capacitor-aria-print
Aria Point of Sale Print Plugin
Install
npm install capacitor-aria-print
npx cap sync
API
print(...)
print(options: PrintOptions) => void
Param | Type |
---|
options | PrintOptions |
feedPaper(...)
feedPaper(options: PrinterOptions) => void
Param | Type |
---|
options | PrinterOptions |
detectPrinters()
detectPrinters() => any
Returns: any
scanBarcode(...)
scanBarcode(options: ScanBarcodeOptions) => any
Param | Type |
---|
options | ScanBarcodeOptions |
Returns: any
enableBluetooth()
enableBluetooth() => any
Returns: any
enableLocation()
enableLocation() => any
Returns: any
checkPermissions()
checkPermissions() => any
Returns: any
requestPermissions()
requestPermissions() => any
Returns: any
Interfaces
PrintOptions
Prop | Type |
---|
width | number |
charsPerLine | number |
dpi | number |
ipAddress | string |
qrCodeSize | number |
text | string |
qrCode | string |
PrinterOptions
Prop | Type |
---|
width | number |
charsPerLine | number |
dpi | number |
ipAddress | string |
qrCodeSize | number |
DetectPrintersResult
BluetoothDevice
Prop | Type |
---|
name | string |
id | string |
address | string |
class | number |
uuid | string |
rssi | number |
ScanBarcodeOptions
ScanBarcodeResult
PermissionStatus
Prop | Type |
---|
bluetooth | "prompt" | "prompt-with-rationale" | "granted" | "denied" |
location | "prompt" | "prompt-with-rationale" | "granted" | "denied" |
barcode | "prompt" | "prompt-with-rationale" | "granted" | "denied" |