Brother HL- 2400Ce Printer User Manual


 
2001/10/02
CHAPTER 7 IBM PROPRINTER - 8
5. COMMANDS
5.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 the instructions which HL Series printers ignore are included.
Null
NUL (0) <0h>
NUL (ASCII 0) is ignored.
Bell
BEL (07) <07h>
BEL (ASCII 7) is ignored.
Escape
ESC (27) <1Bh>
The ESC control code (ASCII 27) marks the start of an escape sequence.
LPRINT CHR$(27);
Space
SP (32) <20h>
The SP control code (ASCII 32) moves the current print position one space to the right.
LPRINT CHR$(32);
Backspace
BS (08) <08h>
The BS control code (ASCII 8) moves the current print position one space to the left.
LPRINT CHR$(8);
Line feed
LF (10) <0Ah>
The LF control code (ASCII 10) moves the current print position down one line.
LPRINT CHR$(10);
Form feed
FF (12) <0Ch>
The FF control code (ASCII 12) ejects the current page (unless it is blank) and moves the current print
position to the top of the next page.
If the current page is blank this control code has no effect.
LPRINT CHR$(12);
Carriage return
CR (13) <0Dh>
The CR control code (ASCII 13) moves the current print position to the left margin on the current line.
If automatic line feed is ON, this code moves the current print position to the left margin on the next
line.
LPRINT CHR$(13);