USB host port opening in ZBI for data input

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

Granville Phillips
Hello Ines,Did you ever solve

Hello Ines,

Did you ever solve this issue?

I am having the same issue.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Ines Alcantara
Hi Granville,Unfortunately,

Hi Granville,

Unfortunately, what I was told back then is that USB host port was not available for ZBI data input. Not sure if that has changed with newer versions of Link-OS, though. You may ask the BU just in case (and let me know their reply ;-) ).

Best regards

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Jan Korff
Greetings, how to get "USB

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 ?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Prokhorov
Hello Jan,Also, you may find

Hello Jan,

Also, you may find useful a following information:

KEYBOARDINPUT.ZPL

https://www.zebra.com/content/dam/zebra/manuals/printers/desktop/zd620-zd420/zd620-zd420-ug-en.pdf#page=197

Enter Data for a Stored File with a USB Keyboard and Print a Label

https://www.zebra.com/content/dam/zebra/manuals/printers/desktop/zd620-zd420/zd620-zd420-ug-en.pdf#page=203 https://www.zebra.com/content/dam/zebra/manuals/printers/desktop/zd620-zd420/zd620-zd420-ug-en.pdf#page=200

To make your driver and the printer being properly found by ZBI-developer you may need to check your ZBI activation for exact printer. Also you may need to reinstall the driver.

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Bence Zakany
Dear Dmitry Prokhorov Thank

Dear Dmitry Prokhorov

Thank you for the helpfull links, but i am looking for these things in ZBI code. I have a project, whitch is printing label with data, that come from my mssql database or mysql database. And i need one input, as barcode scanner, that is connecting via usb to my printer(zebra zt410 rfid).

I would like to ask some help in this case, for example how can i use a barcode scanner as input, and how can i print the scanned data . And if i scanned data, after that i print a label tha contain datas from mysql database.

Thank you for your answer.

Kind regards

Zákány Bence

PLC programozó mérnök

Continental Dohányipari Zrt.

A Continental Dohányipari Csoport tagja

3980 Sátoraljaújhely, Dohány u 1-3.

Telefon: (+36 47) 523 726

Fax: (+36 47) 321 228

E-mail: <mailto:bence.zakany@continentaltobacco.com> bence.zakany@continentaltobacco.com

<http://www.continentaltobacco.com/> www.continentaltobacco.com

Borsod-Abaúj-Zemplén Megyei Bíróság

Cégjegyzékszám: 05-10-000070.

Leírás: Leírás: Z:\CTC Logo\CT Csoport_kicsi_uj_szlogen.jpg

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Prokhorov
Hello Bence,I provided you a

Hello Bence,

I provided you a response there:

To add your mysql data to a label you can send your ZPL code with populated values from computer to a printer.

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments