1.0.3 • Published 9 months ago

nexgosdk v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

nexgosdk

Capacitor plugin for Nexgo SDK

Install

npm install nexgosdk
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


beep(...)

beep(options: { duration: number; }) => Promise<{ status: string; }>
ParamType
options{ duration: number; }

Returns: Promise<{ status: string; }>


initializePrinter()

initializePrinter() => Promise<{ status: string; message: string; }>

Returns: Promise<{ status: string; message: string; }>


printText(...)

printText(options: { text: string; fontSize?: number; alignment?: string; bold?: boolean; }) => Promise<void>
ParamType
options{ text: string; fontSize?: number; alignment?: string; bold?: boolean; }

printImage(...)

printImage(options: { base64Image: string; }) => Promise<void>
ParamType
options{ base64Image: string; }

printBarcode(...)

printBarcode(options: { text: string; height?: number; spacing?: number; textHeight?: number; format?: string; alignment?: string; }) => Promise<void>
ParamType
options{ text: string; height?: number; spacing?: number; textHeight?: number; format?: string; alignment?: string; }

startPrint()

startPrint() => Promise<void>

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago