LP 800 (260-2890) IBM Control Codes Faxback Doc. # 4121 This printer has three emulation modes: * HP LaserJet III * Epson FX-850 * IBM Proprinter XL24e The LP 800 has different responses to software codes from the computer--one set for each emulation. The response patterns, or modes, have many similarities, but each has its own unique features. ┌────────────────────────────────────┐ │IBM PROPRINTER XL24e Control Codes: │ └────────────────────────────────────┘ Printer Operation/Data Control Sequences: DEC. HEX. MNEMONIC FUNCTION 13 0D CR Carriage return 17 11 DC1 Selects printer after deselection by ESC Q 24 18 CAN Cancels--clear internal buffer 27 25 n 1B 19 n ESC EM n Selects paper feed source. n=1 selects cassette tray n=2 selects 2nd bin sheet feeder 27 28 n 1B 1C n ESC FS n Selects emulation n=0 Function Reset n=1 HP Emulation n=3 EPSON Emulation n=4 IBM Emulation n=5 HPGL Emulation n=6 PDL Emulation 27 81 36 1B 51 24 ESC Q $ Deselects printer 27 85 1B 55 ESC U Unidirectional printing ignored by this printer. 27 91 75 c 1B 5B 4B c ESC [ K c Sets initial condition 0 i p1 p2 00 i p1 p2 NUL i p1 p2 c:defines the number of bytes to follow i:defines type of initialization i=0 or 1: resets to current menu settings i=4 or 5: resets to factory default i=254: resets to current factory settings, and also stores p1 or p2 settings into the menu memory. ┌───────┬─────────────────┬──────────────────────┐ │p1 bit │ 1 (on) │ 2 (off) │ ├───────┼─────────────────┼──────────────────────┤ │7 │ Ignore this byte│ Process this byte │ │6 │ Reserved │ │ │5 │ Buzzer on │ Buzzer off │ │4 │ Auto CR On │ Auto CR Off │ │3 │ Auto LF On │ Auto LF Off │ │2 │ Skip perf. off │ 1" Skip perf. │ │1 │ Slashed zero │ Non-slashed zero │ │0 │ Character Set 2 │ Character Set 1 │ └───────┴─────────────────┴──────────────────────┘ ┌───────┬─────────────────┬──────────────────────┐ │p2 bit │ 1 (on) │ 0 (off) │ ├───────┼─────────────────┼──────────────────────┤ │7 │ Ignore this byte│ Process this byte │ │6 │ Multilingual │ USA │ │5-0 │ Reserved │ │ └───────┴─────────────────┴──────────────────────┘ 27 106 1B 6A ESC j Stops printing-print out information in the buffer and set the printer off line. 27 111 n 1B 6F n ESC o n Sets orientation n=0 sets portrait; n=1 sets landscape Vertical Motion Control Sequences: DEC. HEX. MNEMONIC FUNCTION 10 0A LF Line Feed 11 0B VT Vertical Tab 12 0C FF Form Feed 27 48 1B 30 ESC 0 Sets 1/8" line feed 27 49 1B 31 ESC 1 Sets 7/72" line feed 27 50 1B 32 ESC 2 Starts line spacing set by ESC A 27 51 n 1B 33 n ESC 3 n Sets line feed pitch to n/216" in standard mode, n/180 in AGM mode 0