USB host port opening in ZBI for data input

I Ines Alcantara 3 years 6 months ago
136 1 0

Hi all,
 
While creating a ZBI program for a ZT410 printer, I am trying to open port USB host (the one on the front of the printer) for data input. The idea is to use a barcode scanner directly connected to the printer to input variable data that will then be included in the label to be printed.
 
I have checked the ZBI programming manual, but only the following ports are included:
Port/Connection > ZBI Name > Preferred Access Commands/Functions
Serial > "SER" > OPEN, CLOSE
Parallel > "PAR" > OPEN, CLOSE
USB > "USB" > OPEN, CLOSE
ZPL parser > "ZPL" > OPEN, CLOSE
TCP Server > "TCP", "TCPX" > SERVERSOCKET, SERVERCLOSE, ACCEPT, CLOSE
TCP Client > "TCP" > CLIENTSOCKET, CLOSE
UDP Server > "UDP" > SERVERSOCKET, SERVERCLOSE, ACCEPT, CLOSE
UDP Client > "UDP" > CLIENTSOCKET, CLOSE
Email Sender > "EML" > OPEN, CLOSE
Bluetooth > "BLU" > OPEN, CLOSE
 
The instruction in which it would be included would be the following:
40 OPEN # 2 : NAME "USB_HOST" --> Where "USB_HOST" has been my last try
 
Can anybody help providing the correct ZBI name for that port?
 
Thank you in advance for your help

Please Register or Login to post a reply

1 Replies

J Jan Korff

Greetings, how to get "USB_HOST" Input ZBI II on ZD420 (ZBI liz. activated).
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"

1000 GOTO 40

An other question i am using zebradesigner driver and the printer is not to be found by "ZBI-developer". any Idea ?

CONTACT
Can’t find what you’re looking for?