Home
Gemini 10X,15X User`s Manual
Contents
1. When the ESC U 1 code is sent to the printer all subsequent lines are printed in unidirectional printing mode This mode is invoked by the super subscript mode and by the graphics mode Unidirectional printing is useful in printing tables and charts and ensures that columnar numbers and other characters are in alignment The ESC U 0 code is sent to the printer to cancel unidirectional printing and return to the faster standard bidirectional printing mode LPRINT Bidirectional printing FOR 1 TO 10 LPRINT 25 1 29 I NEXT LPRINT Unidirectional printing CHR 27 U CHR 1 FOR 1 TO 10 LPRINT 25 1 29 NEXT I LPRINT CHR 27 U CHR 0 The Function Codes COMMANDS USED TO CONTROL VERTICAL POSITION OF THE PRINT HEAD These commands are used to control or move the paper relative to the location of the print head Moving the paper up has the effect of moving the print head down the page Line Feed Controls PURPOSE Advance the paper by one line line feed command FORMAT LF CHR 10 REMARKS The line feed is set to 1 6 inch if DIP switch 1 5 is upon power up or printer reset If DIP switch 1 5 is off the line feed will be 1 8 inch The size of the line feed can be changed using the codes listed below When DIP switch 2 4 is a line feed is automatically generated when the printer receives CR code CHR 13
2. the character into memory Because of this limitation we had to use POKE instead of PRINT statement for the Commodore computer However when we POKE characters into screen memory the color will be light so you must make sure that the background color on your screen is dark 183 Gemini User s Manual 10 DPEN4 4 5 CMD4 20 PRINT TAB 30 HIGH RESOLUTION VERTICAL SPACING 30 PRINT TAB 30 USING THE ESC 5 N CONTROL CODE 40 FOR 1 1 TO 30 50 IF THEN 140 50 2 THEN 70 PRINT CHRS 27 51 CHRS 1 30 FOR 0 TO M 20 IF 1 THEN PRINT 144 INCH SPACING 10 6070 110 xs 100 PRINT TAB S0 110 FOR 70 40 CHR 241 NEXT N PRINT 120 NEXT 2 140 NEXT 1 150 PRINT CHR 27 8 169 PRINT 4 CLOSE4 170 ENE Figure C 3 is the vertical spacing program refer to Figure 6 5 amended for the Commodore computer 0 OPENS 4 5 CMD4 20 PRINT CHRS 27 CHR 27 A 4CHRS 6 30 FOR LINES 70 2 40 PRINT amp 27 K CHRE 114 1248 0 50 FOR SPACE 1 TO 100 ES PRINT CHRS O NEXT SPACE 50 FOR COLMs TO 14 70 READ C PRINT CHRS C NEXT 30 PRINT LINE 90 DATA 19 14 34 64 40 140 128 128 140 140 54 24 15 14 100 DATA 224 16 232 58 24 18 18 18 18 24 68 232 14 228 110 PRINT CHRS 27 Bi PRINT PRINT 120 PRINT A CLOSES 110 END Figure C 4 is the dot gra
3. MS6 2 s 1 4CHRS 120 M568 3 Y CHRS 121 180 FOR J 1 TO 4 170 IF 152 THEN LPRINT 176 180 IF 1 THEN LPRINT CMS NORMAL 190 IF 2 2 THEN LPRINT CMS DOUBLE STRIKE 200 IF Ja3 THEN LPRINT CMS EMPHASIZED 210 IF J 4 THEN LPRINT CMS DOUBLE STRIKE 220 FOR 1 TO 6 230 IF 1 THEN LPRINT CNS 240 IF 2 THEN LPRINT ELS 250 IF K 3 THEN LPRINT PCS 260 IF K 4 THEN LPRINT 083408 270 IF K 5 THEN LPRINT ELS NDS 280 IF 6 THEN LPRINT PCSsNDS 290 IF Js2 THEN LPRINT 088 100 IF J 3 THEN LPRINT EHS 310 IF J 4 THEN LPRINT DB EMS 320 LPRINT MSGS 1 sSP 3HS6 2 CS SBSsNSGS 3 C CDS 330 IF THEN LPRINT CWS 340 NEXT K 150 IF 324 THEN LPRINT E A CHR B LF CM EMPHASIZED 360 LPRINT PS 365 IF 152 THEN LPRINT LFS we we 196 Osborne 370 NEXT J 180 FOR 1 TO S LPRINT LPS NEXT M 390 NEXT I 400 END Figure E 1 is the font styles program refer to Figure 5 1 amended for the Osborne computer 5 CLRS CHR 26 10 PRINT CLRS DIM 6 22 52 121 Y 15 S CHRS 27 CHR 61 17 DEF FNLS X S CHRS 1932 CHRS 32 20 PRINT CLR 1 7 30 GOSUB 150 PRINT FNLS I Y 40 BS INKEYS IF B THEN 40 50 IF 8 5 THEN PRINT CLRS END 40 IF BS CHRS 18 THEN PRINT CLR 60SUB 200 60TD 20 70 IF B sCHRE 18 THEN 210 80 IF BS CHRS 13 THEN GOSUB 700 60T0 40 90 IF BS CHRS 4 THEN GOSUB 130 5070 40 100 PRINT FNLS X
4. 5 EMPHASIZED 150 IF 054 THEN PRINT M CHRE 27 P CHRS 3 DOUBLE STRIKE 150 FOR TO 170 IF K 1 THEN PRINT HSCHRS 27 8 CHRSUD 180 IF THEN PRINT M4CHR 27 B CHRS 2 190 IF K 3 THEN PRINT 4 8 27 B CHRS L 200 IF THEN PRINT H CHR 272 B 5 CHR 3 CHR 14 210 IF K 5 THEN PRINT 4 CHRS 27 B s CHRS 2 CHRE 14 220 IF THEN PRINT 85 CHRE 27 8 CHRE D CHRE 14 230 IF 252 THEN PRINT M HRS 27 6 2 240 IF J 3 THEN PRINT 27 ES 250 IF J 4 THEN PRINT 4 27 6 CHRS 27 E 260 PRINT 4 18 CHR 27 5 0 126 CHR 27 E CHR 2 38 265 PRINT 4 CHRS 27 1 CHR 18 300 IF THEN PRINT 4 8 18 310 NEIT K 320 IF 154 THEN GOSUB 500 40 PRINT 4 CHRS 27 6 350 IF 252 THEN PRINT MCHRS IO 160 NEXT J 370 FOR Me1 TO S PRINT 4 M 380 NEXT 1 400 CLOSE 4 168 m ma Atari 800 400 B 410 END 500 PRINT 4 CHR 27 CHRS 9 10 510 PRINT 4 27 3 520 PRINT H SEHR 13 EMPHASIZED 530 RETURN Figure B 1 is the font styles program refer to Figure 5 1 amended for the Atari computer DIM A 80 B 22 80 h DIN C 22 D6 10 10 FS C100 S110 7 Nel 10 GRAPHICS 0 15 60508 2000 20 INPUT AS 25 IF A z STOP THEN 160 26 IF AS COM THEN 500 10 GOSUB 1000 40
5. input Input Output Output Output Output Output Input Output Function Reads in the data Communicates bytes of data Acknowledges receipt of data indicates receptiveness to more data Notifies that you re out of paper Oniine mode Indicator unused unused Signal ground Frame ground External 5VDC Power max 50 Return signals conveyed by twisted pair cable Resets printer clears buffer and initializes Indicates offline mode External ground unused TTL high level Figure N 1 The parallel interface signals and their names pins classifications and functional summary 247 Gemini User s Manual ET The groundings are provided by three pins Pin 16 is the signal ground 17 is the chassis ground and pin 33 is the external ground Pin 18 carries 5 volts of direct current Twisted pair return signals for pins 1 through 12 are conveyed by pins 19 through 30 respectively Pin 31 INPUT PRIME carries the signal for resetting the control logic When this signal goes low the printer is initialized and the memory buffer is cleared Another output signal ERROR is carried by pin 32 When Gemini is off line or disabled by an abnormal state the ERROR signal goes low Pins 14 15 34 35 and 36 are unused Signal Name Circuit Example Input 47 7415 compatible 7415 compatible 47 1008 SEI ue 470pF Output 4 7 7415 compatibie BUSY
6. Figure N 2 Sample circuit for parallel interface gt more than 0 5 psec Figure N 3 Data transfer timing chart for parallel interface 248 Parallel interface information H Notes 249 Code Chart This chart shows the code numbers in decimal hexadecimal and binary form Decimal Binary Hexa Decimal Binary Hexa decimal decimal 0 00000000 00 36 00100100 24 1 00000001 01 37 00100101 25 2 00000010 02 38 00100110 26 3 00000011 03 39 00100111 27 4 00000100 04 40 00101000 28 5 00000101 05 41 00101001 29 6 00000110 06 42 00101010 2A 7 00000111 07 43 00101011 2B 8 00001000 08 44 00101100 2C 9 00001001 09 45 00101101 2D 10 00001010 46 00101110 2E 11 00001011 47 00101111 12 00001100 0 48 00110000 30 13 00001101 00 49 00110001 31 14 00001110 50 00110010 32 15 00001111 OF 51 00110011 33 16 00010000 10 52 00110100 34 17 00010001 11 53 00110101 35 18 00010010 12 54 00110110 36 19 00010011 13 55 00110111 37 20 00010100 14 56 00111000 38 21 00010101 15 57 00111001 39 22 00010110 16 58 00111010 3A 23 00010111 17 59 00111011 3B 24 00011000 18 60 00111100 3C 25 00011001 19 61 00111101 3D 26 00011010 1A 62 00111110 3E 27 00011011 1B 63 00111111 3F 28 00011100 1C 64 01000000 40 29 00011101 1D 65 01000001 41 30 00011110 1E 66 01000010 42 31 00011111 1F 67 01000011 43 32 00100000 20 68 01000100 44 33 00100001 21 69 01000101 45 34 00100010 22 70 01000110 46 35 0010001
7. lt gt P m 2060 RETURN Figure B 2 is the word processing program refer to Figure 5 4 amended for the Atari computer DIM AS 30 BS 12 10 OPEN 4 8 0 P 20 Mz 25 B 30 PRINT 4 A HIGH RESOLUTION VERTICAL SPACING 35 PRINT 4 49 USING THE ESC 3 N CONTROL CODE 40 FOR 1 1 TO 30 50 IF 1213 THEN 140 b0 MEINT 144 681 31F 12 THEN 70 PRINT CHRS 27 sCHRS 51 CHRELD 80 FOR J 0 TO M 90 IF 1 THEN PRINT 4 1 144 INCH SPACING 86 60 110 100 PRINT 4 46 110 FOR Nei TO 40 PRINT 4 CHRS 241 NEXT N PRINT 4 120 NEXT J 140 NEXT 1 150 PRINT 4 8 27 0 160 CLOSE 4 170 END Figure B 3 is the vertical spacing program refer to Figure 6 5 amended for the Atari computer 10 OPEN 4 8 0 20 PRINT 4 CHR 27 8 27 A CHRS 6 30 FOR LINE 1 0 2 40 PRINT PACHAS 27 K CHRS 114 sCHRE 0 50 FOR SPACE 1 100 55 PRINT 4 0 NEXT SPACE 60 FOR COLM 1 14 70 READ C PRINT 4 CHRS C NEXT COLM 80 PRINT 4 NEXT LINE 171 B Gemini User s Manual 90 DATA 14 16 34 54 140 140 128 128 140 140 64 24 16 14 100 DATA 224 16 232 68 34 18 18 18 18 34 68 272 16 224 110 PRINT 4 CHRS 27 8 120 FOR 151 T S PRINT H NEJT I 130 CLOSE 140 END Figure B 4 is the dot graphics program presented in Chapter 6 the one that p
8. on your Gemini and posi tion switch number 2 1 as you wish DIP switch number 2 2 shold be set off if you want Gemini to print every time it receives a CR code set the switch to if you wish to have the carriage return ignored allowing for print ing only when the buffer is full The Use of BASIC Atari BASIC is somewhat different from the Microsoft BASIC used in this manual If you do not have the Microsoft BASIC cartridge for your Atari the following discussion will help you understand the modification necessary for the programs given this manual Then you may simply type the amended programs listed at the back of this appendix i Send a program listing to the Gemini using a LIST P com mand instead of LLIST as shown in the sample programs in this manual All character string variables must be dimensional if you are using Atari BASIC The maximum length of a string is 99 characters If you use Atari BASIC ending the LPRINT command with a semicolon causes Atari to insert spaces the line until it reaches 165 166 Gemini User s Manual 40 characters in length To avoid this problem you must remember another form of the print command Instead of LPRINT 27 5 you need to open a device port using the OPEN statement 10 OPEN 7 8 0 P Note 7 tells the Atari to open file number 7 the 8 tells it that you are usin
9. 11 INVERSE PRINT HTAB 10 PRINT 17 PRINT RIETURN NORMAL GET 64 IF 6 P THEN GOSUB 310 IF 6 C THEN GOSUB 320 GOTO 230 IF 6 THEN GOSUB 300 5070 30 250 FOR I 1 TO X FOR J 1 TO 40 1 PRINT AG I d yt NEXT Ji NEXT I RETURN PRE 1 155 Gemini User s Manual 311 PRINT CHR 9 40N 312 FOR 1 1 TO Y FOR J 1 TO 40 313 PRINT NEXT J NEXT I 34 PRE 0 218 VTAB 24 HTAB 30 317 RETURN 320 24 1 PRINT BLS 330 REM 140 VTAB 24 HTAB 1 INVERSE PRINT E 350 8 PRINT C CHR 16 PRINT Q END COMMAND 155 NORMAL 360 GET 6 370 IF 6 E THEN 60508 420 GOTO 400 380 IF 66 THEN 60908 530 6070 400 390 IF 6 0 THEN GOTO 410 400 GOTO 360 410 RETURN 420 130 22 HTAB 4 PRINT ESC i 430 6 440 IF 6 CHR 13 THEN 480 430 PRINT 69 455 IF I gt 0 THEN 470 460 PRINT 470 S 1 6411 s I 1 GOTO 430 480 IF 1 2 THEN FOR J 1 TO 1 08 0 S8 J NEXT J ST CHR 27 88 0 VAL 04 06 490 IF 1 3 2 THEN ST CHR 27 5600 CHR VAL 58 1 00 IF I 1 THEN 678 CHRO 27 610 10 PRE i PRINT CHR 9 40N 1 PRINT 8741674 s PRO 0 FOR J s 1 TO 118607 5 NEXT Jel 30 20 22 HTAB 4 PRINT BL 1 RETURN 530 VTAB 22 HTAB 2 PRINT CHR s ST
10. 135 REMARKS EXAMPLE Gemini User s Manual This command enables the print head to shift columns to the right The value must be between 1 and 127 This does not change the present horizontal tab LPRINT CHR 27 CHR 98 CHR 45 Shifts the print head 45 columns to the right COMMANDS USED TO CONTROL GRAPHICS 136 PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT Print low resolution normal density graphics ESC n1 n2 m1 m2 27 CHR 75 CHR n1 CHR n2 CHRS m1 CHR m2 This command selects the 60 dots per inch column scan bit image graphics mode The number of columns to be printed is given by n1 256 n2 There must be n1 256 n2 characters following n2 These characters determine which pins are fired according to the explanation found in Chapter 6 for dot graphics Print high resolution double density graphics ESC L n1 n2 m2 CHR 27 CHR 76 CHR n1 CHR n2 CHR m1 CHR m2 This command selects the 120 dots per inch graphics mode See remarks for the ESC K code for additional details Print high resolution double density graphics with double speed ESC y n1 n2 m1 m2 CHR 27 CHR 121 1 CHR n2 CHR m1 CHR m2 The Function Codes REMARKS PURPOSE FORMAT REMARKS This command selects the 120 dots per inch graphics mode but with double the p
11. function code to allow 7 bit interface users to overcome this prob lem See Chapter 9 for a discussion of this problem Apple users and other 7 bit interface users should also be aware of the difference between 7 bit and 8 bit interface graphics See Chapter 6 for a discussion on this topic Apple Plus a Pin Configurations The following chart shows the pin outs for Gemini 10X and Gemini 15X printers and the Apple Plus using a parallel inter face board Parallel Gemini 10X 15X Apple Board 25 SG 1 SG 26 SG 2 SG 27 SG 3 G 1 STROBE 4 STROBE 28 SG 5 N C 2 D1 6 D1 3 D2 7 D2 4 D3 8 D3 5 04 9 D4 6 D5 10 D5 7 D6 11 06 8 07 12 07 9 08 13 08 10 14 29 15 SG Note f you purchased a Star Micronic s intelligent Apple Inter face Board it comes complete with the cable Just plug it in and it s ready to go Program Listings 4 REM 5 REM 11 PRINTING EFFECTS PROG 11 amp REN 10 f PRINT CHRS 9 132N PRINT 20 ESC CHR 27 LF CHRS 10 FF 129 CRS CHRS 13 30 PICAS ESC B CHR 1 ELITES ESCS 8 12 1COMPS ESC 3 40 SPRS ESC 5 CHRS 0 SUBS ESC S CHRS 1 CANSS ESC ve 0 ITALICS ESC CHR 52 55 STNDS ESC 53 60 WIDES CHRS 14 CWIDES 20 PRSETS ESC 70 EMPH ESC E CEMPH ESC F SDBLS
12. 42 1 n1 n2 m1 m2 36 0 36 1 45 1 450 48 49 50 51n 52 53 55 56 57 61 62 33 97 98 65 Hexi decimal 1B 9B 23 2A 30 2A 31 1 2 m1 m2 24 30 24 31 2D 01 2D 00 30 31 32 33n 34 35 37 38 39 30 40 21 41n Function This code used for expansion control codes Accepts 8th bit is from host CPU Copies fonts in character ROM into download RAM This code defines the download character into RAM Cancels the download character set Selects the download character set All data after this code is printed with underlining Cancels 5 1 underline mode This code changes line feed length to 1 8 This code changes line feed length to 7 72 This code changes line feed length to 1 6 This code changes line feed length to n 144 The value of n can be from 1 to 127 This code selects character ROM set of italic characters This code cancels ESC 4 This code selects the international character set This code enables printing even though paper out sensor switch is on Cancels ESC 8 mode This code sets 8th bit to logic 0 This code sets 8th bit to logic 1 Software Reset command re initialize parameters to the power condition This code selects the macro instruction This code sends a one time only vertical feed of n lines This code
13. 540 GET 68 550 IF 6 13 THEN 570 560 PRINT 6 5 574 66 GOTO 540 570 22 2 PRINT BL 580 PRE 1 PRINT CHRE 9 4 90 PRINT CHR VAL 576 1574 s PRO 0 RETURN Figure A 2 is the word processing program refer to Figure 5 4 amended for the Apple computer 156 Apple Plus 5 S PRR 10 PRINT TAB 30 16 RESOLUTION VERTICAL SPACING PRINT TAB 30 USING THE ESC 3N CONTROL CODE 20 FOR I TO 30 25 7 THEN GOTO 110 26 13 9 THEN GOTO 110 30 IF 13 THEN 6070110 40 Ms INT 144 6 E I IF M 2 THEN M z 2 50 PRINT CHR 27 CHRS 51 CHRE 1 0 FOR J s 0 TO M 70 TF J M 1 THEN PRINT 11 144 INCH SPACING GOTO 90 BO PRINT TAB 30 90 FORN s 1 TO 401 PRINT CHRO 27 CHRO 241 CHRO 278174711 NEXT PRINT 100 NEXT J 110 NEXT 1 120 PRINT CHR 27 8 130 0 END Figure 3 is the vertical spacing program refer to Figure 6 5 amended for the Apple computer 10 PRES 20 PRINT CHR 27 8 CHRS 27 A CHR 6 30 1 T02 40 PRINT CHRO 27 K CHR 1104 CHR 0 50 FOR SPACE 1 TO 100 5 PRINT CHRS 0 NEXT SPACE amp 0 FOR COLM s 1 TO 14 70 READ C PRINT CHRS Ch NEXT COLM 80 PRINT 90 NEXT LI 100 DATA 14 16 24 64 78 78 64 64 78 78 64 34 16 14 110 DATA 224 16 232 68 34 18 18 18 18 34 68 232 16 224 120 PRINT CHR amp 27 130
14. CHRS 73 CHR 200 CHRS 65 CHR 20 57 PRINT CHR 65 CHR S4 CHR 20 99 REM SELECT DOWNLOADABLE CHARACTERS 50 PRINT ESCS CHRS 56 sCHRS 1 0 REM PRINT OUR NEW SYMBOL 80 PRINT 90 PRINTIM CLOSE4 END Figure C 14 is the downloading program presented in Figure 8 6 amend ed for the Commodore computer 190 Commodore VIC 20 amp 64 10 REM DEFINE ESCAPE CHARACTER 20 ESCS CHRS 27 30 REM CONNECT TO PRINTER 40 OPENS 4 5 CMD4 50 PRINT ESC CHRS 43 ESC ESCS CHRS 1 CHRS 30 60 REM ISSUE MACRO COMMAND AND TRY PRINTING 5 PRINT ESCS CHRS 55 70 PRINT EMPHASIZED AND EXPANDED BY MACRO 30 PRINT 4 CLOSE4 90 END Figure C 15 is the macro commands program refer to Figure 8 7 amend ed for the Commodore computer 191 IBM PERSONAL COMPUTER The Interface Board Install the IBM parallel interface board according to the directions that accompany the product which you can obtain from your Gemini dealer or from an salesperson Use the Gemini cable provided by your dealer or use cable information at the end of this appendix Setting the DIP Switches DIP switches 2 3 and 2 4 should be turned off on your Gemini and the other two may be set according to your operational requirements Switch 2 2 should be set off if you want Gemini to print every time it receives CR code set it on if you wish to have the
15. 20 100 IF N 1 THEN 160 105 FOR 1 1 TO N 1 110 FOR 2 1 TO CID 120 PRINT CHRS B I J 130 NEXT J 140 PRINT 150 NEXT I 160 END 500 REM 505 GRAPHICS O PRINT ENTER YOUR COMMAND 507 PRINT P RINT DUIT E SC C HRS 509 510 INPUT 04 520 IF D z t THEN 60808 700 530 IF D C THEN BOSUB 600 540 IF D Q THEN 6070 7 545 IF D z P THEN GOSUB 800 550 6070 500 800 REM 05 PRINT ENTER YOUR CODE CHRS 610 INPUT L 169 B 620 OPEN 1 8 0 P b30 PRINT M CHRS L 640 CLOSE 4 650 RETURN 700 REM 710 PRINT ENTER YOUR ESC 720 INPUT E 725 15 730 FOR 151 TO LENES 732 X ASCIE I IF X 32 THEN 740 735 S J XzJed 740 NEXT 1 750 OPEN 4 8 0 751 IF 142 THEN 760 752 AS 2 755 KeVAL E AS J 1 760 PRINT 43CHRS 27 sCHRS S 1 3 770 PRINT 4 CHRS K 780 CLOSE 4 790 RETURN 800 REM 803 IF THEN 870 805 OPEN 4 8 0 P 810 FOR 1 1 TO N 1 820 FOR 2 1 TO 930 PRINT 4 CHRS B I d 840 NEIT J 850 PRINT 4 860 NEXT 1 965 CLOSE 4 870 RETURN 1000 REM 1010 FOR 2 1 TO LEN AS 1020 B N J ASC AS J 1030 NEXT J 1040 C N sLEN AS 1045 N N 1 1050 RETURN 2000 REM 2010 PRINT YOU CAN TYPE UP 0 22 STRINGS AND 2020 PRINT EACH STRING CAN 80 CHARACTERS 2030 PRINT LONG TYPE COM TO COMMAND 170 Gemini User s Manual Atari 800 400 E 2040 PRINT LEVEL AND STOP TO GET OUT 2050 PRINT de an ap 4
16. 430 6 INKEYS IF 6 THEN 450 880 IF G CHRS 13 THEN 480 450 PRINT 55 460 PRINT 470 58 1 6 1 1 1 6070 430 180 IF 122 THEN GOSUB 800 490 IF 1 2 THEN 60508 850 900 IF THEN STS zCHR 27 59 0 510 LPRINT ST 5T z FQR 951 TO PD S JYzA 12 NEXT 120 520 PRINT FNL 20 4 PRINT STRINB 20 4 921 RETURN 530 PRINT FNL 20 4 CHR j 5T4z 540 G INKEY IF 6 THEN 540 550 IF B CHR 12 THEN 570 560 PRINT 68 5T 5T 46 070 540 570 PRINT FNL 20 4 PRINT STRINGS 10 580 LPRINT CHRS VAL 8T 1 ST z RETURN 700 REM 198 Osborne 710 A X Y B 720 PRINT 730 740 PRINT FNLS I Y t RETURN 800 FOR 2 1 1 D D 4S6 J NEXT J 810 STS CHRS 27 98 0 CHR VAL D D s 820 RETURN 850 STS CHRS 27 4510 VAL 56 1 860 RETURN Figure E 2 is the word processing program refer to Figure 5 4 amended for the Osborne computer iC LPRINT TAB 30 HIGH RESOLUTION VERTICAL SPACING 20 LPRINT 30 USING THE ESC 3 CONTROL CODE 20 FOR 151 TO 30 40 JF 1 12 THEN 6070 130 50 M INTU LA 53D IF lt 2 THEN M22 60 LPRINT CHRS 27 51 sCHRS T 70 FOR J 0 TO M 30 IF 1 THEN LPRINT 1 144 INCH SPACING 50 0 100 90 LPRINT TABI30 100 FOR 1 TO 40 LPRINT CHR 24L N LPRINT 110 NEXT J 130 NEXT 1 140 LPRINT 27 6 190 END Figure E 3 is the vertical spacing
17. 1 ELSSESe B CHR 2 CH SESA B amp CHRS 3 40 SP zES S 0 988 6 6 1 05 87 50 ITSzES4CHR 52 60 WOS CHRG 14 CHSzCHR 20 PSS ES 8 70 EM E E CE zE F DB E B CD E H 80 LPRINT PS E R CHR 15 90 FOR 151 0 2 100 IF 151 THEN LPRINT WD GEMINI STANDARD TYPE STYLES CW 110 IF 1 2 THEN LPRINT IT5 WD GEMINI ITALIC TYPE STYLE 120 FOR Nzi TO 40 LPRINT CHR 221 CHR 232 NeLPRINT LP RINT 130 LPRINT 17 CPI 12 CPI 10 CPE 8 5 6 CPI CPI 140 N 1 TO BO LPRINT CHR 241 NEXT N LPRINT 150 M1 z 2 120 sM3 Y CHRE 121 150 FOR 951 TO 4 170 IF 1 2 THEN LPRINT ITS 180 IF J 1 THEN LPRINT CN NORMAL 190 IF 2 THEN LPRINT DOUBLE STRIKE 200 IF J 3 THEN LPRINT CH EMPHASIZED 210 IF J 4 THEN LPRINT CM DOUBLE STRIKE 220 FOR K 1 TO 6 230 IF K 1 THEN LPRINT CMS 240 IF 2 THEN LPRINT 250 IF K 3 THEN LPRINT PC 250 IF Kz4 THEN LPRINT CMS WDS 270 IF 5 THEN LPRINT 280 IF Kz amp THEN LPRINT 0 290 IF J 2 THEN LPRINT DBS 300 IF 155 THEN LPRINT EM 310 IF J 4 THEN LPRINT DB EM 320 LPRINT MiS 509 26 059 SBS MIS CSS CD 330 IF THEN LPRINT CHS 340 NEXT K 208 TRS 80 150 IF 124 THEN LPRINT A CHRS 8 LF CNS sCRS E MPHASI ZED 360 LPRINT PS 370 IF 052 THEN LPRINT LFS 375 NEXT J
18. 1 TO 9 30 FOR 1 1 TO 12 40 READ 50 LPRINT CHRS A 60 NEXT 1 70 LPRINT 80 NEXT J 90 DATA 239 224 224 224 239 224 224 228 224 274 228 224 91 DATA 239 224 224 224 239 224 224 224 224 228 224 274 92 DATA 239 224 224 224 239 224 239 224 224 224 239 224 93 DATA 239 224 239 224 239 224 234 233 224 234 233 224 94 DATA 239 234 239 233 237 224 224 239 224 239 224 224 95 DATA 239 239 224 239 239 224 224 234 239 233 224 226 9 DATA 234 233 224 234 233 224 224 224 239 224 224 224 97 DATA 224 224 224 224 224 224 224 234 233 224 224 224 98 DATA 224 224 224 224 224 224 224 239 224 224 224 224 100 LPRINT CHR 27 8 END Figure F 8 is the Wy program refer to Figure 7 1 amended for the TRS 80 5 LPRINT CHR 27 U CHRS 1 10 LPRINT 27 CHR 5 CHR 15 15 FOR K 1 70 3 14 LPRINT CHR 127 17 RESTORE 20 FOR J 1 109 30 FOR 1 1 TO 1 40 READ A 0 LPRINT CHRS A 212 2 TRS 80 60 NEXT 1 70 LPRINT 80 NEIT J 90 DATA 224 224 224 224 224 224 224 224 224 245 224 224 91 DATA 224 224 224 224 224 224 224 224 252 245 224 224 92 DATA 224 228 224 245 224 224 224 252 239 285 224 224 93 DATA 224 224 252 245 224 224 252 239 239 245 224 224 94 DATA 224 252 239 285 224 252 239 239 239 245 228 224 9S DATA 252 239 239 245 252 239 239 239 239 245 224 224 96 DATA 241 241 241 249 241 241 281 241 261
19. 1050 DX XL NS DY YL NSY 1080 FOR 1 1 TO 1 3070 X1 X1 DX Y1 Y1 DY 1080 GOSUB 4000 3090 NEXT 2100 RETURN 4000 REM PLOT A POINT AT X1 Y 4010 XX Y1SXFAC YYzYLIYFAC 4020 COL INT XX 1 4030 ROW INT YY 4 4040 XITREINT YY GROW 1 1050 BITL COL ROW BITZ COL ROW OR MASKL XITZ 4060 RETURN 000 FOR 1 0 0 11 FOR J 1 TO 75 5010 IF BITL 3 1 212 THEN BITZ J 1 14 5020 NEXT NEXT RETURN Figure F 10 is the graphics program refer to Figure 7 4 amended for the TRS 80 10 REM DEFINE THE ESCAPE CHARACTER 20 ESC CHR 27 20 REM DEFINE PARAGRAPH SYMBOL IN PLACE OF 8 40 LPRINT ESC CHRS 42 sCHRS 1 CHRS 64 0 6 sCHRS 9 CHRS 0 214 TRS 80 CHR amp 9 CHRS 118 9 s 0 s CHRS 127 CHR 0 50 REM SELECT DOWNLOADABLE CHARACTERS bO LPRINT ESC HRS 36 CHRS 1 70 REM PRINT OUR NEW SYMBOL 80 LPRINT eeaeee 90 END Figure F 11 is the downloading paragraph symbols program refer to Figure 8 2 amended for the TRS 80 10 REM DEFINE THE ESCAPE CHARACTER 20 ESC CHR 27 10 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF 40 LPRINT ESC CHRS 42 CHR 1 CHRS 64 CHRS 0 28 sCHRS 34 CHRG 73 CHRS 20 CHRS 65 CHRS 20 CHR 65 34 CHR 20 50 REM SELECT DOWNLOADABLE CHARACTERS 80 LPRINT ESC CHR 34 1 70 REM PRINT OUR NEW SYMBOL 80 LPRINT COPY RIGHT 1983 90 END Figu
20. 119 1 050 FOR COLZ 1 TO 75 3055 FOR Li 1 TO 5 3060 LPRINT CHRS BITX COLE ROWL 3065 NEXT LL 3070 NEXT COL 3080 LPRINT 3090 NEXT 3100 LPRINT CHR 27 CHR 12 3110 END 4000 REM DRAW A LINE FROM Xi Yi TO X2 Y2 4010 YLz12 X1 YLsY2 Y1 4020 NE ABS XLSXFAC NY ABS YLSYFAC 4030 IF NX lt NY THEN 4040 NSZ INT NX 1 4050 DX XL NSZ DY L NS 4060 FOR 1131 TO NSI 4070 X1 X1 DX Yi Y1 DY 4080 60508 5000 4090 NEXT 11 4100 RETURN 5000 REM PLOT A POINT AT 1 1 5010 XX X18XFAC YY Y18YFAC 5020 COLX INT XX 1 9030 ROWL INT YY 5040 XITZ INT YY ROWZ 4 1 5050 8 174 OR MASKX XITZ 5060 RETURN Figure 10 is the graphics program refer to Figure 7 4 amended for the Osborne computer 10 REM DEFINE ESCAPE CHARACTER 20 ESCS CHRS 27 30 REM DEFINE PARAGRAPH SYMBOL IN PLACE OF 40 LPRINT ESC CHRS 42 CHRS 1 CHRS 64 sCHRS 0 CHR 6 45 LPRINT CHRS 25 CHR 0 sCHRS 25 sCHRS 118 CHRS 25 sCHRS 0 47 LPRINT CHRS 127 CHRS 0 50 REM SELECT DOWNLOADABLE CHARACTERS 203 Gemini User s Manual 0 LPRINT ESCS CHR 36 CHRS 1 70 REM PRINT OUR NEW SYMBOL 80 LPRINT 0000606 90 END Figure E 11 is the downloading paragraph symbols program refer to Figure 8 2 amended for the Osborne computer 10 REM DEFINE ESCAPE CHARACTER 20 ESCS CHR 27 30 REM DEFINE COPYRIGHT
21. 2 GRAPHICS T PRINT PRINT PRINT 4 PRINT THIS PROGRAM TAKES ABOUT 5 PRINT 4 MINUTES TO RUN PLEASE amp PRINT TURN ON YOUR PRINTER AND 7 PRINT STAND PRINT PRINT PRINT 10 FOR 1 1536 TO 1553 20 READ Q 20 POKE 1 0 40 NEXT 1 50 DATA 104 104 133 205 194 133 204 60 DATA 106 5 205 133 213 104 5 204 70 DATA 133 212 100 REM MICRO PLOT 110 DIM 8117178 12 MASK 5 120 DIM 76 130 DIM 8110 132 FOR 150 TO 1 133 FOR 221 TO 76 134 BITIJ 50 135 NEXT J 136 NEXT 1 1000 REM SET PROGRAM CONSTANT 1010 MASK 1 64 MASK 4 8 1020 2 232 MASK 5 24 174 Atari 800 400 1030 MASK 3 16 NASK 6 22 1940 LXs20 1Y220 1050 XFAC 72 LX YFAC 75 LY 2000 REM PLOT CURVE 2010 LET RAD 9 2020 11219 11210 2030 FOR 0 360 STEP 10 2040 RISANGS4 28 340 2050 X2 RADSCOS R1 10 2055 YsRADISINIRI 10 2060 GOSUB 4000 2070 NEXT ANG 2080 FOR ANG 0 260 STEP 15 2090 R1 ANGt5 28 340 2100 R2 ANG 150 t6 28 250 2110 X1 RADICOS IRL 10 2115 YI sRADISINIRL 10 2120 Y2sRADICOS R2 10 2125 Y2 RADISIN R2 10 2130 60508 4000 2140 NEXT ANG 1000 REM SEND BIT IMAGE TO PRINTER 3005 OPEN 4 8 0 P 3010 PRINT 4 CHR 27 A CHR 6 3020 F R ROW 0 TO 1 1040 PRINT 4 27 K CHRS 119 5 CHRS Ls 3050 FOR 0151 TQ 75 2052 FOR LL 1 10 5 3054 REINTIBIT COL ROW 3050 PRINT 4 CHRS
22. 239 251 224 Figure C 9 is the boat program refer to Figure 7 2 amended for the Com modore computer 50 PRINT CHRS 147 0 FOR 151 TO S PRINT 2 I 70 PRINT THIS PROGRAM TAKES ABOUT TWO MINUTES 80 PRINT TO RUN SQ PLEASE TURN ON YOUR PRINTER 90 PRINT STAND BY nml 100 REM MICRO PLOT 110 BITZ 76 12 1000 REM SET PROGRAM CONSTANTS 1010 MASKZ 1 64 MASKZUD 1020 MASKZ 2 32 4 1030 MASKZ 3 16 MASKZ 6 2 1040 LX 20 LY 20 1050 72 LX 75 LY 2000 REM PLOT CURVE 2010 RAD 9 2020 X1 19 15 10 2030 FOR 0 360 STEP 10 2040 Ri ANGS4 28 360 2050 X2 RADSCOS R1 10 Y2 RADSSIN RI 10 2060 BOSUB 4000 2070 NEXT 187 Gemini User s Manual 2080 FOR ANG 0 TO 360 STEP 15 2090 Ri ANGA 28 360 100 R2 ANG 150 84 28 340 2110 X1 RADSCOS RI 10 Y RADISIN R 10 2120 X2 RADICOSIR2 10 Y2 RADISIN R2 10 2130 B SUB 4000 2140 NEXT ANG 7000 REM SEND BIT IMAGE TO PRINTER 3005 OPEN 4 4 5 7010 PRINTM CHRS 27 A 6 3020 FOR ROW 0 TO 11 2025 PRINTM CHR 27 119 sCHRS L s 3050 FOR COL 1 TO 75 1085 FOR LL 1 TO 5 3060 PRINTES CHRS RITZ COL RON 1055 NEXT LL 3070 NEXT COL 1080 PRINT 3090 NEXT ROW 3100 FRINTMM CLOSEA 3110 END 1000 REM DRAW A LINE FROM Xi Yi TO X2 2 4019 XL 22 Xi
23. 52 This command causes the printer to select the italics character set LPRINT 27 8 52 Select the international character set ESC 7 CHR 27 CHR 55 CHR n This command causes the printer to select the international character set as shown below 0 USA n 1 England n 2 Germany n 3 Denmark n 4 France n 5 Sweden n 6 Italy n 7 Spain LPRINT CHR 27 55 CHR 4 Selects the international character set for France Set the print pitch ESC B n CHR 27 CHR 66 CHR n After this command is sent to the printer subsequent printing is done in pica 10 characters per inch if n 1 in elite 12 characters per inch if n 2 in condensed 17 characters per inch if n 3 FOR 1 TO 3 LPRINT 27 CHR N FOR 32 TO 112 LPRINT NEXT LPRINT NEXT N prints out a selection of print in each of the three print pitches The Function Codes PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS EXAMPLE PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS Set the print pitch to condensed print SI CHR 15 A single character command to cause the printer to shift into condensed print mode This command is cancelled by the transmission of the DC2 code CHR 18 Cause the printer to print in double width mode SO or ESC W 1 CHR 14 or 27 CHR 87 Aft
24. CHR n This command is used to change the location of the first line on the next page or form The location of the first line is given by the value of n and must be between 1 and 16 The default value set upon power up or printer reset is n 1 Set and enable the skip over perforation feature ESC N n CHR 27 CHR 78 CHR n 131 F Gemini User s Manual REMARKS When this command is received the skip over perforation feature is activated This feature causes the printer to skip to the next page or form when the number of lines left on the page is equal to n If n 0 the skip over form feature is deactivated The value of n should be between 0 and 255 EXAMPLE LPRINT 27 9 88 27 0 LPRINT CHR 27 R CHR 8 27 16 these commands allow you to print 64 lines per page The first line starts 1 inch from the top and the last line ends 2 inches from the bottom of the page The line spacing is 1 8 inch PURPOSE Cancel the skip over perforation feature FORMAT ESC O CHR 27 CHR 79 REMARKS When this command is received the skip over perforation set by ESC code and the line location of the header of the form set by ESC R n code are cancelled Vertical Tabs PURPOSE Advance paper to the next vertical tab FORMAT VT REMARKS When this command is received the paper is advanced to the next verti
25. CHRS 42 CHRS 1 CHAS 64 CHRS 0 CHRS 28 CHRS 34 CHRE 73 20 CHRO 85 CHRE 20 CHRO 6891 CHRE 34 CHR 20 45 REM ttg DEFINE COPYRIGHT SYMBOL IN PLACE OF THE SYMBOL 0 PRINT CHRE 27 CHRS 42 CHR 1 CHR 38 1 CHR 28 CHRS 34 CHRS 72 CHRS 20 CHRS 65 CHR 20 CHR 65 CHRS 34 CHR 20 amp 0 REM 131 SELECT DOWNLOADABLE CHARACTERS 65 PRINT CHRE 27 CHRE 36 CHR 1 76 REM fif PRINT OUR NEW SYMBOLS 80 PRINT atatata atat Figure A 14 is the downloading program presented in Figure 8 6 amend ed for the Apple computer 163 Gemini User s Manual PRINT CHRS 4 19 20 20 REM 11 DEFINE MACRO TO BE EMPHASIZED AND EXPANDED TEXT PRINT CHR 27 43 27 E CHR 27 1 Wa CHRO 1 3011 REM 111 ISSUE MACRO COMMAND AND TRY PRINTING PRINT CHR 27 CHR 33 PRINT EMPHASIZED AND EXPANDED BY MACRO Figure A 15 is the macro commands program refer to Figure 8 7 amend ed for the Apple Il computer 164 ATARI 800 400 The Interface The best way to hook up your Atari to your Gemini is with the i Universal Atari Parallel Interface by Star Micronics It comes i complete with its own cable You may also use an Atari 850 inter face pin outs to build a cable for the 850 are listed in this dix Setting the DIP Switches Turn DIP switch number 2 3 and 2 4
26. END COMMAND 240 ST 160 G INKEY 1F G THEN 360 370 IF G E THEN 420 6070 400 380 IF 6 C THEN GOSUB 530 60T0 400 390 IF G Q THEN GOTO 410 400 GOTO 340 410 RETURN 420 1 0 PRINT 81316442 Esc 430 GS INKEY IF 6 THEN 430 440 IF 13 THEN 480 450 PRINT 66 470 S6 1 68 1 141 6070 430 480 IF 172 THEN FOR 151 TO 1 D D S J J STS CHR6 27 68 0 CHR VAL 4 D z 490 IF 1 2 THEN STSsCHRS 27 45 0 CHRS VAL 56 12 500 IF 151 THEN STS CHR 27 56 0 510 LPRINT ST ST z FDR 051 TO I1 5 s NEXT 1 150 520 PRINT 81215442 TRINGS 20 RETURN 530 PRINT 81316443 CHR j 5Tg 540 GS INKEYS 6 THEN 540 550 IF G CHRE 13 THEN 570 540 PRINT 6 51 61 6 6070 540 570 PRINT 81325442 STRINGS 20 580 LPRINT CHRS VAL STS ST RETURN Figure F 2 is the word processing program refer to Figure 5 4 amended for the TRS 80 10 LPRINT TAB 30 HIGH RESOLUTION VERTICAL SPACING 15 LPRINT 30 USING THE ESC 3 N CONTROL CODE 20 FOR I 1 TO 30 25 IF 1512 THEN 110 30 IF 1 13 THEN GOTO 40 INTUMZ ID IF M 2 THEN M 2 50 LPRINT CHR 27 CHR 51 CHRS I amp 0 FOR J 0 TO M 210 TRS 80 70 J THEN LPRINT 1 144 INCH SPACING 180T 2 80 LPRINT 30 90 FOR 1 TO 40 LPRINT CHR 2411 NEXT N LPRINT 100 NEXT 2 110 NEXT 1 120 LPRINT CHRS 27
27. ESCS G CDBLSS ESCS ye 80 PRINT PRSETS ESC R CHRS 15 90 FORT 1102 153 A Gemini User s Manual 100 IF I 1 THEN PRINT WIDE GEMINI STANDARD TYPE STYLES CWIDES JF 110 IF 1 2 THEN PRINT ITALICS WIDES GEMINI ITALIC STYLES PRINT CWIDES LFSsLFS 120 PRINT ESC gt s FOR N TO 40 PRINT CHR 1221 CHRS 232 41 NEXT N PRINT ESC PRINT PRINT 130 PRINT 17 CPL 12 CPI 10 CPI 8 5 CPI 6 CPI CPI 140 PRINT ESC gt FOR N 1 TO 80 PRINT CHR 241 NEXT N PRINT ES C i s PRINT 150 Mi ABC M28 X 120 36 CHAS 121 160 FOR J 1 TO 4 170 IF I 2 THEN PRINT ITALICS 180 IF J 1 THEN PRINT COMP NORMAL 1 190 IF J 2 THEN PRINT CDMP DOUBLE STRIKE 200 IF J THEN PRINT COMPS EMPHASIZED E 210 IF J 4 THEN PRINT COMP DDUBLE STRIKE 220 FORK s 1 TO 6 230 THEN PRINT COMPS 240 2 THEN PRINT ELITES 250 IF K 3 THEN PRINT PICAS 260 IF K 4 THEN PRINT COMPS NIDES 270 IF K 5 THEN PRINT ELITES WIDES 280 IF K 6 THEN PRINT PICASSWIDES 290 IF J 2 THEN PRINT DBLS 300 IF J 3 THEN PRINT EMPHS 310 IF J THEN PRINT DBLSS EMPHS 320 PRINT 1 M26 CANSS SUBS MIS CANSS CDBLSS 330 IF K gt 3 THEN PRINT CWIDES 340 NEXT K 345 IF J 2 THEN PRINT LFS 350 IF J s 4 THEN PRINT CHRS 8 241 COMPS EMPH 360 PRINT PRSETS 370 NE
28. Now you should turn to the beginning of this manual Chapter 1 will explain the basic parts of the printer Chapter 2 will show you how to load the paper and the ink ribbon Chapter 3 introduces the Gemini Self Test Chapter 4 shows you how to connect Gemini to your computer Supported by Appendices A through F which are responsive to specific computer systems Chapter 5 is a quick course in putting Gemini to work for you The remaining chapters and appendices provide specialized and technical information If you have a question consult the index and the table of contents 225 ASCII CODE CHARTS nis ns nis fee nis ni ASCII Code Charts Block Graphic and Special Character Set N e Ro N e N N gt N N A gt e 130 146 162 178 gt 210 226 137 153 169 185 gt 70 Prt ra s fm pu b nx 215 231 247 A N N 139 187 co ao Ro gt gt e
29. PURPOSE Change the line feed to a pre set value FORMAT ESC CHRS 27 REMARKS When this command is sent to the printer the size of the line feed is changed according to the value of For 0 48 successive line feeds become 1 8 For n 6617 49 successive line feeds become 7 72 For 2 50 successive line feeds become 1 6 EXAMPLE LPRINT CHR 27 0 changes the line feed size to 1 8 inch then causes a carriage return and line feed commands to be sent to the printer 129 Gemini User s Manual PURPOSE Change the line feed to n 72 inches FORMAT ESC 27 CHR 65 CHR n REMARKS When this command is transmitted to the printer successive line feed commands cause the printer to advance the paper n 72 inch The value of n must be between 1 and 127 EXAMPLE LPRINT CHR 27 U CHR 1 CHR 27 A CHR 6 J 1 TO 66 FOR I 1 TO 80 LPRINT CHR 239 NEXT I LPRINT NEXT J the printer to fill a page with dots by using the special block graphics character and setting the line feed to 1 12 inch PURPOSE Change the line feed to n 144 inches FORMAT ESC 3 n 27 CHR 51 CHR n REMARKS When this command is sent to the printer successive line feeds are set to n 144 inches The value of n must be between 1 and 127 PURPOSE Send a one
30. printer subsequent characters are printed in the double strike mode The double strike is cancelled when the ESC code is sent to the printer CHR 27 72 When double strike the characters are printed once then the paper is moved up 1 144 inch and the characters are reprinted Shifting in and out of double strike on the same line will cause the line to slant slightly The double printing mode can be used with any other print style commands EXAMPLE LPRINT CHR 27 G This is double strike print LPRINT CHR 27 H This is standard print PURPOSE Print in emphasized printing mode FORMAT ESC E CHR 27 CHR 69 126 The Function Codes REMARKS When the ESC code is sent to Gemini all subsequent characters are printed in the emphasized print mode The emphasized print code is cancelled by sending an ESC F code to the printer CHR 27 CHR 70 Emphasized printing can only be used with the normal pica and double width pica characters 10 CPI and 5 and cannot be used with sub superscripts The emphasized print mode can be combined with double strike mode Special Printing Effects PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS Print characters with underline ESC 1 CHR 27 CHR 45 1 When the ESC 1 code is sent to the printer all subsequent characters are printed with an underline The underline
31. sEND Figure F 3 is the vertical spacing program refer to Figure 6 5 amended for the TRS 80 10 RESTORE 20 LPRINT CHR 27 8 CHRS 27 1 30 FOR LI 1 TO 2 40 LPRINT CHRS 27 K CHRS 114 jCHRS 0j 50 FOR SPACE 1 100 LPRINT CHRE O s NEXT SPACE b0 FOR COLM 1 TO I4 READ CsLPRINT CHRS C NEXT COLM 70 LPRINT NEXT LI 80 DATA 14 15 34 64 140 140 128 128 140 140 64 24 15 14 90 DATA 224 16 232 68 34 18 18 18 18 34 68 232 16 224 100 LPRINT CHR 27 Ei LPRINT LPRINT LPRINT Figure F 4 is the dot graphics program presented in Chapter 6 the one that puts a smile on your paper amended for the TRS 80 10 LPRINT CHR 153 sCHR 151 5 CHR 27 CHR 6 20 LPRINT CHR 152 160 CHR 27 2 30 END Figure F 5 is the c rcle program presented in Chapter 7 amended for the TRS 80 10 LPRINT TAB 1 CHR 1153 CHR 27 CHR 6 20 LPRINT CHRS 160 30 END Figure F 6 is the tilde program presented in Chapter 7 amended for the TRS 80 211 F Gemini User s Manual 10 LPRINT TAB 20 15 20 CHRS 164 sCHRS 13 3 161 8 166 CHRS 52 22 167 13 3 B 20 CHR 165 CHRS 13 20 5 15 END Figure F 7 is the map program presented in Chapter 7 amended for the TRS 80 10 LPRINT CHRS 27 s A s CHRS 4 15 LPRINT CHR 27 U CHRS 1 20 FOR J
32. 224 224 252 245 224 224 252 239 239 245 224 224 180 DATA 224 252 239 245 224 252 239 239 239 245 224 224 190 DATA 252 239 239 245 252 239 259 239 259 245 224 224 200 DATA 241 241 241 249 241 241 241 241 241 249 224 224 210 DATA 239 239 239 239 239 239 239 239 239 239 239 251 220 DATA 253 239 239 239 239 239 239 239 239 239 251 224 Figure E 9 is the boat program refer to Figure 7 2 amended for the Osborne computer 10 PRINT 26 20 PRINT sPRINT PRINT 30 PRINT THIS PROGRAM TAKES ABOUT TWO 40 PRINT MINUTES TO RUN PLEASE TURN 50 PRINT ON YOUR PRINTER AND STAND BY 100 REM MICRO PLOT 110 DIM 8172 75 12 1000 REM SET PROBRAM CONSTANTS 1010 1 128 MASKT 4 216 1020 MASKZ 2 64 s 5 8 1030 MASK2 2 232 sMASKZ 6 4 1040 4 20 1520 1050 72 17 YFACSTS LY 2000 REN PLOT CURVE 2010 RAD 9 2020 14 19 Y1210 2030 FOR ANGX 0 360 STEP 10 2040 R1 AN6215 28 360 2050 X2 RADSCOS 1 10 Y2zRADISIN RI 10 2050 G0SUB 4000 2070 NEXT 2080 FOR ANG2 0 360 STEP 15 2090 R1sAN6116 28 350 2100 R2 ANGE 150 86 28 360 2110 XisRADSCOS R1 10 sYL RADSSINIRI 10 2120 X2 RADSCOS R2 10 sY2 RADSSIN R2 10 2130 GOSUB 4000 2140 NEXT ANGZ 3000 REM SEND BIT IMAGE MAP TO PRINTER 3010 LPRINT 6888 27 CHRS 6 3020 FOR ROWZ 0 TO 11 202 Osborne E 3030 Ag 3040 LPRINT CHR 27 K SCHR
33. 240 104 5 a 108 112 116 1225 e IM 97 101 105 rn 109 117 121 125 98 an 102 m 106 HE h 110 d 114 122 Ec 126 Gemini User s Manual 103 QE 107 MENO 115 119 a x 123 H HHH CONTROL CIRCUIT BLOCK DIAGRAM Parailei Data Parallel Interface Block 4 1 1 e 1 Print head eo CPU Carriage motor Paper feed motor gt i 1 1 Operation panel i 1 Detectors switches RAM i 1 4K 18K 1 1 nee i Fog AK 18K Buffer f d Board optional Seriai Serial Data Interface 1 1 Board jp we 1 optional t I 1 t i L w lt a sm Res mab 4 241 Control Code NUL BEL BS HT LF VT FF CR 50 ESC SO 51 ESC 51 DC1 DC2 DC3 DC4 RS DEL 242 FUNCTION CODE SUMMARY Decimal 0 7 135 8 136 937 10 138 11 139 12 140 13 141 14 142 15 143 17 145 18 146 19 147 20 148 30 158 127 Hexi decimal 00 07 87 08 88 09 89 OB 8B 0C 8C 00 80 OF 8F 11 91 12 92 13 93 14 94 1F 9E 7F Function Used to terminate tab setting progr
34. 380 FOR Mei TO J LPRINT NEXT M 390 NEXT 1 400 END Figure F 1 is the font styles program refer to Figure 5 1 amended for the TRS 80 5 CLEAR 200 7 C CHRS 179 10 CLS DIM 88 116 62 20 CLS 120 120 30 GOSUB 150 PRINT X464 Y C 40 B INKEY IF B THEN 40 50 IF BS CHR 64 THEN CLS END b0 IF BS CHRS 31 THEN CLS G0SUB 200 5070 20 70 IF BS CHRS 9 THEN GOTO 210 80 IF BS CHRS 13 THEN A X Y BS PRINT XsXel YsO PRINT OX8G4 Y C 60TO 40 90 IF BS CHR 8 THEN GOSUB 130 6070 46 100 PRINT X264 7 BS A X Y 286 Ye Yel 110 IF Y 62 THEN AS X Y zCHRE I2 X2 X41 1 0 6070 40 120 PRINT X864 7 C 6070 40 130 PRINT 811542 Y Y 1 IF 0 THEN Y 0s 140 A X Y rPRINT C sRETURN 150 PRINT 61544440 BACK SPCAE PRINT CLEARORESTART 8 EXIT RETURN 200 PRINT 87164420 PLEASE STAND 205 FOR 150 TO XFOR J 0 TO 62 4 1 J s t NEXT J NEYT 1 206 RETURN 210 220 LPRINT 648 27 8 230 CLS PRINT 15864 2 C OMMAND PIRINT RETURNS 250 GS INKEYS IF G THEN 260 260 IF 6 P THEN GOSUB 310 270 IF G C THEN GOSUB 520 6070 230 280 IF G R THEN 60508 300 60TO 3 290 GOTO 250 200 CLS FOR 1 0 TO X FOR 1 0 TO 62 209 F Gemini User s Manual 302 PRINT NEXT J NEXT I RETURN 310 FOR 180 TO X FOR 150 TO 52 LPRINT A 1 7 312 NEXT J NEXT I RETURN 220 PRINT 15964 2 STRINGS 50 330 PRINT 81515442 E ESC CHR 0
35. 88 foreign characters 254 Glossary Characters per second CPS is a measurement of printing speed like miles per hour for an automobile The Gemini printers have a print speed of 120 CPS at 10 characters per inch CPI Chip is a small integrated circuit that is made from multiple layers of silicon and other materials which conducts electricity in a manner that renders the device capable of handling computer logic tasks Computer is a device that can automatically process and execute a sequence of mathematical or logical operations Computer language is the set of software instructions understood by the computer that allows the user to communicate human ideas through electronic devices Data is a collection of factual information converted to a form coding that allows it to be stored transmitted and manipulated by computers and their peripherals Diode is a semiconductor such as the light emitting diode LED that is each lamp on the printer s control panel Direct current DC is electrical current that flows in one direction directly such as with devices powered by flashlight batteries The Gemini power unit converts the input AC power into voltages of 5V DC which is used as a power supply for the CPU ROM and RAM 78V DC used to hold the positions of the motors and as a power supply to reset the timing circuit 24V DC used to drive the solenoids of the print head and the motors Down Loading Down
36. PRE 0 140 END Figure A 4 is the dot graphics program presented in Chapter 6 the one that puts a smile on your paper amended for the Apple Il computer 157 A Gemini User s Manual 10 20 PRINT CHR 27 gt 30 PRINT CHR 163 CHRS 161 27 6 40 PRINT CHRS 152 CHR 150 CHRS 27 2 50 PRINT CHR 27 PR O END Figure A 5 is the circle program presented in chapter 7 amended for the Apple computer 10 PRO I 30 PRINT CHRO 32 CHRO 27 gt y CHRO 163 CHRO 27 6 40 PRINT CHR 160 50 PRINT CHRS 27 z 60 0 END Figure A 6 is the tilde program presented in Chapter 7 amended for the Apple computer PRL 10 PRINT TAB 20 15 PRINT TAB 20 CHR 27 gt s CHR 154 CHRS 271 20 PRINT TAB 17 Wu 25 PRINT CHR 27 gt CHR 156 27 30 PRINT CHR 27 gt CHRS 147 CHRS 27 35 PRINT 20 CHR 27 gt CHR 165 CHRS 27 40 PRINT TAB 20 5 45 0 END Figure 7 is the map program presented in Chapter 7 amended for the Apple computer 10 REM WY LARGE LETTERS 10 PRE 25 PRINT CHR 27 U s CHRS 1 30 PRINT CHRO 27 A CHRS 6 40 FOR J 1709 50 FOR T 1 TO 12 amp 0 READ A 70 PRINT CHR 27 gt CHRS 158 Apple Plus A 80 NEXT 1 90 PRINT 100 NEXT J 110 DATA 239 224 224 224 239
37. Pin 2 Pin 3 Pin 4 Pin Pin 6 Pin 7 Pin 8 DIP SWITCH 2 Pin 1 Pin 2 Pin 3 Pin 4 You may wish to use this chart to keep track of the DIP Switch settings of the Gemini This may come in handy as a good reference if things are not going as planned 262
38. SYMBOL IN PLACE OF 8 40 LPRINT ESC CHRS 42 CHRS 1 CHR 64 s CHRS 0 CHRS 28 45 LPRINT CHRS S4 CHR 72 CHR 20 CHR 65 20 CHR 55 47 LPRINT CHRS 34 20 50 REM SELECT DOWNLOADABLE CHARACTERS 60 LPRINT ESCS CHRS 34 1 70 REM PRINT DUR NEM SYMBOL 80 LPRINT COPY RIGHT 1985 90 END Figure E 12 is the downloading copyright program refer to Figure 8 4 amended for the Osborne computer 10 REM DEFINE ESCAPE CHARACTER 20 ESCS CHRS 27 24 REM COPY CHARACTERS TO RON 25 LPRINT ESCSsCHR 42 86 0 30 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF 40 LPRINT ESES CHRS 42 CHR 1 B4 0 CHR 28 45 LPRINT CHR 34 73 CHR 20 65 CHR 20 CHR 55 47 LPRINT CHRS 34 CHR 20 50 REM SELECT DOWNLOADABLE CHARACTERS 60 LPRINT ESC CHRS 36 CHRS 1 70 REM PRINT OUR NEW SYMBOL 80 LPRINT COPY RIGHT amp 1983 90 END Figure E 13 is the downloading program presented in Figure 8 5 amend ed for the Osborne computer 204 Osborne 10 REM DEFINE ESCAPE CHARACTER 20 5 27 24 REM COPY CHARACTERS ROM 25 LPRINT ESC CHR 42 CHR 0 30 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF 40 LPRINT ESC CHRS 42 sCHRS 1 CHR 54 sCHRS 0 CHRS 28 45 LPRINT CHR 14 73 CHR 20 CHR 65 20 CHR 65 47 LPRINT CHR 34 CHR 20 4
39. When you need to set Dip Switch number 1 or change other parts of the printer the upper casing must first be removed Figure 10 1 shows the position of the three screws that hold the upper casing in place on the Gemini 15X Figure 10 2 shows the location of the two screws that do the same for the Gemini 10 X in both cases the mounting screws are Phillips head types 143 Gemini User s Manual To replace the fuse turn the power switch off Just to be on the safe side make sure you unplug the power cord from the power source Then remove the platen knob take out the mounting screws and remove the upper casing To remove the upper casing place your fingers on the inside front of the printer with your thumbs pressing on the outside front of the lower casing Gently pull the upper casing front toward you until it pops free Set the upper casing front on end next to the printer so that the short wires attached to the control panel remain connected After removing the casing check the fuse which is located on the fuse board near the power switch The fuse is a commonly used type with a metal strip suspended in a glass and metal case If the strip is broken the fuse is blown If the fuse is blown replace it with a BELL s 5MT1 25 1 25A 125V slo blo type fuse or equivalent for 120V version or a 630mA 250V slo blo type fuse for 220V 240V version Just slip the old fuse out and snap the replacement f
40. Your Gemini dealer can answer any questions you have about the board or its installation in slot number 1 Star Micronics Inc has created the grafstar intelligent interface especially for you Apple Il Plus or Apple lle computers 2 Connecting Cable Use the Apple Centronics compatible parallel I F cable modified to ground the 8th bit or use a cable supplied by your Gemini dealer Setting the DIP Switches Because Apple uses a seven bit interface set DIP switch number 2 3 to the position Because BASIC supplies a line feed at the end of each line turn DIP switch number 2 4 to the off posi tion unless you want to generate double spaced output in which case turn number 2 4 Switch number 2 1 can be set to either position Switch number 2 2 should be set to off if you want Gemini to print every time it receives a CR code set number 2 2 to if you wish to have the carriage return ignored and to print only when the buffer is full The Use of Basic In this manual we used the BASIC programming language to il lustrate how to controi the codes that manipulate Gemini s opera tions In our sample programs the CHR function is used to send control codes to the printer Unfortunately this function is not sup ported by Apple Integer BASIC However with the aid of the follow 151 152 Gemini User s Manual ing notes you should be able to run all the sampl
41. of a computer system the computer printer and other peripherals everything in a computer system except the information contained in that system Input Output I O is the exchange of data between the computer and the printer For example your Gemini takes input from the computer in the form of data when it cannot accept any more for the time being Gemini sends output in the form of a BUSY signal telling the computer to wait interface is the common boundary physical connection between two hardware items such as your computer and Gemini or between two systems The interface permits the transfer of data and intelligent communication Hexadecimal is the mathematical numeration system with a base of 16 compared with 2 in the binary system and 10 in the decimal system Appendix presents the hexadecimal and decimal equivalents for the ASCII coded characters K stands for kilobyte specifically 1 024 bytes Computer memory is often expressed in terms of K LED see Diode Line Feed LF is a paper advancing function that is initiated by pressing the LF button on the control panel of your Gemini When this button is depressed the paper advances one line when this switch is held down consecutive paper feeds result for as long as the button is depressed Local defines a condition in which the communication link between the printer and the computer has been interrupted and the printer is not on line The on line control p
42. sends a one time only horizontal tab of n columns This code changes line feed length to 72 Value of n can be from 1 to 127 243 H Gemini User s Manual Control Hexi Code Decimal decimal Function ESC B 1 66 1 42 01 Sets 10 CPI ESC B2 66 2 42 02 Sets 12 CPI ESC B 3 66 3 42 03 Sets 17 CPI ESC Cn 67 43n Sets form length to n lines Value of n be from 1 to 127 ESC 67 43 30 Sets form length to n inches Value of be from 1 to 32 ESC D nn n NUL 68nn0 44 n n 00 Clears current tab set and sets new tabs Value of n is acceptable 1 to 255 In case of 7 bit interface 1 to 127 ESCE 69 45 Selects emphasized print mode ESCF 70 46 Cancels emphasized print mode ESC G 71 47 Selects double strike print mode ESC H 72 48 Cancels double strike print mode ESC Jn 74n 4 n One time line feed of n 144 ESC K n1 n2 75 nt n2 4B n1 n2 480 dots pitch of bit image column scan mode is selected Number of columns are determined n1 n2 x 256 ESC L n1 n2 76 n1 4C n1 n2 960 dots pitch of bit image column scan mode is selected Number of columns are determined n1 n2 x 256 ESC 77n 4Dn Sets LH margin Value of n can be up to maximum number of CPI But in case of a 7 bit interface up to 127 ESCNn 78n 4En Sets skip over perforation to n lines E ESC O 79 4F Resets skip over perforation to zero lines ESC P NUL 80nn0 50 00 Sets VT positions vertical tab defaul
43. should be between 1 and 255 Move the print head to the next horizontal tab location HT CHR 9 When the HT command is received the print head is moved to the next horizontal tab The Function Codes PURPOSE FORMAT REMARKS EXAMPLE PURPOSE FORMAT REMARKS PURPOSE FORMAT position Upon power the horizontal tab locations are set to columns 10 20 30 etc Set the horizontal tab positions ESC D n1 n2 3 0 CHR 27 CHR 68 CHR n1 CHR n2 CHR 0 When the ESC D command is sent to the printer the existing horizontal tab positions are cancelled The new horizontal tab positions are set to print column n1 n2 n3 The maximum number of horizontal tabs is 255 The CHR 0 code must be at the end of this command The value of n1 must be less than n2 n2 must be less than n3 etc LPRINT CHR 27 M CHR 5 CHR 27 Q CHR 70 LPRINT CHR 27 D CHR 10 CHR 30 0 sets the left hand margin at print column 5 sets the right hand margin at print column 70 and sets the two horizontal tab positions one at print column 10 and the other at print column 30 Move the print head back one space BS CHR 8 When the BS code is sent to the printer the print head is shifted one print column to the left The BS code can be used to overprint characters Send a one time only horizontal tab of n columns ESCbn 27 CHR 98
44. time only line feed of n 144 inches FORMAT ESC J n CHR 27 CHR 74 CHR n REMARKS When this code is sent to the printer it causes the paper to be advanced by n 144 inches The value of n must be between 1 and 127 This command does not change the size of the existing line feed value Form Feed Controls PURPOSE Advance the paper to the next top of form TOF FORMAT FF CHR 12 130 Roland cO MEE I 3 The Function Codes REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT When this command is received by the printer it causes the paper to be advanced to the top of the next page or form The initial top of form is set upon power on The default value of the page is set to 66 lines but can be changed using the ESC the ESC 0 code Change the setting of the page form to n lines ESC CHR 27 CHR 67 CHR n When this code is received the length of the page is set to n lines The value of n should be between 1 and 127 Change the setting of the form length to n inches ESC 0 n CHR 27 67 CHR 0 CHR n When this code is received the length of the page is set to n inches The values of n must be between 1 and 32 Change the l ne location of the header first line of the form ESC n CHR 27 CHR 82
45. your computer let s consider the function of the pins and the signals they convey Figure N 1 provides a summary of the signals Pin 1 carries the STROBE pulse signal which is normally kept at a high level after the signal goes low the data is read Pins 2 through 9 carry the data in 7 bit or 8 bit bytes When the data is 1 the signal level is high and the level goes down when the data is 0 Pins 10 and 11 carry the handshake signals ACK and BUSY ACK is a pulse signal with a pulse width of approximately 9 microseconds which is generated when the data is received When this pulse signal has been completed the next data acceptance s permitted BUSY is a signal at DC level that indicates the operating condition of the printer When this signal goes low the next data acceptance is permitted Pin 12 is the PAPER END signal connector This DC signal is normally low and goes high when there is a condition Note DIP switch number 2 1 also controls the paper empty status Pin 13 connects another output DC signal this one for indicating when the printer is online 246 Parallel interface Information Pin no 2 9 10 11 12 13 14 15 16 17 18 31 32 Signal name STROBE DATA 1 8 ACK BUSY PAPER END SELECTED SIGNAL GND CHASSIS GND 45V DC Twisted pair returns for Pins 1 12 INPUT PRIME ERROR EXT GND
46. 00 Osborne 15 LPRINT CHR 27 U CHR 1 20 LPRINT CHRS 27 A CHR 6 30 FOR 1 TD 9 40 FOR 1 1 TO 12 50 READ A b0 LPRINT CHRS A 70 NEXT 1 80 LPRINT 90 NEXT J 100 LPRINT 27 8 120 END 130 DATA 239 224 224 224 239 224 224 224 274 278 224 274 140 DATA 239 224 224 224 239 224 224 224 224 226 224 224 150 DATA 239 224 224 224 239 224 239 228 224 226 239 224 160 DATA 239 224 239 224 239 224 234 233 224 234 233 224 170 DATA 239 234 239 233 239 224 224 239 224 239 224 274 180 DATA 239 239 224 239 239 224 224 234 239 233 224 224 190 DATA 234 233 224 234 233 224 224 224 239 224 224 224 200 DATA 224 224 224 224 224 224 224 234 233 224 224 274 210 DATA 224 224 228 224 224 224 224 239 224 224 224 274 Figure E 8 is the Wy program refer to Figure 7 1 amended for the Osborne computer 10 LPRINT CHRS 27 6 sCHRS 15 20 LPRINT CHR 27 U sCHRS 1 30 FOR 103 40 LPRINT CHR 27 B sCHR K 50 RESTORE 80 FOR J 1 TO 9 70 FOR 1 1 TO 12 80 READ A LPRINT CHRS A 90 NEXT 1 100 LPRINT 110 NEXT J 120 LPRINT NEXT K 130 LPRINT 27 8 END 140 DATA 224 224 224 224 224 224 224 224 224 245 224 226 150 DATA 224 224 224 224 224 224 224 224 252 245 224 224 160 DATA 224 224 224 245 224 224 224 252 239 245 224 224 201 Gemini User s Manual 170 DATA
47. 1 23 71 01000111 47 250 pM Decimal Binary Hexa Decimal Binary Hexa decimal decimal 72 01001000 48 116 01110100 74 73 01001001 49 117 01110101 75 74 01001010 4A 118 01110110 76 75 01001011 4B 119 01110111 77 76 01001100 4C 120 01111000 78 77 01001101 4D 121 01111001 79 78 01001110 4E 122 01111010 7A 79 01001111 4F 123 01111011 7B 80 01010000 50 124 01111100 7C 81 01010001 51 125 01111101 7D 82 01010010 52 126 01111110 7E 83 01010011 53 127 01111111 84 01010100 54 128 10000000 80 85 01010101 55 129 10000001 81 86 01010110 56 130 10000010 82 87 01010111 57 131 10000011 83 88 01011000 58 132 10000100 84 89 01011001 59 133 10000101 85 90 01011010 134 10000110 86 91 01011011 5B 135 10000111 87 92 01011100 5C 136 10001000 88 93 01011101 5D 137 10001001 89 94 01011110 5E 138 10001010 8A 95 01011111 5F 139 10001011 8B 96 01100000 60 140 10001100 8 97 01100001 61 141 10001101 80 98 01100010 62 142 10001110 8E 99 01100011 63 143 10001111 8F 100 01100100 64 144 10010000 90 101 01100101 65 145 10010001 91 102 01100110 66 146 10010010 92 103 01100111 67 147 10010011 93 104 01101000 68 148 10010100 94 105 01101001 69 149 10010101 95 106 01101010 6A 150 10010110 96 107 01101011 6B 151 10010111 97 108 01101100 6C 152 1001 1000 98 109 01101101 6D 153 10011001 99 110 01101110 6E 154 10011010 9A 111 01101111 6F 155 10011011 9B 112 01110000 70 156 10011100 9C 113 01110001
48. 11011011 DB 243 11110011 F3 220 11011100 244 11110100 4 221 11011101 DD 245 11110101 F5 1 222 11011110 DE 246 11110110 F6 223 11011111 247 11110111 F7 224 11100000 EO 248 11111000 F8 mJ 225 11100001 E1 249 11111001 F9 226 11100010 E2 250 11111010 FA 227 11100011 251 11111011 228 11100100 E4 252 11111100 FC 229 11100101 5 253 11111101 FD 230 11100110 E6 254 11111110 FE 231 11100111 E7 255 11111111 253 GLOSSARY Alternating current AC is the type of electricity used in household wiring It s called alternating because the electrical flow rapidly alternates in direction Alphanumeric is a character that is a letter of the a phabet a numerical symbol a numeral or any other symbol in a set of characters American Standard Code for Informational Interchange ASCII is a widely accepted system for using the numerals 0 through 127 to represent alphanumeric and symbolic characters Beginner s All purpose Symbolic Instruction Code BASIC is a computer language found on personal computers and used with some variations for most small computer programs Binary is a term that in a general sense pertains to a choice or condition in which there are two possibilities Specifically it is used relative to computers to refer to the binary mathematical numeration system involving only two digits one and zero Computers code data in binary Bit is the building block of computer memory tha
49. 140 FOR 1 TO BO PRINTH CHRS 241 NEXT N PRINTM 150 MS6 1 496 2 Y 4CHRE 120 M868 3 CHR 121 150 FOR 151 TO 4 170 IF 122 THEN PRINTH ITS 180 IF 151 THEN PRINT 4 CMS 190 122 THEN PRINTM CMS DOUBLE STRIKE 209 IF Jez THEN PRINTMA CMS EMPHASITED 210 IF 154 THEN PRINTMA CMS DOUBLE STRIKE 220 FOR TO 4 230 IF Ket THEN PRINT S CMS 240 IF K 2 THEN PRINTH ELS 250 IF THEN PRINT A FCS 260 IF THEN PRINT A CNS NDS 270 IF 5 THEN PRINT S ELS NDS 280 IF 5 THEN PRINT 4 PCS WDS 290 IF 152 THEN PRINT A DES 100 IF J 3 THEN EMSs 310 IF 154 THEN PRINTM DBS EMS 320 PRINTE4 8968 1 596 MSGS 2 055 SBS MSGS 3 55 C05 330 IF THEN PRINT 4 CWS 740 NEXT K 350 IF J THEN PRINTES ES 0 LORBLTEMPHASTIED 360 PRINTHA PSS 185 152 THEN PRINTHA LES 180 lt gt 20 4 64 370 NEXT 2 380 FOR M i TO S PRINTS4 LFS NEXT M 390 NEXT 1 400 END Figure C 1 is the font styles program refer to Figure 5 1 amended for the Commodore computer 10 DIM AS 22 40 12 CS CHRS 81 20 PRINT CHR 147 120 Y20 221024 39 GOSUB 150 POKE 2 X840 ASCICS 40 RS IF BS THEN 40 30 IF BS CHRS 5 THEN PRINT CHRS 147 END 60 IF R CHR 18 THEN GOSUB 200 6070 2 70 IF B CHRS 15 THEN GOTO 220 80 IF 8 13 THEN GOSU
50. 2 CHRS 0 35 REM DEFINE COPYRIGHT SYMBOL IN PLACE 40 PRINT MES CHR 42 CHRS 1 64 CHRS 0 CHRS 28 45 PRINT 4 CHRS 34 CHR 73 CHR 20 CHRS 65 20 47 PRINT 4 CHR 65 CHR 34 sCHRS 20 49 REM DEFINE COPYRIGHT SYMBOL IN PLACE amp 50 PRINT MES 42 CHR 1 CHRS 28 CHRS 1 CHRS 28 5 PRINT 34 CHR 73 CHR 20 55 CHR 20 57 PRINT 4 65 CHR 34 20 59 REM SELECT DOWNLOADABLE CHARACTERS 60 PRINT 4 36 CHRS 1 70 REM PRINT OUR NEW SYMBOL 80 PRINT 4 ALALOLGLALALALELA 90 CLOSE 4 END Figure B 14 is the downloading program presented in Figure 8 6 amend d for the Atari computer DIM E 5 10 REM DEFINE ESC CHARACTER 20 E CHR 27 30 OPEN 1 8 0 P 40 PRINT ES 43 ES SES W s CHRS 1 CHR 30 50 REM ISSUE COMMAND 60 PRINT SES CHRS 33 70 PRINT 4 EMPHASIZED AND EXPANDED BY MACRO 80 CLOSE 4 Figure 15 is the macro commands program refer to Figure 8 7 ed for the Atari computer 178 The Connecting Cable Star Micronics Inc has created a special Centronics parallel interface especially for your VIC 20 and C 64 computers It is called the Universal Commodore Parallel Interface If you haven t already done so contact your Gemini dealer about obtaining and installing the interface devic
51. 224 224 224 224 224 224 224 111 DATA 239 224 224 224 239 224 224 224 224 224 224 224 112 DATA 239 224 224 224 237 224 239 224 224 224 239 224 113 DATA 239 224 239 224 239 224 234 233 224 234 233 224 114 DATA 239 234 239 233 239 224 224 239 224 239 224 224 115 DATA 239 239 224 239 239 224 224 234 239 233 224 224 116 DATA 234 233 224 234 233 224 224 224 239 224 224 224 117 DATA 224 224 224 224 224 224 224 234 233 224 224 224 118 DATA 224 224 224 224 224 224 224 239 224 224 224 224 120 PRINT CHRS 27 130 PRE 0 END Figure A 8 is the Wy program refer to Figure 7 1 amended for the Apple computer 1 REM 2 REM BOAT PROG tt 2 REM fi 10 PRO ty PRINT CHRS 27 A CHRS 6 CHRS 15 12 PRINT CHRE 27 U 4 CHAS 1 15 FORK z 1 103 16 PRINT CHRS 27 8 CHR4 K 7 RESTORE 20 FOR J 1 709 30 FOR I z 70 12 40 READ A lt PRINT CHR 07 991 CHR b0 NEXT 1 70 PRINT 80 NEXT 90 DATA 224 228 226 224 224 224 224 224 224 243 224 22 91 DATA 224 224 224 224 224 224 224 224 252 245 224 2 9 DATA 224 224 224 245 224 224 224 252 229 248 224 224 DATA 224 224 252 24 224 224 252 279 239 248 224 224 94 DATA 224 252 239 245 224 282 216 239 239 245 224 224 95 DATA 282 239 239 243 252 229 739 239 259 245 224 224 159 B Gemini User s Manual 96 DATA 241 201 241 249 241 241 2
52. 24 224 239 224 219 228 224 224 239 224 160 DATA 239 224 239 224 229 224 234 233 224 234 223 224 170 DATA 229 234 239 233 239 224 224 229 224 239 224 294 180 DATA 239 239 224 239 239 224 224 234 239 222 224 274 190 DATA 274 233 224 224 223 224 228 224 239 224 224 224 200 DATA 224 224 224 224 224 224 224 234 223 224 224 224 210 DATA 224 228 224 224 224 224 224 239 224 222 224 224 Figure C 8 is the Wy program refer to Figure 7 1 amended for the Commodore computer 10 4 4 5 20 PRINT CHRS 27 CHRS 15 25 PRINT CHRS 27 s U sCHREC1 30 FOR 1 702 40 PRINT CHR 27 B 50 RESTORE 60 FOR J i TO 0 FOR 1 1 TO 12 80 READ A PRINT CHRS A 30 NEXT 1 95 PRINT 100 NEXT J 110 PRINT 186 Commodore VIC 20 4 C 64 120 NEXT K 130 PRINT CHR 1271 8 m PRINT 4 CLOSES 150 END 206 DATA 224 224 224 224 224 224 224 224 224 245 224 224 219 DATA 224 224 224 224 224 224 224 224 252 242 224 724 220 DATA 224 224 224 245 224 224 224 252 239 245 224 224 250 DATA 224 224 252 245 224 224 252 239 239 245 224 224 1 DATA 224 252 239 245 224 252 239 239 239 245 224 274 250 DATA 252 239 229 245 252 239 239 239 239 245 224 224 250 DATA 241 241 241 249 241 241 241 241 241 249 224 224 270 DATA 239 239 239 239 239 239 239 239 229 229 219 251 730 DATA 252 239 239 239 239 239 259 239 239
53. 249 228 224 97 DATA 239 239 239 239 239 239 239 239 239 239 239 251 98 DATA 253 239 239 239 239 239 239 239 239 239 251 224 99 LPRINT NEXT K 100 LPRINT CHR 27 81 END Figure F 9 is the boat program refer to Figure 7 2 amended for the TRS 80 10 CLS PRINT sPRINT 20 PRINT THIS PROGRAM TAKES ABOUT 4 MINUTES TO 30 PRINT PLEASE TURN ON YOUR PRINTER AND STAND 100 DIM 76 12 110 122128 MASKE 4 216 120 MASK2 2 64 5 8 120 MASKZ 3 32 s MASKI 6 4 140 LX 20 LYz20 150 XFAC 72 LY YFAC 75 LY 1000 REM PLOT CURVE 1010 RAD 1020 1219 1210 1030 FOR ANG 0 360 STEP 10 1040 Ri AN615 28 360 1050 Y2 RADICOS R1 410 Y2 RADSSINIRI 10 1060 50508 3000 1070 1080 FOR ANG 0 TO 550 STEP 15 1090 1 46 28 366 1100 2 6 150 15 28 360 1110 X1 RADECOS IR1 10 YI SRADTSIN RI 16 1120 X2 RADSCOS R2 10 Y2 RADSSIN RZ 10 213 F Gemini User s Manual 1130 60SUB 3000 1140 NEXT 2000 GOSUB 5000 2010 LPRINT 27 A CHRS 6 2020 FOR ROW 0 TO 11 2040 LPRINT CHRS 27 3 K sCHRS 119 sCHRS 1 2050 FOR 0 21 75 2080 FOR LL 1 TO 5 2070 LPRINT CHRS BITZ COL ROW 2080 NEXT NEXT LPRINT NEXT LPRINT 2090 END 1000 REM DRAW A LINE FROM X1 Y1 TO Y2 Y2 3010 XLz12 11 YLeY2 Y1 2020 NXsABS NY ABS 3030 IF NX lt NY THEN NX NY 2040 NST INT NX 1
54. 3 39 227 228 Italic ASCII Character Set 3 co gt a ea c N gt Ro gt gt A S RR 8 A 60 12 29 2 EL s ELE m gt 3 N55 dun 4 5 44 8 Gemini User s Manual ER 02 11 87 03 88 104 12 105 121 106 12 107 123 N ARAB SS C El EL EL P 92 B 108 12 109 125 111 127 ASCII Code Charts Notes 229 ASCII CODE TABLES fafafa gt so j x mo jv r mj 5 f 5 01714 5 pe _ fen ejet ns 2 steps e _ joe 230 italic type Data Code List of Intemati
55. 41 261 241 249 224 224 97 DATA 239 239 219 239 239 239 239 239 239 219 239 281 38 DATA 283 239 239 239 229 239 229 239 219 229 281 224 99 PRINT NEXT 100 PRINT CHRS 27 s PRE 0 END Figure A 9 is the boat program refer to Figure 7 2 amended for the Apple computer 4 HOME PRINT PRINT 5 PRINT s PRINT amp PRINT THIS PROGRAM TAKES ABOUT 7 PRINT 2 MINUTES TO RUN PLEASE B PRINT TURN ON YOUR PRINTER AND 9 PRINT STAND BY 0 A 24576 20 1 TO 1 0 READ 5 POKE 40 NEXT I 0 DATA 32 74 255 105 250 5 291 50 DATA 133 282 352 62 202 96 100 MICRO PLOT 110 DIM BIT 76 12 1000 REM SET PROGRAM CONSTANTS 1010 MASKZ 1 64 4 1020 2 32 5 4 1030 MASKZ 3 1osMASKZ 6 2 1040 LX 20sLY 20 1050 72 LXsYFAC 75 LY 2000 REM PLOT CURVE 2010 RAD 9 2020 Xi 1971 10 2030 FOR ANG 0 TO 360 STEP 10 2040 Ri ANG 1 6 28 360 2050 X2 RAD 1 COS Ri 10 Y2 RAD amp SIN RI 10 2060 60808 4000 2070 NEXT ANE 2080 FOR ANG s 0 TO 360 STEP 15 160 Apple Plus eg ea 2 EE O 2090 R1 ANG t 56 28 340 2100 RZ ANG 150 8 28 360 2110 Xt RAD t COS RI 10 91 RAD t SIN RI 10 2 2120 2 RAD amp COS R2 10 12 RAD amp SIN R2 10 2150 60908 4000 d 2140 NEXT ANG 2150 BITX 39 0 4 E 1000 REM SE
56. 71 157 10011101 9D 114 01110010 72 158 10011110 9E 115 01110011 73 159 10011111 9F 251 Gemini User s Manual Decimal Binary Hexa Decimal Binary Hexa decimal decimal 160 10100000 AO 184 10111000 B8 161 10100001 A1 185 10111001 B9 162 10100010 A2 186 10111010 BA 163 10100011 A3 187 10111011 BB 164 10100100 A4 188 10111100 BC 165 10100101 A5 189 10111101 BD 166 10100110 A6 190 10111110 BE 167 10100111 A7 191 10111111 BF 168 10101000 A8 192 11000000 169 10101001 9 193 11000001 C1 170 10101010 AA 194 11000010 C2 171 10101011 AB 195 11000011 C3 172 10101100 AC 196 11000100 C4 173 10101101 AD 197 11000101 C5 174 10101110 AE 198 11000110 C6 175 10101111 AF 199 11000111 C 176 10110000 BO 200 11001000 C8 177 10110001 B1 201 11001001 C9 178 10110010 B2 202 11001010 CA 179 10110011 B3 203 11001011 CB 180 10110100 4 204 11001100 181 10110101 5 205 11001101 182 10110110 B6 206 11001110 CE 183 10110111 B7 207 11001111 252 Code Chart Binary Hexa Decimal Binary Hexa AT decimal decimal 208 11010000 00 232 11101000 E8 209 11010001 D1 233 11101001 9 210 11010010 02 234 11101010 ES 211 11010011 D3 235 11101011 EB 212 11010100 D4 236 11101100 EC 213 11010101 D5 237 11101101 ED 214 11010110 D6 238 11101110 EE 215 11010111 07 239 11101111 216 11011000 08 240 11110000 FO 217 11011001 09 241 11110001 F1 218 11011010 DA 242 11110010 F2 i 219
57. 9 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF t SO LPRINT ESC CHRS 42 CHRS 1 CHR 38 CHR 1 CHR 28 55 LPRINT CHRS CS4 CHRS 73 CHR 20 53 20 57 LPRINT CHR 55 CHRS 34 CHR 20 59 REM SELECT DOWNLOADABLE CHARACTERS 0 LPRINT ESC CHRS 36 1 70 REM PRINT QUR NEW SYMBOL 80 LPRINT OLOLOLALALALELAL 90 END Figure E 14 is the downloading program presented in Figure 8 6 amend ed for the Osborne computer 10 REM DEFINE ESCAPE CHARACTER 20 ESCS CHR 27 20 LPRINT ESC CHRS 43 506 E 2906 1 CHR 30 40 REM ISSUE MACRO COMMAND 30 LPRINT ESC CHR 33 60 LPRINT EMPHASIZED AND EXPANDED BY MACRO 70 END Figure E 15 is the macro commands program refer to Figure 81 7 amend ed for the Osborne computer 205 TRS 80 The Connecting Cable Use the cable supplied by your Gemini dealer for your TRS Model or Model 11 computer No interface kit is required for these models Setting the DIP Switches Set switch number 2 3 to the off position on your Gemini You may set switch number 2 1 in either position at your option Switch number 2 2 should be set off if you want Gemini to print every time it receives a CR code set to if you wish to have the carriage return ignored and printing only when the buf fer is full The TRS 80 computer does not automatically send a line feed at the end of a line If you wa
58. ATA 239 234 239 233 239 224 224 239 228 239 224 224 180 DATA 239 239 224 239 239 224 224 234 239 233 224 224 190 DATA 234 233 224 234 233 224 224 224 239 224 224 224 200 DATA 224 224 224 224 224 224 274 234 233 224 224 224 210 DATA 224 224 224 224 224 224 224 239 224 224 224 22 Figure B 8 is the Wy program refer to Figure 7 1 amended for the Atari computer 10 OPEN 4 8 0 2 20 PRINT 4sCHRS 27 s A sCHRS CHRS 15 25 PRINT 4 CHRS 27 s U CHRS 1 30 FOR TO 3 40 PRINT 4sCHRS 27 B s CHRS KO 50 RESTORE b0 FOR J 1 TO 9 70 FOR 1 1 TD 12 80 READ A PRINT 4 90 NEXT I 95 PRINT 4 100 NEXT J 110 PRINT 4 120 NEXT K 130 PRINT 4 CHRS 27 e 173 140 CLOSE M 150 END 200 DATA 224 224 224 224 224 224 245 224 224 210 DATA 224 224 224 224 224 224 224 224 252 245 224 724 220 DATA 2 24 224 224 245 224 224 224 252 239 245 224 224 230 DATA 224 224 252 245 224 224 252 239 239 245 224 224 240 DATA 224 252 239 245 224 252 239 239 239 245 224 27 250 DATA 252 239 239 245 252 239 239 23 239 245 224 224 280 DATA 241 241 241 289 241 241 241 201 241 249 224 274 270 DATA 2 Sm 239 239 239 239 239 229 239 239 239 251 280 DATA 253 259 239 239 239 239 239 239 239 239 251 224 Gemini User s Manual Figure B 9 is the boat program refer to Figure 7 2 amended for the Atari computer
59. B 700 6070 40 90 IF BS CHRS 4 THEN 60508 130 50T0 40 100 B ASC B IF 8364 THEN B B 04 102 POKE 15114097 B 6 X 286 Ys Ye 104 IF 1540 THEN AS X SCHRS 13 1720 4C 120 POKE 7 Y140 Y ASC C 0 0 40 190 POKE 2 X840 Y ASC Y Y 1sIF Y lt 0 THEN Y 135 140 POKE 2 X340 ASC CS RETURN 150 M s CTRL PORINT DELETE RESTART EMIT 160 Fz1984 605UR 800 170 RETURN 200 PRINT CHR 147 M z PLEASE STAND BY 205 F 1555 60SUB 806 218 FOR 120 TO 1 TO 40 A I D E J NEYT 215 RETURN 220 QPENA 4 5 PRINT 4 CHRS 27 8 CLOSES 230 PRINT CHR 147 M C OMNAND PRINT RETURN F 1984 60SUB 000 181 Gemini User s Manual 250 G 1F G THEN 250 260 IF 6 P THEN GOSUB 110 270 IF 6 C THEN GOSUB 320 60T0 210 280 IF THEN GOSUB 200 6070 30 290 6070 250 200 PRINT CHRS 147 60SUB 900 RETURN 110 OPENS 4 5 CNDA 712 FOR 10 TO X FOR 150 TO 40 714 PRINT A 1 J 218 NEXT I PRINTM CLOSE4 RETURN 220 1984 605 8 800 330 M E ESC C CHR 0 END lt 1984 60508 800 340 STs 380 GET 64 585 350 370 IF b z t THEN 60508 420 60T0 400 280 IF 6 C THEN GOSUB 550 5070 400 390 IF 6 0 THEN GOTO 410 400 5070 550 410 RETURN 420 L 9 M ESC F 1910 608UB 900 425 F 191 430 GET 68 G THEN 430 440 IF GS CHRS 13 THEN 480 450 M 6 2 50508 800 470 S L 6
60. HR 64 When this code is sent to the printer the conditions of the printer are initialized MAINTENANCE LT tel T ai 1 IL TL RH The purpose of maintenance is to maximize the life of your Gemini Toward that end the best maintenance is preventive The Gemini printer is a well engineered peripheral and it serves as a valuable information handling tool when used correctly Part of using Gemini correctly is paying attention to the operating environment Chapter 1 outlines the suggested considerations for keeping that environment clean Periodic cleaning of the exterior and interior of your printer will help keep Gemini going for years How often you need to clean depends on how dirty the operating environment is CLEANING GEMINI Exterior cleaning When dust grease or other material accumulates on the outside of your printer wipe the external surfaces of the case carefully with a clean cloth moistened with alcohol Note Exercise the utmost care not to wet the electronic parts and machine body Interior cleaning Remove dust and dirt from the internal mechanism by gently using a soft brush Be very careful not to damage the electronic parts or wiring circuit To clean the interior of Gemini you should remove the upper casing as described below 27 REMOVING THE UPPER CASING Warning Unplug your Gemini before removing the upper casing
61. HRS 20 90 REM SELECT DOWNLOADABLE CHARACTERS 0 PRINT ESCS CHR 35 CHR 1 70 REM PRINT OUR NEW SYMBOL 80 PRINT COPY RIGHT 8 1985 90 PRINTB4 CLOSE4 END Figure C 12 is the downloading copyright program refer to Figure 8 4 amended for the Commodore computer 189 Gemini User s Manual 10 REM DEFINE ESCAPE CHARACTER 20 ESC CHR 27 22 OPENS 4 5 4 24 REM COPY CHARACTERS RAM 25 PRINT ESC CHRS 42 0 30 REM DEFINE COPYRIGHT SYMBOL IN PLACE 40 PRINT ESC CHRS 42 CHRS 1 sCHRS 54 sCHRS 0 CHRS 28 45 PRINT 14 CHRS 73 CHRS 20 CHRS 85 CHRS 20 47 PRINT CHRS 55 34 20 50 REM SELECT DOWNLOADABLE CHARACTERS 50 PRINT ESC CHRS 36 CHR 1 70 REM PRINT OUR NEW SYMBOL 80 PRINT COPY RIGHT 9 1985 90 PRINT 4 CLOSE4 END Figure C 13 is the downloading program presented in Figure 8 5 amend ed for the Commodore computer 10 REM DEFINE ESCAPE CHARACTER 20 ESCS CHR 27 22 4 5 04 24 REM COPY CHARACTERS TO RAM 25 PRINT ESCS CHRS 42 CHR 0 0 REM DEFINE COPYRIGHT SYMBOL IN PLACE 8 30 PRINT ESCS1CHRS 42 1 sCHRS 54 CHR 0 CHR 28 45 PRINT CHR SAYLCHRS 72 5 20 CHRS 65 CHR 201 47 PRINT CHRS 55 34 CHR 20 49 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF amp 50 PRINT ESCS CHRS A2 sCHRS 1 CHR 38 sCHRS 1 vCHR 28 55 PRINT 34
62. ION OF THE PRINT HEAD These commands are used to control the horizontal position of the print head PURPOSE FORMAT Return the print head carriage to the next print position CR CHR 13 133 134 REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS Gemini User s Manual When this command is sent the print head moves to the next print position If DIP switch 2 2 is set to off this carriage return command also causes the printer to empty the print buffer If Dip switch 2 4 is set to the command causes a line feed command to be inserted after the carriage return code Set the left hand print margin ESC n CHR 27 CHR 77 CHR n After this command is sent to the printer successive carriage return codes will cause the print head to return to the n print position The value of n should be between 1 and 255 The maximum number of print positions on an 8 inch wide form is 80 for 10 CPI characters 96 for 12 CPI and 136 for 17 CPI For the Gemini 15X the maximum number of print positions is 136 for 10 CPI 163 for 12 CPI and 233 for 17 CPI Set the right hand print margin ESC Q n CHR 27 CHR 81 CHR n After this command is sent to the printer attempting to print beyond the n print position will cause the printer to automatically perform a line feed and return before printing the remainder of the line The value of n
63. Loadable Character Sets is the ability to transfer programmed character codes from a computer to a receptive peripheral device Gemini 10X 15X that contains storage RAM for such down loading of specially created symbols Dual In line Package DIP switch is a set of microswitches that allows you to quickly convert your machine to perform important functions Dump is a term for copying a storage file from the computer onto a line printer or other peripheral device Escape character is the signal sent from your computer to Gemini via your pressing the ESC key on the keyboard that initiates one of the escape function codes that control some of the printer s key operating parameters In BASIC sending CHR 27 which is the code for ESC initiates one of the ESC function control commands File is a collection of related records that are treated as a single set of data for purposes of storage retrieval and transmission Form Feed FF is a paper advancing function that is initiated by pressing the FF button on the control panel while the printer is in the local mode FF advances the paper around the platen and stops at the first line of the next page FF may also be activated through software control 255 Glossary Fuse is an electrical safety device consisting of a metal wire within a glass tube that melts and interrupts the circuit when the amperage exceeds a predetermined point Hardware is the set of tangible parts
64. ND BIT IMAGE MAP TO PRINTER 3005 PRE 3006 PRINT CHR 9 255 3010 PRINT CHR 27 A CHRS 4 3015 PRINT CHR 13 3020 FOR ROW 0 TO 3025 PRINT CHRO 22 K CHR 119 CHRS 1 3050 FOP COL z 1 TO 78 3055 FOR LL 1105 3060 PRINT CHR BITL COL ROW 3005 NEXT LL 3070 NEXT COL 3080 PRINT 3090 NEXT ROW 5 3100 PRINT 3102 PRE 0 2110 END 4000 REM DRAW A LINE FROM X1 Y1 TO 12 72 4010 XL X2 72 Yl 4020 NX ABS XL XFAC NY ABS YL 1 YFAC 4030 IF NX lt NY THEN NY NY 4040 NSX INT NX 1 4050 DX s XL YL NS 6060 FOR 1 1 TO NSY 4070 Ki X1 Ds 1 DV p 4080 60508 5000 4090 NEXT I 4100 RETURN 5000 REM PLOT A POINT AT X1 Y1 3010 XX X1 t XFACHYY Yi YFAC 3020 COL XX 1 5050 ROW INT YY 6 5040 XITX INT 64 ROM 1 5042 POKE 250 BITZ COL ROW 3044 POKE 251 MASK2 XITY 161 Gemini User s Manual 5046 CALL 24576 3050 BITA COL ROW PEEK 252 060 RETURN Figure A 10 is the graphics program refer to Figure 7 4 amended for the Apple computer 10 PRINT CHR 4 PRRI 20 REM 144 DEFINE PARAGRAPH SYMBOL IN PLACE OF THE SYMBOL 70 PRINT CHR 27 CHR 42 1 CHR 6434 CHR 10 CHRE 6 CHAS 25 CHRE 10 CHAS 125 118 CHAS 2E CHRE 0 CHRE 127 CHRS 0 40 REM tif SELECT DOWNLOADABLE CHARACTERS 50 SPRINT CHRS 27 CHS 16 CHRS IN 50 REM tit PRIN
65. RE 3055 NEXT LL 1070 NEXT COL 3080 PRINT 4 3090 NEXT ROW 2100 PRINT 4 8 27 CHRE 12 3105 PRINT 4 sPRINT M 3110 CLOSE 4 3150 END 4000 REM DRAW A LINE FROM X1 Y1 TO X2 Y2 4010 XLeX2 11 YLeY2 Y1 4020 NXeABS XLSXFAC sNY ABS YLSYFAC 175 Gemini User s Manual orae lt lt _ _ _ _ _ __ __________ __ 4030 IF NX lt NY THEN NY NY 1040 NS INT NX 1 4050 DXY XL NS 4055 DYsYL NS 4080 FOR 151 TO NS 4070 X1 11 01 Y1 Y1 DY 4080 60508 5000 1090 NEXT 1 4100 RETURN 9000 REM PLOT A POINT AT X1 Y1 5010 XYSX1fXYFAC 1 5020 COLSINT XX 1 030 ROWSINT YY 5040 XITzINT YY ROWEA 1 5050 AL BIT COL ROW 5080 A2 MASK XIT 9070 BIT COL zUSR 1536 41 82 5080 RETURN Figure B 10 is the graphics program refer to Figure 7 4 amended for the Atari computer 10 DIM E 5 20 REM DEFINE ESCAPE CHARACTERS 25 E CHR 27 30 OPEN 4 8 0 35 REM DEFINE PARAGRAPH SYMBOL IN PLACE 40 PRINT 4 E CHRS 42 CHRS 1 CHRS 64 sCHRS 0 CHRS 6 45 PRINT 4 CHRS 9 CHRS 0 CHRS 9 CHRS UL 18 s CHRE 9 sCHRS 0 47 PRINT 4sCHRS 127 0 50 REM SELECT DOWNLOADABLE CHARACTERS 60 PRINT MES 3 CHRE 1 70 REM PRINT OUR NEW SYMBOL BO PRINT 4 90 CLOSE 4 END Figure B 11 is the downloading paragraph symbols program refer to Figure 8 2 amended for the Atari comput
66. SC 1 code n1 as designating position to be written and n2 as the descender data 9 The value of n1 must be between 32 and 126 The value of n2 must be 1 when the character is to be shifted two dots downward and 0 when it is not shifted PURPOSE Copy the fonts in character ROM into download RAM FORMAT ESC 0 CHR 27 42 0 When this command is received the fonts in character ROM are copied into the download character RAM PURPOSE Select the download character set FORMAT ESC 1 CHR 27 CHR 36 CHR 1 REMARKS This command causes the printer to select the download character set Download character sets cannot be intermixed with other character sets on the same line PURPOSE Cancel the download character set FORMAT ESC 0 CHR 27 36 CHR 0 REMARKS This command causes the printer to cancel the download character set and select the standard ASCII character set 138 The Function Codes OTHER FUNCTION CODES PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS Control the value of the eight bits of data sent to printer ESC gt or ESC or ESC CHR 27 CHR 62 or CHR 27 CHR 61 CHR 27 CHR 35 These codes are used to control the value of the eighth bit of the data that is sent to the printer After the ESC gt code is receiv
67. T OUR NEW SYMBOL TA PRINT Figure A 11 is the downloading paragraph symbols program refer to Figure 8 2 amended for the Apple Il computer PRINT CHRS 4 O REM 82 DEFINE COPYRIGHT SYMBOL IN PLACE OF amp SYMBOL 20 PRINT CHRS 27 CHRS 42 CHRE 1 CHR 54 CHRE 0 CHRS 28 CHR 34 73 CHR 20 CHR 65 CHR 20 CHRS 65 CHR 391 CHRE 20 30 REM t48 SELECT DOWNLOADABLE CHARACTERS 40 PRINT 27 CHRE 36 CHRE fji 30 REM 143 PRINT OUR NEW SYMBOL 50 PRINT COPYRIGHT 1985 Figure A 12 is the downloading copyright program refer to Figure 8 4 amended for the Apple computer 162 Apple Plus 5 PRINT CHR 4 10 REM 111 COPY CHARACTERS INTO RAM 20 PRINT CHR 27 CHR 42 CHR 0 30 REM ttt DEFINE COPYRIGHT SYMBOL IN PLACE OF 40 PRINT CHR 27 CHR 42 CHR 1 CHR 64 CHR 0 CHR 28 CHR 34 CHRS 73 CHR 20 CHR 65 CHRE 20 CHRO 65 CHRM 134 20 50 REM ttt SELECT DOWNLOADABLE CHARACTERS 0 PRINT CHR 27 CHR 38 CHR 1 70 REM ttt PRINT OUR NEW SYMBOL 80 PRINT COPYRIGHT 6 1982 Figure 13 is the downloading program presented in Figure 8 5 amend ed for the Apple Il computer S PRINT CHR 4 10 REM COPY CHARACTERS INTO RAM 20 PRINT CHR 27 CHR 42 CHRE 9 30 REM tit DEFINE COPYRIGHT SYMBOL IN PLACE OF THE SYMBOL 40 PRINT CHARS 27
68. THE FUNCTION CODES This chapter explains the purpose appearance and use of the functional command codes After you ve studied this chapter you should be able to make full use of the quick reference chart provided on the inside back cover of this manual In addition Appendix M provides a listing of the codes in the same order as the reference chart with a short description and decimal 10 base and hexidecimal 16 base equivalents The format of these descriptions is as follows PURPOSE Tells what the function code accomplishes FORMAT Shows the correct format for the control sequence giving both the alphanumeric and ASCII code sequences REMARKS Details how the command is used EXAMPLE Shows BASIC program segment to demonstrate the use of the command COMMANDS USED TO CONTROL PRINT STYLE These commands are used to control the font style the print pitch print mode and special effects Font Style Controls PURPOSE Select the standard character set FORMAT ESC 5 CHR 27 CHR 53 REMARKS This command causes the printer to cancel the italic character set and select the standard i character set EXAMPLE LPRINT CHR 27 CHR 53 123 PURPOSE FORMAT REMARKS EXAMPLE PURPOSE FORMAT REMARKS EXAMPLE Font Pitch Controls PURPOSE FORMAT REMARKS EXAMPLE 124 Gemini User s Manual Select the italic character set ESC 4 CHR 27 CHR
69. XT J 380 PRINT 390 NEXT 400 PRINT FFG PRINT CHRO 9 BON PRE 0 410 END Figure A 1 is the font styles program refer to Figure 5 1 amended for the Apple computer 154 Apple I Plus 135 14 150 160 170 180 185 187 190 200 s HOME DIM 6022 40 HOME z GOSUB 150 VTAB X HTAB Y PRINT 7 GET B IF B 5 THEN END IF B 18 THEN HOME GOSUB 200 GOTO 20 IF B CHRS 16 THEN 210 IF B CHRS 13 THEN AS X Y B VTAB X PRINT uy X f VTAB X Y PRINT 60 0 40 IF BS CHR 4 THEN GOSUB 130 GOTO 40 VTAB X HTAB Y PRINT Y 1 IF Y 40 THEN AS X Y CHRS 13 PRINT CHRE 40 VTAB X HTAB Y PRINT GOTO 40 VTAB X Y PRINT pY Y 1 IF Y 0 THEN Y 1 PRINT CHRS 7H w VTAB Xi Y PRINT 4 RETURN 24 HTAB 1 INVERSE PRINT PORINT VTAB 24 HTAB 10 PRINT D ELETE VTAB 24 HTAB 19 PRINT R ESTART VTAB 24 29 PRINT EXXIT 1 NORMAL VTAB 22 1 PRINT LIS RETURN 101 HTAB 10 PRINT PLEASE STAND FOR 1 TO X FOR J 1 TO 40 46 1 9 s NEXT J NEXT 1 RETURN REM PRO 1 PRINT CHRS 27 991 PRE 0 HOME VTAB 24
70. Y ssPRINT BS A X Y SB 2741 110 IF Y 50 THEN AS X Y CHRS 13 sPRINT Ee 161 Ye1 60T0 40 120 PRINT FNLS X Y s PRINT 60TO 40 130 PRINT FNLS X Y g PRINT s YsY 1 IF Y 0 THEN Y sPRINT CHRS 7 135 A X Y 140 PRINT FNLS X Y s PRINT RETURN 150 PRINT FNL 22 2 160 PRINT P RINTER DELETE RIESTART E XIT 190 RETURN 200 PRINT FNL 10 20 PLEASE STAND 205 FOR 151 X FOR 151 SO AS I J s 205 NEXT J NEXT 210 REM 220 LPRINT CHRS127 230 PRINT CLR PRINT FNLS 23 2 235 PRINT COMMAND PRINT FNL 23 11 240 PRINT PIRINT FNLE 23 18 RETURN 250 GS INKEY IF 6 THEN 250 260 IF 6 P THEN GOSUB 310 197 Gemini User s Manual 270 IF 6 C THEN GOSUB 320 6070 230 280 IF 6 R THEN GOSUB 300 60T0 30 290 250 300 PRINT CLRS FOR 151 TO 921 TO 50 302 PRINT FNLS I UM 304 IF AS 1 J CHRS 13 THEN 308 306 PRINT A 1 0 308 NEXT J NEIT I 309 RETURN 310 FOR 151 TO Y FOR J 1 TO SO LPRINT AS T J 312 NEXT J LPRINT NEXT I RETURN 320 PRINT FNL 123 D 9PC 47 340 PRINT FNL 23 2 E Esc 50 PRINT FNL 23 10 C CHR 355 PRINT FNL 23 20 0 END COMMAND ST z 360 6 1 G THEN 350 370 IF B z E THEN 60508 420 60T0 400 380 IF 6 C THEN GOSUB 530 60T0 400 390 IF 6 0 THEN GOTO 410 400 GOTO 340 410 RETURN 420 1 0 FNL 20 4 PRINT Esc
71. YL Y Yi 1020 NX ABS XLEXFAC NY ABS YL3YFAC 4030 IF NY lt NY THEN NX 1040 NSX INT NX41 4050 DX YL NSX DY 1050 FOR I 1 TO NSZ 4070 1 X1 DX Y Yl DY 4080 GOSUB 5000 4090 NEXT 1 4100 RETURN 5000 REM PLOT A POINT AT X1 Y1 3010 XX X1 XFAC YY 1 YFAC 5020 COLZ INT XX 1 5050 ROWZ INT YY 6 3040 INT YY ROWZ 6 5050 BITX COLZ ROWZ BITX COLZ ROWL OR 172 5060 RETURN Figure 10 is the graphics program refer to Figure 7 4 amended for the Commodore computer 188 Commodore 20 4 C 64 19 REM DEFINE ESCAPE CHARACTER 20 ESCSCHRS 27 30 REM DEFINE PARAGRAPH SYMBOL IN PLACE 8 35 4 3 CMDA 40 PRINT ESC CHRS 42 CL CHRS 64 CHRS 0 CHR 6 AS PRINT CHR O CHR 0 CHR 9 1118 CHRE 9 CHRS 03 47 PRINT CHRS 127 CHR 0 50 REM SELECT DOWNLOADABLE CHARACTERS 39 PRINT 2509 36 zCHRS 1 70 REM PRINT OUR NEW SYMBOL 80 PRINT 989008 90 PRINTH CLOSE4 END Figure C 11 is the downloading paragraph symbols program refer to Figure 8 2 amended for the Commodore computer 10 REM DEFINE ESCAPE CHARACTER 20 ESC CHR 27 20 REM DEFINE COPYRIGHT SYMBOL IN PLACE 5 OPENG 4 5 4 40 PRINT ESC CHR 42 CHR amp 1 CHR 64 s CHRS 0 CHR 28 45 PRINT CHR 34 CHR 73 CHR 20 CHR 65 CHRS 20 47 PRINT CHR 55 CHR C34 C
72. ad 146 Maintenance 4 Place the new print head in position and attach it with the clamping screws Apply screw lock an adhesive to the heads of the screws Insert the head cable tightly into the head connector Be sure the connection is a good one otherwise it may cause problems ip Figure 10 4 Heplacing the print head by yourself is easy quick and avoids downtime 147 10 Gemini User s Manual SHAH PERIODIC INSPECTIONS To keep Gemini in tip top shape you should make the following inspections every six months under normal use Expressed another way you should check under the hood every half million lines of printing Here s what to check Maintenance Check List Clean the print head and sensor peripherals with a soft brush D Check the various screws and make sure they are tight If they aren t tighten them with a screwdriver Rotate the platen and check for possible damage If the platen is worn or uneven replace it 0 Remain alert to abnormal operating sounds Strange noises can signal strange conditions and the earlier you recognize and fix a problem the better 0 Perform Self Testing and check the movement of each mechanism 148 e Maintenance Notes in 149 APPLE PLUS The Interface Board You need to acquire and install an Apple interface board also call ed a and a connecting cable
73. amming of ESC D and ESC P Buzzer sounds for 14 second when this code is input Input of ESC Y 0 code negates BEL code Input of ESC Y1 makes BEL code effective Buffer data is printed by this code and this code shifts the print start position to left side by one character space Moves the print head to the next tab set position One paper feed is done by an input of LF code after buffer data is printed Feed paper to the next VT position where programmed by ESC P nn n NUL Default value is set every 6 lines Paper is fed to the print start line on next page by preset program header line after buffer data is printed CR code causes printout of buffer and if DIP switch 2 4 auto line feed is in position CR and 1 line is fed automatically Turns on double width character print mode This mode is cancelled by using DC4 or CR Turns on compressed mode 17 CPI This mode cancelled by using DC2 This code causes printer to be selected Cancels SI mode This code causes printer to be deselected Cancels SO mode This code ends the macro instruction Delete last character input to buffer er Function Code Summary Control Code ESC ESC ESC 0 ESC 1 n1 n2 m1 m2 ESC 0 ESC 1 ESC 1 ESC 0 ESC 0 ESC 1 ESC 2 ESC ESC 4 ESC 5 ESC 7n ESC 8 ESC 9 ESC ESC gt ESC ESC ESC an ESC bn ESC An Decimal 27 155 35 420
74. anel button is used to switch the printer between being local and on line with the computer Macro Instruction is the ability of a peripheral device Gemini 10X 15X to accept a single control code to do the work of a multi command series of codes memory refers to the electronic circuits that are instantaneously available to the computer circuits containing storage of the software and data currently being used Microprocessors are the brains of the personal computer The most commonly used types each about the size of a stack of three dimes are the 8080 Z 80 and the 6502 Megabyte is equivalent to 1 024 kilobytes of memory Note Because computers work with binary numbers K equals 2 or 1 024 bytes rather than a thousand bytes as would imply similarly a megabyte equals 2 256 Glossary Off line is a condition in which your printer can relate to itself but is unable to communicate with your computer On line is a condition in which the printer is interfaced with the computer and is ready to receive data transmission Parallel transmission is a type of interface in which each byte of data is transmitted from the computer to the printer arranged so that each bit is sent on a separate wire side by side in Peripheral is any device used by a computer to communicate including printers monitors and disk drives Random Access Memory RAM is an array of semiconductor switch
75. cal tab position The vertical tab positions are set upon power or printer reset to lines 6 12 18 24 30 36 42 48 54 and 60 The vertical tab positions can be changed using the ESP 0 code PURPOSE Change the position of the vertical tabs FORMAT ESP n1n2n3 0 CHR 27 CHR 80 CHR n1 12 CHR n3 CHR 0 132 The Function Codes nama REMARKS EXAMPLE PURPOSE FORMAT REMARKS EXAMPLE qunm iar mum When the ESC P code is sent to the printer the existing vertical tab positions are cancelled The new vertical tabs are set to line n1 n2 n3 etc The CHR 0 character is used to end the command The value of n should be between 1 and 255 and n1 should be less than n2 n2 less than n3 etc LPRINT 13 27 15 CHR 30 C HR 0 1 TO 2 LPRINT 11 NEXT I advances the paper to the top of form and prints the numeral 1 on line 15 and the numeral 2 on line 30 Send a one time only vertical line feed of n lines CHRS 27 CHR 97 When this command is sent it causes the paper to be advanced n lines vertical feed Value of n must be between 1 and 127 This command does not change the present vertical tab LPRINT CHR 27 CHR 97 CHR 15 Ccauses the paper to advance 15 vertical lines COMMANDS TO CONTROL THE HORIZONTAL POSIT
76. carriage return ignored and printing only when the buffer is full The Use of BASIC All the example programs provided in this User s Manual are writ ten in BASIC for the IBM Personal Computer You may run them in IBM Microsoft BASIC or in IBM Microsoft Advanced BASIC BASICA Pin Configurations The following chart shows the pin outs for the Gemini 10X and Gemini 15X interfaced with the IBM Personal Computer using a parallel interface board 192 Personal Computer Parallel Gemini 10X 15X IBM 25 Pin 1 STROBE 1 STROBE 2 D1 2 00 3 D2 3 D1 4 03 4 02 5 04 5 03 6 05 6 D4 7 06 7 05 8 07 8 06 9 08 9 07 10 10 11 BUSY 11 BUSY 12 PAGE END 13 SELECT 14 AUTO END 32 ERROR 15 ERROR 16 INITIATE 17 SELECTION 16 SG 18 25 SG 193 OSBORNE The Connecting Cable Use the cable available from your Gemini dealer or you can make your own cable according to the pin configuration chart below Setting the DIP Switches Turn switches 2 3 and 2 4 to the off position on your Gemini and set switch 2 1 as you like Switch 2 2 should be set off if you want Gemini to print every time it receives a CR code set it on if you wish to have the carriage return ignored and printing only when the buffer is full The Use of BASIC All the sample programs provided in this user s manual will run as is using Microsoft BASIC If you are a firs
77. ch control 124 126 form feed F F 5 6 130 132 French characters 99 100 function codes 58 123 140 fuse replacement 144 145 German characters 100 glossary 254 257 grounding 3 248 hexadecimal 59 horizontal print head position control 133 135 IBM PC 192 193 italic characters 45 66 124 impact printing 4 5 initialization 55 interfacing 2 47 48 54 international character sets 51 124 231 line feed L F 5 6 71 129 130 line spacing 70 71 logic seeking 6 macro commands 120 121 139 maintenance 143 149 margin codes 134 mathematical and scientific characters 101 102 matrix printing 45 72 83 85 monetary characters 101 normal printing 10 CPI 64 65 67 online button 5 6 62 on off power switch 1 2 operating environment 9 Osborne computers 194 205 paper out indicator 5 paper separator amp guide 4 217 219 paperloading 13 31 parallel interface 2 48 53 54 246 249 pin out charts 163 177 193 195 207 pins 246 248 platen knob 1 2 plotting characters 102 104 power unit 6 7 print commands see BASIC and function codes print head 3 4 37 81 83 146 147 programs in BASIC 63 76 77 89 97 105 107 111 112 117 119 121 RAM 241 ready lamp 5 release lever 16 17 reset function see initialization ribbon loading 32 37 roll paper holder amp shaft 4 217 219 ROM 241 self test 39 45 serial interface 2 55 snap levers 14 15 Spanish characters 100 specifications f
78. e and cable Setting the DIP Switches The only DIP switch that must be set in one position or the other is switch number 2 3 which must be off on your Gemini Switch number 2 2 should be set to off if you want Gemini to print every time it receives a CR code set the switch if you wish to have the carriage return ignored and printing only when the buffer is full The Use of BASIC We recommend the use of Commodore s Advanced BASIC Pro gram If you encounter difficulty in running the programs presented in this User s Manual consult the documentation that supports the Advanced BASIC Program for Commodore 179 Gemini User s Manual ERE Program Listings 20 ES CHRS 27 LFS CHRS 10 FFS CHRS 12 CRS CHRS 12 30 B 4CHRS 1 ELS E B CHRS 7 CHS ES4 B 4CHRS 3 10 SPS E6 S CHRS 0 SBS ES S CHRS 1 CS ES T 50 ITS ES CHRS 52 50 WDS CHRS 14 CWS CHRS 20 PS E 0 70 EMS ES E CES E F CDS ES H 80 OPENS 4 S PRINTI4 PSS 5 R sCHRS 15 90 FOR 151 0 2 100 IF 121 THEN PRINT 4 WD GEMINI STANDARD TYPE STYLES 110 IF 122 THEN PRINT 4 ITS WD GEMINI ITALIC TYPE STYLE 115 120 FOR Nl AD PRINTMI CHR 231 CHRS 272 NEXT N PRINTBA PRINTIM 130 PRINTI 17 CPI 17 CP 10 CPI 8 5 CPI 6 CP 5 CPI
79. e programs presented in this manual if you use Applesoft BASIC Applesoft BASIC uses the PRINT command to send informa tion to both the screen and the printer The PR 1 command sends the information only to the printer when the printer interface is in slot number 1 and the PR 0 com mand sends the information only to the screen Therefore you should use PRINT CHR 4 PR 1 PRINT instead of the LPRINT command In addition use PRINT CHR 4 0 PRINT instead of the PRINT command The Apple video display is 40 columns wide If you want the print mode to print more than 40 columns you need to send an additional command code PRINT CHRS 4 PR 1 PRINT CHR 9 255 PRINT This message allows Gemini to print a line of any length This is particularly important when sending bit image graphics to Gemini The CHR 9 or function code HT which moves the print head to the next tab position and CHR 13 or function code CR for a carriage return codes cause problems when used in both the Gemini escape function code sequences and in the graphics mode Avoid using these codes if possible The printer interface card does not allow us to send ASCII codes greater than 127 If you try to send these codes the inter face sets the eighth bit to zero The result for example is that PRINT 239 would be received by the printer as PRINT CHR 111 that 5 239 128 111 Gemini provides the ESC gt
80. e racks is to uniformly feed the paper roll type or sprocket fed between them and into the printing unit Thus you should keep these racks free from obstacles such as paper clips or pencils 223 Gemini User s Manual ATTACHING THE ROLL PAPER HOLDER amp SHAFT Roll paper requires another accessory in addition to the paper separator and paper guide just introduced As shown in Figure G 7 for the Gemini 10X the hooks of the holder should be inserted in the two holes on the undercarriage on the back side of the printer 25 On the Gemini 15X the identical holder attaches the same manner but instead of in the middle toward one side away from the electrical plug The paper holder is the rack that holds the roll of paper much the same as some types of paper towel dispensers The roll of paper is placed on a holder shaft as shown in Figure G 8 Roll paper holder Figure G 7 The roll paper holder is attached to the back of the printer in the center for the Gemini 10X and away from electrical plug for the Gemini 15X _ 224 Getting Started B Figure G 8 The holder shaft is inserted in the roll of paper which is then mounted on the roll paper holder as shown in Figure G 9 727 E Figure G 9 Side view of the Gemini printer showing the three paper feed accessories in place This concludes your introduction to the items contained in the Gemini printer package
81. ed by the printer all subsequent data is processed with the eighth regarded as set to 1 The ESC code is used to cancel the ESC gt command After the ESC code is received all subsequent data is processed with the eighth bit regarded as set to 0 The ESC code is used to cancel the ESC command These codes are provided to allow users with a 7 bit interface to access the special characters whose ASCII code is greater than 127 These codes should be used to transmit printer function codes ESC gt only functions with the DIP switch number 2 3 set to fora 7 bit interface Delete the last character sent to the printer DEL CHR 127 When the CHR 127 code is sent to the printer it causes the printer to delete the last character it received with the exception of function codes Put the printer in online mode DC1 17 This code cancels the DC3 code and puts the printer back in the online mode 139 PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS 140 Gemini User s Manual Put printer in offline mode DC3 CHR 19 When this code is sent to the printer Gemini assumes the offline mode All subsequent characters and control codes sent to the printer are disregarded The only control code that is processed is CHR 17 DC1 which cancels 19 and puts the printer back me
82. er 176 Atari 800 400 B 10 DIM 20 REM DEFINE ESCAPE CHARACTERS 25 ES CHR 27 30 OPEN 14 8 0 35 REM DEFINE COPYRIGHT SYMBOL IN PLACE 8 40 PRINT 4369 CHR A2 CHRS CL CHR 64 0 CHR 28 45 PRINT 4 CHR 34 CHRS 73 20 CHR 65 CHRE 20 47 PRINT 4 CHRS 65 CHRS 34 CHR C20 50 REM SELECT DOWNLOADABLE CHARACTERS 6 PRINT 4 E CHRS 36 CHRS 1 70 REM PRINT QUR NEM SYMBOL 80 PRINT 4 RIGHT 8 1985 90 CLOSE M END Figure B 12 is the downloading copyright program refer to Figure 8 4 amended for the Atari computer 10 DIM 56 5 15 OPEN 4 8 0 P 20 REM DEFINE ESCAPE CHARACTERS 25 ES CHRS 27 27 REM COPY CHARACTERS 28 PRINT 4 8 9 42 CHRS 0 35 REM DEFINE COPYRIGHT SYMBOL IN PLACE 8 40 PRINT 4 8 CHRS 42 sCHRS 1 sCHRS 64 CHR 0 CHR 28 45 PRINT 4 CHRS 34 sCHRS 73 20 sCHRE 65 sCHRS 20 47 PRINT 4 65 CHRE 34 CHR 20 50 REN SELECT DOWNLOADABLE CHARACTERS 60 PRINT 4 6 CHRS 36 CHRS 1 70 REM PRINT QUR NEW SYMBOL 80 PRINT 4 RIGHT 8 1983 90 CLOSE 4 END Figure B 13 is the downloading program presented in Figure 8 5 amend ed for the Atari computer 177 Gemini User s Manual 10 DIM ES S 15 OPEN 14 8 0 P 20 REM DEFINE ESCAPE CHARACTERS 25 ES CHRS 27 27 REM COPY CHARACTERS TO RAM 28 PRINT 5E CHR 4
83. er this code is sent subsequent data are converted to 5 CPI 12 CPI pitch is converted to 6 CPI and 17 is converted to 8 5 CPI The SO command is cancelled by the transmission of the DC4 code CHR 20 or by the CR code 13 ESC W 0 code will also cancel this command causing the printer to print in normal mode LPRINT 14 LPRINT Double Width Mode LPRINT Standard Width Mode prints the first line in double width mode and the second line in standard width since the carriage return transmitted by the first LPRINT cancels the double width mode Set the print pitch to condensed print mode ESC SI CHR 27 15 Same as the SI code Please refer to the SI code Cause the printer to print in enlarged mode ESC SO 27 CHR 14 Same as the SO code Please refer to the SO code 125 9 Gemini User s Manual PURPOSE Set the print pitch to pica sized mode FORMAT DC2 18 REMARKS A single character command to cause the printer to shift into pica sized mode This command is cancelled by the transmission of the ESC 2 code or ESC 3 or SI code PURPOSE Cause the printer to print in normal mode FORMAT DC4 CHR 20 REMARKS A single character command to cancel the SO code Special Print Modes PURPOSE Print characters in double strike printing mode FORMAT ESC G 27 CHR 71 REMARKS When the ESC code is transmitted to the
84. es that stores information in the form of bits RAM storage changes as the printer performs its tasks The RAM is the main memory that the user can alter and might be called the Read Write Memory In the Gemini printers the RAM consists of 816 bytes of storage for data transferred from the interface circuit to the print head circuit Read is to obtain data from a computer storage media or from user input Read Only Memory ROM is a type of main memory that comes from the manufacturer with data or programs that cannot be modified by the user Unlike most the contents of a ROM are not lost by turning the power off Resolution is the degree of detail that the user can obtain with different printing modes The Gemini printers offer 60 x 72 low resolution 120 x 144 high resolution and 240 x 144 ultra high resolution bit image graphics Serial transmission is a type of communication in which each byte of data is transmitted from the computer to the printer arranged so that each bit is sent on one wire end to end serially Software is the set of tasks or programs that makes hardware perform particular functions Subscripts are those characters that are printed beneath the baseline for standard size characters The 2 is a subscript in H 0 the chemical notation for water Superscripts are characters above the baseline of characters The 2 isa superscript in E mc Einstein s simple equation for the rela
85. g file number 7 as an output device 0 is not used and the P assigns the device to the printer Once the file is assigned you would use the following statement PRINT 7 CHR 27 5 At the end of your program you need to purge the printer buf fer and close the file Use the following statements PRINT 7 CLOSE 7 Because Atari uses codes 0 31 for its graphics characters you may want to add 128 to the ASCII control codes For exam ple send 141 instead of CHR 13 for a carriage return As another example send CHR 155 instead of CHR 27 for the start of an escape function code sequence The Atari BASIC does not support the BASIC tab function if you have further questions the first step to finding the answer is to consult your Atari user s manual 800 400 B Pin Configurations The following chart shows the pin outs for Gemini 10X and Gemini 15X hooked up to the Atari 400 800 using the 850 module parallel interface 10 15 Atari 850 1 STROBE 1 STROBE 2 D1 2 D1 3 D2 3 D2 4 D3 4 D3 5 D4 5 04 6 05 6 05 7 06 7 06 8 07 8 07 16 11 32 ERROR 12 FAULT 11 BUSY 13 BUSY 9 08 15 08 Following are the program listings amended for the Atari computer Figure B 2 is a new word processing program similar to the one presented in Chapter 5 but without the use of the single character input function which the Atari computer does no
86. igure G 1 shows these items for the Gemini 10X and Figure G 2 presents them for the Gemini 15X Figure G 1 The Gemini 10X packing list Legend a printer f holder shaft b printer cover g ink ribbon c paper guide h spare fuse d paper separator i user s manual e roll paper holder 218 Getting Started B Figure G 2 The Gemini 15X packing list REMOVING THE PACKING FROM INSIDE THE PRINTER Your Gemini came to you nestled in foam plastic cushions Packing material was also placed inside your printer to secure the print head and platen during shipping Figure G 3 identifies the packing material that you need to remove from inside Gemini prior to operation 219 Gemini User s Manual Platen Packing for the print head Print head Figure G 3 The Gemini 10X shown here and the Gemini 15X both use a cardboard form to secure the print head cardboard inserts to secure the platen from jostling around Note Be sure you remove all the cardboard packing before using your Gemini First you need to remove the cardboard packing shown in Figure G 3 Note You might want to save these packing materials in case you move or in case you need to ship your Gemini printer After you remove the platen securing packing while your printer is turned off turn the platen knob to roll out the sheet of paper that is wrapped around the platen to protect the out of paper sensor Getting S
87. mend ed for the TRS 80 10 REM DEFINE ESCAPE CHARACTER 20 ESC CHR 27 30 REM DEFINE MACRO BE EMPHASIZED AND EXPANDED TEXT 40 LPRINT 2906 43 2506 CHRS 1 CHRS 30 50 REM ISSUE MACRO COMMAND AND TRY PRINTING age PEE 60 LPRINT ESC CHR 33 70 LPRINT EMPHASIZED AND EXPANDED BY MACRO _ 80 END Figure F 15 is the macro commands program refer to Figure 8 7 amend ed for the TRS 80 216 WHEN YOU FIRST GET YOUR NEW GEMINI This appendix serves the needs of Gemini s first time users On the following pages you will learn what to look for when initially opening the box containing your new printer In addition to learning what the pieces are you ll gain instruction in how the pieces fit together Specifically this appendix will show you how to remove the packing and attach the paper handling accessories CHECKLIST FOR FIRST OPENING THE BOX When you first open the shipping purchase carton for your Gemini printer you should find the following items CHECKLIST FOR YOUR NEW GEMINI 0 one Gemini printer one paper guide a smaller metal rack one paper separator a metal rack 0 one roll paper holder a formed metal bar one holder shaft a long plastic cylinder one ink ribbon mounted on two spools one spare fuse small glass amp metal one user s manual this one right here 217 B Gemini User s Manual WHAT THE PARTS LOOK LIKE F
88. mode is cancelled by the ESC 0 code 27 CHR 45 0 Print in superscript mode ESC S 0 CHR 27 83 CHR 0 When the ESC 0 command is received by the printer the subsequent characters are printed in superscript mode While in superscript the normal bidirectional print mode is cancelled and the unidirectional print mode is invoked Superscripts may be used with the italic font and in pica elite and compressed pitches They may not be used in double width print mode or with emphasized printing mode Superscripts are always printed in double strike Superscript mode is cancelled by sending the ESC T code 27 CHR 84 This code also cancels the unidirectional print mode but does not cancel the double strike printing mode 127 128 PURPOSE FORMAT REMARKS EXAMPLE PURPOSE FORMAT REMARKS EXAMPLE Gemini User s Manual Print in subscript mode ESC S 1 27 83 1 When the ESC 1 command is received subsequent characters are printed in the subscript style See the remarks for superscript mode for additional information FOR 48 TO 122 LPRINT CHR I CHR 27 S CHR 0 CHR I CHR 27 T CHR 7 S CHRS D CHRS CHR 27 T NEXT I prints the upper and lowercase characters in normal superscript and subscript style Print in unidirectional printing mode ESC U 1 CHR 27 CHR 85
89. n on line Activate the Gemini buzzer BEL 7 When the 7 code is sent to Gemini the result is that the built in buzzer beeps for one fourth of a second The buzzer function can be temporarily deactivated by sending an ESC Y 0 CHR 27 CHR 89 0 control code to the printer After the ESC Y 0 code is received the CHR 7 no longer causes the buzzer to The buzzer can be reactivated by sending an ESC Y 1 CHR 27 CHR 89 CHR 1 code to the printer Allow printing even though the paper out M detector indicates Gemini is out of paper ESC 8 2x CHR 27 CHR 56 When the ESC 8 function code is sent to Gemini the signal from the paper out detector is disregarded This code allows you to print on a single sheet If the paper out signal were not disregarded Gemini would stop printing part way down the single sheet because the printer would think it s out of paper The paper out signal can be restored by sending ESC 9 function code CHR 27 CHR 57 The Function Codes PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS Regard the signal from detector ESC 9 27 CHRS 57 When this code is sent to the printer the signal from the paper out detector is restored Initialize the printer conditions ESC 4 93 CHR 27 C
90. n then remove the two fixing screws with a Phillips head screwdriver 221 B Gemini User s Manual ATTACHING THE PAPER SEPARATOR AND GUIDE After you have removed the fixing screws turn your printer back over so it s right side up In Chapter 2 you ll learn how to install the ribbon set the print head gap and load three types of paper Those three types of paper are x individual sheets such as stationery x Sprocket fed computer fanfold paper x Rolls of paper For individual sheets of paper you don t need any of these paper feeding attachments However for sprocket fed paper you need to attach the paper separator and paper guide as shown in Figures G 5 and G 6 Note To insert these paper feeding accessories insert one side then gently bend back the other protruding end until it slips into place Figure G 5 The paper guide and paper separator are inserted in the notches right and left indicated for one side in this illustration of the Gemini 10X 222 Getting Started B Paper separator Figure G 6 For the Gemini 15X the paper guide and separator are wider because the Gemini 15X is wider than the Gemini 10X But these accessories attach in the same manner on both printers Another note Be sure you don t get these racks in upside down When you are finished they should look like the Gemini s illustrated in Chapter 2 Figures 2 4 through 2 6 and 2 8 through 2 19 The purpose of thes
91. nt to insert a line feed when for ex ample listing a program turn DIP switch number 2 4 to the on position The Use of BASIC The Model II computer may need to be initialized to properly run the sample programs in this user s manual From BASIC type SYSTEM FORMS and respond to the questions asked by the computer Then type Q and the system will correctly route LPRINT commands to your Gemini 206 TRS 80 The TRS 80 Microsoft BASIC is quite similar to the Microsoft BASIC used in the demonstration programs The only exception is the width commands which are explained in the documenta tion accompanying the TRS 80 Microsoft BASIC programs You z may also refer to the amended program listing at the back of this Appendix Pin Configurations The following chart shows the pin outs for Gemini printers and the TRS 80 Models and II with expansion interface Parallel Gemini 10X 15X Model 1 STROBE 1 STROBE 2 D1 3 D1 3 D2 5 D2 4 D3 7 D3 5 D4 9 D4 6 D5 11 D5 7 06 13 06 8 07 15 07 9 08 17 08 11 BUSY 21 READY Parallel Gemini 10X 15X Model 1 1 STROBE 1 STROBE 2 D1 3 D1 3 D2 5 D2 4 D3 7 D3 5 D4 9 D4 6 D5 11 D5 7 D6 13 D6 8 D7 15 07 9 08 17 08 10 19 11 BUSY 21 BUSY 207 Gemini User s Manual Program Listings 10 POKE 16427 25 20 ES CHRS 27 sLFS2CHRS 10 sFFS CHRS 12 CRS CHRE 13 30 PCS ES B CHRG
92. onal Character Set 40 58 5 60 60 78 7C 7D 92 93 96 1231124 125 126 a Country eee U S A England Germany ESC 73 Denmark te te ESC 74 France Sweden Italy ESC 77 Spain tk 231 CHARACTER STYLE TABLES 232 233 Character Styles Gemini User s Manual ed je lile Li 106 NEP 108 110 mu 114 116 117 118 T 120 121 122 123 NP 124 125 126 234 Character Styles 160 Bea an 164 1724 176 180 184 188 161 165 Eg 169 173 177 181 166 170 174 178 2 182 163 167 171 EH 175 179 187 o pe 191 222 2 235 Gemini User s Manual el ilia L T et et et tt 236 Character Styles 228 236 240 252 H 229 MEA 234 237 241 245 249 237 Gemini User s Manual 238 Character Styles e Le LL eue i Blu 1 massa n 239
93. or Gemini 10 11 STROBE pulse 246 249 subscripts 66 73 85 128 superscripts 66 73 85 127 timing chart 258 tractor unit 4 5 14 16 22 23 TRS 80 206 216 type styles 64 65 71 74 underlining 84 127 uni directional printing 128 vertical spacing 85 90 vertical tabs 132 warnings for print head 17 146 word processing software 74 78 259 DIP SWITCH GUIDE Dip Switch 1 When When Factory Pin Function ON OFF Setting 11 Selection of Character Set Contingent on 4 ON See Figure 4 5 12 Print Mode anaana ON 1 3 Set of Print Pitch 10 CPL ON 14 Selection of Character Set Contingent on 1 ON See Figure 4 5 15 Line Feed Value amp inch Inch ON 16 Selection of International Combinations of ON 17 Character Set and switch ON 18 Form Length produce varied ON See Figure 46 Dip Switch 2 When When Factory Pin No Function ON OFF Setting 21 No paper detection Signals paper out No signal ON 22 Buffer full Prints at Prints at OFF full buffer each CR code 23 Bit selection 7 bit interface 8 bit interface OFF 24 Automatic Line Feed Automatic feed No feed OFF DIP SWITCH STATUS CHART DIP SWITCH 1 ON Pin 1
94. phics program presented in Chapter 6 the one that puts a sm le on your paper amended for the Commodore computer 184 Commodore 20 amp C 64 10 OPENA 4 5S CMD4 20 PRINT 163 CHRS 161 70 PRINT CHR 27 CHR 6 40 PRINT CHR 152 CHRS 1607 50 PRINT CHR 27 2 bO PRINT 4 CLOSES END Figure C 5 is the circle program presented in Chapter 7 amended for the Commodore computer 10 OPENS 4 5 20 PRINT 153 CHRS 27 CRRS 4 30 PRINT CHRS 160 40 PRINTE CLOSES 50 END Figure 6 is the tilde program presented in Chapter 7 amended for the Commodore computer 10 OPENA 6 5 70 20 PRINT 7484201 048 12 30 PRINT 207 164 13 10 PRINT TAB 1B M 156 152 CHR 1147 13 50 PRINT 29 162 CHRS 12 80 PRINT 20 S 70 PRINTH CLOSE4 Figure C 7 is the map program presented in Chapter 7 amended for the Commodore computer 185 Gemini User s Manual 10 OPENS 4 5204 15 PRINT CHRS 27 U s CHRS 1 10 PRINT CHRUIT 4 CHRS 4 30 FOP Jet 40 FOR 121 10 12 50 READ 50 PRINT CHRS A 70 NEXT 1 80 PRINT 90 NEYT 100 PRINT CHR 27 8 110 PRINTE CLOSE 120 END 130 DATA 239 224 224 224 239 224 224 224 224 224 224 224 140 DATA 219 224 224 224 239 224 224 224 224 224 224 224 150 BATA 239 224 2
95. program refer to Figure 6 5 amended for the Osborne computer 199 Gemini User s Manual 10 LPRINT 27 8 CHRS 27 CHRS 6 20 FOR 1121 TO 2 30 LPRINT 27 K CHR 114 1 0 40 FOR SPACE 1 TD 100 50 LPRINT CHR 0 NEXT SPACE b0 FOR COLM 1 14 70 READ CiLPRINT CHRS C NEXT COLM 80 LPRINT NEXT LI 90 DATA 14 16 34 64 140 140 128 128 140 140 64 34 16 14 100 DATA 224 16 232 68 34 18 18 18 18 34 68 232 16 224 110 LPRINT CHR 27 8 120 LPRINT LPRINT LPRINT 130 END Figure E 4 is the dot graphics program presented in Chapter 6 the one that puts a smile on your paper amended for the Osborne computer 10 LPRINT CHR 163 1611 20 LPRINT CHR 27 3 30 LPRINT CHRS 152 160 40 LPRINT CHRS 27 2 50 END Figure E 5 is the circle program presented in Chapter 7 amended for the Osborne computer 10 LPRINT TAB 2 sCHRS 163 27 CHR 4 20 LPRINT CHR 150 30 END Figure E 6 is the tilde program presented in Chapter 7 amended for the Osborne computer 10 LPRINT TABI20 3 CHR 113 20 LPRINT 20 CHR 164 13 30 LPRINT TAB 18 CHR 185 CHR 32 CHRS 167 E CHR 12 40 LPRINT 20 CHR 165 CHRS 17 0 LPRINT 20 5 60 END Figure 7 is the map program presented in Chapter 7 amended for the Osborne computer 2
96. re F 12 is the downloading copyright program refer to Figure 8 4 amended for the TRS 80 10 REM DEFINE THE ESCAPE CHARACTER 20 ESCS CHR 27 24 REM COPY CHARACTERS TO RAM 25 LPRINT ESC CHR 42 CHR 0 0 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF 40 LPRINT ESC CHRS 42 CHR 1 CHR 64 0 y CHRS 28 sCHRS 34 CHRS 73 CHR 20 CHR 85 CHRS 20 CHR 89 CHRS 34 CHR 00 30 REM SELECT DOWNLOADABLE CHARACTERS 60 LPRINT ESC CHRS 36 s CHR 1 70 REM PRINT OUR NEW SYMBOL 80 LPRINT COPY RIGHT 1982 90 END Figure F 13 is the downloading program presented in Figure 8 5 amend ed for the TRS 80 215 Gemini User s Manual 10 REM DEFINE THE ESCAPE CHARACTER 20 ESCS CHRS 27 24 REM COPY CHARACTERS TO RAM 25 LPRINT ESCS CHRS 42 CHR 0 20 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF 40 LPRINT ESCS CHRS 42 CHRS 1 64 CHR 0 CHRS 28 CHRS 54 CHRS 73 CHRS 20 CHR 65 CHRS 20 CHRS 55 CHRS 34 CHR 120 44 REM DEFINE COPYRIGHT SYMBOL IN PLACE OF amp 45 LPRINT ESC CHRS 42 CHRS 1 38 CHR 1 CHRS 28 CHRS 134 CHRS 73 CHRS 20 CHRS 55 CHR 20 CHRS 65 34 CHR 6 20 50 REM SELECT DOWNLOADABLE CHARACTERS 60 LPRINT ESC CHR 36 CHRS 1 70 REM PRINT OUR NEW SYMBOL 80 LPRINT 90 END Figure F 14 is the downloading program presented in Figure 8 6 a
97. rint speed See ESC for additional details Print quadruple density graphics ESC z n2 m2 CHR 27 CHR 122 CHR n1 CHR n2 CHR m1 CHR m2 This command selects the 240 dots per inch column scan bit image graphics mode See ESC K code for additional details COMMANDS USED FOR MACRO INSTRUCTION These commands are used to control the macro instruction PURPOSE FORMAT REMARKS PURPOSE FORMAT REMARKS Define the macro instruction CHR 27 CHR 43 CHR 30 When this code is sent to the printer the existing macro instruction is cancelled The new macro instruction is set The maximum number of instruction bytes is 16 The RS CHR 30 character is used to end the command Select the macro instruction ESC CHR 27 33 When this code is sent to the printer the macro instruction set by ESC code is selected COMMANDS USED TO DOWNLOAD CHARACTERS These commands are used to control the download characters For details please refer to Chapter 8 137 S Gemini User s Manual PURPOSE Define the download character into RAM FORMAT ESC 1 m n2 mi CHR 27 42 1 CHR n2 1 REMARKS When you define the download character character patterns m1 m2 are inputted with 9 bytes into RAM after transmitting the E
98. sL L 1 6070 430 480 IF 132 THEN GOSUB 500 490 IF L 2 THEN 60508 650 500 IF THEN ST zCHR 27 8 10 10 5 PRINTIM ST CLOSE4 ST 515 FOR 951 TO L ST s s NEIT 5C 920 F21910 60SUB 800 RETURN 530 M CHR Fz1910 605UB 800 5785 535 1918 540 6 1 G THEN 540 550 IF B zCHR 12 THEN 570 550 M 6 F F 1 G0SUB 800 57 576 6 6070 540 570 1910 50508 800 580 OPENS 4 5 PRINT 4 CHRS VAL 5781 CLOSE 5T z RETURN 600 REM 510 FOR 951 TO L D D 45 2 J 620 ST zCHRS 27 5 0 CHR VAL D 182 Commodore VIC 20 amp C 64 530 15 b40 RETURN 650 STS CHRS 27 45810 CHRS VAL S 1 560 RETURN 700 REM 710 AS X Y B8 720 POKE 1 X940 ASC 73 140 POKE 2433404 Y ASC CS 750 RETURN 800 FOR I F F 1 LENINS 810 1 1 1 320 MASCIMIDS 16 2 1 830 IF M364 THEN M M 64 840 POKE I 850 860 RETURN 900 REN 910 FOR 1 0 TO X FOR 250 29 915 IF AS I d THEN 950 920 ASASCIAS I 2 925 IF 13 THEN W Me40 60TO 950 930 IF THEN A A b4 935 4111408 940 POKE W A 950 NEXT 2 960 NEXT I 970 RETURN Figure C 2 is the word processing program refer to Figure 5 4 amended for the Commodore computer NOTE The only way to move the cursor around on the Commodore computer is to use the screen memory map We can specify the location on the screen and then
99. t is every 6 lines ESC Qn 81 51n Sets RH margin Value of n can be up to maximum number of CPI But in case of a 7 bit interface up to 127 ESCRn 82n 52n Sets header line position Value of n can be from 1 to t6 ESC RS 43 30 2B 1E Defines the macro instruction ESC SO 83 0 53 00 Superscript mode is selected ESC 51 83 1 53 01 Subscript mode is selected ESC T 84 54 Cancels ESC S and ESC U ESC U 1 85 1 55 01 Selects uni directional print mode ESCUO 850 55 00 Cancels uni directional print mode T 244 Function Code Summary H Control Hexi Code Decimal decimal Function s ESC W 1 87 1 57 01 Double wide pitch print mode is selected ESC W 0 87 0 57 00 Cancels ESC W 1 mode ESC Y 1 89 1 59 01 Enables buzzer ESCYO 89 0 59 00 Disables buzzer ESC y nin2mim2 121nin2mim2 79 2 2 Prints dual density graphics with double speed ESC 2 nin2mim2 122nin2mim2 7 2 2 Prints quadruple density graphics 245 PARALLEL INTERFACE Parallel Interface Specifications The Gemini 10X and Gemini 15X printers have the following operational specifications Parallel Interface Specs Data transfer rate 1 000 to 6 000 CPS Synchronization system Via externaily supplied STROBE pulses Handshake ACK and BUSY signals Logic level Compatible with TTL level The Connector Signals and Their Functional Descriptions To understand the mating of Gemini with
100. t have The basic idea of the program is the same you can input 22 strings of text and each string can be up to 80 characters long After typing your text you can get into command level by entering the word COM and hitting Return In command level you will have a menu at the top of your screen From this point everything works like the word processing program in Chapter 5 You have the option of ESC CHR to send codes to the printer and after that you can print your text or return to the first level to enter more text 167 Gemini User s Manual Program Listings DIM 1 5 2 5 M3 5 10 OPEN 44 8 0 P 20 PRINT 4 CHR 27 8 CHRS 27 R CHRS 15 30 FOR 1 1 10 2 40 IF 12 THEN PRINT 4sCHRS 14 GEMINI STANDARD TYPE STYLES CHR 18 50 IF 122 THEN PRINT 4 14 CHR 27 4 GENINI ITALIC TYPE STYLE CHRE IP 80 FOR N i TD 4O PRINT 4 231 CHRE 232 NEXT N PRINT 4 PRINT 4 Il 70 PRINT 44 17 CPI 12 CPI 10 CPI 8 5 CPI s cpr 80 FOR 80 PRINT 4 CHRS 241 NEXT N PRINT 4 90 ABC 92 M2 X M2 LEN 2 1 sCHRS 120 94 Y N38 LEN 3S 1 sCHRS 121 100 FOR J 1 TD 4 110 IF 152 THEN PRINT 4 27 4 120 Js THEN PRINT 4 CHR 27 8 2 NORMAL 130 IF J 2 THEN PRINT 4 CHRS 27 3 DOUBLE STRIKE 140 IF Je3 THEN PRINT 4 CHR amp 27
101. t represents one of two values zero or one yes or no on or off A bit is a binary digit 0 or 1 that is grouped into a 7 unit or 8 unit entity called a byte which conveys data in a computer system Byte is the standard unit for measuring computer memory that consists of a grouping of adjacent binary digits such as 00000111 to represent the quantity 7 which are manipulated as a unit by the computer A byte represent one character Buffer is a temporary storage area that is used to balance the difference between the operating speed of your computer and Gemini The standard buffer capacity of Gemini is 816 bytes with an optional capability of over 8 000 more bytes Capacitor is an electrical device that usually consists of layers of conducting and nonconducting materials used to store energy and to regulate electrical charges Cathode ray tube CRT is the display screen on your microcomputer Central processing unit CPU is the information processing traffic cop of the printer The CPU receives data from the interface circuit from your com puter and transfers that data to the print head circuitry Character is the word for a representative symbol such as the letter A or the numeral 5 or the sign which conveys all or part of an idea The Gemini printers offer 96 standard ASCII characters 96 italic charac ters 64 special characters 32 block graphic characters 96 download able characters as well as
102. t time user you should start with the CPM software and reset the printer con figuration from serial to Centronics Then load MBASIC and go for it When you want to change the number of columns in printing substitute WIDTH LPRINT 132 or any acceptable number instead of WIDTH LPT 1 132 as used by IBM PC Pin Configurations 194 The following chart shows the pin outs for Gemini printers and Osborne using a parallel interface Osborne Parallel Gemini 10X 15X Osborne 1 2 D1 1 DO 6 D5 2 D4 3 D2 3 D1 7 06 4 05 4 D3 5 D2 8 D7 6 D6 5 D4 7 D3 9 D8 8 07 1 11 STROBE 11 BUSY 15 BUSY 16 SG 16 SG 195 Gemini User s Manual Program Listings 10 WIDTH LPRINT 255 20 ES CHRS 27 LES CHRS 10 12 CRS CHRS 13 30 PCS ES B CHRS 1 ELS E B CHRS 2 CMS ES B CHR 3 40 SP E S CHRS 0 SBS E S CHRS 1 50 IT5z E54 CHRS 52 60 MDS CHRS LA CHS CHRS 20 2055 48 70 EMS ESo E S4 F DBS E ge CDS E 4 H 80 LPRINT PSS ES R CHRS 15 30 FOR 1 1 TO 2 100 IF 1 THEN LPRINT WD GEMINI STANDARD TYPE STYLES CS LF 110 IF 127 THEN LPRINT IT ND GEMINI ITALIC TYPE STYLE 115 LPRINT CWS LFS 120 F R N 1 TO 40 LPRINT CHR 221 CHR 222 e NEXT N 130 LPRINT 17 12 CP 10 CPI B S CP amp CPI 5 CPI 140 FOR Nel TO BO LPRINT CHR 241 N 150 MSG 1
103. tarted REMOVAL OF THE FIXING SCREWS When your new printer arrives there are two screws that fix the internal chassis to the external frame This is similar to fixing screws many phonographic turntables You need to remove 4 these screws to allow the chassis to float its internal shock absorbers made of rubber like soft plastic To remove the fixing screws you first need to get to them Turn your printer over and set it on a pillow or fabric covered surface This is to keep from skinning the top of your printer e while you make this quick adjustment As shown in Figure G 4 remove the two packing screws n Figure G 4 illustrates the bottom of the Gemini 15X which has a slot for feeding sprocket paper through the printer s underneath 9 called bottom pass If you have Gemini 10X the underside of your printer will not look exactly like the Gemini 15X but there are only two screws that can be removed so you can t go wrong Note You should save the screws too It s a good idea to tape the saved screws together perhaps with a note indicating what they are for In the excitement of getting your new Gemini up and i running it s easy to lose the fixing screws Plus you will want to re position these screws if you ever ship your printer Screws for shipping Printer lower case T Figure G 4 Turn your printer over and place it on a padded cushio
104. tionship of energy to mass Throughput is the total printing time including data acquisition and line feed time Write is to copy generally from internal to external storage 257 Index alphanumeric 71 72 Apple computers 151 164 ASCII code 58 82 226 230 Ataricomputers 165 178 back pass loading 28 30 backspacing 135 BASIC 59 60 bidirectional printing 128 binary 59 93 bit image column scan see dot graphics bit selection see DIP switches block graphics 84 104 108 bottom pass 28 31 buffer 7 8 buzzer control 139 140 casing removal 143 145 Carriage return CR 68 133 character strings CHR 59 60 character styles 232 240 checklist for new Gemini 217 circuit for parallel interface 248 clamp lever 23 26 cleaning Gemini 143 column settings 84 85 91 92 Commodore computers 179 191 condensed type 62 63 66 125 connecting cables 53 54 consumer response 261 control board 6 8 control codes 123 140 242 245 back cover control curcuit block diagram 251 258 control panel 1 2 5 6 cover 217 219 CPU 47 48 decimal codes 59 226 230 250 253 DIP switches 1 2 49 53 dot graphics 90 97 108 136 double strike mode 64 67 73 85 downloadable characters 115 121 137 138 elite printing 12 CPI 65 67 85 125 emphasized mode 66 67 126 127 enlarged mode 5 6 amp 8 5 CPI 66 67 125 escape codes 123 140 exploded view 6 7 fixing screws 231 font style control 123 124 font pit
105. use into place in the two clasps as shown in Figure 10 3 Figure 10 1 Three mounting screws hold the Gemini 15X upper casing in place 144 Maintenance 1 d Figure 10 2 Two mounting screws hold the upper casing in place on Pe the Gemini 10X After replacing or just checking the fuse re attach the upper casing reversing the procedure described above and insert the mounting screws and the platen knob Refer to Figure 1 6 in Chapter 1 for an exploded view of Gemini 10X with its upper casing removed You probably need to replace the fuse when ail of the following four statements apply to your situation the printer won t operate the power on lamp isn t lit on the control panel you are sure that the power switch is and the printer is connected to a power source 145 10 Gemini User s Manual Figure 10 3 Replacing a fuse is simple but make sure you use the correct type fuse REPLACING THE PRINT HEAD When you replace the print head start by removing the ink ribbon You might want to refer to Figure 10 4 as you follow these steps Warning The print head will be hot during operation and soon afterward so be careful not to burn yourself 1 Extract the head cable from the head connector Hold down the head cable board while performing this disconnec tion 2 Remove the two clamping screws from the print head a 3 Detach the print he
106. uts a smile on your paper amended for the Atari computer 10 OPEN 4 8 0 20 PRINT 4 163 CHRS 161 30 PRINT 4sCHRS 27 A CHRS 4 40 PRINT 45 CHRE 162 CHR 160 50 PRINT 4 CHR 27 2 60 CLOSE 4 END Figure B 5 is the circle program presented in Chapter 7 amended for the Atari computer 10 OPEN 4 8 0 P 20 PRINT CHRS 163 10 PRINT 84 8 27 A CHRS 6 40 PRINT 4 160 50 CLOSE 4 Figure 6 is the tilde program presented in Chapter 7 amended for the Atari computer 10 OPEN H 8 0 P 20 PRINT N CHRS 13 30 PRINT 4 S CHRELLS4 CHRS 13 40 PRINT 4 W CHRE 166 sCHRS 22 CHRS 167 E S CHR 13 SO PRINT 4 CHRS 165 CHRS 13 3 60 PRINT 4 5 70 CLOSE 4 89 END Figure B 7 is the map program presented in Chapter 7 amended for the Atari computer 172 Atari 800 400 B 10 OPEN 4 8 0 P 15 PRINT M4 CHRS 27 U CHR 1 20 PRINT 4 CHRS 27 CHR 6 30 FOR J 1 0 9 40 FOR 151 TO 12 50 READ 80 PRINT 4 CHR A 70 NEXT 1 80 PRINT 4 90 NEXT J 100 PRINT 4 27 9 110 CLOSE 4 120 END 130 DATA 239 224 224 224 239 224 228 224 224 224 224 274 140 DATA 239 224 224 224 239 224 224 224 224 224 224 224 150 DATA 239 224 224 224 239 224 239 228 274 224 239 224 150 DATA 239 224 239 224 239 228 234 233 224 234 233 224 170 D
Download Pdf Manuals
Related Search
Related Contents
cap 2 elect.indd (TXHPET) User Manual - Texas is Cotton Country User Manual / Notice d`emploi 1 USER MANUAL ^2 Accessory 72EX 00701001-Douchette complète 0,2µm abs notice installation reseau Alchemist User Manual - American Musical Supply Samsung 128 GB 2,5'' SSD 830-serien SATA III Desktop Bruksanvisning Manual TPM+ Copyright © All rights reserved.
Failed to retrieve file