3 – 1
This chapter describes the printing and formatting features and the codes that control
them. It is not just for programmers, if you want to modify your software to add a
particular function, or if you want to embed extra commands in a document, you will
find the necessary information here. Even if you just use the front panel to control your
printer, the explanations of the features and how they work will be helpful.
In this chapter we list each control code in decimal, hexadecimal and ASCII notation.
The control code table in Appendix A gives you a quick reference for each function
code. Because the printer can emulate four printers, there may be as many as four
different ways to control a particular function, depending on the emulation you have
selected from the menu. To make sure you know which one to use, we have marked
the commands with letters to indicate which emulation they apply to:
E = Epson LQ series (LQ 850/LQ 1050
E2 = Epson ESC/P2 series (LQ 870/LQ 1170 See Chapter 4)
P = IBM Proprinter X24E/XL24E
A = IBM Proprinter X24E/XL24E AGM (Alternate Graphics Mode)
In many cases, all emulations use the same commands. In almost all cases, both IBM
emulations use the same commands. Details on specific emulations fall under
appropriate headings. These separate sections only appear when there are differences
among the emulations.
Print Quality Decimal Hex ASCII Comp
Select LQ/Utility print 27 120 n 1B 78 n ESC x n E
quality
n = 1: Select LQ; n = 0: Select Utility
EPSON
Use utility printing for drafts and other documents that you want to print quickly. LQ
(Letter Quality) printing is slower than Utility, but the characters are crisper and more
like the characters produced by a typewriter. Use LQ for final drafts and important
documents where appearance matters. Your printer’s front panel or the Menu Select
mode can also select print quality.
IBM
You can use the ESC I command to specify LQ or utility printing.
Control Code Reference
3