printing - Not able to store graphics on Zebra GK420t - JAVA - Windows 8.1 -


i'm trying store image on zebra gk420t printer before printing. image must converted pcx black , white before being sent through commands of documentation. command "gi", printer prints ticket if image has been saved or not.

the "gm" command allows me save image, tried send file containing path of image, directly send image path in string nothing happened. "gk" command above deletes image stored in machine has been registered before same name 1 want store now.

i not understand why order wrong. join doc , code in hopes me.

i managed print same pcx file zebra gk420t java code based on linux , not windows, sure size of picture not problem.

i tried lot of things, here 2 examples:

http://zupimages.net/up/16/30/y60w.png

http://zupimages.net/up/16/30/b811.png

thank :)

i found out how print graphic, i'm posting answer future users.

here java code :

http://zupimages.net/up/16/31/yrwe.png

in fact, had realize printer understand epl code , zpl code. tried around epl decided send things in zpl , worked !

first step :

  • register graphic in printer. need download - zebranet bridge enterprise -, ables convert picture zpl file.

  • when you're done, need code. example, open with bloc note can copy data , send directly printer.

finally :

send :

"^xa";

"^fo20,20^xgr:{nameofgraphic},1,1^fs"

"^xz";

to print graphic.


Comments