api - How to send image to Zebra printer memory? -


i have zebra gk420t printer. want print stickers width image on it, when use api zebra provides linux error appears in console.

"invalid os"

sometimes appears other error.

"could not open device using implicit connection string, attempted tcp:zebra_technologies_ztc_gk420t:9100"

or

"invalid arguments length".

for now, me imposible use api...

any suggestion? thanks!

edit:

i'm trying use command:

"java -jar zsdk_api.jar graphic -n somepic.png -p zebra_technologies_ztc_gk420t -d"

i'm assuming using tcp, indicated connection string. however, connection string suggests might using usb since name have provided seems zebra driver name. anyways, assuming tcp, can use printer's ip address , might have more luck:

tcp:192.168.0.1:9100

also note linux api doesn't support usb. sdk requires windows driver usb communication. zebra's newest api doesn't technically support printer, languages similar , worth testing out.

if api doesn't work circumstances, zpl manual ~dg command (page 174) see how download graphics, api far easier use.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -