0.0.6 • Published 1 year ago

capacitor-zpl-printer v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

capacitor-zpl-printer

Connects with label printers that use the ZPL language

Install

npm install capacitor-zpl-printer
npx cap sync

API

print(...)

print(options: PrintOptions) => Promise<any>

send ZPL code to a printer through an IP address and a port to be printed

ParamType
optionsPrintOptions

Returns: Promise<any>


echo(...)

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

Returns: Promise<{ value: string; }>


Interfaces

PrintOptions

PropTypeDescription
ipstringIP address where the printer is located
portnumberPort through which the printer is connected
zplstringZPL code to be printed
printsnumberNumber of impressions, by default one is printed
0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago