0.0.10 • Published 1 year ago

capacitor-pdf-printer v0.0.10

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

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<{}>
ParamType
callProps

Returns: Promise<{}>


printPdf(...)

printPdf(call: PrintPdfByFile) => Promise<{}>
ParamType
callPrintPdfByFile

Returns: Promise<{}>


printPdfWithSetup(...)

printPdfWithSetup(call: PrintWithSetup) => Promise<{}>
ParamType
callPrintWithSetup

Returns: Promise<{}>


Interfaces

Props

PropType
uristring
portnumber
IPAddressstring

PrintPdfByFile

PropType
base64Stringstring
portnumber
IPAddressstring
offsetXnumber
offsetYnumber
dpinumber

PrintWithSetup

PropType
widthnumber
heightnumber
0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

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