Image printing on label

j jean garay 3 years 6 months ago
1252 1 0

Hello,  write Jean Pierre,
We have a printer Zebra R4M Plus (203 dpi)  7.3.6
and I have a query of how to upload an image in the memory of the printer,
I command to print the labels using a .bat that copies a .txt to the printer.
 
^XA
^BY2^FO165,13^BCN,49,N,N,N^SN00099C00001,1,Y^FS
^A0N,28,28^FO490,47^FD17/10/2017^FS
^A0N,26,24^FO157,162^FDCOLGATE GYE^FS
^A0N,26,24^FO499,13^FDFEC.EMIS^FS
^A0N,66,60^FO157,90^SN00099C00001,1,Y^FS
^FO40,36^XGImg00011,1,1^FS
^PQ1,1,1,y^FS
^XZ
 
-This prints the normal text and bar code, but I also want a logo to appear on the label (^FO40,36^XGImg00011,1,1^FS ).
- For this I have to pull an image from the printer, and I would like to know how I upload the image "Img00011" to the printer memory,
or which is the command to upload an image to the printer and in what format it should be, I read that it should be in .GRF format and I have no idea how to convert a jpg or png image to GRF.
 
-I would also like to know if it lets you print the image from an example location: -- ^FO40,36^XG (C:\Img00011.png)  ,1,1^FS ---
-I read that to upload an image to the printer you need a program the ZTOOLS which I can not execute (work on Windows 7 64 bit).
 
Please, I need your support.
Thank you,

Please Register or Login to post a reply

1 Replies

Y Yanis Dalabiras

1. First of all, we need to store the image on to the printer. For example, we have a "Zebra" logo image in ASCII and we need to download the image on to the E: drive on the printer, with the filename of ZLOGO.GRF. We could use the following command

