4 Replies Latest reply on Sep 1, 2017 1:05 AM by aadf afsdff

    Mirror-ed files unusable

    aadf afsdff

      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]

        • Re: Mirror-ed files unusable
          Robin West

          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.

          1. Download and install Setup Utilities
          2. Modify your print driver to have it print to file (ports)
          3. Open Setup Utilities
          4. Click the printer
          5. Click 'Open Printer Tools'
          6. Click 'Action' -> 'Send File'
          7. Browse to and select the TTF font and click 'Send'
          8. The file created by the driver can then be placed directly into the mirror CMD folder.
            • Re: Mirror-ed files unusable
              aadf afsdff

              Hi,

               

              Thanks for the response!

               

              I have followed the eight steps but the file "created" is exactly the same

              as the TTF font. They are binary equal, so there is no processing done to it for some reason

              and trying to use it fails.

               

              What I did instead was the following

              1. Download and install ZebraNet Bridge Enterprise

              2. Open it and select 'Tools' -> 'Font Wizard'

              3. Browse to the TTF source font.

              4. Click 'Generate ZPL and send to selected printer(s)'

               

              This last step generates a ZPL file which starts like this:

              Placing this file into FTP's 'commands' (not 'CMD') folder copies the file into printer and I can use it.

              Removing the highlighted part from the file and placing it into FTP's 'files' folder works as well.

               

              Now that the fonts issue is solved, I am still unable to get graphics files (.grf files) working.

              The files get copied to printer but when using them they either display nothing or leave the Data LED blinking.

               

              The method I used to create graphics files was:

              Use 'Graphics Conversion Wizard' in ZebraNet Bridge Enterprise which allows to produce two

              kinds of files;

              • .GRF (Uncomporessed)
              • .PNG (Comporessed)

               

              Here's the start of generated grf file:

              I tried to use it the same way as the font files by placing it to 'commands' folder with the full header

              and also to 'files' folder without the download header but neither is working. The PNG version is also

              not working.

               

              Can you give some suggestions how to get the graphics files working?

              Also, I can't find any documentation for !CASDF command. Can you refer to some?

               

              Best Regards