1.0.0 • Published 2 years ago

dr-print-post v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

dr-print-post

print

Install

npm install dr-print-post
npx cap sync

API

echo(...)

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

Returns: Promise<{ value: string; }>


verify()

verify() => Promise<{ value: string; }>

查看设备状态 0正常 1异常

Returns: Promise<{ value: string; }>


checkPrintStatus()

checkPrintStatus() => Promise<{ value: string; }>

查询打印机状态 0正常 1异常

Returns: Promise<{ value: string; }>


print(...)

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

打印

ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


getDeviceInfo()

getDeviceInfo() => Promise<{ value: string; }>

获取设备信息

Returns: Promise<{ value: string; }>


reStartApp()

reStartApp() => Promise<{ value: string; }>

重新启动app

Returns: Promise<{ value: string; }>


1.0.0

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago