Open paddypawprints opened 6 years ago
Moved on some - enabled _DEBUG on UsbHost
Endpoints are not opened (was using wrong PID). Nothing is printed though.
OK. It is now running thought the print code but nothing comes out on the printer. No apparent errors.
Code: switch (typeof device) { case "QL720NWUartUsbDriver": // Initialize Printer Driver with USB UART device printer <- QL720NW(device);
// Print a text label
printer
.setOrientation(QL720NW.LANDSCAPE)
.setFont(QL720NW.FONT_SAN_DIEGO)
.setFontSize(QL720NW.FONT_SIZE_48)
.write("San Diego 48 ")
.print();
// Configure Barcode
barcodeConfig <- {
"type": QL720NW.BARCODE_CODE39,
"charsBelowBarcode": true,
"width": QL720NW.BARCODE_WIDTH_M,
"height": 1,
"ratio": QL720NW.BARCODE_RATIO_3_1
}
// Print bacode of the imp's mac address
printer.writeBarcode(imp.getmacaddress(), barcodeConfig).print();
Hi,
I added the source from this project to my device, made sure the PID was correct, and plugged in the printer. I get the following error when trying to print the test page. Any ideas on how to troubleshoot. (I am a newbie as far as the Imp05 USB device goes).
thanks.