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

0.0.10 • Public • Published

capacitor-pdf-printer

This plugin is all about printing. And Capacitor. And for some reason TSC printers model TE210 as well.

Install

npm install capacitor-pdf-printer
npx cap sync

API

print(...)

print(call: Props) => Promise<{}>
Param Type
call Props

Returns: Promise<{}>


printPdf(...)

printPdf(call: PrintPdfByFile) => Promise<{}>
Param Type
call PrintPdfByFile

Returns: Promise<{}>


printPdfWithSetup(...)

printPdfWithSetup(call: PrintWithSetup) => Promise<{}>
Param Type
call PrintWithSetup

Returns: Promise<{}>


Interfaces

Props

Prop Type
uri string
port number
IPAddress string

PrintPdfByFile

Prop Type
base64String string
port number
IPAddress string
offsetX number
offsetY number
dpi number

PrintWithSetup

Prop Type
width number
height number

Readme

Keywords

Package Sidebar

Install

npm i capacitor-pdf-printer

Weekly Downloads

1

Version

0.0.10

License

MIT

Unpacked Size

10.3 MB

Total Files

60

Last publish

Collaborators

  • 1shaked