×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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 sad

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 smile

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" winky smile

Best regards
Tyge

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

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
www.robots2000.com

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

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.  

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

(OP)

Hello MBumpy.

That sounds good smile. 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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close