Commands; Basic Printer Operation - Brother HL-1050 Technical Reference Manual

Laser printer
Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

02/08/2010
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
NUL (ASCII 0) is ignored.
Bell
BEL
BEL (ASCII 7) is ignored.
Escape
ESC
The ESC control code (ASCII 27) marks the start of an escape sequence.
LPRINT CHR$(27);
Space
SP
The SP control code (ASCII 32) moves the current print position one space to the right.
LPRINT CHR$(32);
Backspace
BS
The BS control code (ASCII 8) moves the current print position one space to the left.
LPRINT CHR$(8);
Line feed
LF
The LF control code (ASCII 10) moves the current print position down one line.
LPRINT CHR$(10);
Form feed
FF
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
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);
(0)
<0h>
(07)
<07h>
(27)
<1Bh>
(32)
<20h>
(08)
<08h>
(10)
<0Ah>
(12)
<0Ch>
(13)
<0Dh>
CHAPTER 7 IBM PROPRINTER - 8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents