7
Chapter 7 Print Control Codes
(35)Selecting the setting sheet (ESC c 1 n)
Code: [1B] h + [63] h + [31] h + n
* (1 ≤ n ≤ 3) Data are expressed in Hex code.
Selects the sheet which is the object of line feed settings set by ESC 2 and ESC 3.
•Each bit of n is as shown in the following table.
Bit | Function |
| Value | |
|
|
| ||
0 |
| 1 | ||
|
|
| ||
|
|
|
|
|
0 | Journal | Disable |
| Enable |
|
|
|
|
|
1 | Receipt | Disable |
| Enable |
|
|
|
|
|
2 | Not defined |
|
|
|
|
|
|
|
|
3 | Not defined |
|
|
|
|
|
|
|
|
4 | Not defined |
|
|
|
|
|
|
|
|
5 | Not defined |
|
|
|
|
|
|
|
|
6 | Not defined |
|
|
|
|
|
|
|
|
7 | Not defined |
|
|
|
|
|
|
|
|
•If the value of n deviates from the definition range, this command is disregarded.
•The initial value is “n = 3”.
(36)Selecting an effective paper end sensor for outputting the paper end signal (ESC c 3 n)
Code: [1B] h + [63] h + [33] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
Selects which state of which sensor for outputting to the Centronics parallel interface PE signal.
Bit | Function |
| Value | |
|
|
| ||
0 |
| 1 | ||
|
|
| ||
|
|
|
|
|
0 | Journal Near End Sensor | Disable |
| Enable |
|
|
|
|
|
1 | Receipt Near End Sensor | Disable |
| Enable |
|
|
|
|
|
2 | Journal End Sensor | Disable |
| Enable |
|
|
|
|
|
3 | Receipt End Sensor | Disable |
| Enable |
|
|
|
|
|
4 | Not defined |
|
|
|
|
|
|
|
|
5 | Not defined |
|
|
|
|
|
|
|
|
6 | Not defined |
|
|
|
|
|
|
|
|
7 | Not defined |
|
|
|
|
|
|
|
|
•The initial value is “n = 3”.
[Note] This is valid for the parallel interface only.
76