0

My requirement is to print a byte array using a wifi printer in Xamarin Forms. I have placed an image and a QR code to a screen and took a screenshot of it programmatically so that I have converted it to byte[]. Now I have to print it. I know that there is no direct way to do this and should implement dependency service for this. I have already tried this and this but didn't work. Can anyone please provide a working example for this?

Nithin Thampi
  • 106
  • 1
  • 1
  • 12
  • Can you add some more information to the question? What did not work about the two methods that you tried. what is the code that you are currently working with? Are you trying to print to PDF or just the screen? how does dependency service fit into the picture. – Neil Sep 13 '18 at 13:25
  • 1
    Print to what - an actual printer? What kind of printer? What does the byte array represent? Is it printable text, or an image, a PDF, etc? – Jason Sep 13 '18 at 13:32
  • I have to print a picture and QR code. I have placed these two in a screen and took a screen shot of the screen programmatically and so that I have a byte[] of it. – Nithin Thampi Sep 13 '18 at 13:33
  • Yes I have to print it using a wifi printer. – Nithin Thampi Sep 13 '18 at 13:34
  • @NithinThampi I would also like to know the solution for this... – hashimks Oct 08 '18 at 06:37

0 Answers0