Plugin to print through Sunmi printers
npm install @ottimis/sunmi-native-print
npx cap sync
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
connect(options?: {} | undefined) => Promise<{ success: boolean; }>
Param | Type |
---|---|
options |
{} |
Returns: Promise<{ success: boolean; }>
disconnect(options?: {} | undefined) => Promise<{ success: boolean; }>
Param | Type |
---|---|
options |
{} |
Returns: Promise<{ success: boolean; }>
sendRawData(options: { data: string; }) => Promise<{ success: boolean; }>
Param | Type |
---|---|
options |
{ data: string; } |
Returns: Promise<{ success: boolean; }>
checkPrinterStatus() => Promise<{ success: boolean; }>
Returns: Promise<{ success: boolean; }>