Appendix H

DECwriter Correspondent (LA12) Programming Summary

The most current operating and programming information on the DECwriter Correspondent is reproduced here.

Operator Information

Key Function/Comments
CTRL and SETUP Press to enter SETUP; SETUP indicator flashes
SETUP Press to exit SETUP; SETUP indicator stops flashing

Notes

  1. Do not use SHIFT unless specified.
  2. The CORRESPONDENT must be in SETUP to select the following feature.

Communication

Key Function/Comments
Auto Answerback
C A = A RETURN Disables auto-answerback
C A = B RETURN Enables auto-answerback
Buffer Size
C B = A RETURN Sets buffer size to 200 characters
C B = B RETURN Sets buffer size to 1024 characters
Communications Port
C C = A RETURN Enables EIA interface
C C = B RETURN Enables Direct Connect Modem
C C = C RETURN Enables Acoustic Coupled Modem
C C = D RETURN Enables 20 mA interface (optional)
Half-Duplex Disconnect Character
C D = A RETURN Sets disconnect character to "none"
C D = B RETURN Sets disconnect character to ETX
C D = C RETURN Sets disconnect character to EOT
Local Echo Control
C E = A RETURN Disables local echo
C E = B RETURN Enables local echo
Key Function/Comments
Fault Actions
C F = A RETURN Disables fault action
C F = B RETURN Sets fault action to XOFF
C F = C RETURN Sets fault action to BREAK
C F = D RETURN Sets fault action to DISCONNECT
Half-Duplex Initial Direction
C G = A RETURN Sets initial direction to RECEIVE
C G = B RETURN Sets initial direction to TRANSMIT
Modem Protocol
C M = A RETURN Selects full-duplex – data leads only
C M = B RETURN Selects full-duplex – full control
C M = C RETURN Selects full-duplex – supervisory
C M = D RETURN Selects full-duplex – coded w/o reverse channel
Receive Error Override
C R = A RETURN Prints error character ""
C R = B RETURN Override receive errors
Key Function/Comments
Parity
C P = A RETURN Sets parity to 7 bits, parity bit = mark
C P = B RETURN Sets parity to 7 bits, parity bit = space
or 8 bits, parity bit = no space
C P = C RETURN Sets parity to 7 bits, parity bit = even
C P = D RETURN Sets parity to 7 bits, parity bit = odd
C P = E RETURN Sets parity to 8 bits, parity bit = even
C P = F RETURN Sets parity to 8 bits, parity bit = odd
Polarity – Secondary Request to Send
C Q = A RETURN Sets polarity low
C Q = B RETURN Sets polarity high
Restraint Control
C R = A RETURN Disables restraint control
C R = B RETURN XON/XOFF restraint
C R = C RETURN Secondary channel restraint
C R = D RETURN XON/XOFF and secondary restraint
Baud Rates
C S = A RETURN Selects high speed baud rate
C S = B RETURN Selects low speed baud rate
C S = C RETURN Selects remote speed select to either high or low baud rates (DCM only)
C H = A RETURN Sets high speed to 50 baud
C H = B RETURN Sets high speed to 75baud
C H = C RETURN Sets high speed to 110baud
C H = D RETURN Sets high speed to 134.5 baud
C H = E RETURN Sets high speed to 150 baud
C H = F RETURN Sets high speed to 200 baud
C H = G RETURN Sets high speed to 300 baud
C H = H RETURN Sets high speed to 600 baud
C H = I RETURN Sets high speed to 1200 baud
C H = J RETURN Sets high speed to 1800 baud
C H = K RETURN Sets high speed to 2400 baud
C H = L RETURN Sets high speed to 4800 baud
C H = M RETURN Sets high speed to 7200 baud
C H = N RETURN Sets high speed to 9600 baud
C H = O RETURN Sets high speed to 75T/1200R baud
C H = P RETURN Sets high speed to 75T/1600R baud
C H = Q RETURN Sets high speed to 150T/600R baud
C H = R RETURN Sets high speed to 150T/1200R baud
C H = S RETURN Sets high speed to 300T/2400R baud
C H = T RETURN Sets high speed to 300T/4800R baud
C H = U RETURN Sets high speed to 600T/2400R baud
C H = V RETURN Sets high speed to 600T/4800R baud
Key Function/Comments
Half-Duplex Turnaround Character
C T = A RETURN Disables turnaround character
C T = B RETURN Enables RETURN as turnaround character
C T = C RETURN Enables LINE FEED as turnaround character
C T = D RETURN Enables DC1 as turnaround character
C T = E RETURN Enables DC3 as turnaround character
C T = F RETURN Enables EOT as turnaround character
C T = G RETURN Enables ETX as turnaround character
Power Up – Initial State
C U = A RETURN Local
C U = B RETURN On-line without local echo
C U = C RETURN On-line with local echo
Modem Frequency Selection
C V = A RETURN Selects 212A frequencies
C V = B RETURN Selects CCITT V.23 frequencies

