Control Codes

[ESC] p 4 Select paper sensor(s) to stop printing

ASCII

[ESC] p 4 <n>

Hexadecimal

1BH 70H 34H <n>

Decimal

<27> <112> <52> <n>

Range

0

n 255

Description The [ESC] p 4 <n> command selects which sensors tell the printer to stop printing. For the default setting, only the Paper Out sensor stops printing. When the paper roll near-end sensor is enabled and the sensor detects a near-end condition during printing, the printer completes the current line and then automatically goes off- line. Replacing a new paper roll restarts the printing. When the paper roll near-end sensor is disabled and a paper near-end condition is detected during printing, the paper out LED comes on, but the printer continues to print.

Note: The Epic 880TM printer does not allow the Paper Out sensor to be disabled. It is always on.

<n> is defined as follows:

Bit

On/Off

Hexadecimal

Decimal

Function

0,1

Off

00H

<0>

Paper roll near-end sensor disabled

 

On

01H,02H,03H

<1>,<2>,<3>

Paper roll near-end sensor enabled

7

-

00H

<0>

Undefined

Table 7 Paper Sensor Commands

[ESC] p 3 Select paper sensor(s) to output paper-end signals

ASCII

[ESC] p 3 <n>

Hexadecimal

1BH 70H 33H <n>

Decimal

<27> <112> <51> <n>

Range

0

n 255

Description The [ESC] p 3 <n> command selects the paper sensor that outputs a paper-end signal to the parallel interface when a paper-end is detected. The default setting is when all sensors are enabled. (<n> = 15). It is possible to select multiple sensors to output signals. If any of the sensors detect a paper end, the paper end signal is output. The command is only available with a parallel interface. The paper- end sensor is an option. If the sensor is not equipped, the settings of bits 0 and 1 of the command are not effective.

Page 156

100-88002 Rev B

 

 

Page 168
Image 168
Epson 100-88002 ESC p 4 Select paper sensors to stop printing, ESC p 3 Select paper sensors to output paper-end signals