Star Micronics ND-10/15 user manual CHR$ 1 or

Models: ND-10/15

1 128
Download 128 pages 43.01 Kb
Page 104
Image 104

98

that done on computer paper, and you don’t have to tear the “perforations” off each sheet as you must with fan-fold paper.

The automatic sheet feeder feeds a new sheet automatically every time the printer receives or generates a form feed. Any time you wish, you can turn the auto-feed unit on and off by using control codes.

 

 

Table

6-8

 

 

 

 

Automatic

sheet feeder commands

 

 

Function

 

 

Control

code

 

Select

automatic feed mode < ESC

>

CHR$(25)

CHR$(4)

or “((4))”

Cancel

automatic feed mode

< ESC

>

CHR$(25)

CHR$(O)

OY“((0))”

Insert

paper

< ESC

>

CHR$(25)

CHR$( 1) or “((1))”

Eject paper

< ESC

>

CHR$(25)

“R” or “((R))”

When the automatic sheet feeder is installed, you must set DIP switch l-l on to detect the paper-out condition.

In addition, the following functions are ignored when the automatic sheet feeder is installed:

Setting of the page length Top and bottom margins Vertical tab settings

nThe macro control code

The last of our group of miscellaneous codes is definitely not the least. It is a user-definedcontrol code, called a marcro control code. The term macro is from the jargonese macro-instructionwhich refers to an instruction that “calls,” or uses a group of normal instructions. In computer pro-

gramming macro-instructions (which are similar to subrou- tines) save programmers a lot of time and effort also. Your printer’s macro can save you a lot of time and effort also.

Here is how the printer’s macro works. You define a macro by telling the printer what normal control codes are to be included in the macro. Then you can use the macro any time that you want and the printer will do all the things that you included in the macro definition. You can include up to 16 codes in a single macro. You can even use the macro to store a frequently used word or phrase. There are two control codes

Page 104
Image 104
Star Micronics ND-10/15 user manual CHR$ 1 or