Star Micronics NB-15 user manual Using Your Printer with Word Processors

Page 38

are now available. It has the capability of using several of the ad-

 

vanced features of your printer. Perhaps the most often used

 

feature

with

spreadsheet

programs is compressed

printing.

 

Let’s see how to use compressed printing with SuperCalc.

 

In SuperCalc, the /Output command provides out put to the

 

printer. One of the options of the /Output command is S(etup).

 

This option provides you with a menu of functions to configure

 

SuperCalc to match your printer. You can change the number of

 

characters that SuperCalc will print on a line and the number of

 

lines that will print on a page. You should be sure that these

 

values match

your printer.

Your printer

can print 136

 

characters per line of pica type, or 234 characters per line of con-

 

densed elite type. One of the other options on this menu is “send

 

setup codes to printer”. This is how we tell this printer that we

 

want to use condensed print. The code to switch this printer in-

 

to condensed print is ASCII 15, or control-O. So to switch on

 

condensed type, use the /Output command and, after selecting

 

D(isplay) and entering the range to print, select the S(etup) op-

 

tion, and the S(etup)-“Manual setup codes” sub option. Then, at

 

the prompt that says “Enter codes (CR when done)“, type con-

 

trol-0. Remember, to enter control-0 you should hold down the

 

CTRL key while you press the 0 key (That’s the letter Oh, not

 

the number zero). Then just press the return and select P(rint)

 

to print

your

report.

 

 

 

 

 

You only need to go through this procedure once each time

 

you use SuperCalc because your printer will stay in compressed

 

print until it’s turned off or reset.

 

 

 

You might also wish to use some of your printer’s other

-

features with SuperCalc. Find the code for the feature you wish

 

to use

in Appendix C and

use

the same procedure

given here.

--

 

 

 

 

 

 

 

-

USING YOUR PRINTER WITH WORD PROCESSORS

Not many word processing programs recognize the advanced features of printers like your printer. They usually provide for some method of making bold characters and underlining. But your printer can do much more than that. The people that write word processing programs do, however, know that there are a lot of different printers on the market, and so they usually, (but not always) provide a way of sending special codes to a printer.

-.

We will study one example of this to see how a typical word pro-

Image 38
Contents USER’S MANUAli Tatement Special Message to the New Owner Table of Contents Chapter Controlling with Basic CHR$Chapter Special Features of the Printer Functions of the Connector Signals Appendix G Serial Interface Specifications TRS-80 BasicSetting UP Your Printer Page Tion and movement for both removing and replacing the cover Page Print head Printer Slide the I/F board into the slot Page Getting to Know Your Printer Page Page Page Selecting and Loading Paper ‘igure 2-4. Raise the paper guide for loading single sheets You can insert a sheet of paper by using the release lever To align paper that is not in straight Sprocket cover You can raise While trrnirrgon the power Self-test DIP switch 2-2 on Efgh!jklmnopqr¶tuvwxyz~ ?lSS&‘ TOF During normal operation Connecting the Printer Page Memo Using Commercial Software Page Ascii Using Your Printer with Word Processors Page Memo Controlling With Basic PR#O ListNEW Lprint Testing RUN ESC W Lprint CHR$27WCHR$l Lprint CHR$27WCHR$49 Lprint CHRS27Wl Memo Printing Text Lprint CHR$27 xl ESC Lprint Overlined OFF ESCLprint Undelined Boldface on Escso When you run this program you should get this Demonstration Condensed Here’s what you should get from this program OFF Elite mint Summary notes Memo Formatting Text This is what you will get This Line Spacing is SET to Run the program again. Now the results will look like this Here is what your printer will produce Line Number Lprint CHRS12IOI ESCNCHR$n Lprint this is LINE1 Next This is Line Return TWO Three Four ONE This command sets the horizontal tab to every eight columns Next Try thisprogram tosee how this works Lprint CHR$11 First TAB Lprint CHR$llFIFTH TAB CHR$O Lprint 2ND TAB of CHANNEL’ Memo Special Features Printer Lprint CHR$7 ESCVCHR$O Here is what this program will print Lprint CHR$27il Printing direction commands Function Control code Next Lprint Lprint Eighth bit controls Next J 129 LPRINTCHR$27 LPRINTCHR$27= Lprintlprint Double This is Double Sized Printing Next Lprint Lprint CHR$IPage Creating Your OWN Characters Print Matrix Defining Your OWN Characters Usethisgridoronesimilartoittodefineyourown draftcharacters Wrong 128 Assigningavalueofcharacterspace Characterdesignsforthetwographsymbols Page Read MM LPRINTCHR$MM Next M Next N Lprint LPRINTCHR$I Next Lprint Lprint CHR$I NextLprint LPRINTGERMANYCHR$9 Lprintscales Data 1, 9, 2, 31,253,64, 32, 1,128,80 Read MM Lprint CHR$MM Next MMO+ml +m2 105 106