Olivetti PR 4 Programmer's Manual page 71

Impact printer
Table of Contents

Advertisement

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
When the setting in GS P is x=0 and y=240 and in ESC 3 n=50, the amount of paper
Example:
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
n = 0-255
Range:
Enables or disables ASB and specifies the status items to include, using n as follows:
Bit
Off/On
Hex
0
Off
00
On
01
1
Off
00
On
02
2
Off
00
On
04
3
Off
00
On
08
4
-
-
5
Off
00
On
20
6-7
-
-
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.
Epson TM-U950 Commands
Decimal
Function
0
Drawer kick-out connect pin 3 disabled.
1
Drawer kick-out connect pin 3 enabled.
0
On-line/Off-line disabled.
2
On-line/Off-line enabled.
0
Error status disabled.
4
Error status enabled.
0
Journal and receipt paper roll sensor status disabled.
8
Journal and receipt paper roll sensor status enabled.
-
Undefined.
0
Slip paper sensor and status disabled.
32
Slip paper sensor and status enabled.
-
Undefined.
4-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents