Epson TM-U950 Commands 4-35
Example: When n=48 in ESC 3 and GSP x y is not used, the amount of paper feeding is set to
48/144 (1/3 inches). When the GS P setting is x=0 and y=240 and the ESC 3 setting is
n=48, the amount of paper feeding is set to 48/240 (which is exactly 28/144 inch).
Truncation
Example:
When the setting in GS P is x=0 and y=240 and in ESC 3 n=50, the amount of paper
feeding is set to50/240 inch because 50/240 is exactly 30/144, but if the ESC 3 setting
were 54, the amount of paper feeding would also be 50/240 (30/144) because 54/240
cannot be divided into an exact number of 1/144-inch units. Therefore it is truncated to
50.
GS a n
Enable/Disable Automatic Status Back
Hexadecimal code: 1D 61 n
Range:
n = 0-255
Enables or disables ASB and specifies the status items to include, using n as follows:
Bit Off/On Hex Decimal Function
0 Off 00 0 Drawer kick-out connect pin 3 disabled.
On 01 1 Drawer kick-out connect pin 3 enabled.
1 Off 00 0 On-line/Off-line disabled.
On 02 2 On-line/Off-line enabled.
2 Off 00 0 Error status disabled.
On 04 4 Error status enabled.
3 Off 00 0 Journal and receipt paper roll sensor status disabled.
On 08 8 Journal and receipt paper roll sensor status enabled.
4 - - - Undefined.
5 Off 00 0 Slip paper sensor and status disabled.
On 20 32 Slip paper sensor and status enabled.
6-7 - - - Undefined.
Notes:
- If n = 0, ASB is disabled.
- ASB is enabled if only one status is selected. The printer automatically transmits a status
of four bytes whenever the status changes.
- If ASB is enabled while processing this command, the current status is transmitted with
no regulations.
- When transmitting a status, the printer transmits only four bytes without confirming the
condition of the DSR signal.
- Four bytes of status data must be consecutive, except for XOFF code.
- This command is executed when the data in the receive buffer is developed. Therefore,
there be a time lag between receiving this command and transmitting the status,
depending of the receive buffer status.