Android Question EscPosPrinter and using WriteQRCode

Kevin Hartin

Active Member
Licensed User
I am happily generating QRcodes as images and printing them using the PrintImage method, but I want to have the QRcode generated on the printer using the ESC Z command and have tried the WriteQRCode method without success.

I am using the following code;
WriteQRCode:
Dim Printer1 As EscPosPrinter
Dim QRtext As String = "https://bookingmy.travel/"
Printer1.WriteQRCode(0,"H",4,QRtext)

The printer simply prints the QRtext twice.

Has anybody been successful doing this?

And yes, I have confirmed that the printer supports ESC Z to create a QRcode.

thanks,
Kev
 
Top