Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed on: ZPL II commands for download and print graphics ( ~DY) 1

Status
Not open for further replies.

Tyge

IS-IT--Management
Oct 24, 2008
2
DK
Hello

I've tried to download (store) a graphical image (bmp-file) to a Zebra SM4 label printer (supporting ZPL II) and then print it on a label.
The method is to ftp (put) simple statements / files to the printer (and then later build in the statements in SAP Script). But I can't get the simple statements to work :-(

What I did:
Download image to printer ZEBRA SM4:

ftp to the printer a file (N1.txt) with this command:

~DYR:NX.BMP,B,B,462,,

(printer responding "DATA" and blinking dots, apparently waiting for the graphical data)

ftp the image file (NX.BMP)

(printer seems now OK, ready to print)

Printing image:

ftp to the printer a file (DG2.txt) with this command:

^XA
^FO50,50^XGR:NX.BMP,1,1^FS
^XZ

Result: Blank label prints

Problem: How should the commands/files be setup in order to get this exercise work ?

(the three files are attached)

I tried a similar execise with the ~DG command (example from the programming manual) and it worked well!! Label with a simple graphical image came out of the printer :)

I hope this can be solved not using any additional tools (as the manual "promise"). If additional tool is needed (e.g. ZTools to convert MBP-file to other format) then please still provide basic commands as we will need to include basic ZPL II commands in SAP Script (the overall label print program including barcodes, text and graphics).

Thanks for any help - especially from people who have tried this in "real life" ;-)

Best regards
Tyge
 
if this is a new installation you should or used to be able to call Zebra direct.
Phone: +1 847 634 6700
Toll-free: +1 866 230 9494

DougP
[r2d2] < I Built one
 
Your process seems to work but there maybe something wrong with the graphic. I tried your process with another BMP file and it worked ok.
 

Hello MBumpy.

That sounds good :). Will it be possible for you to provide me the bmp-file (and commands) that worked? I'm curious to see it work on our own printers.

My e-mails is tym@topsoe.dk if you need that.

Thanks !
Tyge
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top