This plugin is all about printing. And Capacitor. And for some reason TSC printers model TE210 as well.
npm install capacitor-pdf-printer
npx cap sync
print(call: Props) => Promise<{}>
Returns: Promise<{}>
printPdf(call: PrintPdfByFile) => Promise<{}>
Returns: Promise<{}>
printPdfWithSetup(call: PrintWithSetup) => Promise<{}>
Returns: Promise<{}>
Prop |
Type |
uri |
string |
port |
number |
IPAddress |
string |
Prop |
Type |
base64String |
string |
port |
number |
IPAddress |
string |
offsetX |
number |
offsetY |
number |
dpi |
number |
Prop |
Type |
width |
number |
height |
number |