A>EDLIN LQELITE.DAT --——-

New file

‘2:*-C

%E

‘V indicates that the following character is a control code. *V[ enters the <ESC> code. <ESC> has character code 27, and “[” is the 27th character from A in the ASCII sequence. Similarly, ‘VA enters the control code< 1>. See your DOS manual if you need further information about EDLIN.

You can now set up the printer by sending it the file LQELITE.DAT. To avoid unnecessary logging of commands, switch hard-copy output off (by pressing CTRL-PRTSC if hard copy is on). To print the file README.DOC in LQ elite type, give the following two commands:

A>COPY LQELITE . DAT PRN

A>PRINT README.DOC

For greater convenience you can make a batch file that will setup the printer and print any specified file with a single command. To create such a batch file with the name LQPRINT.BAT, type in the first four lines shown next. ‘Z means to press the CTRL and Z keys simultaneously. To use this file to print README.DOC, type the fifth line.

A>COPY CON LQPRINT . BAT

COPY LQELITE . DAT PRN

PRINT %1

“z

A>LQPRINT README.D(3C:

The first line above is a copy command from the CONsole screen to a file named LQPRINT.BAT. The next two lines are the contents of this file. The Yo 1is a dummy parameter: whatever file name you type after LQPRINT will be substituted for %1 and printed.

Page 143
Image 143
Star Micronics LC24-20 user manual Aedlin LQELITE.DAT