DMP 440 (260-2808) Codes Faxback Doc. # 4452 IGNORED OR UNDEFINED CODES Codes that are unusable or undefined in a given print mode are either ignored or printed with the symbol X. which represents an invalid code. There are several reasons a code might be unusable in a certain mode. Redundant codes that do not change the current printer status are usually ignored. For example, if the DMP-440 is in DP mode, sending a CHR$(19) (used to enter DP mode) is ignored. There are many ASCII control codes in the range 0 to 31 that the DMP-440 does not recognize. ASCII 0, for example, is not used in any of the three print modes. The following table summarizes the undefined print codes. DMP-440 IGNORED CONTROL CODES ALL MODES: * Out of range on repeat sequence. * Out of range on POS sequence. * Redundant codes that do not change the current printer status. DP MODE: 0,1,19,30,127,255 WP MODE: 0,1,20,30,127,255 GRAPHIC MODE: All codes in the range 0-127 are ignored except: (7),(10),(12),(13),(27 14),(27 15),(27 16 n1 n2),(27 21),(27 22),(27 33), (27 50),(27 51),(27 52 n),(27 57),(27 64 n),(27 72 n),(27 n1 n2),(30). Unprintable repeat sequence data n2 is also ignored. CODES PRINTED AS X IN DP AND WP MODES: * All codes 0-31 and 128-159, except the active function codes or the above ignored codes. * Unprintable repeat data n2. ─────────────────────────────────────────────────────────────────────────── TANDY CONTROL CODES ─────────┬──────┬──────────────┬──────────────┬──────────────┬───────────── Code │ │ │ │ │ Dec. Hex │Symbol│ DP Mode │ WP Mode │ BI Mode │ Remarks ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 0 (00)│ NUL │ Ignored │ Ignored │ Ignored │ 1 (01)│ SOH │ │ │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 7 (07)│ BEL │ Sound buzzer │ Sound buzzer │ Sound buzzer │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 8 (08)│ BS │ Dot column │ Dot column │ Ignored │ 1 │Correspondence│Correspondence│ │ n n │ n │12 Character │12 Character │ │ │ │n:Font Number │n:Font Number │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Font Assign │Font Assign │ Ignored │ 63 (3F)│ ? │Proportional │Proportional │ │ n n │ n │Character n: │Character n: │ │ │ │Font Number │Font Number │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Set n/144" │ Perform │ Perform │ 64 (40)│ @ │ LF │ n/144" LF │ n/144" LF │ n │ n │ │ │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Select │ Select │ Ignored │ n=1: Start 66 (42)│ B │ Italic │ Italic │ │ Italic n │ n │ Character │ Character │ │ n=0: End │ │ │ │ │ Italic ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Set n/6"Skip │ Set n/6"Skip │ Set n/6"Skip │ n=0: End 72 (48)│ H │ Perforation │ Perforation │ Perforation │ Skip n │ n │ │ │ │ Perforation ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Select High │ Select High │ Ignored │ 73 (49)│ I │ Resolution │ Resolution │ │ n1 │ n1 │ Bit Image │ Bit Image │ │ n2 │ n2 │ │ │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Select Micro │ Select Micro │ Ignored │ 1/2LF(1/12") 77 (4D)│ M │ Font │ Font │ │ is set. ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Set Left │ Set Left │ Ignored │ Set at 81 (51)│ Q │ Margin │ Margin │ │ position n │ n │ │ │ │ (n x │ │ │ │ │ character │ │ │ │ │ width). ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Set Right │ Set Right │ Ignored │ Set at 82 (52)│ R │ Margin │ Margin │ │ position n │ n │ │ │ │ (n x │ │ │ │ │ character │ │ │ │ │ width). ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ n=0 Set │ n=0 Set │ Ignored │ ESC-X ends 83 (53)│ S │ Superscript │ Superscript │ │ this n │ n │ n=1 Set │ n=1 Set │ │ selection. │ │ Subscript │ Subscript │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ n=0 Set Uni- │ n=0 Set Uni- │ Ignored │ 85 (55)│ U │ directional │ directional │ │ │ │ n=1 Set bi- │ n=1 Set bi- │ │ │ │ directional │ directional │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Select Double│ Select Double│ Ignored │ 87 (57)│ W │ Height │ Height │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ End Super- │ End Super- │ Ignored │ 88 (58)│ X │ script and │ script and │ │ │ │ Subscript │ Subscript │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 27 (1B)│ ESC │ Select │ Select │ Ignored │ n=32--42 89 (59)│ Y │ Country │ Country │ │ n │ n │ Character │ Character │ │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 28 (1C)│ FS │ Repeat │ Repeat │ Repeat │ n1: Repeat n1 │ n1 │ Character │ Character │ Print Data │ number n2 │ n2 │ (Undefined │ (Undefined │ │ n2: │ │ code is │ code is │ │ Character or │ │ ignored.) │ ignored.) │ │ print data. ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 30 (1E)│ RS │ Ignored │ Ignored │ End Bit │ │ │ │ │ Image │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 127 (7F)│ DEL │ Ignored │ Ignored │ Ignored │ ─────────┼──────┼──────────────┼──────────────┼──────────────┼───────────── 255 (FF)│ DEL │ Ignored │ Ignored │ Ignored │ ─────────┴──────┼──────────────┼──────────────┼──────────────┼───────────── Other undefined │ Print X │ Print X │ Ignored │ codes in func- │ │ │ │ tion area. 2 to │ │ │ │ 31 (02 to 1F │ │ │ │ hex.) │ │ │ │ ────────────────┼──────────────┼──────────────┼──────────────┼───────────── Other undefined │ Print X │ Print X │ Printing │ codes in func- │ │ │ Data │ tion area. 128 │ │ │ │ to 159 (80 to │ │ │ │ 9F hex.) │ │ │ │ ────────────────┴──────────────┴──────────────┴──────────────┴───────────── IBM CONTROL CODES ──────────────┬────────┬─────────────────────────────────────────────────── Decimal Hex │ Symbol │ Function ──────────────┼────────┼─────────────────────────────────────────────────── 7 (07) │ BEL │ Sound buzzer for 1 second 135 (87) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 7 (07) │ ESC │ ──────────────┤ BEL │ Same as BEL 27 (1B) │ │ 135 (87) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 8 (08) │ BS │ Move 1 character position to the left 136 (88) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 8 (08) │ │ ──────────────┤ ESC │ 27 (1B) │ BS │ Same as BS 136 (88) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 9 (09) │ HT │ Move to next horizontal tab position 137 (89) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 9 (09) │ │ ──────────────┤ ESC │ 27 (1B) │ HT │ Same as HT 137 (89) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 10 (0A) │ LF │ Print and Line Feed according to latched 138 (8A) │ │ information with or without Carriage Return (DIP │ │ switch 103) ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 10 (0A) │ │ ──────────────┤ ESC │ 27 (1B) │ LF │ Same as LF 138 (8A) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 11 (0B) │ VT │ Same as LF 139 (8B) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 11 (0B) │ │ ──────────────┤ ESC │ 27 (1B) │ VT │ Same as LF 139 (8B) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 12 (0C) │ FF │ Form Feed after printing 140 (8C) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 12 (0C) │ │ ──────────────┤ ESC │ 27 (1B) │ FF │ Same as FF 140 (8C) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 13 (0D) │ CR │ Printing and Carriage Return with or without Line 141 (8D) │ │ Feed (DIP switch 1-2) ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 13 (0D) │ │ ──────────────┤ ESC │ 27 (1B) │ CR │ Same as CR 141 (8D) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 14 (0E) │ SO │ Printing and Double-Width Mode designation (print 142 (8E) │ │ command terminates this mode) ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 14 (0E) │ │ ──────────────┤ ESC │ 27 (1B) │ SO │ Same as SO 142 (8E) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 15 (0F) │ SI │ Printing and Condensed Mode designation 143 (8F) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 15 (1B) │ │ ──────────────┤ ESC │ 27 (1B) │ SI │ Same as SI 143 (8F) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 18 (12) │ DC2 │ Printing and Condensed Mode termination 146 (92) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 18 (12) │ │ ──────────────┤ ESC │ 27 (1B) │ DC2 │ Same as DC2 146 (92) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 20 (14) │ DC4 │ Printing and Double-Width Mode termination 148 (94) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 20 (14) │ │ ──────────────┤ ESC │ 27 (1B) │ DC4 │ Same as DC4 148 (94) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ ESC │ Select TANDY Mode 33 (21) │ ! │ ──────────────┼────────┼─────────────────────────────────────────────────── 24 (18) │ CAN │ Clear all print data in the internal buffer 152 (98) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ │ 24 (18) │ │ ──────────────┤ ESC │ 27 (1B) │ CAN │ Same as CAN 152 (98) │ │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ ESC │ n=1 Starts Underline 45 (2D) │ ─── │ n=0 Ends Underline n n │ n │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ ESC │ Line Feed pitch is set to 1/8 inch 48 (30) │ 0 │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ ESC │ Line Feed pitch is set to 7/72 inch 49 (31) │ 1 │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ ESC │ Perform ESC-A or set Line Feed pitch to 1/6 inch 50 (32) │ 2 │ ──────────────┼────────┼─────────────────────────────────────────────────── 27 (1B) │ ESC │ Set Line Feed pitch to n/216 inch 51 (33) │ 3 │ 0