Open ZebraDesigner programmatically

R Ratti Manuele 2 years 11 months ago
45 1 0

Hi,
  I'm trying  to open an lbl file programmatically, because i want to print it with zebra designer, but I have an error:
"The program has encontered an error and needs to close. Any changes to the document since last save may have been lost."

i use this vb6 code:
WinWnd = ShellExecute(WinWnd, "Open", "C:\SampleEti.lbl", vbNullString, vbNullString, SW_SHOWNORMAL)

if I open the file by Run Command, it's OK.
What's wrong ??
Thank you
Manuele Ratti

Please register or login to post a reply

1 Replies

D Dmitry Prokhorov

Hello Ratti,

You don't need open zebra Designer just to print your labels. Your label file is just a text file with ZPL language commands that will print your label in case you send it to your printer directly or (much better) via Link-OS Multiplatform SDK​ . You may find useful following discussions on a topic of printing from VB:

Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies

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