Lexmark SCTNE- 用户手册
261
TN5250e Printer Commands Using IDB: Input Data String Syntax
Input Data String
Syntax
The input data string (
<data>
) following some printer commands
can contain three parts: Text, decimal numbers, and hexadecimal
numbers.
numbers.
Text, decimal numbers, and hexadecimal numbers can be mixed by
separating each element with a comma. Example:
separating each element with a comma. Example:
/0A,/0D, "Text",12,/0D,10,"More text",-
45,"Last text",/0C
Text:
Text has to be put in quotation marks.
"This is a text"
Decimal:
Decimal numbers are entered normally.
Use commas to separate.
Use commas to separate.
12,34,24,67,12,3,45,6,7,90,255
Hexadecimal: Hexadecimal numbers have to be entered with a
slash in front followed by two hex digits. Use
commas to separate.
commas to separate.
/23,/EE,/E4,/45,/F2,/78,/34,/1F