If you do not use these commands or the panel controls, the printer will print standard-size, Tms Romn characters.

The printer supports various commands in addition to the above, such as quadruple-size printing.

Most of these other commands consist of the escape code followed by one or more letters or numbers.

If your software enables you to place the escape code in your files, or if you are able to define this as a user option during installation, you can also embed these escape sequences.

PROGRAMMING THE PRINTER WITH DOS COMMANDS

If your system includes the file PRINT.COM you can use the main DOS printing command. Simply type the word PRINT followed by the name of the file you want to print. To print a file named README.DOC, for example, type:

A>PRINT README. DOC

The computer may respond with the following message, asking which printer to use:

Name of 1 ist dev ice [PRN] :

If your computer is connected to only one printer, press RETURN to select the default choice [PRN).

Printing will begin and the A> prompt will reappear. You can execute other commands or programs while the file is being printed.

A single PRINT command can print two or more files. List the filenames consecutively on the same line, or use wild-card characters (* and ?). Each file will be printed starting on a new page. The PRINT command also has control options. For example, you can terminate a printingjob in progress with them option. (The printer may not stop printing immediately as there may be considerable data stored ahead in its buffer.) For the /T option, type:

A>PRINT/T

See your DOS manual for further information about the PRINT command. If your system does not include PRINT.COM, you can print files by using the PRN device name in COPY or TYPE commands such as the following:

A>COPY README. DOC PRN

A>TYPE README. DOC >PRN

COPY and TYPE do not permit you to execute other commands while the file is printing.

If you want a particular font, or print pitch, you can make these settings from the control panel before you start printing. See Chapter 4.

Chapter8 MS-DOS AND YOUR PRINTER 77

Page 83
Image 83
Star Micronics SJ-48 manual Programming the Printer with DOS Commands, Aprint README. DOC