off, either by changing DIP switches or by sending the printer ASCII codes as summarized below.

Switch 2-2

Switch 1-3

Switch 2-3

When on; activates the beeper; when off, deactivates itWhen off, makes the paper-out sensor active; when on, deactivates it

When off, turns the skip-over-perforation feature OFF; when on, produces an automatic 1-inch skip over every perforation

Check to see if you want to reset any switches before going on to Chapter 9.Here are the commands we covered in this chapter:

CHR$(12)

Produces a form feed; CHR$(140) is the alter-

 

nate, high-order version
CHR$(27)“C”CHR(0)CHR$(n)Sets the form length to n inches, where n is 1 - 22CHR$(27)“C”CHR$(n) Sets the form length to n lines, where n is 1 - 127

CHR$(27)“N”CHR$(n) Turns the skip-over-perforation feature ON, set to n lines, where n is 1 to less than the current form length in lines. Is cancelled by CHR$(27)”@” and CHR$(27)“C” as well as

 

CHR$(27)“O”

CHR$(27)“O”

Turns the automatic skip-over-perforation

 

feature OFF
CHR$(27)“8”Turns the paper-out sensor OFF
CHR$(27)"9"Used in conjunction with CHR$(27)“8”,

 

turns the paper-out sensor back ON
CHR$(27)“@”

The Reset Code resets the form length to 11

 

inches, the top of form to the current line, and

 

the skip-over-perforation to the DIP switch

 

setting

111