ZBI USB Barcodescanner USB_Host


Audience

how to get "USB_HOST" Input ZBI II
my code so far:

10 CLOSE ALL
20 OPEN #1: NAME "USB_HOST" ???????
30 OPEN #2: NAME "ZPL"
40 INPUT #1: A$

0130 PRINT #2: "^XA"
0135 PRINT #2: "^FO100,100"
0150 PRINT #2: "^BQN,2,3,M,7" & A$ & ""
0155 PRINT #2: "^FDMM,A" & A$ & "^FS"
0200 PRINT #2: "^FS"
0200 PRINT #2: "^XZ"

Submitted by Nicolas Gingreau on April 05, 2022 Permalink

Hello,
There is no way to receive data from the USB Host port in the ZBI.
This functionality have never been developped.
The best way is to use a Serial cable (True RS232) to connect the scanner to the printer and open the "SER" port in the ZBI program...