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
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