Mirror-ed files unusable

a aadf afsdff 3 years 7 months ago
27 1 0

Hi,
 
I got the mirror function to work on ZT410 - files from FTP are transferred to drive E.
 
I have a truetype font file in Z64 encoding (data starts like this ":Z64:eJzs".... )  from where I removed the download header as written in documentation.
There are no characters present that must be substituted with their hex equivalent, so this is not done.
 
Whenever I try to use the font like this ( using the script editor in zebra web server), nothing prints with that font:
 
^XA
^A@N,20,20,E:TT0003M_.TTF
^FO20,20^FD This line gets printed (this font is from Mirror-Example)^FS
^A@N,20,20,E:ARIALNAR.TTF
^FO20,80^FD This line is NOT printed (my own font ) ^FS
^XZ
 
If I copy my font to printer from console (copy ARIALNAR.TTF \\computername\printername ) then it works also.
It only doesn't work with mirrored files (also tried with .GRF file).
 
What am I missing?
Am I doing the formatting wrong?
 
The original font file looks like this:
 
^XA^IDR:ARIALRI.FNT^XZ
~DUR:ARIALRI.FNT,649244,:Z64:eJzsvQe4ZUWVNrzO2TmHE+65fe/tQJME6QZRBEREiY4iKAqCkSAZCY0MShDQUUdFVBQMgwiKAVAxjYg4oI6SFEGCqIihBSQJKI4Jev/vu2rvc8693U03fP48//f8s/et2ql21aqqVWu9a1Xtc6UlIgNEtpyywx4v3Pnd1+70UwmufaXIzH/vvMOOO/06+dVLxf/E4SKte3fefbc93vDz+14g/ifxfPkjO+/xihekR996ngRvf7HIjl978cv32OWHH7OOE3nGwSKxvdseS5/xp9+f9GWRto9SXr/79i9++fo3bLsD8nsmrrfYc4ddX7n7Ww99SGRb5F98aP8j9j3qgj/+WySto/D+9Ir9jzt24c67Pv0yaX0Mz50DDzzqoCP+fviSh6R1Op67zzpo32VHyUAC5Lcu8ssPOvzNBx7zvl22ltaPbxP3nT8/+IAjjr/l2+deK7I7yF948MFv2PeA5fLTf8PFe1k+b6Q7Z4fh+r9xve7BRxx7/Hdnvvc30Iv8N5XD3nDMG++67teLxN/rayLdDQ8/cv99N9xiHVta596M5/YR+x5/VLaN9Wu8
...
zmoR4Y/FWA7H8WKvLoXs9fvPk78zeO98Hz2syfeb38ty1oa0vUg9NO9Oeh+VZHDBfTlxPeFUyYtwZxVsGkp8uzhM6u2LJDwWRlRrlwyMT09xu7Jg+K/eXT0GerffvnvT+Om/nNtxWy+sMhv0fFdVh0Q==:24C6[CR][LF]
 
After processing (removing ^XA..^XZ and download headers), I have it like this:
 
:Z64:eJzsvQe4ZUWVNrzO2TmHE+65fe/tQJME6QZRBEREiY4iKAqCkSAZCY0MShDQUUdFVBQMgwiKAVAxjYg4oI6SFEGCqIihBSQJKI4Jev/vu2rvc8693U03fP48//f8s/et2ql21aqqVWu9a1Xtc6UlIgNEtpyywx4v3Pnd1+70UwmufaXIzH/vvMOOO/06+dVLxf/E4SKte3fefbc93vDz+14g/ifxfPkjO+/xihekR996ngRvf7HIjl978cv32OWHH7OOE3nGwSKxvdseS5/xp9+f9GWRto9SXr/79i9++fo3bLsD8nsmrrfYc4ddX7n7Ww99SGRb5F98aP8j9j3qgj/+WySto/D+9Ir9jzt24c67Pv0yaX0Mz50DDzzqoCP+fviSh6R1Op67zzpo32VHyUAC5Lcu8ssPOvzNBx7zvl22ltaPbxP3nT8/+IAjjr/l2+deK7I7yF948MFv2PeA5fLTf8PFe1k+b6Q7Z4fh+r9xve7BRxx7/Hdnvvc30Iv8N5XD3nDMG++67teLxN/rayLdDQ8/cv99N9xiHVta596M5/YR+x5/VLaN9Wu8
...
zmoR4Y/FWA7H8WKvLoXs9fvPk78zeO98Hz2syfeb38ty1oa0vUg9NO9Oeh+VZHDBfTlxPeFUyYtwZxVsGkp8uzhM6u2LJDwWRlRrlwyMT09xu7Jg+K/eXT0GerffvnvT+Om/nNtxWy+sMhv0fFdVh0Q==:24C6[CR][LF]

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

HI,
Please make sure you are putting the font into the CMD directory with the FULL ZPL header.  One other issue is the ZPL command you are using to download.  We essentially are deprecating the ~DU command.  We more recommend using the !CASDF command to download TTF fonts. 
There are a few methods to handle this, but the easiest method is using the Printer Setup Utilities | Zebra with the original TTF file to get a fully formatted !CASDF output.

Download and install Setup Utilities
Modify your print driver to have it print to file (ports)
Open Setup Utilities
Click the printer
Click 'Open Printer Tools'
Click 'Action' -> 'Send File'
Browse to and select the TTF font and click 'Send'
The file created by the driver can then be placed directly into the mirror CMD folder.

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