ESC-POS-.NET icon indicating copy to clipboard operation
ESC-POS-.NET copied to clipboard

How to print logo from a Xamarin Forms Application

Open N4511 opened this issue 5 years ago • 6 comments

Hi, I am trying to print logo using this nuget package. Could not figure out how to print the logo yet. I have tried getting image byte code using the webclient.downloadData("ImageURL"). But it only prints gibberish instead of the logo itself. Could you be kind enough to share how to print a logo from Xamarin forms application. Thanks.

N4511 avatar Jul 12 '20 17:07 N4511

Hey @N4511 thanks for trying the library out. Do you have an Epson printer? Can you try printing from outside of the Xamarin app (directly on Windows) using the test app to see if it works correctly?

lukevp avatar Jul 14 '20 01:07 lukevp

Thanks for coming back to me so quickly. My printer is not a Epson printer. I should try to print using the test print. Thanks. But if you could figure out how to print from a xamarin forms would be highly appreciated.

N4511 avatar Jul 17 '20 12:07 N4511

Just used the test app. And the result is still the same. I guess it's an issue on my printer side. Thanks.

N4511 avatar Jul 23 '20 09:07 N4511

@N4511 What printer do you have? What OS and Driver?

lukevp avatar Jul 23 '20 13:07 lukevp

The model of my receipt printer is BTP-R180ii and the make is SNBC. It uses its generic windows driver that has been provided by the maker. Thanks.

N4511 avatar Aug 06 '20 17:08 N4511

Could you put up an example Xamarin forms app? Or make a PR to this repo with another example? I can give it a try with my printer to see if I can find the issue.

lukevp avatar Aug 07 '20 12:08 lukevp

closing due to staleness.

lukevp avatar Feb 02 '23 14:02 lukevp