LP 990 (260-2879) Control Codes Faxback Doc. # 4685 IBM PROPRINTER The printer commands are given in the table below. The ESC 6 code allows access to IBM Proprinter Character Set 2. The ESC 7 code returns back to IBM Proprinter Character Set 1. MNEMONIC HEX. DEC. REMARKS Cancel CAN 18 24 Condensed Mode OFF DC2 12 18 10 CPI Enlarged OFF DC4 14 20 Condensed Mode ON SI OF 15 17.1 CPI (137 characters on one 8" line. Enlarged ON SO 0E 14 Carriage Return CR 0D 13 Printer Select DC1 11 17 Printer Deselect DC3 13 19 Page End FF 0C 12 Vertical Tab VT 0B 11 Line Feed LF 0A 10 Horizontal Tab HT 09 9 Backspace BS 07 7 Bell BEL 08 8 Null NULL 00 0 Underline Print Mode ON/OFF ESC - (n) 1B 2D 27 45 n=1,49 ON (hyphen) n=0,48 OFF Overscore Print Mode ON/OFF ESC _ (n) 1B 5F 27 95 n=1, 49 ON (underline) n=0, 48 OFF 1/8" LF Pitch Set ESC 0 1B 30 27 48 7/72" LF Pitch Set ESC 1 1B 31 27 49 Start Variable Line Feed ESC 2 1B 32 27 50 Execution Command for ESC A n/216" LF Pitch Set ESC 3 (n) 1B 33 27 51 (1 < n < 255) Set Top of Form ESC 4 1B 34 27 52 When this command is received, the page is ended. Data after ESC 4 is printed from the top of the next page. Automatic Line Feed ESC 5 (n) 1B 35 27 53 n=1 CR,LF n=0 CR only Select Character Set 2 ESC 6 1B 36 27 54 Select Character Set 1 ESC 7 1B 37 27 55 Elite Pitch Mode ESC : 1B 3A 27 58 DC2 Resets to 10 CPI Print Continuously from All Characters Chart ESC \ (n) 1B 5C 27 92 (1 < n < 255) Print Single Character from ESC ^ (n) 1B 5E 27 94 All Characters Chart n/72" LF Pitch Set ESC A (n) 1B 41 27 65 (1 < n < 85) Vertical Tab Set ESC B n1 1B 42 27 66 Max. 64 positions. n2...n64,0 Page Length Set in Lines ESC C0 (n) 1B 43 27 67 Form length = Line Spacing x n 6 LPI Page Length Set in Inches ESC C0 (n) 1B 43 30 27 67 48 (1 < n < 14) If a request is made for a specified position outside the printer's logical page, the position is specified to the appropriate logical page limit. Horizontal Tab Set ESC D n1 1B 44 27 68 (1 < n < 137) n2...28,) When the specified HTAB position exceeds the current paper width, the data is ignored. The maximum tab number is 256. Emphasized ON ESC E 1B 45 27 69 Double printing at 2/300" spacing. Emphasized OFF ESC F 1B 46 27 70 Double Strike ON ESC G 1B 47 27 71 Double printing at 1/300" spacing. Double Strike OFF ESC H 1B 48 27 72 Print Mode Select ESC I (n) 1B 49 27 73 n=0, Standard font, Normal print n=1, Standard font, Double strike print n/216" Line Feed ESC J (n) 1B 4A 27 74 (1 < n < 255) 480 Bit-Image Graphics Mode ESC K n1 1B 4B 27 75 Prints about 1/5 n2 page without expansion memory. 960 Bit-Image Graphics Mode ESC L n1 1B 4C 27 76 Prints about 1/5 n2 page without expansion memory. Set Skip Perforation ESC N (n) 1B 4E 27 78 This command is ignored. Cancel Skip Perforation ESC 0 1B 4F 27 79 This command is ignored. Deselect IBM Proprinter ESC Q (3) 1B 51 27 81 Set All Tabs to Power ESC R 1B 52 27 82 On Settings Super/Subscript Mode ON ESC S (n) 1B 53 27 83 n=0, 48 Superscript n=1, 49 Subscript Super/Subscript Mode OFF ESC T 1B 54 27 84 Unidirectional Printing ESC U (n) 1B 55 27 85 This command is ignored. Enlarged ON/OFF ESC W (n) 1B 56 27 87 n=1,49 Enlarged ON n=0,48 Enlarged OFF 960 Bit-Image Graphics ESC Y n1 1B 57 27 89 Prints about 1/5 Mode Normal Speed n2 page without expansion memory. 1920 Bit-Image Graphics ESC Z n1 1B 59 27 89 Prints about 1/5 Mode n2 page without expansion memory. Download ESC = 1B 3D 27 61 This command is ignored. Paper Source ESC EM (n) 1B 19 31 27 25 49 n=1 TRAY 1 1B 19 32 27 25 50 n=2 TRAY 2 1B 19 45 27 25 69 n=E ENVELOPE FEEDER * 1B 19 4D 27 25 77 n=M MANUAL * 1B 19 43 27 25 67 n=C SELECT TRAY 1 THEN TRAY 2 * 1B 19 52 27 25 82 n=R EJECT THE CURRENT PAGE Paper Size * ESC d (n) 1B 64 42 27 100 66 n=B LEGAL 1B 64 44 27 100 68 n=D LETTER 1B 64 50 27 100 80 n=P EXECUTIVE 1B 64 45 27 100 69 n=E INVOICE 1B 64 48 27 100 72 n=H A4 1B 64 4C 27 100 76 n=L B5 1B 64 52 27 100 82 n=R COMMERCIAL 10 1B 64 53 27 100 83 n=S INTERNATIONAL DL 1B 64 55 27 100 85 n=U INTERNATIONAL C5 1B 64 4D 27 100 77 n=M MONARCH 7 3/4 Orientation * ESC VP 1B 56 50 27 86 80 PORTRAIT ESC VL 1B 86 4C 27 86 76 LANDSCAPE Paper Source //n// 2F 2F 31 2F 2F 47 47 49 47 47 n=1 TRAY 1 2F 2F 32 2F 2F 47 47 50 47 47 n=2 TRAY 2 2F 2F 45 2F 2F 47 47 69 47 47 n=E ENVELOPE FEEDER * 2F 2F 4D 2F 2F 47 47 77 47 47 n=M MANUAL * 2F 2F 43 2F 2F 47 47 67 47 47 n=C SELECT TRAY 1 THEN TRAY 2 * 2F 2F 52 2F 2F 47 47 82 47 47 n=R EJECT THE CURRENT PAGE Paper Size * //d (n)// 2F 2F 64 42 2F 2F 47 47 100 66 47 47 n=B LEGAL 2F 2F 64 44 2F 2F 47 47 100 68 47 47 n=D LETTER 2F 2F 64 50 2F 2F 47 47 100 80 47 47 n=P EXECUTIVE 2F 2F 64 45 2F 2F 47 47 100 69 47 47 n=E INVOICE 2F 2F 64 48 2F 2F 47 47 100 72 47 47 n=H A4 2F 2F 64 4C 2F 2F 47 47 100 76 47 47 n=L B5 2F 2F 64 52 2F 2F 47 47 100 82 47 47 n=R COMMERCIAL 10 2F 2F 64 53 2F 2F 47 47 100 83 47 47 n=S INTERNATIONAL DL 2F 2F 64 55 2F 2F 47 47 100 86 47 47 n=U INTERNATIONAL C5 2F 2F 64 4D 2F 2F 47 47 100 77 47 47 n=M MONARCH 7 3/4 Orientation * //P// 2F 2F 50 2F 2F 47 47 80 47 47 PORTRAIT //L// 2F 2F 4C 2F 2F 47 47 76 47 47 LANDSCAPE * These codes are not part of the original code set for the Proprinter. They are unique to LP-990 IBM GRAPHICS PRINTER The printer commands are given in the table below. The ESC 6 code allows access to IBM Graphics Printer Character Set 2. The ESC 7 code returns back to IBM Graphics Printer Character Set 1. MNEMONIC HEX. DEC. REMARKS Cancel CAN 18 24 Clears the printer buffer. Control codes, except SO, remain in effect. Condensed Mode OFF DC2 12 18 Enlarged OFF DC4 14 20 Condensed Mode ON SI OF 15 17.1 CPI (137 characters on one 8" line. Enlarged ON SO 0E 14 Carriage Return CR 0D 13 Page End FF 0C 12 Vertical Tab VT 0B 11 VT code treated as a LF. Line Feed LF 0A 10 Horizontal Tab HT 09 9 Backspace BS 07 7 Bell BEL 08 8 Underline Print Mode ON/OFF ESC - (n) 1B 2D 27 45 n=1,49 ON (hyphen) n=0,48 OFF 1/8" LF Pitch Set ESC 0 1B 30 27 48 7/72" LF Pitch Set ESC 1 1B 31 27 49 Start Variable Line Feed ESC 2 1B 32 27 50 Execution Command for ESC A n/216" LF Pitch Set ESC 3 (n) 1B 33 27 51 (1 < n < 255) Select Character Set 2 ESC 6 1B 36 27 54 Select Character Set 1 ESC 7 1B 37 27 55 Paper Out Detection ESC 8 1B 38 27 56 This command is Disable ignored. Paper Out Detection ESC 9 1B 39 27 57 This command is Enable ignored. Home Head ESC 8 1B 3C 27 60 This command is ignored. n/72" LF Pitch Set ESC A (n) 1B 41 27 65 (1 < n < 85) Vertical Tab Set ESC B n 1B 42 27 66 (1 < n < 255) Page Length Set in Lines ESC C0 (n) 1B 43 27 67 (1 < n < 127) Page Length Set in Inches ESC C0 (n) 1B 43 30 27 67 48 (1 < n < 22) Horizontal Tab Set ESC D n1 1B 44 27 68 (1 < n < 80) normal n2...28,) mode (1 < n < 132) compressed mode. When the specified HTAB exceeds the current paper width, the data is ignored. The maximum tab number is 256. Emphasized ON ESC E 1B 45 27 69 Double printing at 2/300" spacing. Emphasized OFF ESC F 1B 46 27 70 Double Strike ON ESC G 1B 47 27 71 Double printing at 1/300" spacing. Double Strike OFF ESC H 1B 48 27 72 Set variable Line Feeding ESC J (n) 1B 4A 27 74 n/216" Line Feed (1 < n < 255) 480 Bit-Image Graphics Mode ESC K n1 1B 4B 27 75 Prints about 1/5 n2 page without expansion memory. 960 Bit-Image Graphics Mode ESC L n1 1B 4C 27 76 Prints about 1/5 n2 page without expansion memory. Set Skip Perforation ESC N (n) 1B 4E 27 78 This command is ignored. Cancel Skip Perforation ESC 0 1B 4F 27 79 This command is ignored. Super/Subscript Mode ON ESC S (n) 1B 53 27 83 n=0, 48 Superscript n=1, 49 Subscript Super/Subscript Mode OFF ESC T 1B 54 27 84 Unidirectional Printing ESC U (n) 1B 55 27 85 This command is ignored. Enlarged ON/OFF ESC W (n) 1B 56 27 87 n=1,49 Enlarged ON n=0,48 Enlarged OFF 960 Bit-Image Graphics ESC Y n1 1B 57 27 89 Prints about 1/5 Mode Normal Speed n2 page without expansion memory. 1920 Bit-Image Graphics ESC Z n1 1B 59 27 89 Prints about 1/5 Mode n2 page without expansion memory. Paper Source ESC EM (n) 1B 19 31 27 25 49 n=1 TRAY 1 1B 19 32 27 25 50 n=2 TRAY 2 1B 19 45 27 25 69 n=E ENVELOPE FEEDER * 1B 19 4D 27 25 77 n=M MANUAL * 1B 19 43 27 25 67 n=C SELECT TRAY 1 THEN TRAY 2 * 1B 19 52 27 25 82 n=R EJECT THE CURRENT PAGE Paper Size * ESC d (n) 1B 64 42 27 100 66 n=B LEGAL 1B 64 44 27 100 68 n=D LETTER 1B 64 50 27 100 80 n=P EXECUTIVE 1B 64 45 27 100 69 n=E INVOICE 1B 64 48 27 100 72 n=H A4 1B 64 4C 27 100 76 n=L B5 1B 64 52 27 100 82 n=R COMMERCIAL 10 1B 64 53 27 100 83 n=S INTERNATIONAL DL 1B 64 55 27 100 85 n=U INTERNATIONAL C5 1B 64 4D 27 100 77 n=M MONARCH 7 3/4 Orientation * ESC VP 1B 56 50 27 86 80 PORTRAIT ESC VL 1B 86 4C 27 86 76 LANDSCAPE Paper Source //n// 2F 2F 31 2F 2F 47 47 49 47 47 n=1 TRAY 1 2F 2F 32 2F 2F 47 47 50 47 47 n=2 TRAY 2 2F 2F 45 2F 2F 47 47 69 47 47 n=E ENVELOPE FEEDER * 2F 2F 4D 2F 2F 47 47 77 47 47 n=M MANUAL * 2F 2F 43 2F 2F 47 47 67 47 47 n=C SELECT TRAY 1 THEN TRAY 2 * 2F 2F 52 2F 2F 47 47 82 47 47 n=R EJECT THE CURRENT PAGE Paper Size * //d (n)// 2F 2F 64 42 2F 2F 47 47 100 66 47 47 n=B LEGAL 2F 2F 64 44 2F 2F 47 47 100 68 47 47 n=D LETTER 2F 2F 64 50 2F 2F 47 47 100 80 47 47 n=P EXECUTIVE 2F 2F 64 45 2F 2F 47 47 100 69 47 47 n=E INVOICE 2F 2F 64 48 2F 2F 47 47 100 72 47 47 n=H A4 2F 2F 64 4C 2F 2F 47 47 100 76 47 47 n=L B5 2F 2F 64 52 2F 2F 47 47 100 82 47 47 n=R COMMERCIAL 10 2F 2F 64 53 2F 2F 47 47 100 83 47 47 n=S INTERNATIONAL DL 2F 2F 64 55 2F 2F 47 47 100 86 47 47 n=U INTERNATIONAL C5 2F 2F 64 4D 2F 2F 47 47 100 77 47 47 n=M MONARCH 7 3/4 Orientation * //P// 2F 2F 50 2F 2F 47 47 80 47 47 PORTRAIT //L// 2F 2F 4C 2F 2F 47 47 76 47 47 LANDSCAPE * These codes are not part of the original code set for the Graphics Printer. They are unique to LP-990. (smm 07/27/93)