Commands, Basic printer operations – Brother HL-2170W User Manual
Page 297
CHAPTER 6 EPSON - 9
6.
COMMANDS
6.1.
Basic printer operations
The most common printer operations are described in this section. Some are invoked using control codes
alone - the rest require escape sequences. For the sake of completeness, several instructions which are
part of the Epson FX-850 mode instruction sets, but which an HL Series printer ignores are included.
Null
NUL
(0)
<00h>
NUL
(ASCII code 0) is ignored.
Bell
BEL
(7)
<07h>
BEL
(ASCII code 7) is ignored.
Space
SP
(32)
<20h>
The SP control code (ASCII code 32) moves the current print position one space to the right.
LPRINT CHR$(32); 'Print a space
Backspace
BS
(08)
<08h>
The BS control code (ASCII code 8) moves the current print position one space to the left.
This code is only effective when used with left justification, which is the default justification mode.
LPRINT CHR$(8); 'Backspace
Carriage return
CR
(13)
<0Dh>
The CR control code (ASCII 13) moves the 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. On
some printers you can turn on automatic line feed using the control panel switches.
LPRINT CHR$(13); 'Carriage return
Line feed
LF
(10)
<0Ah>
The LF control code (ASCII code 10) moves the current print position down one line, using the current line
space setting.
This code does not cause a carriage return to be performed.
If the print position is such that this operation would move it below the bottom margin, the current page is
ejected and the print position is moved to the top of the next page instead.
Form feed
FF
(12)
<0Ch>
The FF control code (ASCII code 12) ejects the current page and moves the current print position to the top
of the next page, unless the current page is blank.
This code does not cause a carriage return to be performed, hence the print position does not change
horizontally.
If the current page is blank this control code has no effect.
LPRINT CHR$(12); 'Form feed
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E