Chapter 2. epson/ibm mode, Print and line feed execution, Esc 5 – Compuprint 4247-L03 Programmer Manua User Manual

Page 23: Cr esc ] esc 5, Sets a reverse line feed. (ibm), Print and line feed execution cr

Advertising
background image

Chapter 2. EPSON/IBM Mode

The following printer commands are supported by this printer according to the IBM Proprinter XL24-XL24
AGM, IBM 2391+ and EPSON LQ Series.

Print and Line Feed Execution

CR

Prints all received data and the column counter is set to the left margin (IBM/EPSON).

ASCII Code

CR

Hexadecimal Value

X'0D'

Decimal Value

13

This code is a terminator code; when received, it causes any data in the buffer to be printed out. The print
head then moves logically to the left margin position. The column counter is set to the left margin value
and a line feed is inserted automatically after the carriage return (see the automatic carriage return
function in the printer setup). The code cancels the double width printing set by the SO or ESC SO
command.

ESC ]

Sets a reverse line feed. (IBM)

ASCII Code

ESC ]

Hexadecimal Value

X'1B' X'5D'

Decimal Value

27 93

This is a terminator code; it therefore causes the current contents of the print buffer to be printed before
advancing the paper by one line at the current vertical spacing. If no data precedes the LF code, or if the
preceding data consists of spaces, the code only causes a line feed.

When the line counter reaches the last line of the form (defined by the software or the function menu), the
LF code causes a skip to the first line of the next form. This code cancels the double width printing set by
the SO code. In IBM mode, the column counter is set to the first column if the automatic carriage return is
selected. In EPSON mode, the column is always set to the first column.

ESC 5

Sets an automatic line feed after a carriage return. (IBM)

ASCII Code

ESC 5 n

Hexadecimal Value

X'1B' X'35' n

Decimal Value

27 53 n

If n is equal to 1, this command sets an automatic line feed on receiving of a CR code. If n is equal to 0,
this command cancels the automatic line feed.

n

Automatic line feed

0

Disabled

1

Enabled

7

Advertising