Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to Send Print to Epson EM T82 POS Printer from Xamarin Forms App?

$
0
0

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?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>