Using the chart "ASCII characters, values, and keystrokes", you have to translate from the name of the code in the printer manual into the name of the corresponding keystroke or keystrokes on the keyboard of the Apple IIe, Enhanced Apple IIe, or Apple IIc.
Some keystrokes put so-called control characters into the Apple Writer file. These control characters are not part of the conventional English character set; while screen shows them, the printer intercepts and does not print them, instead recognizing them as signals to turn special functions on and off or to change printer settings.
NOTE: In the descriptions of the keystrokes, the characters greater than and less than, < and >, are used to contain one keystroke, which can mean that:
1. You must simultaneously hold down the control key, the shift key, or both as you press the other key, or
2. You must press a special key, such as ESC or RETURN.
With these considerations in mind, here is a list of codes and methods for inserting them in an Apple Writer file.
Null (ASCII value 0):
The following patch is for Apple Writer IIe under DOS 3.3. The patch allows you to enter NULs (CTRL-@) when in CTRL-V mode. The only side-effect is that the DELETE key doesn't work for correcting a filename entered from the keyboard for the DOS COMMANDS or ADDITIONAL FUNCTIONS menu; instead, just use the left arrow key.
1. Boot the DOS 3.3 System Master diskette.
2. Remove the System Master diskette, insert the Apple Writer IIe under DOS 3.3 diskette and type the following commands.
BLOAD OBJ.APWRTIIE
CALL -151
1CE1:EA EA EA EA
3EBA:EA EA EA EA
3D0G
UNLOCK OBJ.APWRTIIE
BSAVE OBJ.APWRTIIE,A$1900,L$2F58
LOCK OBJ.APWRTIIE
BLOAD OBJ.APWRTIIF
CALL -151
1D81:EA EA EA EA
4033:EA EA EA EA
3D0G
UNLOCK OBJ.APWRTIIF
BSAVE OBJ.APWRTIIF,A$1900,L$30D1
LOCK OBJ.APWRTIIF
If you don't want to do this to your Apple Writer IIe diskette, refer below to the Applesoft BASIC solution.
Control-A through Control-Z (ASCII decimal values 01 through 26):
Example: Control-Z (ASCII decimal value 26): <CTRL-V><CTRL-Z><CTRL-V>
Exception: Control-V (ASCII decimal value 22) can't be entered. See "Missing Characters" below.
Escape (ASCII value 27): <CTRL-V><ESC><CTRL-V>
Other Control characters: These can be entered in the manner of Control-A through Control-Z.
Missing Characters:
You can't directly enter a Control-V in Apple Writer. To use these and other characters in Apple Writer, it is necessary to use an Apple Writer glossary file.
Apple Writer doesn't send a Null character.
Applesoft BASIC can be used to send a Null character to your printer by following these steps:
1. Create your Apple Writer document as usual, but substitute a unique character in each place that you want a Null character.
2. Type <CTRL-P> to display the Print/Programs Command menu.
3. Type PD8, Apple Writer's code for Print to Disk on an Apple II.
4. Type NP to begin printing.
5. To the Apple Writer prompt for a file name, do not enter the same name with which the file is already saved. Enter a unique name, and note it down.
6. After the printing to disk is finished, exit Apple Writer and boot up a ProDOS diskette.
7. Run the following program:
100 HOME
110 PRINT TAB(10);APPLE WRITER TO PRINTER"
120 VTAB 5
130 INPUT "NAME OF APPLE WRITER FILE PRINTED TO DISK: ";F$
140 IF F$="" THEN 900
145 VTAB 12
146 INPUT "CHARACTER TO REPLACE: ";X$
147 IF X$="" THEN 145
150 VTAB 10
160 INPUT "PRINTER SLOT #: ";S$
170 IF S$="" THEN 900
180 S=VAL$(S$); IF S < 1 OR S > 7 OR INT(S) <> S THEN 150
190 D$=CHR$(4)
200 ONERR GOTO 800
210 PRINT D$;"UNLOCK";F$
220 POKE 216,0
230 VTAB 12: PRINT SPC(75)
240 PRINT
250 PRINT D$;"PR#";S
260 PRINT CHR$(9);"132N"
270 PRINT D$;"OPEN";F$280 ONERR GOTO 400
290 PRINT D$;"READ";F$
300 A$=""
310 GET C$
315 IF C$=CHR$(12) THEN 310
320 IF C$=CHR$(13) THEN 350
330 IF C$=X$ THEN C$=CHR$(0)
340 A$=A$+C$:GOTO 310
350 PRINT A$
390 GOTO 300
400 POKE 216,0
410 PRINT D$;"CLOSE"
420 PRINT D$;"PR#0"
430 VTAB 15
440 PRINT TAB(5);"FILE ";F$;" HAS BEEN PRINTED."
450 GOTO 900
800 POKE 216,0
810 VTAB 12
820 PRINT CHR$(7);"I CAN'T FIND THE FILE ";F$;"."
830 INPUT "";Z$
840 GOTO 100
900 END