5. COMMANDS; 5.1. Basic Printer Operation; Basic Printer Operation - Page 326

Brother HL-1870N Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

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); 

 

Detailed Information for Brother HL-1870N Command Reference Guide for Software Developers

Lists of information found in Brother HL-1870N Command Reference Guide for Software Developers - Page 326

  • 5. COMMANDS 5.
  • 1. Basic Printer Operation The most common printer operations are described in this section.

Related Documents for Brother HL-1870N Command Reference Guide for Software Developers