Zebra II Especificações Página 29

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 412
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 411 412

Comentários a estes Manuais

Sem comentários