Printing

Key Function/Comments
Horizontal Tabs
1 Sets horizontal tab stop at current active column
2 Clears horizontal tab stop at current active column
3 Clears all horizontal tab stops
Horizontal Margin
4 Sets left margin at current active column
5 Sets right margin at current active column
6 Clears both horizontal margins
Character Set Printing
P A = A RETURN Prints ASCII character set
P A = B RETURN Prints British character set
P A = C RETURN Prints French Canadian character set
P A = D RETURN Prints German character set
P A = E RETURN Prints Swedish character set
P A = F RETURN Prints French character set
P A = G RETURN Prints Finnish character set
P A = H RETURN Prints Norwegian/Danish character set
P A = I RETURN Prints Italian character set
P A = J RETURN Prints Spanish character set
P A = K RETURN Prints APL character set
P A = L RETURN Prints line drawing (VT100) character set

Notes

  1. <P> <A> sets G0 character set
  2. To set G1 character set replace <P> <A> with <P> <B>
  3. To set G2 character set replace <P> <A> with <P> <C>
  4. To set G3 character set replace <P> <A> with <P> <D>
Key Function/Comments
Wraparound Mode
P E = A RETURN Disables wraparound
P E = B RETURN Enables wraparound
Control Character Printing
P G = A RETURN Disables control character printing
P G = B RETURN Enables control character printing without NUL and DEL printing
P G = C RETURN Enables control character printing with NUL and DEL printing
Horizontal Pitch
P H = A RETURN Selects 10 characters per inch
P H = B RETURN Selects 12 characters per inch
P H = C RETURN Selects 13.2 characters per inch
P H = D RETURN Selects 16.5 characters per inch
P H = E RETURN Selects 5 characters per inch
P H = F RETURN Selects 6 characters per inch
P H = G RETURN Selects 6.6 characters per inch
P H = H RETURN Selects 8.25 characters per inch
New Line Character
P N = A RETURN No new line character
P N = B RETURN Enables RETURN as new line character
P N = C RETURN Enables LINE FEED as new line character
Key Function/Comments
Printing Pressure
P P = A RETURN Sets print pressure high
P P = B RETURN Sets print pressure medium
P P = C RETURN Sets print pressure low
Vertical Spacing
P V = D RETURN Selects 2 lines per inch
P V = E RETURN Selects 3 lines per inch
P V = F RETURN Selects 4 lines per inch
P V = A RETURN Selects 6 lines per inch
P V = B RETURN Selects 8 lines per inch
P V = C RETURN Selects 12 lines per inch
Forms Control
P F = NO. OF STEPS Sets form length to the desired number of steps (one step = 1/24 inch)
4 Sets top of form to current line
Vertical Margins
SHIFT 5 Sets the top margin at the current line
SHIFT 6 Sets the bottom margin at the current line
SHIFT 7 Clears both the top and bottom margins
Vertical Tabs
SHIFT 1 Sets a vertical tab at the current line
SHIFT 2 Clears the vertical tab at the current line
SHIFT 3 Clears all vertical tabs

Keyboard

Key Function/Comments
Auto Linefeed
K A = A RETURN Disables auto linefeed with RETURN
K A = B RETURN Enables auto linefeed with RETURN
Break Key
K B = A RETURN Disables BREAK key
K B = B RETURN Enables BREAK key
Keyclick
K C = A RETURN Disables keyclick
K C = B RETURN Enables keyclick
Key Function/Comments
External Keypad Coding
K K = A RETURN Normal numeric mode
K K = B RETURN Alternate numeric mode
Keyboard language
K L = A RETURN ASCII keyboard layout
K L = B RETURN British keyboard layout
K L = C RETURN French Canadian layout
K L = D RETURN German keyboard layout
K L = E RETURN Swedish keyboard layout
K L = F RETURN French keyboard layout
K L = G RETURN Finnish keyboard layout
K L = H RETURN Norwegian/Danish keyboard layout
Repeat Keys
K R = A RETURN Disables keys repeat
K R = B RETURN Enables keys repeat
Status
8 Prints out current status information
C Prints out current communication status information
P Prints out current printing status information
K Prints out current keyboard status information
T Prints out self-test alternatives
SHIFT 9 Stores the current feature status information into non-volatile memory
9 RETURN Recalls feature status in non-volatile memory
Terminal Reset
I RETURN Resets temporarily stored SET-UP feature status to factory set parameteres
Key Function/Comments
Self-Test
T T RETURN Prints ripple pattern
T L RETURN Local loopback self-test
T R RETURN Remote loopback self-test (DCM only)
T B RETURN Baud rate and line signal self-test (EIA only)
T T SPACE Non-printing test
T T and any printable character key Prints the selected character continually

