Skip to content
bkarvPublic
forked from dolosplus/zebralib

About

Capacitor plugin for Zebra printer (v7)

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

zebra-capacitor

Zebra printer capacitor plugin library for iOS. Ionic Capacitor v3 wrapper with ZSDK_API. Support base64 PDF and regular Text printing.

Only tested with ZQ520 and ZQ521. Should work for all Zebra Bluetooth printers. Android is not yet supported at the moment unless someone wants to contribute to this repo. Contact me at DOLOS+

Install

npm install @dolosplus/zebra-capacitor
npx cap sync

API

connectPrinter(...)

connectPrinter(options: { config: string; }) => any
Param Type
options { config: string; }

Returns: any


printText(...)

printText(options: { text: string; }) => any
Param Type
options { text: string; }

Returns: any


printPDF(...)

printPDF(options: { base64: string; }) => any
Param Type
options { base64: string; }

Returns: any


addListener(...)

addListener(eventName: 'printerStatusChange', listenerFunc: StateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Param Type
eventName "printerStatusChange"
listenerFunc (state: ConnectState) => void

Returns: any


Interfaces

PluginListenerHandle

Prop Type
remove () => any

About

Capacitor plugin for Zebra printer (v7)

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages