Star Micronics Delta user manual

Page 34

22

 

 

 

 

Delta User’s Manual

 

features of printers like Delta. They usually provide for some

 

method of making bold characters and underlining. But Delta can

 

do much more than that. The people that write word processing

-

programs do, however, know that there are a lot of different print-

 

ers on the market, and so they usually, (but not always) provide a

-

way of sending

special

codes

to a printer. We will study one exam-

ple of this to see how a typical word processor handles it. Once

 

you understand

the concept

you should be able to use your pro-

-

gram manual to figure out how your word processor does it.

 

The program that we will study is the EasyWriter

word proc-

-

essor for the IBM Personal Computer. This uses a fairly typical

 

method of handling special codes. Generally, word processing

-

programs don’t want you to put non-printing codes in the file. -

 

They “know” that they won’t print anything, and so they “pro-

-

tect” you by not letting

you use them. But the non-printing

codes

are the ones that you need to use Delta’s features. So EasyWriter

 

provides a way

to override this protection.

If you precede

a spe-

-

cial code with a “control-O” then EasyWriter will accept the next

 

non-printing

code.

 

 

 

 

 

-

Let’s look at a specific example. Suppose you want to print the

 

title of a book in italic. The code sequence to select italic type is

 

Escape 4 (that’s two separate characters). Entering the 4 is no

 

problem; it’s a printing character so EasyWriter won’t object

 

(although in this case it’s not going to print). The Escape, however,

 

is a non-printing character so it requires special handling. To

 

enter the Escape

code first enter control-0

(hold the Ctrl key while

-

you press the letter 0). Then press the Esc key. The Escape charac-

 

ter shows on the screen

as a left pointing arrow. Now just type the

-

number 4 and you’re done.

 

 

 

 

 

When you want to end the italic, you need to enter Escape 5.

-

Use the same procedure: enter control-O, Esc, and then 5.

 

You can use many of Delta’s features this way. Find the codes -

 

that you need in Appendix K, and then if necessary, use Appendix

 

M to translate the codes into the form your word processor uses.

 

A note to WordStar users: WordStar is probably the most pop-

 

ular word processing program in the world. But it provides no

 

way to enter

special printer

control codes from the

keyboard.

-

WordStar does, however, provide you with a way to use some of

 

Delta’s advanced features. WordStar has four special commands

--

that you can use to access Delta’s features. These are called “user

 

printer controls” and are control-P Q, control-P W, control-P E,

-

and control-P

R. You might use two of these to turn italic

on and

off and the other two for some other function. The process of set-

 

ting up these codes is

called “patching”

and is done with the

-

