NAUT324C-256K
- Technical reference - Rev. B
Page 52
16.3.35.2.
Output format on the printer
If "printer" is set as output (type = 2), the printer will print the message left-aligned.
The data output "data" is always formatted in string format (no 0 termination!).
There are three different possibilities:
1. The message contains a string.
The string is printed without further formatting. (example: "NAUT324")
2. The message contains an 8-bit value.
It is given as decimal number which will be changed to a string. The string is printed out.
example: "72"
3. The message contains an 8-bit value representing flags.
This 8-bit value will be printed out as 8 digits "0" resp. "1".
example: "0001 0011"
Example 1:
Command to print the firmware revision on the printer:
<ESC> x <Output = 2> < Type = System-String = 5> < Index = Firmware string = 1>
e.g.: the printer will print the following string: "127"
Example 2:
Command to have the printer print the number of fonts available in the system:
<ESC> x <Output = 2> <Type = Font Number = 6> <Index = dont-care = 0>
e.g.: the printer will print the following string: "5"
Example 3:
Command to have the printer print the flags of the RS232 parameters (parameter 2). Output
should be as ASCII bit pattern:
<ESC> x <Output = 2> <Type = User Parameter = 4> <Index = RS232 parameters = 2>
e.g.: the printer will print the following string: "0000 0010"