SR-IO/I5
USER’S MANUAL
Federal Communications Commission Radio Frequency Interference
Statement
A note about the programs in this manual
Trademark Acknowledgement
A Special Message to the New Owner
the new SR-lo/Is
So, gentle reader, with this manual we hand you the key to
Self-Test
Table of Contents
First
Starting
Changing
Line
Controls
Commands to Control Print Style
Commands to Control Vertical Position of
Commands to Control Horizontal Position of
Commands
Functions of the Connector Signals
Table of Tables
Page
SETTING UP SR- 1O/15
WHERE SHALL WE PUT IT?
CHAPTER
WHAT HAVE WE HERE?
on the next
n Removing packing and shipping screws
n Installing the platen knob
n Installing the ribbon cartridge
Figure l-5. A guide pin on each side of the ribbon cartridge helps to align the cartridge during installation
5. Now thread the ribbon carefully between the print head and the ribbon guide next to the platen. Take a good look at Figure l-7. You might want to use a ball point pen to lightly press the ribbon guide against the platen runbber roller while you insert the ribbon into the thin space between the print head and ribbon guide. Zmporiant Center the ribbon vertically in the middle of the print head to avoid misprints or the ribbon coming off during printing
CONNECTING SR-lo/15 TO YOUR COMPUTER
Figure 1-8. SR-lo/15 has parallel interface as standard
COMPONENTS AND CONTROLS
GETTING TO KNOW YOUR SR-lo/15
CHAPTER
Figure 2-1. Front and rear views of SR-IO
Power cord connector
Ground terminal
Figure 2-2. Front and rear views of SR-15
Power cord conndr
Bail lever Control ,Ll W
POWER LAMP - Glows green when the power is on
Page
PAPER SELECTION AND LOADING
Left margin on the single sheet guide
Position of
Distance
from Left-Hand
1. Turn off the power and remove the rear cover. After
Figure 2-5. The metal guide is used to align the left margin
Here’s the proper sequence for loading
you’ve practiced a few times, you’ll find it easy to load
Page
RIBBON
INSTALLATION
ADJUSTING THE GAP
SELF-TEST
SOME TIPS FOR SMOOTHER OPERATION
Page
Using SR-lo/15 with commercial software
USING COMMERCIAL SOFTWARE
GETTING STARTED WITH SR-lo/l5
CHAPTER
n First, some terminology
line feed
name
abbreviation
of its name
n The escape code
CHR$ function Problem codes Command syntax used in this manual
Selecting the right software mode
CONTROLLING SR-lo/15 WITH BASIC
Subjects covered in this chapter include
PR#l LIST PR#@
OPEN4,4 cMD4 LIST CLOSE4
LLIST it or however your computer does it. We’ve crossed the
24LPRINT TESTING
NEW 10 LPRINT CHR$7 RUN
ESC CHR$69
10 LPRINT CHR$27 CHRS69
COMMAND SYNTAX USED IN THIS MANUAL
SELECTING THE RIGHT SOFTWARE MODE
in STAR mode. There are some cases where you would use IBM mode with your computer, if you wish
Page
PRINTING TEXT WITH SR-lo/15
In this chapter we’ll cover Near letter quality characters Italics
Underlining Superscript and subscripts Print pitch Print emphasis
SOME SPECIAL KINDS OF TEXT
In this program, line 20 selects NLQ characters with the
Here is what you should get
n Superscripts and subscripts
CHANGING THE PRINT PITCH
30 LPRINT This line is CONDENSED pitch
Now the results look like this
Here’s what you should get from this program
This
line
pitch
MAKING SR-lo/15 PRINT DARKER
This linm im DOUBLE-8TRIKE and EMPHASIZED
MIXING MODES
Master Select and the 256 ASCII Codes Double-strike
Pitch Normal Emphasizzd Double-strike kEmphasized
Control code
SUMMARY
Function
In this chapter we will learn how to Change the vertical spacing
LINE SPACING AND FORMS CONTROL
Change the length of the page Set top and bottom margins
STARTING NEW LINES
CHANGING LINE SPACING
This is what you will get
NEW 18 FOR I = 1 TO
30 LPRINT CHR$27 A CHR$I 4@ LPRINT This line spacing is set to
60 LPRINT Line spacing is set to l/6 inch normal. 70 LPRINT CHR$27
command
30 LPRINT CHR$27 A CHR$I LPRINT CHR$27
79 LPRINT CHR$27 A CHR$12 LPRINT CHR$27 fl11
30 LPRINT CHR$27 3 CHR$I
spacing
STAR mode
CHR$h
10 Demo one-time line feeds
FORMS CONTROLS
Page
Table 63 Form feed commands
CHANGING THE PAGE LENGTH
Form length commands
TOP AND BOTTOM MARGINS
SUMMARY
Control code
Function
10 Demo top and bottom margins 20 LPRINT CHR$12 Form feed
n/216 inch
feed
One-time reverse line feed of n/216 inch for IBM mode Form feed
ESC “j”CHR$n CHR$ ESC CHR$ ESC “C” CHR$n ESC “C” CHR$O
ESC “R” CHR$n ESC “r” CHR$n ESC “N” CHR$n ESC “0”
Reverse form feed Set page length to n lines CHR$n
In this chapter we will discover how to use Horizontal tabs
USING HORIZONTAL TABS
FORMATTING YOUR OUTPUT
Vertical tabs Left and right margins
When you run the program now it produces this
SETTING LEFT AND RIGHT MARGINS
The commands
SR-10/15’s left and right margins work just like a
typewriter-once they are set all the printing is done between them
USING VERTICAL TABS
60 LPRINT CHR$ll Fifth tab
12 LPRINT CHR$27 P CHR$lfl 14 LPRINT CHR$2@ CHR$4@ CHR$50 CHR$@
First tab Second tab Third tab Fourth tab
“B” nl n2 d
SUMMARY
Control code
Function
SPECIAL FEATURES OF THE SR-lo/15
Commands covered in this chapter include Bell Master reset
Unidirectional printing Eighth bit control Block graphics
International character sets Macro instruction
You can try this by typing
n Printing to the bottom of the sheet
50 LPRINT CHR$127 CHR$127 CHR$127 60 LPRINT WORK 74LPRINT CANCEL TEXT
NEW 10 LPRINT BACKSPACE DOES NOT
20 LPRINT CHRS8 CHR$8 CHR$8 3@ LPRINT I===WORK
40 LPRINT DELETE DOES NOT
n Unidirectional printing
n The seven bit dilemma
n Block graphics characters and special symbols
Page
134 A 144 154 ti 164 iT
184 194 l 2!34 t 214 r 224 I-r L .J4 ? 244 c’ 254
n International character sets
The characters that change are shown beneath their ASCII code in Table
Define macro
Control code CHRS7 ESC “Y”
SUMMARY
ESC “Y” ESC “y” ESC “y” ESC “@” CHR$ CHRSl7 ESC “8”
Function
Page
CREATING YOUR OWN CHARACTERS
In this chapter we’ll cover
Designing and printing your own characters
Designing proportional characters
THE PRINT MATRIX
0.0 oao
DEFINING YOUR OWN CHARACTERS
n Rule 1 Download characters are eight dots high
12*I
WRONG
w Assigning a value to your character
Figure 9-9. Character designs for the three graph symbols
n Download character definition command
0 000 1011 = Ildecimal
PRINTING DOWNLOAD CHARACTERS
10 LPRINT CHR$27 * CHR$l CHR$160 CHRS162 20 FOR N = 160 TO
30 FOR M = 0 TO 40 READ MM 50 LPRINT CHR$MM 60 NEXT M 70 NEXT N
80 LPRINT 90 DATA 139,2,5,8,241,0,0,241,8,5,2,0
If it doesn’t, check the last program we ran for errors, then rerun it
140 LPRINT ESC$ $1 150 LPRINT wAutos TB$
ERASING DOWNLOAD CHARACTER DEFINITIONS
DEFINING
PROPORTIONAL
CHARACTERS
Page
230 DATA 105,200,0,0,0,0,2,~88,2,0,0,0,0
240 DATA 112,41,0,0,127,0,68,0,68,56,0,0,0
250 DATA 115,185,0,0,0,16,42,0,42,4,0,0,0
Standard characters without proportional spacing
W Connecting characters
10 Program to define and print numerals
400 DATA 11, 0, 0, 0, 0, 0, 32, 0, 32, 0, 32
420 DATA 11, 2, 0, 2, 0, 29 8, 2, 4, 10, 244
430 DATA9, 244, 10, 244, 2, 8, 2, 8, 2, 0, 0
450 DATA 11, 8, 8, 0, 0, 0, 48, 8, 112, 0, 96
DATA
0, 6, 0, 14, 0
70, 0, 70, 0, 70
DATA
ESC “*”
1 nl n2 mO ml ...mZl
Defines download character into RAM for STAR mode
Control code
Page
High resolution graphics
PRINTING WITH DOT GRAPHICS
SR-10/15’s bit image graphics capabilities
Printing a pre-defined shape Plotting a calculated shape
n Specifying the number of columns of dots
n Specifying the graphics data
10 ‘Demo dot graphics 20 PI = 30 WID =
49OPEN “LPTl” AS 111 WIDTH #1,255
50 PRINT #l,CHR$27 “K” CHR$WID MOD 256 CHR$INTWID/256
60 FOR I = 0 TO WID-1 70 PRINT #1,CHR$2”INTl+SINI*PI/32*3.5+.5
Page
Page
60 GRAPHICS = CHR$27+CHR$75 70 DIM LOG0$4 80 WIDTH LPT1,255
DATA 7,3,0,0,0,0,0,0,0,0
DATA 255,127,0,0,0,0,0,0,0,0
DATA 192,128,0,0,0,0,0,0,0,0
DATA 128,0,0,0,0,0,0,0,0,0
LYFAC = 87/LY
600 ’
you need to change are the values in line 40. The array MASK% contains the values of the dots. In order to make this program run on the most computers, we’re using only six pins for graphics. With many computers, you can use all eight available pins. In lines 90 and 100 we’ve defined some other variables you’ll be interested in LX, LXFAC, LY, and LYFAC are used as scaling factors. By changing these values, you can change the size of your printed image or even distort it you can, for example, make our circle print as an ellipse. Experiment a little bit
610 Subroutine to plot a star 620 630 RAD =
They were all printed using the plotting program in this chapter
So what
do these
different
Dot graphics commands
or ESC “*” CHR$3 nl
Double density graphics
Double density/double speed ‘
Quadruple
density graphics
Normal density graphics
Double density graphics Double density/double speed
Quadruple density graphics
CRT graphics
Star’s engineers have given programmers a unique shortcut for
ESC “g” n0 nl n2 ml m2
ESC ‘2” nl n2 ml m2... Print quadruple density graphics for IBM mode
Master graphics selection for STAR mode ESC 3” n0 nl n2 ml m2
Master graphics selection for IBM mode