I have managed to print from pixel, but it wasn't the solution. When I tried to use the esc/p example from the wiki, it didn't print at all. I'm attaching the logs of the failed esc/p
2021-06-08 16:13:11,866 [INFO] Allowed An anonymous request to connect to QZ Tray
2021-06-08 16:13:11,878 [DEBUG] Message: {"call":"print","promise":{},"params":{"printer":{"name":"Brother QL-800"},"options":{"bounds":null,"colorType":"blackwhite","copies":1,"density":0,"duplex":false,"fallbackDensity":null,"interpolation":"bicubic","jobName":null,"legacy":false,"margins":0,"orientation":"portrait","paperThickness":null,"printerTray":null,"rasterize":false,"rotation":0,"scaleContent":false,"size":null,"units":"in","altPrinting":false,"encoding":null,"spool":null},"data":["\u001bia\u0000\u001b@","Printed by ","QZ-Tray","\n\n","\u001bit0","r1","e0he\u0000w4z2","B1234567890\\","\n\n","\f"]},"timestamp":1623186791870,"uid":"34ou2g","signAlgorithm":"SHA1","position":{"x":683,"y":384}}
2021-06-08 16:13:11,889 [DEBUG] Calculated dialog centered at: java.awt.Point[x=504,y=296]
2021-06-08 16:13:12,362 [INFO] Allowed An anonymous request to print to Brother QL-800
2021-06-08 16:13:12,365 [DEBUG] Using qz.printer.action.PrintRaw to print
2021-06-08 16:13:12,365 [DEBUG] Searching for PrintService matching Brother QL-800
2021-06-08 16:13:12,365 [DEBUG] Found 11 printers
2021-06-08 16:13:12,365 [DEBUG] Found match: Brother QL-800
2021-06-08 16:13:12,561 [DEBUG] PrintEvent on sun.print.Win32PrintJob@5db568a4
2021-06-08 16:13:12,562 [DEBUG] PrintEvent on sun.print.Win32PrintJob@5db568a4
2021-06-08 16:13:12,562 [INFO] Printing complete
2021-06-08 16:13:12,563 [INFO] Connection closed: 1005 - null
2021-06-08 16:13:12,564 [INFO] Closing all communication channels for An anonymous request
2021-06-08 16:20:27,869 [INFO] SSL certificate is still valid for 820 more days: 2023-09-06T18:00Z. We'll make a new one automatically when needed.