[net.micro.cpm] Kaypro & MX80 WordStar installation document

kemp@noscvax.UUCP (05/21/84)

-a non-blank line-

Comments to:
      Steve Kemp
      Computer Sciences Corp.
      Naval Ocean Systems Center
      San Diego, CA

      kemp@nosc
        -or-
      ...ucbvax!sdcsvax!noscvax!kemp

   Implementation of WordStar on the Kaypro 4 for MX80 with
Graftrax.  NB:  This  is  NOT  for the serial port,  but  for  the 
parallel port, system list device (LPT:).

                      HARDWARE INSTALLATION

The   "dip   switches"   on   the parallel board are as follows:

 SW1-8 ON    Comes up ON-LINE
 SW1-7 ON    Zeroes will be slashed
 SW1-6 ON    Buzzer on when paper fault occurs
 SW1-5 OFF   Emphasized print is NOT the default
 SW1-4 OFF   Italic print is NOT the default
 SW1-3 OFF   Paper fault sensor is ON.
 SW1-2 OFF   --not used--
 SW1-1 OFF   Compressed print is NOT the default

 SW2-4 OFF   1 inch skip over perforation is NOT selected
 SW2-3 OFF   LF must be from host (the KAYPRO)
 SW2-2 OFF   --not used--
 SW2-1 OFF   --not used--

                  SPECIAL PRINTER INSTALLATION
                  under GP INSTALL Release 2.00
                  .............................


PRINTER NAME        Epson MX80/100-Graftrax
INITIALIZATION      0dh
                    (empty)
OVERPRINTING        Non-backspacing standard printer
BOLDFACING          3 overstrikes
PROTOCOL            None
DRIVER              System Standard List Device (LPT:)
RIBBON SELECTION    1b34h selects alternate ribbon (italics)
                    1b35h selects normal ribbon (no italics)
VERTICAL MOTION     (this was set for non-graftrax printer
                    as released with WordStar. Maybe it's
                    unnecessary, or incorrect. I left it
                    alone, but I think it's wrong...)
HORIZONTAL MOTION   (DITTO, as above...)
PRINT MODES         1b551h selects unidirectional printing
                    1b550h de-selects unidirectional printing
                    (NB: There is a GROSS error in the
                    Epson manual, so be sure to check the
                    Appendix B "decimal" and "hex" values to 
                    be sure they AGREE arithmetically.
                    Contrary to Epson's manual,
                    85 decimal DOES NOT = 5F hex!!!)
PHANTOM CHARS.      20h (ASCII space) no phantom space
                    20h (ASCII) no phantom rubout
RETURN/LINEFEED     0d0ah is CR and LF
                    0ah is LF
                    (empty) half-linefeed not functional
                    0dh is no linefeed




USER-DEFINED
FUNCTIONS           0fh for ^PQ (function 1) is select
                        compressed mode (little characters)
                    12h for ^PW (function 2) is de-select
                        compressed mode (normal characters)
                    1b48h for ^PE (function 3)
                        cancel subcript mode (this is used
                        IN ADDITION to the ^PV and ^PT functions)
                    (empty) for ^PR (function 4)
CARRIAGE ROLL       1B530h lies to Wordstar that this is a 'roll
                    up a partial line'. Actually, this sets
                    superscript mode. NB:See function 3 above
                    which MUST be used to de-select superscript
                    mode, or else everything following will be
                    in superscripts.
                    1b531h lies to Wordstar as above, except
                    here we're selecting subscript mode. NB:It
                    also MUST be de-selected as above....
CHARACTER PITCH     1b571h selects double-width (big characters)
                    1b570h de-selects double-width 

A test follows:


               WORDSTAR PRINTER CONTROL SEQUENCES 
                      (file = printest.txt) 

                          Use in Pairs

                            WS		EPSON

Boldface		^PB...^PB	<ESC>E...<ESC>F

Double Strike		^PD...^PD	<ESC>G...<ESC>H 

Underline		^PS...^PS	<ESC>-1...<ESC>-0

Strikeout		^PX...^PX	

Asubscript		^PV...^PV^PE	<ESC>S1...<ESC>S1<ESC>T

Asuperscript		^PT...^PT^PE	<ESC>S0...<ESC>S0<ESC>T

Strikeover, ^ala		...^PH...


                            Use Alone

Non-break space ----	...^PO...

Phantom space ----	...^PF...	(ASCII space, 20h)

Phantom rubout ----	  ...^PG...	(ASCII space, 20h)

Strikeover lineXXXXXXX			...^P<CR>XXX...

Alt. Pitch	  ^PA...^PN	<ESC>W1h...<ESC>W0h

Std. Pitch	  ^PA...^PN			...<ESC>W0h

Print Pause 		...^PC...

Italics			^PY...^PY	<ESC>4...<ESC>5
 (Ribbon Color Chg.) 

Compressed Mode ON	  ^PQ...^PW	  SI...DC2
 (Function 1) 

Compressed Mode OFF		^PQ...^PW	SI...DC2
 (Function 2)