SR-IO/I5
USER’S MANUAL
A note about the programs in this manual
Federal Communications Commission Radio Frequency Interference
Statement
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
First
Table of Contents
Self-Test
Line
Starting
Changing
Controls
Commands to Control Horizontal Position of
Commands to Control Print Style
Commands to Control Vertical Position of
Commands
Functions of the Connector Signals
Table of Tables
Page
CHAPTER
SETTING UP SR- 1O/15
WHERE SHALL WE PUT IT?
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
CHAPTER
GETTING TO KNOW YOUR SR-lo/15
COMPONENTS AND CONTROLS
Ground terminal
Power cord connector
Figure 2-1. Front and rear views of SR-IO
Bail lever Control ,Ll W
Power cord conndr
Figure 2-2. Front and rear views of SR-15
POWER LAMP - Glows green when the power is on
Page
PAPER SELECTION AND LOADING
Distance
Left margin on the single sheet guide
Position of
from Left-Hand
Here’s the proper sequence for loading
1. Turn off the power and remove the rear cover. After
Figure 2-5. The metal guide is used to align the left margin
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
GETTING STARTED WITH SR-lo/l5
Using SR-lo/15 with commercial software
USING COMMERCIAL SOFTWARE
CHAPTER
n First, some terminology
abbreviation
line feed
name
of its name
n The escape code
CONTROLLING SR-lo/15 WITH BASIC
CHR$ function Problem codes Command syntax used in this manual
Selecting the right software mode
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
ESC CHR$69
24LPRINT TESTING
NEW 10 LPRINT CHR$7 RUN
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
Underlining Superscript and subscripts Print pitch Print emphasis
PRINTING TEXT WITH SR-lo/15
In this chapter we’ll cover Near letter quality characters Italics
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
line
Here’s what you should get from this program
This
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
Function
SUMMARY
Control code
Change the length of the page Set top and bottom margins
In this chapter we will learn how to Change the vertical spacing
LINE SPACING AND FORMS CONTROL
STARTING NEW LINES
CHANGING LINE SPACING
30 LPRINT CHR$27 A CHR$I 4@ LPRINT This line spacing is set to
This is what you will get
NEW 18 FOR I = 1 TO
60 LPRINT Line spacing is set to l/6 inch normal. 70 LPRINT CHR$27
79 LPRINT CHR$27 A CHR$12 LPRINT CHR$27 fl11
command
30 LPRINT CHR$27 A CHR$I LPRINT CHR$27
30 LPRINT CHR$27 3 CHR$I
spacing
STAR mode
CHR$h
10 Demo one-time line feeds
FORMS CONTROLS
Page
Form length commands
CHANGING THE PAGE LENGTH
Table 63 Form feed commands
TOP AND BOTTOM MARGINS
Function
SUMMARY
Control code
10 Demo top and bottom margins 20 LPRINT CHR$12 Form feed
n/216 inch
feed
ESC “R” CHR$n ESC “r” CHR$n ESC “N” CHR$n ESC “0”
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
Reverse form feed Set page length to n lines CHR$n
FORMATTING YOUR OUTPUT
In this chapter we will discover how to use Horizontal tabs
USING HORIZONTAL TABS
Vertical tabs Left and right margins
When you run the program now it produces this
SR-10/15’s left and right margins work just like a
SETTING LEFT AND RIGHT MARGINS
The commands
typewriter-once they are set all the printing is done between them
USING VERTICAL TABS
First tab Second tab Third tab Fourth tab
12 LPRINT CHR$27 P CHR$lfl 14 LPRINT CHR$2@ CHR$4@ CHR$50 CHR$@
60 LPRINT CHR$ll Fifth tab
Control code
“B” nl n2 d
SUMMARY
Function
Unidirectional printing Eighth bit control Block graphics
SPECIAL FEATURES OF THE SR-lo/15
Commands covered in this chapter include Bell Master reset
International character sets Macro instruction
You can try this by typing
n Printing to the bottom of the sheet
20 LPRINT CHRS8 CHR$8 CHR$8 3@ LPRINT I===WORK
50 LPRINT CHR$127 CHR$127 CHR$127 60 LPRINT WORK 74LPRINT CANCEL TEXT
NEW 10 LPRINT BACKSPACE DOES NOT
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
ESC “Y” ESC “y” ESC “y” ESC “@” CHR$ CHRSl7 ESC “8”
Control code CHRS7 ESC “Y”
SUMMARY
Function
Page
Designing and printing your own characters
CREATING YOUR OWN CHARACTERS
In this chapter we’ll cover
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
30 FOR M = 0 TO 40 READ MM 50 LPRINT CHR$MM 60 NEXT M 70 NEXT N
PRINTING DOWNLOAD CHARACTERS
10 LPRINT CHR$27 * CHR$l CHR$160 CHRS162 20 FOR N = 160 TO
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$
PROPORTIONAL
ERASING DOWNLOAD CHARACTER DEFINITIONS
DEFINING
CHARACTERS
Page
250 DATA 115,185,0,0,0,16,42,0,42,4,0,0,0
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
Standard characters without proportional spacing
W Connecting characters
10 Program to define and print numerals
430 DATA9, 244, 10, 244, 2, 8, 2, 8, 2, 0, 0
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
450 DATA 11, 8, 8, 0, 0, 0, 48, 8, 112, 0, 96
70, 0, 70, 0, 70
DATA
0, 6, 0, 14, 0
DATA
Defines download character into RAM for STAR mode
ESC “*”
1 nl n2 mO ml ...mZl
Control code
Page
SR-10/15’s bit image graphics capabilities
High resolution graphics
PRINTING WITH DOT GRAPHICS
Printing a pre-defined shape Plotting a calculated shape
n Specifying the number of columns of dots
n Specifying the graphics data
50 PRINT #l,CHR$27 “K” CHR$WID MOD 256 CHR$INTWID/256
10 ‘Demo dot graphics 20 PI = 30 WID =
49OPEN “LPTl” AS 111 WIDTH #1,255
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 192,128,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 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 =
do these
They were all printed using the plotting program in this chapter
So what
different
Dot graphics commands
or ESC “*” CHR$3 nl
Quadruple
Double density graphics
Double density/double speed ‘
density graphics
Quadruple density graphics
Normal density graphics
Double density graphics Double density/double speed
CRT graphics
Star’s engineers have given programmers a unique shortcut for
Master graphics selection for STAR mode ESC 3” n0 nl n2 ml m2
ESC “g” n0 nl n2 ml m2
ESC ‘2” nl n2 ml m2... Print quadruple density graphics for IBM mode
Master graphics selection for IBM mode