Zebra II Especificaciones Pagina 29

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 412
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 28
9
ZPL Commands
Basic ZPL Exercises and Examples
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A
Exercise 4 ^SN — Serial Number command
1. Send this format to the printer:
^XA
^FO100,100^ADN,36,20^SN001,1,Y^FS
^PQ3
^XZ
To vary the
^SNv,n,z to exercise increment/decrement and leading zeros functions,
consult this guide.
If your serial number contains alpha and numeric characters, you can increment or
decrement a specific segment of the data even if it is in the middle, as this sample
sequence shows:
ABCD1000EFGH, ABCD1001EFGH, ABCD1002EFGH
2. Send this file to the printer and to see how it increments the serial number. The ^SF
command can also work with alpha characters.
^XA
^FO100,100^ADN,36,20^FDABCD1000EFGH^SF%%%%dddd%%%%,10000^FS
^PQ15
^XZ
Notice how the field data character position aligns with the
^SF data string:
And on through…
The last label prints ABCD1014EFGH.
The % is placed in positions that you do not want to increment or decrement,
d = decimal, 10000 = increment value.
For more details on
^SF, see ^SF on page 254.
^FDABCD1000EFGH
^SF%%%%dddd%%%%
10000
20000
30000
10140000
Vista de pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 411 412

Comentarios a estos manuales

Sin comentarios