pdf-printer-plugin
v1.18.0
Published
print in android
Readme
pdf-printer
print in android
Install
npm install pdf-printer
npx cap syncAPI
printPDF(...)
printPDF(options: { contentType: 'html' | 'pdf'; content: string; paperType: 'ISO_A4' | 'ISO_A5'; layout: 'portrait' | 'landscape'; }) => Promise<null>| Param | Type |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| options | { contentType: 'html' | 'pdf'; content: string; paperType: 'ISO_A4' | 'ISO_A5'; layout: 'portrait' | 'landscape'; } |
Returns: Promise<null>
printPDFviaIPP(...)
printPDFviaIPP(options: { printerUrl: string; content: string; paperType: 'ISO_A4' | 'ISO_A5'; layout: 'portrait' | 'landscape'; }) => Promise<null>| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------------------------- |
| options | { printerUrl: string; content: string; paperType: 'ISO_A4' | 'ISO_A5'; layout: 'portrait' | 'landscape'; } |
Returns: Promise<null>
