2001/10/02
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
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...