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


Converting and image to a GRF file or hexadecimal string.

Converting and image to a GRF file or hexadecimal string.

Converting and image to a GRF file or hexadecimal string.

I'm trying to print an image on a ZPL label but am having trouble generating the Hexadecimal string.  Currently i'm trying to convert my .tiff image to a GRF image because that seems to be the ideal formate.

When i run the conversion on the tiff image in ZTools nothing happens.  No GRF file is created, and there is no error messaged.

I've also tried installing zebra designer because that was recommended in another thread, but it doesn't have any option for converting images.

I've tried using these two sites to convert my image to base64, and then hexadecimal, but is only printed static on my label.  


Any help would be greatly appreciated.  Thanks,

RE: Converting and image to a GRF file or hexadecimal string.

A little update.  I figured out how to run the converter from command line, and now I'm able to see the error messaged.

commmand line:

cd c:\ztools
zimaglit.exe c:\ztools\image.tif c:\ztools\newimage.grf

error message:
Tiff compression scheme not supported.

I'm installing gimp now to see if it will let me save a tif image with different or no compression.

RE: Converting and image to a GRF file or hexadecimal string.

Gimp allowed me to save the image as a .tif without any compression.  ZTOOLS was then able to generate a GRF file.  I opened it with notepad and it contained the proper ZPL code to load the image.

Hopefully google indexes this thread so the next poor sap like me doesn't have to spend 8 hours figuring this stuff out.

tl;dr:  GIMP and ZTOOLS!!

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