Star Micronics Delta user manual Only Difference Is the way They Are Accessed

Page 102

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-

90

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Delta

User’s

Manual

-

 

One

thing

to

remember

about

defining

proportional

charac-

 

ters:

a

character

 

cannot be wider than the specified width. That

 

seems

 

obvious

enough!

 

For

example,

if you

specify

a width

of 6 for

--

a character, the seventh through eleventh columns of dots [if you

 

specified any) will not print. You must, however, send information

-

(even if it is 0) for those columns when you define a character;

 

Delta

expects

eleven

characters

following

the (ESC) “*” CHR$(l)

-

nl

n2

sequence.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In most cases, the width you select should actually be one dot

 

wider

 

than

the

number

of

columns

that

the

character

actually

_

occupies. This is so that there will be a space (of one dot) between

 

characters

when

you

print

them. If you

specify

a width

which

is

-

exactly

the same

as the

number

of columns

 

in the character

defini-

-

tion,

the

characters

 

will

touch when they print (this is sometimes

 

desirable-for

 

border

 

characters

or

for large download characters

-

that are more than eleven dots wide).

 

 

 

 

 

 

-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Printing

 

proportional

 

characters

 

 

 

 

 

 

 

 

 

 

Printing

with

proportional

download

 

characters

is much

like

-

using

 

normal

width

download

characters:

 

one

command

is used

 

to

select

the

download

 

set or the

standard

character

set. Here’s

the

-

command:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(ESC) "X" CHR$(n)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If n is 1, then

the

download

character

 

set

is selected, and pro-

-

 

 

portional

widths

are

 

used.

If n

is

0,

the

 

standard

character

set

is

 

selected.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-

It

should

be

noted

that

it is

possible

 

to

use

the

same

character

-

definitions

for

either

normal

width

or

proportional

download

char-

-

acters

(if a valid

proportional

 

width

is included

in the attribute

byte).

 

The only

difference

 

is the way

they

are

accessed:

(ESC)

I‘$”

 

CHR$(l)

 

for

normal

width

or (ESC)

“x”

CHR$(l)

for

proportional

 

 

width.

The

two

commands

 

work

independently

of each

other,

so

-

that (ESC)

“$”

CHR$(O)

will not

turn

off

proportional

 

download

 

 

characters, an-d (ESC) “X” CHR$(O) will not turn off normal width

 

download

characters.

 

If you

have

 

selected

both

normal

and propor-

-.

tional

download

 

characters,

 

proportional

 

will

print

until

you

send

 

the printer an (ESC) “X” CHR$(O). The printer will then continue to

 

print with normal width download characters (rather than returning

 

to the standard character set) until you send an (ESC) “$” CHR$(O).

 

This can

lead

to

confusion

if you

have

accidentally

specified both

 

types

of download

characters.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Image 102
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 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 DeltaList OPEN4,4 CMD4 List PRINT#4 CLOSE4Establishing 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 subscriptsSuperscript Subscript commands NEW Lprint Thisline UsesMixing 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 printingLprint Lprint NextPrinting 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 set commands International character setsMacro 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