ZPL commands

^BS · UPC/EAN Extensions Bar Code

Generates the 2- or 5-digit supplement add-on for EAN/UPC codes e.g. for periodicals as a separate field next to the main barcode.

Generates the 2- or 5-digit supplement (add-on) for EAN/UPC codes (e.g. for periodicals) as a separate field next to the main barcode.

Parameters

  • ^BSo,h,f - o: Orientation (N/R/I/B)
  • ^BSo,h,f - h: Bar code height in dots
  • ^BSo,h,f - f: Print interpretation line above the add-on (Y/N, default Y)
  • ^FD - Data: only the 2 or 5 digits of the supplement

Example

^XA
^BY2
^FO50,70^BEN,100,Y,N^FD400638133393^FS
^FO262,70^BSN,80,Y^FD21^FS
^XZ
ZPL preview: ^BS · UPC/EAN Extensions Bar Code

Tip

Main code and supplement are two separate fields: place the add-on with its own ^FO to the right of the EAN/UPC code (gap of about 7–12 modules).