giorgiofellipe / cordova-plugin-datecs-printer

Cordova plugin to print on Mobile Bluetooth ESC/POS Printers - Tested on Datecs DPP-250 Printer
MIT License
73 stars 60 forks source link

Printing on ionic 4 #116

Open sundayokoi opened 5 years ago

sundayokoi commented 5 years ago

I am having issues with printing, I am getting "property DatecsPrinter does not exist on type Window"

I need urgent solution Thanks

nok32 commented 5 years ago

Please, check if the plugin is installed correctly, i have the same problem and after reinstall work great. Test on real device.

bikotoru commented 5 years ago

Por favor, compruebe si el complemento está instalado correctamente, tengo el mismo problema y después de volver a instalarlo funciona muy bien. Prueba en dispositivo real.

How is it installed in ionic 4?

aliloubm commented 5 years ago

https://github.com/giorgiofellipe/cordova-plugin-datecs-printer/wiki/Service-DatecsPrinter--for-ionic-4

sundayokoi commented 5 years ago

Yes, i have, its working well now, thanks so much

aliensanderdiaz commented 4 years ago

Hey, I'm using Ionic 4. Could you help me with the installation of the plugin? What is the right way? 1, 2 or 3

  1. npm i cordova-plugin-datecs-printer
  2. ionic cordova plugin add https://github.com/giorgiofellipe/cordova-plugin-datecs-printer.git
  3. ionic cordova plugin add cordova-plugin-datecs-printer

How is the import in the app.module.ts file?

sundayokoi commented 4 years ago

use 3, thats what I used

vishwas097 commented 4 years ago

@sundayokoi Do we need to import this in app.module.ts?