Programming Information

This sheet provides the escape sequences which can be used to control the correspondent down line. The sequences have been grouped according to function with allowed optional sequences included.

Terminal Initialization and Identification

Escape Sequence Function/Comments
ESC c Reset terminal (10 seconds should be allowed to complete)
ESC Z Request product identification from terminal
ESC [ c Same as above
ESC [ 0 c Same as above
ESC [ ? 15 ; 1 c Terminal responds to above requests

Vertical Motion Control

Escape Sequence Function/Comments
ESC D Performs a linefeed
ESC E Performs a new line function (do a <CR> <LF> sequence)
ESC K Performs a partial line down function
ESC L Performs a partial line up function
ESC M Performs a reverse linefeed
ESC J Sets a tab stop at the current line number
ESC 3 Same as above
ESC [ 1 g Clears the tab stop at the current line
ESC [ 4 g Clears all tab stops
ESC 4 Same as above
ESC [ Pn A Executes Pn reverse linefeeds (0 < Pn <= current form length)
ESC [ Pn z Sets the vertical pitch according to the parameter supplied where,
Pn Vertical Pitch
0,1 Set spacing to 6 lpi
2 Set spacing to 8 lpi
3 Set spacing to 12 lpi
4 Set spacing to 2 lpi
5 Set spacing to 3 lpi
6 Set spacing to 4 lpi
ESC [ P1 ; P2 r Sets top margin; bottom margin to the line numbers indicated
ESC [ P1 t Sets page length to P1 lines in the current vertical pitch
ESC [ Pn ; ... Pn v Sets vertical tab stops at the line numbers indicated
ESC [ Pn e Position to relative line number
ESC [ Pn d Position to absolute line number

Note: Octal code equivalents are found in Appendix A.

Horizontal Motion Control

Escape Sequence Function/Comments
ESC 1 Sets a tab stop at the current active position
ESC H Same as above
ESC [ Pn ; ... ; Pn u Sets tab stops at the columns indicated
ESC 2 Clears all tab stops
ESC [ 2 g Same as above
ESC [ 3 g Same as above
ESC [ 0 g Clears tab stop at current active position
ESC [ P1 ; Pn s Set left and right margins respectively with values given
ESC [ Pn ` (octal 140) Positions printhead to column number Pn on the current line
ESC [ Pn a Positions the printhead Pn columns to the right of the current position
ESC [ Pn w Sets pitch according to the parameter given; where
Pn Horizontal Pitch
0,1 Select 10 cpi
2 Select 12 cpi
3 Select 13.2 cpi
4 Select 16.5 cpi
5 Select 5 cpi (double width characters)
6 Select 6 cpi (double width characters)
7 Select 6.6 cpi (double width characters)
8 Select 8.25 cpi (double width characters)

ANSI Strings

Escape Sequence Function/Comments
ESC P ANSI DCS string follows – data will be thrown away until the terminator sequence is received (ST, DEL, CAN, SUB)
ESC \ ANSI ST – this is the standard string terminator which is used to inform the terminal that the DCS, OCS, APC, PM string has been sent
ESC ] ANSI OSC string follows – data will be thrown away until the terminator sequence is received
ESC _ ANSI APC string follows – data will be thrown away until the terminator sequence is received
ESC ^ ANSI PM string follows – data will be thrown away until the terminator sequence is received

Printer Mode Selection

Escape Sequence Function/Comments
ESC [ 20 h Enables new line (ESC E) function
ESC [ 20 l* Disables new line (ESC E) function
ESC [ ? Pn ; ... ; Pn h Sets Privacy Mode:
Pn = 0 Changes nothing
Pn = 7 Sets auto-wrap mode for lines which are too long
Pn = 24 Sets printing to low density operation
ESC [ ? Pn ; ... ; Pn l* Resets Privacy Mode:
Pn = 0 Changes nothing
Pn = 7 Clears auto-wrap mode
Pn = 24 Sets printing to high density operation

* The last character of the sequence is lowercase L (1548).

Escape Sequence Function/Comments
Select G0 Set Select G1 Set
ESC ( A ESC ) A Selects British as G0 or G1 character set
ESC ( B ESC ) B Select United States as G0 or G1 character set
ESC ( C ESC ) C Selects Finnish as G0 or G1 character set
ESC ( E ESC ) E Select Norwegian (Danish) as G0 or G1 character set
ESC ( H ESC ) H Select Swedish as G0 or G1 character set
ESC ( K ESC ) K Select German as G0 or G1 character set
ESC ( R ESC ) R Selects French as G0 or G1 character set
ESC ( Q ESC ) Q Select French-Canadian as G0 or G1 character set
ESC ( Y ESC ) Y Selects Italian as G0 or G1 character set
ESC ( Z ESC ) Z Selects Spanish as G0 or G1 character set
ESC ( 0 ESC ) 0 Selects VT100 line drawing set as G0 or G1 character set
ESC ( 5 ESC ) 5 Selects Finnish as G0 or G1 character set
ESC ( 6 ESC ) 6 Selects Norwegian (Danish) as G0 or G1 character set
ESC ( 7 ESC ) 7 Selects Swedish as G0 or G1 character set
ESC ( 8 ESC ) 8 Select APL as G0 or G1 character set
ESC ( 9 ESC ) 9 Selects French-Canadian as G0 or G1 character set

Note: When the G0 (primary) character set and the G1 (alternate) character sets are selected, a single control character is used to switch character sets. Shift in (SI) invokes the G0 character set: shift out (SO) invokes the G1 character set. At power up, the G0 character set is automatically invoked.

Select G2 Set Select G3 Set
ESC * A ESC + A Selects British as G2 or G3 character set
ESC * B ESC + B Select United States as G2 or G3 character set
ESC * C ESC + C Selects Finnish as G2 or G3 character set
ESC * E ESC + E Select Norwegian (Danish) as G2 or G3 character set
ESC * H ESC + H Select Swedish as G2 or G3 character set
ESC * K ESC + K Select German as G2 or G3 character set
ESC * R ESC + R Selects French as G2 or G3 character set
ESC * Q ESC + Q Select French-Canadian as G2 or G3 character set
ESC * Y ESC + Y Selects Italian as G2 or G3 character set
ESC * Z ESC + Z Selects Spanish as G2 or G3 character set
ESC * 0 ESC + 0 Selects VT100 line drawing set as G2 or G3 character set
ESC * 5 ESC + 5 Selects Finnish as G2 or G3 character set
ESC * 6 ESC + 6 Selects Norwegian (Danish) as G2 or G3 character set
ESC * 7 ESC + 7 Selects Swedish as G2 or G3 character set
ESC * 8 ESC + 8 Select APL as G2 or G3 character set
ESC * 9 ESC + 9 Selects French-Canadian as G2 or G3 character set

Note: To access the G2 character set from either the G0 or G1 character sets, a single shift 2 (SS2) sequence is used. This causes the first character (only) in the G2 set to print. A single shift 3 (SS3) sequence performs the same function for the G3 character set.

Alternate Keypad Mode

This procedure enables the optional numeric keypad to be used in two ways to generate character codes, or to generate escape sequence. The following table describes the characters and escape sequences generated by the 18 keys on the keypad.

Character or Escape Sequence Transmitted
Numeric Keypad Key Normal Keypad Mode Alternate Keypad Mode Code Sequence
PF1 ESC O P ESC O P 033 117 120
PF2 ESC O Q ESC O Q 033 117 121
PF3 ESC O R ESC O R 033 117 122
PF4 ESC O S ESC O S 033 117 123
ENTER Same as RETURN key ESC O M 033 117 115
, (comma) , (comma) ESC O l 033 117 154
- (dash) - (dash) ESC O m 033 117 155
. (period) . (period) ESC O n 033 117 156
0 0 ESC O p 033 117 160
1 1 ESC O q 033 117 161
2 2 ESC O r 033 117 162
3 3 ESC O s 033 117 163
4 4 ESC O t 033 117 164
5 5 ESC O u 033 117 165
6 6 ESC O v 033 117 166
7 7 ESC O w 033 117 167
8 8 ESC O x 033 117 170
9 9 ESC O y 033 117 171

Note: When in alternate keypad mode and local the numeric keypad cannot be used to print characters.