Zebra TTPM3 Dokumentacja Strona 32

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 112
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 31
Programming
Syntax
31
P1003642-001 TTPM3 Installation and Programming Manual 01/06/2009
Syntax
A command string always starts with an exclamation mark (ASCII 33 or HEX 21) serving as
command identifier. The exclamation mark must be at the first position of the line, that is,
directly after a CR LF. Otherwise it will not be recognizes as command identifier.
The characters immediately following the “!” (21H) form the actual command to the printer.
The command consists of 1–3 characters and is followed, when applicable, by a sub command,
formatting commands, and data separated by space characters.
Carriage Return and Line Feed end Each Command
Figure 11 • Command Syntax
Initialization After Power OFF
To initialize the printer after power ON you just send a clear command (!C) and the printer is
ready for use.
Command identifier
Command (1 to 3 characters)
Sub command
Formatting commands
separated by spaces
Data enclosed in
quotation marks
Space character
(ASCII 32 or HEX 20)
Only used with some commands
Graphical data starts directly without any quotation mark
and ends after the specified number of bytes
New line = CR LF
(ASCII 13 10
or HEX 0D 0A)
SW97119
1
1
1
2
2
1
Command identifier
Command (1 to 3 characters)
Sub command
Formatting commands
separated by spaces
Data enclosed in
quotation marks
Space character
(ASCII 32 or HEX 20)
Only used with some commands
Graphical data starts directly without any quotation mark
and ends after the specified number of bytes
New line = CR LF
(ASCII 13 10
or HEX 0D 0A)
SW97119
1
1
1
2
2
1
Note • If no clear command has been received, the first !P after power ON initializes the
printer. No ticket is produced from the data sent before this !P.
Przeglądanie stron 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 111 112

Komentarze do niniejszej Instrukcji

Brak uwag