Connect and Print in th esc/pos mobile printerusing ionic

喜夏-厌秋 提交于 2021-01-28 07:36:38

问题


I am thinking to develop a Android application related to connect a Bluetooth POS printer and print the same in printer ...once connected device in local starage and transaction details are stored in local db and sync to server on daily basis .. I I have limited experience in dotnet as well as angular. Is xamarin or ionic is best suited for my requirement please suggest

EDIT: i need sample solution ionic latest version application which print in the esc/pos thermal printer take the printer from Paired devices (Printer is able to auto connect to mobile)

Please any experienced in suggest me a print the simple text in pos portable printer ( For ex: https://www.tvs-e.in/mp-280-lite/)


回答1:


I haven't tried Xamarin, but I have been developing Ionic from a simple mobile application until a quite complex POS application by using Ionic and the result is pretty decent.

Regarding the printing functionality, I have updated the demo application in Ionic 5. Check it out. :)

ESC Pos Encoder Demo (Ionic 5)




回答2:


I would recommend using Ionic if you don't have experience within .Net. Ionic is only using Web technology and Angular or React or Vue Framework.

You have some exemple to use direct connection to Bluetooth Printers :

  • How to connect bluetooth printer using ionic 3?
  • https://levelup.gitconnected.com/how-to-print-on-a-bluetooth-printer-using-your-ionic-application-ceabc45abf75

There is a lot of sample on Github.



来源:https://stackoverflow.com/questions/64552320/connect-and-print-in-th-esc-pos-mobile-printerusing-ionic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!