USER’S MANUAL
SR-IO/I5
Trademark Acknowledgement
Federal Communications Commission Radio Frequency Interference
Statement
A note about the programs in this manual
the new SR-lo/Is
A Special Message to the New Owner
So, gentle reader, with this manual we hand you the key to
Table of Contents
Self-Test
First
Controls
Starting
Changing
Line
Commands
Commands to Control Print Style
Commands to Control Vertical Position of
Commands to Control Horizontal Position of
Functions of the Connector Signals
Table of Tables
Page
WHAT HAVE WE HERE?
SETTING UP SR- 1O/15
WHERE SHALL WE PUT IT?
CHAPTER
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
Figure 1-8. SR-lo/15 has parallel interface as standard
CONNECTING SR-lo/15 TO YOUR COMPUTER
GETTING TO KNOW YOUR SR-lo/15
COMPONENTS AND CONTROLS
CHAPTER
Power cord connector
Figure 2-1. Front and rear views of SR-IO
Ground terminal
Power cord conndr
Figure 2-2. Front and rear views of SR-15
Bail lever Control ,Ll W
POWER LAMP - Glows green when the power is on
Page
PAPER SELECTION AND LOADING
from Left-Hand
Left margin on the single sheet guide
Position of
Distance
you’ve practiced a few times, you’ll find it easy to load
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
Page
INSTALLATION
RIBBON
ADJUSTING THE GAP
SELF-TEST
SOME TIPS FOR SMOOTHER OPERATION
Page
CHAPTER
Using SR-lo/15 with commercial software
USING COMMERCIAL SOFTWARE
GETTING STARTED WITH SR-lo/l5
n First, some terminology
of its name
line feed
name
abbreviation
n The escape code
Subjects covered in this chapter include
CHR$ function Problem codes Command syntax used in this manual
Selecting the right software mode
CONTROLLING SR-lo/15 WITH BASIC
OPEN4,4 cMD4 LIST CLOSE4
PR#l LIST PR#@
LLIST it or however your computer does it. We’ve crossed the
10 LPRINT CHR$27 CHRS69
24LPRINT TESTING
NEW 10 LPRINT CHR$7 RUN
ESC CHR$69
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
SOME SPECIAL KINDS OF TEXT
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
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
pitch
Here’s what you should get from this program
This
line
This linm im DOUBLE-8TRIKE and EMPHASIZED
MAKING SR-lo/15 PRINT DARKER
MIXING MODES
Pitch Normal Emphasizzd Double-strike kEmphasized
Master Select and the 256 ASCII Codes Double-strike
SUMMARY
Control code
Function
STARTING NEW LINES
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
CHANGING LINE SPACING
60 LPRINT Line spacing is set to l/6 inch normal. 70 LPRINT CHR$27
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
30 LPRINT CHR$27 3 CHR$I
command
30 LPRINT CHR$27 A CHR$I LPRINT CHR$27
79 LPRINT CHR$27 A CHR$12 LPRINT CHR$27 fl11
STAR mode
spacing
CHR$h
10 Demo one-time line feeds
FORMS CONTROLS
Page
CHANGING THE PAGE LENGTH
Table 63 Form feed commands
Form length commands
TOP AND BOTTOM MARGINS
10 Demo top and bottom margins 20 LPRINT CHR$12 Form feed
SUMMARY
Control code
Function
feed
n/216 inch
Reverse form feed Set page length to n lines CHR$n
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”
Vertical tabs Left and right margins
In this chapter we will discover how to use Horizontal tabs
USING HORIZONTAL TABS
FORMATTING YOUR OUTPUT
When you run the program now it produces this
typewriter-once they are set all the printing is done between them
SETTING LEFT AND RIGHT MARGINS
The commands
SR-10/15’s left and right margins work just like a
USING VERTICAL TABS
12 LPRINT CHR$27 P CHR$lfl 14 LPRINT CHR$2@ CHR$4@ CHR$50 CHR$@
60 LPRINT CHR$ll Fifth tab
First tab Second tab Third tab Fourth tab
Function
“B” nl n2 d
SUMMARY
Control code
International character sets Macro instruction
SPECIAL FEATURES OF THE SR-lo/15
Commands covered in this chapter include Bell Master reset
Unidirectional printing Eighth bit control Block graphics
You can try this by typing
n Printing to the bottom of the sheet
40 LPRINT DELETE DOES NOT
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
n Unidirectional printing
n The seven bit dilemma
n Block graphics characters and special symbols
Page
184 194 l 2!34 t 214 r 224 I-r L .J4 ? 244 c’ 254
134 A 144 154 ti 164 iT
n International character sets
The characters that change are shown beneath their ASCII code in Table
Define macro
Function
Control code CHRS7 ESC “Y”
SUMMARY
ESC “Y” ESC “y” ESC “y” ESC “@” CHR$ CHRSl7 ESC “8”
Page
Designing proportional characters
CREATING YOUR OWN CHARACTERS
In this chapter we’ll cover
Designing and printing your own characters
0.0 oao
THE PRINT MATRIX
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
80 LPRINT 90 DATA 139,2,5,8,241,0,0,241,8,5,2,0
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
If it doesn’t, check the last program we ran for errors, then rerun it
140 LPRINT ESC$ $1 150 LPRINT wAutos TB$
CHARACTERS
ERASING DOWNLOAD CHARACTER DEFINITIONS
DEFINING
PROPORTIONAL
Page
Standard characters without proportional spacing
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
W Connecting characters
10 Program to define and print numerals
450 DATA 11, 8, 8, 0, 0, 0, 48, 8, 112, 0, 96
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
DATA
DATA
0, 6, 0, 14, 0
70, 0, 70, 0, 70
Control code
ESC “*”
1 nl n2 mO ml ...mZl
Defines download character into RAM for STAR mode
Page
Printing a pre-defined shape Plotting a calculated shape
High resolution graphics
PRINTING WITH DOT GRAPHICS
SR-10/15’s bit image graphics capabilities
n Specifying the number of columns of dots
n Specifying the graphics data
60 FOR I = 0 TO WID-1 70 PRINT #1,CHR$2”INTl+SINI*PI/32*3.5+.5
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
Page
Page
60 GRAPHICS = CHR$27+CHR$75 70 DIM LOG0$4 80 WIDTH LPT1,255
DATA 128,0,0,0,0,0,0,0,0,0
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
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 =
different
They were all printed using the plotting program in this chapter
So what
do these
or ESC “*” CHR$3 nl
Dot graphics commands
density graphics
Double density graphics
Double density/double speed ‘
Quadruple
CRT graphics
Normal density graphics
Double density graphics Double density/double speed
Quadruple density graphics
Star’s engineers have given programmers a unique shortcut for
Master graphics selection for IBM mode
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