justholyknight-cap-plugin-tps900-f20
v0.0.11
Published
A capacitor plugin that help use native functionalities on Telpo TPS900 and Feitian F20. As for now, it only manages the printing process.
Downloads
33
Maintainers
Readme
justholyknight-cap-plugin-tps900-f20
A capacitor plugin that help use native functionalities on Telpo TPS900 and Feitian F20. As for now, it only manages the printing process.
Install
npm install justholyknight-cap-plugin-tps900-f20
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
printOnPOS(...)
printOnPOS(options: { data: string[]; verificationLink: string; }) => Promise<{ data: string[]; verificationLink: string; }>
| Param | Type |
| ------------- | ---------------------------------------------------------- |
| options
| { data: string[]; verificationLink: string; } |
Returns: Promise<{ data: string[]; verificationLink: string; }>