Star Micronics user manual Using Delta with SuperCalc, Using Delta with word processors

Page 33

L

Getting Started With Delta

21

you find the method that your program uses, then you can shop through this manual to find the function that you want to use. By translating the codes from the system that we use, to the system that your commercial software uses, you should be able to use many of Delta’s advanced features. It may help, however if we look at a couple of examples.

Using Delta with SuperCalc

SuperCalc is typical of the many spreadsheet programs that are now available. It has the capability of using several of the advanced features of Delta. 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 output 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. Delta-lo’s print 80 characters per line of pica type, or 136 characters of condensed type. Delta-15 can print 136 characters per line of pica type, or 233 characters per line of con- densed type. One of the other options on this menu is “send setup codes to printer”. This is how we tell Delta that we want to use condensed print. The code to switch Delta into 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) option, and the S(etup)-“Manual setup codes” sub option, Then, at the prompt that says “Enter codes (CR when done)“, type control-O. Remember, to enter con-

--trol-0 you hold down the CTRL key while you press the 0 key (That’s the letter Oh, not the number zero]. Then just press return and select P(rint) to print your report.

,You only need to go through this procedure once each time you use SuperCalc because Delta will stay in compressed print until it’s turned off or reset.

You might also wish to use some of Delta’s other features with SuperCalc. Find the code for the feature you wish to use in Appen- dix K and use the same procedure given here. Remember that Appendix M can be used to translate between the different names for the codes.

Using Delta with word processors

c

Not many word processing programs recognize the advanced

Image 33
Contents Delta User’s Manual @Copyright 1983 Star Micronics, Inc Special Message to the New Owner Delta User’s Manual Table of Contents Special Features Delta Printer Formatting Your OutputCreating Your Own Characters Getting It All Together Maintenance Appendix D TRS-60 Computers Appendix E Osborne, Kaypro and CP/M ComputersAppendix F Atari 400/800 Computers Appendix Character Style Charts Appendix DIP Switch SettingsAppendix Commodore VIC-20 Computers AppendixWarranty Inside Back Cover Command Quick Reference Consumer Response 309 DIP Switch Quick ReferenceDelta User’s Manual Serial busy protocols XONlXOFF Protocol ACK protocol IndexTables Xii Delta User’s Manual Closer Look Roll paper holder and holder shaft used only with roll Paper separator and paper guide used with roll paperPage Paper Selection and Loading Parallel interface connector the place where you hookLoading single sheets Delta User’s Manual Loading roll paper Delta User’s Manual Loading sprocket-feed paper Closer LookOpen the tractor covers to expose the sprocket teeth Figure I-10.Delta ready to run with sprocket-feed paper Bottom feeding Delta-15Delta User’s Manual Ribbon Installation Self-Test Closer Look Delta User’s Manual Getting Started With Delta Using Commercial Sojtware First, some terminology Getting Started With DeltaAscii Using Delta with word processors Using Delta with SuperCalcPage Getting Started With Delta Using this book without learning BasicList OPEN4,4 CMD4 List PRINT#4 CLOSE4Establishing communications NEW NEW Lprint Testing RUNNEW LPRINTCHR$7 RUN CHR$ functionEscape Code NEW LPRINTCHR$27CHR$52 2$3LPRINT Testing RUNESC$=CHR$27 l@ LPRINTESC$ Some problem codesDelta User’s Manual Chapter Printing Text With Delta@ Lprint this is Elite Pitch Printing Print pitch CommandsLprint Condensedis the Narrowestpitch Lprint NOW WE are Back to Pica Pitch PrintingExpanded print LPRINTCHR$27W CHR$@NOW Were Back to NormalI s H153LPRINTCHR$14EXPANDEDELITE Pitch Print CommandsLprint NOW WE are Back to Unexpandedpica Printing Making Delta print darkerLprint this is DOUBLE-STRIKEPRINTING Print EmDhasis a CommandsItalic printing Italic CommandsSuperscripts and subscripts UnderJiningSuperscript Subscript commands NEW Lprint Thisline UsesMixing modes Build Instructionset Lprintelites Elite LPRINTPICA$ Pica LPRINTRESET.ALL$ Return LPRINTRESET.ALL$REGULAR.HEADING$= STRING$27,*+ Regular ReturnRepeatwith Italics Italics = False LPRINTROMAN$If Pica = False then LPRINTFOUR.DOT$ GOTO3590 If ENLARGED= True then LprintControl Code Function Here is the chart it producesPage Delta User’s Manual Line Spacing and Forms Control Changing Line Spacing This is what you will get Run the program again. Now the results will look like this Line spacing CommandsMoving down the page without a carriage return NEW Lprint LinenumberForm feed Forms ControlsChanging the Page Length Form length commandsLprint PAY to the Order Top and bottom margin commandsLineSpacingandFormsControl51 Control code SummaryESC Delta User’s Manual Formatting Your Output NEW Lprint ONECHR$9TWOCHR$9THREE CHR$9 Four Left and right margin commands One-shot tab command13@ Lprint Return 5B ENDLPRINTCHR$27P CHR$l@ CHR$Z@CHR$@ Control Code Function One-shot vertical tab commandNow hear this LChapterInitializing Delta Bell commandsPutting Delta to sleep Some Miscellaneous commandsPrinting to the bottom of the sheet Unidirectional printingLprint Lprint NextPrinting Direction Lprint I===WORK Lprint Deletedoes not NEW Lprint Backspacedoes notLprint Work Backspace and deleteEighth Bit controls Block graphics characters and special symbols3pl Lprint I II=11CHR$ICHR$9 4pI Next I Lprint Next J International Character set commands International character setsMacro control code Macro instruction Commands Macro Lprint CHR$18 Pica StartdefinitionOFF Regularprint END MacroControl code Function Bell Disable bell Enable bell Reset Off-lineOn-lineDelta User’s Manual Creating Your Own Characters Dot Matrix Printing 000 0 eeeS&fee Rule I Download characters are seven dots high Defining Your Own CharactersRule 2 Dots cannot overlap Add up each column of dots 8WRONGCreating YourOwn Characters Assigning a value to your character Download character definition commandCharacter designs for the four card suits Figure Y-10. The attribute byte n2 for our heart character Next MPrinting Download Characters LPRINTCHR$27CHR$36CHR$@ DEFINTA-Z Next J Read X LPRINTCHR$XNext Lprint Return DECKCARD=X Next Card ReturnLPRINTSUIT$SUIT Proportkmal Characters Download Character dejfinition commands12@ 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