IBM COMMANDS

Proprinter X24e / XL24e and IBM X24 AGM / XL24e AGM

IBM Command

ASCII

Decimal

 

 

 

Backspace

BS

8

 

 

 

Cancel

CAN

24

Carriage Return

 

 

Execute

CR

13

 

 

 

Character Pitch. Select:

 

 

10 cpi

DC2

18

12 cpi

ESC :

27 58

15 cpi

ESC g

27 103

Character Style:

 

 

Normal

ESC q 0

27 113 48

Outline

ESC q 1

27 113 49

Shadow

ESC q 2

27 113 50

Outline with Shadow

ESC q 3

27 113 51

 

 

 

Condensed Print

ESC SI or SI

27 15 or 15

Double Width ON

ESC W 1

27 87 49

Double Width OFF

ESC W 0

27 87 48

Double Width for one line

SO

14

 

 

 

Emphasised Printing ON

ESC E

27 69

Emphasised Printing OFF

ESC F

27 70

Enhanced Printing ON

ESC G

27 71

Enhanced Printing OFF

ESC H

27 72

 

 

 

Form Feed

FF

12

Form Length:

 

 

n inches (n = 1 to 255)

ESC C NUL n

27 67 0 n

n lines (n = 1 to 255)

ESC C n

27 67 n

 

 

 

Horizontal Tab, Execute

HT

9

IBM Character Set. Select:

 

 

Set I

ESC 7

27 55

SET II

ESC 6

27 54

 

 

 

Print one Character from IBM Set III

ESC ^ n

27 94 n

(n = 0 to 255)

 

 

Line Feed, Execute:

 

 

w/ Carriage Return

LF

10

n/180" AGM only (n = 1 to 255)

ESC J n

27 74 n

n/216" PPR only (n = 0 to 255)

ESC J n

27 74 n

n/360" (n = 0 to 255)

ESC % 4 n

27 37 52 n

Reverse, n/216

ESC ]

27 93

Auto Line feed ON

ESC 5 1

27 53 49

Auto Line Feed OFF

ESC 5 0

27 53 48

PRINTER CONTROL CODES > 75