Notation Used In This Emulation Description - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96
2.6 Escape sequences
Escape sequences tell the printer which Proprinter function to perform. An escape sequence
consists of the ESC character followed by one or more characters which define the operation to be
performed. Send an escape sequence to the printer by sending the same type of instruction you
would use to print characters using their ASCII codes. Some escape sequences require parameter
values or data following them, for example commands which turn a particular feature on and off,
and commands for downloading character descriptions to the printer or for printing graphic
images. Numerical parameter data, too, is sent to the printer as if it were a character code to be
printed. For example, to set the left and right margin settings to be at 10 and 70 columns across
the page the required escape sequence is Esc X 10 70. In BASIC this would be:
LPRINT CHR$(27); CHR$(88); CHR$(10); CHR$(70);

3. Notation used in this emulation description

3.1 Syntax
The following conventions are used in this description of the Proprinter XL software commands.
A letter, word or number in upright bold text is the literal character which and should be sent to
the printer as a character code.
A letter or word in italics is a variable and you must substitute the appropriate value or values
when using the command.
An ellipsis, ..., indicates that an element may be repeated any number of times.
3.2 Data conventions
The bits that comprise a byte of data are numbered 1 to 8. Bit 1 is the least significant bit (LSB)
and bit 8 is the most significant bit (MSB).
4. Commands
4.1 Basic printer operation
The most common printer operations are described in this section. Most are invoked using
control codes. For the sake of completeness three instructions which HL Series printers ignore are
included.
Null
NUL
Ÿ
NUL (ASCII 0) is ignored.
Bell
BEL
Ÿ
BEL (ASCII 7) is ignored.
(0)
<0h>
(07)
<07h>
Chapter 6 " IBM Proprinter XL " - 5

Advertisement

Table of Contents
loading

Table of Contents