Page 151 - ZPL II Programming Guide
P. 151

ZPL Commands    131
                                                                                                         ~DS


               ~DS


                     Download Intellifont (Scalable Font)


                              Description  The ~DS command is used to set the printer to receive a downloadable scalable
                              font and defines the size of the font in bytes.
                              The ~DS command, and its associated parameters, is the result of converting a vendor-
                              supplied font for use on a Zebra printer. To convert this font use the ZTools utility.

                              Format  ~DSd:o.x,s,data

                              This table identifies the parameters for this format:


                               Parameters           Details
                               d = device to store   Accepted Values: R:, E:, B:, and A:
                                    image           Default Value: R:

                               o = image name       Accepted Values: 1 to 8 alphanumeric characters
                                                    Default Value: if a name is not specified, UNKNOWN is used

                               x = extension        Fixed Value: .FNT
                               s = size of font in   Fixed Value: this number is generated by ZTools and should not
                                    bytes           be changed
                               data = ASCII         Fixed Value: this number is generated by ZTools and should not
                                    hexadecimal     be changed
                                    string that
                                    defines font


                               Example • This example shows the first three lines of a scalable font that was converted
                               using the ZTools program and is ready to be downloaded to the printer. If necessary, the
                               destination and object name can be changed.
                                   ~DSB:CGTIMES.FNT,37080,
                                   OOFFOOFFOOFFOOFF
                                   FFOAECB28FFFOOFF


                              Comments  Downloaded scalable fonts are not checked for integrity. If they are corrupt, they
                              cause unpredictable results at the printer.

















               9/15/06                              ZPL II Programming  Guide                  45541L-004 Rev. A
   146   147   148   149   150   151   152   153   154   155   156