~DGE:ZLOGO.GRF,2580,030,00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F8000000000000000000000000000000000000000000000000000000001FFE000000000000000000000000000000000000000000000000000000001FFE000000000000000000000000000000000000000000000000000000001FFE000000000000000000000000000000001FFFFFFFFF000000000000001FFE000000000000000000000000000000003FFFFFFFFF800000000000001FFE000000000000000000000000000000003FFFFFFFFF800000000000001FFE000000000000000000000000000000003FFFFFFFFF800000000000001FFE000000000000000000000000000000003FFFFFFFFFC00000000000001FFE000000000000000000000000000000003FFFFFFFFF800000000000001FFE000000000000000000000000000000003FFFFFFFFF800000000000001FFE000000000000000000000000000000003FFFFFFFFF800000000000001FFE000000000000000000000000000000001FFFFFFFFF800000000000001FFE000000000000000000000000000000001FFFFFFFFF800000000000001FFE000000000000000000000000000000000000001FFF800000000000001FFE000000000000000000000000000000000000001FFF000000000000001FFE000000000000000000000000000000000000003FFF000000000000001FFE000000000000000000000000000000000000007FFE000000000000001FFE000000000000000000000000000000000000007FFE000000000000001FFE00000000000000000000000000000000000000FFFC0000007FF000001FFE00FF80000000007E00000FFF00000000000000FFF8000007FFFE00001FFE07FFE00000FF01FF8000FFFFF0000000000001FFF800001FFFFF80001FFE1FFFF80001FF83FF8007FFFFFC000000000003FFF000007FFFFFC0001FFE3FFFFC0001FF8FFF801FFFFFFE000000000003FFE00000FFFFFFF0001FFE7FFFFF0001FF8FFFC03FFFFFFF800000000007FFE00001FFFFFFF8001FFFFFFFFF0001FF9FFF807FFFFFFF80000000000FFFC00003FFFFFFFC001FFFFFFFFF8001FFBFFF807FFFFFFFC0000000000FFFC00007FFFFFFFC001FFFFFFFFFC001FFFFFF807FFFFFFFE0000000001FFF800007FFC07FFE001FFFFFFFFFC001FFFFFF807FFFFFFFE0000000003FFF00000FFF001FFE001FFFFFFFFFE001FFFFFF807FF007FFE0000000003FFF00001FFE000FFF001FFFFC0FFFE001FFFFFF807F8003FFF0000000007FFE00001FFC0007FF001FFFF007FFF001FFFF83807C0001FFF0000000007FFC00003FFC0007FF801FFFE003FFF001FFFE0000700000FFF000000000FFFC00003FF80003FF801FFFC001FFF001FFFC0000000000FFF000000001FFF800003FF80003FF801FFF8001FFF001FFF800000000007FF000000001FFF800003FF80003FF801FFF0000FFF801FFF000000000007FF000000003FFF000007FF80003FF801FFE0000FFF801FFF000000000007FF000000007FFE000007FF00003FF801FFE0000FFF801FFE000000000007FF000000007FFE000007FFFFFFFFF801FFE00007FF801FFE000000000007FF00000000FFFC000007FFFFFFFFF801FFE00007FF801FFC000000000007FF00000000FFF8000007FFFFFFFFF801FFE00007FF801FFC000000007FFFFF00000001FFF8000007FFFFFFFFF801FFE00007FF801FFE0000000FFFFFFF00000003FFF0000007FFFFFFFFF801FFE00007FF801FFC0000007FFFFFFF00000003FFE0000007FFFFFFFFF801FFE00007FF801FFC000000FFFFFFFF00000007FFE0000007FFFFFFFFF801FFE00007FF801FFC000003FFFFFFFF0000000FFFC0000007FFFFFFFFF001FFE00007FF801FFC000007FFFFFFFF0000000FFFC0000007FF0000000001FFE00007FF801FFC00000FFFFFFFFF0000001FFF80000007FF8000000001FFE00007FF801FFC00000FFFE007FF0000003FFF00000007FF8000000001FFE00007FF801FFC00001FFF0007FF0000003FFF00000007FF8000000001FFE0000FFF801FFC00001FFE0007FF0000007FFE00000007FF8000000001FFE0000FFF801FFC00003FFC0007FF0000007FFC00000007FF8000000001FFF0000FFF001FFC00003FFC0007FF000000FFFC00000007FFC000000001FFF8001FFF001FFC00003FFC0007FF000001FFF800000003FFC000000001FFFC001FFF001FFC00003FFC0007FF000001FFF800000003FFE000000001FFFE003FFF001FFC00003FFC000FFF000003FFF000000003FFF00000E001FFFF007FFE001FFC00003FFC001FFF000003FFFFFFFFFC01FFF80003E001FFFFC1FFFE001FFC00003FFC003FFF000003FFFFFFFFFC01FFFF003FF001FFFFFFFFFC001FFC00003FFE007FFF000003FFFFFFFFFE00FFFFFFFFE001FFFFFFFFFC001FFC00001FFF81FFFF000007FFFFFFFFFE007FFFFFFFE001FFFFFFFFF8001FFC00001FFFFFFFFF000007FFFFFFFFFE007FFFFFFFE001FFBFFFFFF8001FFC00000FFFFFFFFF000007FFFFFFFFFE003FFFFFFFE001FF9FFFFFF0001FFC00000FFFFFFFFF000003FFFFFFFFFE001FFFFFFFE001FF8FFFFFE0001FFC000007FFFFF9FF000003FFFFFFFFFE0007FFFFFFE001FF87FFFFC0001FFC000003FFFFF1FF000003FFFFFFFFFC0001FFFFFF8001FF81FFFF00001FFC000000FFFFC1FF000001FFFFFFFFFC00007FFFFC0000FF00FFFC00000FF80000007FFF01FE0000000000000000000007FF80000000001FF00000000000000007F8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

2. Once the logo image is there, then we can recall the logo image with ^XG command to print. Below is the ZPL that prints out the original barcode along with the ZLOGO.GRF, with the update on one command only. Depending on the size of the logo image, we can adjust the position where we want to print.
^XA
^BY2^FO165,13^BCN,49,N,N,N^SN00099C00001,1,Y^FS
^A0N,28,28^FO490,47^FD17/10/2017^FS
^A0N,26,24^FO157,162^FDCOLGATE GYE^FS
^A0N,26,24^FO499,13^FDFEC.EMIS^FS
^A0N,66,60^FO157,90^SN00099C00001,1,Y^FS
^FO150,180^XGE:ZLOGO.GRF,1,1^FS
^PQ1,1,1,y^FS
^XZ

Hope this helps.

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