The printer supportsvariouscommandsin additionto the above,such as quadruple-sizeprinting.

Mostof theseothercommandsconsistof the escapecode followedby one or more lettersor numbers.

If yoursoftwareenablesyouto placetheescapecodein yourfiles,or if you were able to define this as a user optionduring installation,you can also embedthese escape sequences.

PROGRAMMING THE PRINTER WITH DOS COMMANDS

If your system includesthe file PRINT.COMyou can use the main DOS printingcommand.Simplytypethe wordPRINTfollowedby the nameof the file you want to print. To print a file named README.DOC,for example,type:

k )PRINT README. DOC

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

Name of 1ist device [PRN] :

If yourcomputeris connectedto onlyoneprinter,pressRETURNto select the default choice (PRN). Printing will begin and the A> prompt will reappear.You can executeother commandsor programswhile the file is being printed.

AsinglePRINTcommandcan print two or more files. List the file names consecutivelyon the sameline,or use wild-cardcharactem(* and ?). Each file will be printedstartingon a new page.The PRINT commandalsohas controloptions.For example,you can terminatea printingjob in progress with the n option.(The printermay not stop printingimmediatelyit may have considerabledata storedaheadin its buffer.)For the/T option,type:

A)PRINT/T

See yourDOSmanualfor furtherinformationaboutthe PRINTcommand. If yoursystemdoesnot includePRINT.COM,you can print files by using the PRNdevicenamein COPYor TYPEcommandssuchas the following:

A>COPY README. DOC PRN

A>TYPE README. DOC >PRN

80

Page 89
Image 89
Star Micronics LC-15 Programming the Printer with DOS Commands, Aprint/T, Acopy README. DOC PRN Atype README. DOC PRN