Image 34
Contents Delta User’s Manual @Copyright 1983 Star Micronics, Inc Special Message to the New Owner Delta User’s Manual Table of Contents Formatting Your Output Special Features Delta PrinterCreating Your Own Characters Getting It All Together Maintenance Appendix E Osborne, Kaypro and CP/M Computers Appendix D TRS-60 ComputersAppendix F Atari 400/800 Computers Appendix Commodore VIC-20 Computers Appendix DIP Switch SettingsAppendix Character Style Charts AppendixDelta User’s Manual Consumer Response 309 DIP Switch Quick ReferenceWarranty Inside Back Cover Command Quick Reference Serial busy protocols XONlXOFF Protocol ACK protocol IndexTables Xii Delta User’s Manual Closer Look Paper separator and paper guide used with roll paper Roll paper holder and holder shaft used only with rollPage Parallel interface connector the place where you hook Paper Selection and LoadingLoading single sheets Delta User’s Manual Loading roll paper Delta User’s Manual Closer Look Loading sprocket-feed paperOpen the tractor covers to expose the sprocket teeth Bottom feeding Delta-15 Figure I-10.Delta ready to run with sprocket-feed paperDelta User’s Manual Ribbon Installation Self-Test Closer Look Delta User’s Manual Getting Started With Delta Using Commercial Sojtware Getting Started With Delta First, some terminologyAscii Using Delta with SuperCalc Using Delta with word processorsPage Using this book without learning Basic Getting Started With DeltaOPEN4,4 CMD4 List PRINT#4 CLOSE4 ListEstablishing communications NEW LPRINTCHR$7 RUN NEW Lprint Testing RUNNEW CHR$ functionNEW LPRINTCHR$27CHR$52 2$3LPRINT Testing RUN Escape CodeSome problem codes ESC$=CHR$27 l@ LPRINTESC$Delta User’s Manual Printing Text With Delta ChapterLprint Condensedis the Narrowestpitch Print pitch Commands@ Lprint this is Elite Pitch Printing Lprint NOW WE are Back to Pica Pitch PrintingI s LPRINTCHR$27W CHR$@NOW Were Back to NormalExpanded print H153Lprint NOW WE are Back to Unexpandedpica Printing Print CommandsLPRINTCHR$14EXPANDEDELITE Pitch Making Delta print darkerPrint EmDhasis a Commands Lprint this is DOUBLE-STRIKEPRINTINGItalic Commands Italic printingUnderJining Superscripts and subscriptsNEW Lprint Thisline Uses Superscript Subscript commandsMixing modes Build Instructionset REGULAR.HEADING$= STRING$27,*+ Regular LPRINTRESET.ALL$Lprintelites Elite LPRINTPICA$ Pica LPRINTRESET.ALL$ Return ReturnIf Pica = False then LPRINTFOUR.DOT$ GOTO3590 Italics = False LPRINTROMAN$Repeatwith Italics If ENLARGED= True then LprintHere is the chart it produces Control Code FunctionPage Delta User’s Manual Line Spacing and Forms Control Changing Line Spacing This is what you will get Line spacing Commands Run the program again. Now the results will look like thisNEW Lprint Linenumber Moving down the page without a carriage returnForms Controls Form feedForm length commands Changing the Page LengthTop and bottom margin commands Lprint PAY to the OrderLineSpacingandFormsControl51 Summary Control codeESC Delta User’s Manual Formatting Your Output NEW Lprint ONECHR$9TWOCHR$9THREE CHR$9 Four One-shot tab command Left and right margin commands5B END 13@ Lprint ReturnLPRINTCHR$27P CHR$l@ CHR$Z@CHR$@ One-shot vertical tab command Control Code FunctionLChapter Now hear thisBell commands Initializing DeltaPrinting to the bottom of the sheet Some Miscellaneous commandsPutting Delta to sleep Unidirectional printingNext Lprint LprintPrinting Direction Lprint Work NEW Lprint Backspacedoes notLprint I===WORK Lprint Deletedoes not Backspace and deleteBlock graphics characters and special symbols Eighth Bit controls3pl Lprint I II=11CHR$ICHR$9 4pI Next I Lprint Next J International character sets International Character set commandsMacro control code Macro instruction Commands OFF Regularprint StartdefinitionMacro Lprint CHR$18 Pica END MacroFunction Bell Disable bell Enable bell Reset Off-lineOn-line Control codeDelta User’s Manual Creating Your Own Characters Dot Matrix Printing 000 0 eeeS&fee Defining Your Own Characters Rule I Download characters are seven dots highRule 2 Dots cannot overlap 8WRONG Add up each column of dotsCreating YourOwn Characters Download character definition command Assigning a value to your characterCharacter designs for the four card suits Next M Figure Y-10. The attribute byte n2 for our heart characterPrinting Download Characters LPRINTCHR$27CHR$36CHR$@ DEFINTA-Z Next Lprint Return Read X LPRINTCHR$XNext J DECKCARD=X Next Card ReturnLPRINTSUIT$SUIT Download Character dejfinition commands Proportkmal Characters12@ Lprint CHR$BITS 138 Next Only Difference Is the way They Are Accessed Creating Your Own Characters Lprint DEF.DOWN.CHAR$ NUMERAL.BOT$NUM= CHR$ASCII+ 2 + CHR$ASCII+ Mixing Print Modes with Download Characters Utility Program Gosub 950RETURN Gosub 660 Return REM **** Display Menu for Edit Mode Summary