capacitor-zpl-printer
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

Param Type
options PrintOptions

Returns: Promise<any>


echo(...)

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

Returns: Promise<{ value: string; }>


Interfaces

PrintOptions

Prop Type Description
ip string IP address where the printer is located
port number Port through which the printer is connected
zpl string ZPL code to be printed
prints number Number of impressions, by default one is printed

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i capacitor-zpl-printer

    Weekly Downloads

    0

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    20.6 kB

    Total Files

    27

    Last publish

    Collaborators

    • luisbahamonde