Here I am starting a new activity for print data to my Epson TM T82 POS Thermal printer.And my Printer is connected through USB OTG Cable
public void printData()
{
String dataToPrint = "$big$This is a printer test$intro$posprinterdriver.com$intro$$intro$$cut$$intro$";
Intent intentPrint = new Intent();
intentPrint.SetAction(Intent.ActionSend);
intentPrint.PutExtra(Intent.ExtraText, dataToPrint);
intentPrint.SetType("text/plain");
this.StartActivity(intentPrint);
}
but this code is not working as expected.
so how to send few lines of text for print to Epson POS Thermal from Xamarin Forms App?.
anyone have any example for print data using Epson POS Printer?