Closed karolinessz closed 2 years ago
I have the same problem
I'll check soon but do you have example code so that I can fix it quicker than without? Thank you!
I added example code now. Maybe you can try again? Or providing me example code.
My apps are written in Capacitor, too. - no issues.
@karolinessz @gugumetal
hi patrickbussmann i am using your paystory-de/thermal-printer-cordova-plugin URL https://github.com/paystory-de/thermal-printer-cordova-plugin i use all the function on document and all are work find can you provide any document or any other link to get getNbrCharactersPerLine() ,getPrinterWidthMM() , getPrinterDpi() and other method how i get these thing in my application
and how i use ESC/POS commands (https://www.sparkag.com.br/wp-content/uploads/2016/06/ESC_POS-AK912-English-Command-Specifications-V1.4.pdf)
I ran into this issue too in my Svelte app. What ultimately solved it for me were two things:
@rollup/plugin-typescript
with rollup-plugin-typescript2
. Build fails using the former.
See my repo of my sample app: https://github.com/jpatdu-credovita/capacitor-svelte-ts-escpos
I'm using this plugin with capacitor, vuejs and vuetify and I can't call any method because it keeps saying 'ThermalPrinter' is undefined. Is there another way I could use it?