Page 81 - ZPL II Programming Guide
P. 81

ZPL Commands    61
                                                                                                         ^BD


                          Special Considerations for ^FD when Using ^BD
                              The ^FD statement is divided into two parts: a high priority message (hpm) and a low priority
                              message (lpm). There are two types of high priority messages. One is for a U.S. Style Postal
                              Code; the other is for a non-U.S. Style Postal Code. The syntax for either of these high priority
                              messages must be exactly as shown or an error message is generated.


                              Format  ^FD <hpm><lpm>
                              This table identifies the parameters for this format:


                               Parameters           Details

                               <hpm> = high         Accepted Values: 0 to 9, except where noted
                                    priority message   U.S. Style Postal Code (Mode 2)
                                    (applicable only    <hpm> = aaabbbcccccdddd
                                    in Modes 2 and
                                    3)                    aaa = three-digit class of service
                                                          bbb = three-digit country zip code
                                                        ccccc = five-digit zip code
                                                         dddd = four-digit zip code extension (if none exists, four
                                                        zeros (0000) must be entered)
                                                      non-U.S. Style Postal Code (Mode 3)
                                                        <hpm> = aaabbbcccccc
                                                          aaa = three-digit class of service
                                                          bbb = three-digit country zip code
                                                        ccccc = six-digit zip code (A through Z or 0 to 9)

                               <lpm> = low          GS is used to separate fields in a message (0x1D). RS is used to
                                    priority message   separate format types (0x1E). EOT is the end of transmission
                                    (only applicable   characters.
                                    in Modes 2 and   Message Header        [)>RS
                                    3)
                                                    Transportation Data
                                                    Format Header          01GS96
                                                    Tracking Number*       <tracking number>
                                                    SCAC*                  GS<SCAC>
                                                    UPS Shipper Number     GS<shipper number>
                                                    Julian Day of Pickup   GS<day of pickup>
                                                    Shipment ID Number     GS<shipment ID number>
                                                    Package n/x            GS<n/x>
                                                    Package Weight         GS<weight>
                                                    Address Validation     GS<validation>
                                                    Ship to Street Address  GS<street address>
                                                    Ship to City           GS<city>
                                                    Ship to State          GS<state>
                                                    RS                     RS
                                                    End of Message         EOT
                                                    (* Mandatory Data for UPS)


               9/15/06                              ZPL II Programming  Guide                  45541L-004 Rev. A
   76   77   78   79   80   81   82   83   84   85   86