zpl.tools
Serialization Commands

^SF - Serialization Field

Creates serialized field with auto-increment/decrement

^SF - Serialization Field

Overview

The ^SF command creates a field that automatically increments or decrements a value with each label printed.

Syntax

^SFa,b,c

Parameters

  • a = Starting value (number to increment/decrement)
  • b = Increment value
    • Positive = increment
    • Negative = decrement
  • c = Number of fills before increment
    • How many times value repeats before changing

Description

  • Auto-incrementing fields
  • Reduces variable data overhead
  • Useful for serial numbers, batch counts
  • Updates value with each label

Usage Notes

  • Used with ^FN for numbering
  • Applies to field following
  • Commonly used for serialization
  • Works with ^FV for variable data

Example

^XA
^SF1,1,1
^FO50,50
^ADN
^FN1^FDSerial: ^FS
^XZ

This creates labels with serial numbers: 1, 2, 3, 4...

Common Uses

  • Serial number generation
  • Batch numbering
  • Sequence tracking
  • Package counting
  • ^FN - Field Number
  • ^FV - Field Variable
  • ^SN - Serialization Data

See Also