Chapter 6. epson fx286-e emulation, Introduction, Conventions used in this chapter – Genicom GEK 00031B User Manual

Page 122

Advertising
background image

Chapter 6. Epson FX286-E Emulation

GEK-00029A

122

CHAPTER 6. EPSON FX286-E EMULATION

INTRODUCTION

The FX288-e emulation causes the 5000 printers to emulate a 9-wire
dot matrix printer.

Conventions Used in this Chapter

In contrast to ANSI, where an argument is expressed as an ASCII
decimal integer, Escape control sequences take binary arguments.
For example, the control sequence to set form length in lines is:

ESC C n

The sequence to set a 66-line form, expressed in BASIC, would be:

LPRINT CHR$(27);"C";CHR$(66);

which could alternately be expressed as:

LPRINT CHR$(27);"CB";

In contrast, when arguments 1 and 0 are used to turn something on
and off, you can send the argument in either binary or ASCII. For

example, you can turn underline on by sending:

CHR$(27);CHR$(45);CHR$(1);

or you can send

CHR$(27);CHR$(45);"1";

The physical spaces in the escape sequences shown in this
publication are only for clarification purposes and are not used in the

actual string.

If a space is actually needed in the sequence, it will be shown as SP.

Advertising