TABLE OF CONTENTS 1. INTRODUCTION ......................5 2. CONFIGURATION ......................6 Standard Printer Configuration ..................6 Options ..........................6 Block Diagram........................7 Initial Setting ........................8 3. BASIC SPECIFICATIONS .................... 10 Print Specifications ......................10 Paper Feed Specifications ....................13 Paper Specifications ......................17 Ribbon Specifications .......................
Page 269
6. COMMAND DESCRIPTION ..................49 Horizontal Control ......................49 Vertical Control ......................... 59 Character Set ........................72 Font Description ........................ 83 Text Print Features ......................92 Graphics Mode ........................99 Composite Commands ..................... 107 General Control......................... 108 Barcode ..........................115 APPENDIX A COMMAND SUMMARY ................128 APPENDIX B ALARM .......................134 40959201TX Rev.1...
Key features of the MICROLINE 380 Turbo/381 Turbo: — OKI smart Paper Handling — Direct access control panel — Structured menu for easy set-up — Bidirectional short-line-seeking printing logic provides 104 characters per second in Letter Quality mode and 312 characters per second in Utility mode.
CONFIGURATION Standard Printer Configuration The MICROLINE 380/381 Turbo consists of the following components: (1) Printer mechanism (2) Power & control board (3) Driver board (Including a Centronics-compatible parallel interface) (4) Operational panel (5) Power supply (6) Covers (7) Tractor feed unit Options (1) Interface board RS-232C serial interface board (communications rate up to 19.2 KBPS)
Block Diagram Interface AC source cable Power supply Power & (Option) Trans- Filter control former board (Option) board Interface board Printhead Driver board Space LF motor motor Operation panel Figure 2-1 Block Diagram 40959201TX Rev.1...
Initial Setting Printer Control Emulation Mode EPSON LQ Font Print Mode LQ Courier Pitch 10 CPI Proportional Spacing Style Normal Size Single Symbol Sets Character Set Set I Language Set American Zero Character Slashed Code Page Rear Feed Line Spacing 6 LPI Form Tear-Off Skip Over Perforation...
Page 274
Printer Control Emulation Mode EPSON LQ Set Up Operator Panel Function Full Operation Reset Inhibit Print Supress Effective Auto LF Auto CR CSF Bin Select Bin 1 SI Select Pitch (10CPI) 17.1 CPI SI Select Pitch (12CPI) 12 CPI Time Out Print Valid Auto Select Graphics Speed...
BASIC SPECIFICATIONS Print Specifications Print method : Impact dot matrix Number of dot wires : 24 Dot wire diameter : 0.0079 inch (0.2 mm) Print direction : Bi-directional, short-line-seeking printing Unidirectional printing specifiable Print speed: Character pitch Print Mode 10 CPI 12 CPI 15 CPI 17 CPI...
Page 276
Character sets Standard ASCII EPSON Character Set IBM Character Set I & II IBM Proprinter Compatible character set Foreign Character Substitution Line Graphics Code Page Character Sets: 850, 860, 863, 865 Bar Code Character pitches The following character pitches are selectable with control codes: Space/character 5 CPI inch (5.08 mm)
Page 277
Maximum number of dot columns per line in graphics. Character to character clearance can be specified in units of dot columns with control codes. Single density Double density Quadruple density 60 DPI 1,920 ML380 Turbo 80 DPI 90 DPI 1,440 2,880 60 DPI 1,632...
Paper Feed Specifications Paper insertion (a) Rear paper feed (b) Top paper feed Paper feed methods When the friction feed method is used, the paper must be fed from top. ML380 Turbo ML381 Turbo (a) Friction feed For cut-sheet paper For cut-sheet paper or or envelopes envelopes...
Page 279
Printable area 0.16 inch (4.06 mm) 0.16 inch (4.06 mm) Printable area Recommended Printing area Cut-Sheet Paper (for ML380/381 Turbo) 14 / 40959201TX Rev.1...
Page 280
10 inches (254 mm) wide sprocket paper 0.8 inch 0.1 inch (2.54 mm) x 79 = 0.8 inch 0.25 inch (6.35 mm) (20.32 mm) 7.9 inches (200.66 mm) (10 CPI) (20.32 mm) 0.25 inch (6.35 mm) 0.1 inch (2.54 mm) Perforation Paste spots See enlarged...
Page 281
16 inches (406.5 mm) wide sprocket paper 0.1 inch (2.54 mm) × 135 = 1 inch 1 inch 0.25 inch (6.35 mm) (25.4 mm) 13.5 inches (342.9 mm) (10 CPI) (25.4 mm) 0.25 inch (6.35 mm) 0.1 inch (2.54 mm) Perforation Paste spots See enlarged...
9 lbs (34 g/m Multiple-part paper should be fastened by spot-pasting or crimping on both sides, and should be free of wrinkles. Ribbon Specifications An original OKI cartridge ribbon Ink color : Black Ribbon life : Approx. 2 million characters (Re-inking cartridge) 17 / 40959201TX Rev.1...
Power Requirements Input power Single-phase AC Voltage : One of the following as specified: 230/240 VAC + 10% –14% Frequency : 50/60 Hz ±2% Power consumption Operation : Approx. 110 VA Idle : Approx. 40 VA AC power cable Length : Approx.
Noise Measurement method The printer is placed 2.46 ft (0.75 m) above the floor, and the microphone is set 3.28 ft (1 m) in front of the printer, and 4.92 ft (1.5 m) above the floor. Printing operation The printer is measured in the following ECMA Standard pattern (40 characters/line) and double linefeed on one-part paper of 15 lbs (57 g/m Noise value The 8-second average noise is less than 54 dBA (LQ mode) when measured under the...
OPERATOR INTERFACE Operator and Controls Locations of switches and lamps PRINT QUALITY COURIER GOTHIC •ROMAN• UTILITY PRESTIGE ORATOR •SWISS• FF/LOAD TEAR PARK QUIET Micro feed Micro feed MENU SHIFT Down CHARACTER PITCH EXIT GROUP ITEM PRINT PROP POWER ALARM MENU RESET Functions of switches The functions of the switches on the operation panel depend on the state of the printer.
Page 290
3) Functions of lamps Lamp Color Function Amber Lights when the printer enters the select state, and starts flickering when the printer enters the print suppress mode or when a malfunction is detected. ALARM Lights when paper end is detected or when a malfunction is detected.
Special Switch Operations Hex Dump mode Enter Hex Dump mode by pressing the SEL + FF/LOAD switch during power up. Exit Hex Dump mode by powering down the printer, or pressing the RESET switch. All other primary function switches operate the same as when in the normal print mode (SEL, LF, FF, PARK, QUIET/TOF, TEAR).
Page 292
Key functions: Key Name Function GROUP General categorization of functions/features. Selects next Group title, once through the entire list, loops back to the first Group. ITEM Direct name of functions/features. Selects next Item title, once through the entire list, loops back to the first Item in the current Group.
Page 293
Group Item Sets Font Print Mode LQ Courier LQ Roman LQ Swiss LQ Orator LQ Gothic LQ Prestige Utility Pitch 10 CPI 12 CPI 15 CPI 17.1 CPI 20 CPI Proportional Spacing Style Normal Italics Size Single Double Group Item Sets Symbol Sets Character Set...
Page 294
Group Item Sets Rear Feed Line Spacing 6 LPI 8 LPI Form Tear-Off 500 ms 1 sec 2 sec Skip Over Perforation Page Width 13.6" 8" Page Length 11" 11 2/3" 12" 14" 17" 3" 3.5" 4" 5.5" 6" 7" 8"...
Page 295
Group Item Sets Set-Up Graphics Bi-directional Uni-directional Receive Buffer Size 1 Line Paper Out Override Print Registration 0.25 mm Right 0.20 mm Right 0.15 mm Right 0.10 mm Right 0.05 mm Right 0.05 mm Left 0.10 mm Left 0.15 mm Left 0.20 mm Left 0.25 mm Left Operator Panel Function...
Page 296
Group Item Sets Parallel I/F I-Prime Invalid Buffer Print Buffer Clear Pin 18 Open Auto Feed XT Valid Invalid Group Item Sets Serial I/F Parity None Even Serial Data 7/8 Bits 8 Bits 7 Bits Protocol Ready/Busy X-ON/X-OFF Diagnostic Test Busy Line SSD –...
Page 297
Group Item Sets * CSF Bin 1 Line Spacing 6 LPI 8 LPI Bottom Margin Valid Invalid Page Width 13.6" 8" Page Length 11" 11 2/3" 12" 14" 17" 3.5" 4" 5.5" 6" 7" 8" 8.5" Group Item Sets * CSF Bin 2 Line Spacing 6 LPI 8 LPI...
Page 298
Example: Set French Language, then print full Menu. Step Item Set (Value) Selection Press SHIFT + SEL SW and press Printer Control Emulation Mode EPSON LQ GROUP SW Font Print Mode LQ Courier Press GROUP switch to change Group Pitch 10 CPI Press GROUP switch to change Group Proportional Spacing...
Hardware Test Function: The hardware self-tests are executed during power-up to identify problems that will affect operation of the printer. Alarms: See the Alarm section for Error indication. CPU check: The CPU will be checked for correct operation. ROM check a.
The test pattern is a consecutive printing of ASCII characters 20H to 7EH in all print quality and pitch combinations. Number of Characters Printed Per Line 80 at 10 136 CH 96 at 12 163 CH 120 at 15 204 CH 137 at 17.1 233 CH 160 at 20...
Serial I/F Test Function: This mode allows problems with the optional Serial Interface to be diagnosed by isolating the printer from the host computer. With the test connector installed the printer transmits and receives its own signal and verifies proper operation. Start: Disconnect the l/F cable and install the test connector.
Hexadecimal Dump Mode Overview: Normally a printer prints character patterns that correspond with the input character code. The printer does not print, function codes or invalid codes. If the printer does not operate normally, the data sent from the host computer must be checked to determine if the commands are correct.
Auto Park Function: The auto-park feature allows continuous form paper to be retracted from the printing position, to allow printing on cut-sheet paper, without removing the paper from the printer. Operation: Cut continuous form paper at the tear bar. Press AUTO PARK switch. Switch detection will result in: —...
4.11 Form Tear-Off Function: Form tear-off allows the user to tear the continuous form paper at a desired cut position by advancing the paper to the cutting edge of the front access cover. Set-up Conditions: (a) Continuous form paper is loaded into the push tractor to tractor feed. Tear Position: (a) Load continuous form paper.
INTERFACE SPECIFICATIONS Centronics-compatible Parallel Interface Specifications Connectors and cable Connectors Printer side: 36-pin receptacle 57-40360 (Amphenol or Daiichi Electronics) or equivalent Cable side: 36-pin plug 57-30360 (Amphenol or Daiichi Electronics) or equivalent, or plug 552274-1 (Amphenol) cover 552073-1 (Amphenol) or equivalent Cable Use a cable less than 6 ft (1.8 m) in total length.
Page 306
Pin No. Signal Direction Description 15, 34 — — Unused — — Fixed to High (Connected to +5 V thru 3.3 K) Select-In To printer Connected to input port and +5 V thru 3.3 K. Note: Pin arrangement Parallel interface levels Low level : 0.0 V to + 0.8 V High level : +2.4 V to +5.0 V Parallel interface circuits...
Parallel interface timing chart D1-D8 DATA STROBE 1 µs 1 µs 1~500 µs BUSY T busy 500 ns = 1~ 4 µs 2~8 µs RS-232C Serial Interface Specifications General specifications Table 5-1 General specifications Item Description Interface system RS-232C Data input Serial input (Start-stop synchronization) Baud rate 300, 600, 1200, 2400, 4800, 9600, 19200 BPS...
Page 308
Interface signals Pin No. Signal Code Signal Function Protective Ground — Frame ground Transmitted Data From printer Data from printer Received Data To printer Data to printer Request to Send From printer Signal to indicate printer (Note 2) cannot receive data in printer Busy/Ready protocol Data Set Ready To printer...
Page 309
Line driver Equivalent to SN75188 OUTPUT INPUT OUTPUT Note: The above figures are the standard values for a load of 3 KΩ, 15 pF, and a driver source level of ±9 V. Line receiver Equivalent to SN75154 INPUT OUTPUT +12V -12V INPUT Note: If the power on the input side is OFF, the output of the receiver becomes high...
Page 310
Interface timing charts (a) Receiving timing chart DSR signal HIGH Start bit Stop bit HIGH 0.5 bit More than 0 µs More than 300 µs Note: DSR signal valid/invalid can be set by the Menu. (b) SSD signal timing chart Data Stop bit HIGH...
Page 311
Interface Control Code The following function codes are used in the high-speed serial interface: Command Code (17)D (11)H (19)D (13)H Note: Characters to be printed according to the parity error indication code (40)H will differ depending on the setting of the printer character set. Refer to Printer User’s Manuals.
Page 312
Timing chart: 256 characters or less Waiting for BUSY DATA 1 DATA state to be free PRINTING BUSY state 200 ms or 1 second minimum * If data is transferred when the printer is still BUSY, the printer sends a DC3 code every time it receives data.
Page 313
Circuit test mode function After the settings outlined in Section (a) are completed and power is turned on, the serial interface checks the message buffer memory and interface driver and receiver circuits, then prints all characters. To start and stop this test, press the SEL switch on the front of the printer.
COMMAND DESCRIPTION Horizontal Control Carriage return (a) Code: CR (b) Compatibility: EPSON LQ/IBM Function: Terminates the print line and returns the print position to the start of the line. The data in the print buffer will be printed. (d) Additional details: •...
Page 315
Additional details: • The tab settings n1, n2, n3 nk must be entered in ascending order. • The entire command string is terminated with a NUL, CHR$ (0). • Mode Left Margin Change Pitch Changes Epson Position adjusted. Position not affected. Position not affected.
Page 316
Execute absolute horizontal dot position (a) Code: ESC $ n1 n2 (b) Compatibility: EPSON LQ Function: Moves the printhead to the specified absolute horizontal dot position in a line from the left margin; subsequent data is printed from this position. (d) Range: •...
Page 317
Additional details: • This relative setting defines the next printing position by calculating on the basis of the printing position immediately proceeding the input of this code. Printing starts at a position before or after the previous position at a dot spacing defined by the selected print mode.
Page 318
Move left relative dot position (a) Code: ESC e n1 n2 (b) Compatibility: IBM Function: Moves current logical horizontal position to the left (toward home position) in the unit of n/120". Prints data in print buffer. (d) Range: • In dot position setting, n1 becomes low byte and n2 becomes high byte. •...
Page 319
Out of range: • Upon receipt of this command, data beyond the left/right margin will be dumped. Additional details: • The data in print buffer is printed if the range on left margin side (reverse) from current position is selected. •...
Page 320
Right margin set (a) Code: ESC Q n (b) Compatibility: EPSON LQ Function: Right margin is set at (n) characters from head home position. (d) Range: • Range n = 1—255 Name Pitch ML380 Turbo ML381 Turbo PICA/PROPORTIONAL 4 — 80 4 —...
Page 321
Out of range: • If n1 or n2 = 0 then the current margin setting is used. • If n2 exceeds the default range n2 shall be converted to the default value. 10 CPI 12CPI 15CPI 17.1CPI 20CPI ML381 Turbo ML380 Turbo Additional details: •...
Page 322
Set/reset unidirection printing (a) Code: ESC U n (b) Compatibility: EPSON LQ/IBM Function: Unidirectional printing, from left to right, or bidirectional printing will be performed based on the value of n. (d) Range: • Range n: EPSON ACTION 01H, 31H, 81H, B1H SET Unidirectional 00H, 30H, 80H, B0H EVEN...
Page 323
Backspace Code: BS Compatibility: EPSON LQ/IBM Function: Prints the data in the print buffer and moves the printhead one character to the left according to the character pitch set. Additional details: • If a Multipass character (ex double height character) needs to be printed, after the BS the printer performs a back space and a LF to the printing position and prints the character.
Vertical Control Set 1/8 inch fixed line spacing (a) Code: ESC 0 (b) Compatibility: EPSON LQ/IBM Function: The line spacing is set to 1/8". (d) Additional details: • This command remains in effect until a new line spacing command is sent to the printer.
Page 325
Set n/60 inch line spacing Code: ESC A n Compatibility: EPSON LQ/IBM PPR/IBM AGM Function: Sets line spacing to: n/60" Epson LQ n/60" IBM AGM n/72" IBM PPR Range: • Range n = 0—127 Number of 1/60" increments — Epson 1—255 Number of 1/60"...
Page 326
Set n/360 inch fine line spacing (a) Code: ESC [ n (b) Compatibility: EPSON LQ Function: Sets line spacing to n/360". (d) Range: • Range n = 0—255 Number of 1/360" increments. (e) Additional details: • Power on default or l-Prime signal resets the value by this command and sets the value which is determined by Menu.
Page 327
Set\Reset automatic linefeed Code: ESC 5 n Compatibility: IBM Function: Enables/disables automatic line feed. The printer performs an automatic LF each time it receives a carriage return (CR). Range: • If n = ODD SET automatic LF. n = EVEN RESET automatic LF.
Page 328
(e) Additional details: • The contents of the buffer will be printed without a CR. (Carriage does not move to the home position.) • No line feed occurs when n = 0. • Top of form will not be set. Related functions: •...
Page 329
Form feed Code: FF Compatibility: EPSON LQ/IBM Function: Upon receipt of this command the printer prints the data in the print buffer and makes a carriage return, then feeds the paper to the next TOF position. Additional details: Factory setting of form length is eleven (11) inches. (Menu) •...
Page 330
(d) Range: • k specifies the number of vertical tabs set. Range k = 1—16 (Epson) 1—64 (IBM) • n is the specific line number at which each vertical tab is to be set. Range n = 0—255 (e) Out of range: •...
Page 331
Select vertical tab channel Code: ESC/n Compatibility: EPSON LQ Function: Upon receipt of this code the printer selects a Vertical Tab channel, specified by n. (d) Range: • Range n = 0—7 Number of tab channel Out of range: • If n > 7, the VFU value will be ignored. Additional details: •...
Page 332
Additional details: • Top of form will be set. • The value of the skip over perforation will be cleared when the valid n data is received. • Bit 7 is cleared and set to that value in Epson mode. •...
Page 333
Top of form set Code: ESC 4 Compatibility: IBM Function: Top of form setting will be set to the current position. Additional details: This command does not affect the CSF or SASF. Set vertical units Code: ESC [ \ 4 0 0 0 n1 n2 Compatibility: IBM Function: This command changes the base units for the line spacing command.
Page 334
(d) Range: • Range n = 0—255 Number of 1/360" increments. (e) Additional details: • Power on default or l-Prime signal resets the value by this command and sets the value which is determined by Menu. • This command is valid in any portion of lines. •...
Page 335
Additional details: • Top margin < bottom magin • Bottom margin < 22 inches • Default unit is 1/360 inch. Top margin Printing Page Bottom Length margin Area Set relative vertical print position Code: ESC (v Ln Hn Lp Hp Compatibility: EPSON LQ Function: Execute relative vertical print position change by the basic unit stipulated by the unit...
Page 336
(d) Range: Ln 0 ~ 255 (FFH) Hn 0 -255 (FFH) Makes MSB invalid. Lp 0 ~ 255 (FFH) Hp 0 ~ 255 (FFH) Makes MSB invalid. Absolute position = ( Lp + Hp × 256 ) × basic unit (e) Additional details Depending on the value of the remainder when the current position value is subtracted from the absolute position value set as the TOF position, the printer...
Character Set Copies ROM CG to RAM CG Code: ESC: 00 n 00 Compatibility: EPSON LQ Function: Upon receipt of this command, the printer copies the ROM CG to user defined characters set in RAM. Range n = 00H, 30H, 80H, B0H Roman n = 01H, 31H, 81H, B1H Swiss...
Page 338
(d) Range: • m selects the available area in RAM. Only available area is m = 0 or 128. • Range n1 = 00 – 127 Starting character location n2 = n1 – 127 Ending character location • Character width limits are shown as follows: d0 : leading space width d1 : character width d2 : trailing space width...
Page 339
3m-2 b0~b7 valid as DLL Data 3m-1 b0~b7 valid as DLL Data b0~b7 valid as DLL Data d0 + d1 + d2 = cell matrix width • At loading time if printer is in Super/Sub mode then only two bytes of data are required for each column.
Page 340
Foreign character set select (a) Code: ESC R n (b) Compatibility: EPSON LQ Function: Sets international character sets and code page. “n” means as shown below. (d) Range: Language Code page American Mutilingual 850 French Norway 865 German Portugal British Canada French Danish I BRASCII...
Page 341
Select international character set Code: ESC ! n Compatibility: IBM Function: The foreign language character set designated by n is substituted for the standard characters by receiving this command. Range: n(H) n(H) Foreign Language American Slashed Zero American British German French Swedish Danish...
Page 342
Enable upper ASCII characters (a) Code: ESC 6 (b) Compatibility: EPSON LQ Function: To assign characters to the upper ASCII region 80H — 9FH. (d) Additional details: • 80H — 9FH will not be treated as control codes. Characters are assigned. •...
Page 343
Print data as Characters Code: ESC ( ^ Ln Hn data. Compatibility: EPSON LQ Function: Makes all data ranging from 01 to FF to be treated as Character data. Range: n1 and n2 are equal to the total number of characters. total count = n1 + (n2 * 256) Select character set I Code: ESC 7...
Page 344
• Hcp and Lcp designate ID No. of code page. 0~255 0~255 ID No.= (Hcp × 256 + Lcp) The kinds of ID No. and code page are as listed below: ID No., (Hcp, Lcp) Code page Multilingual Portugal Canada French Norway 1040 BRASCII...
Page 345
Set Unit Code: ESC ( U Ln Hn Pn Compatibility: EPSON Fx Function: Sets the Unit to Pn/3600 inch. Range: • Range of Ln and Hn Ln : 0 ~ 255 Hn : 0 ~ 255 Data quantity = Ln + (Hn*256) •...
Page 346
Select font by pitch and point (a) Code: ESC X Pn Lp Hp (b) Compatibility: EPSON LQ Function: Puts the printer in multipoint (scalable font) mode, and selects the pitch and point attributes of the font. (d) Range: = 0 ~ 255 (FFH) Lp, Hp = 0 ~ 255 (FFH) Pitch: Pn = 0H...
Page 347
Range: Pno … 0 ~ 255 (FFH) Makes MSB invalid. Pno < 2 … Makes this command invalid. Pno > 3 … Upon receiving Lp and Hp, Pno-3 bytes data is discarded. Pn … 0 ~ 255 (FFH) Makes MSB invalid. Lp, Hp 0 ~ 255 (FFH) •...
Font Description Select character font (a) Code: ESC x n (b) Compatibility: EPSON LQ Function: Selects the print quality mode to be used. (d) Range: • Range n = 01H, 31H, 81, B1H selects LQ character font. Range n = 00H, 30H, 80H, B0H selects Utility character font. (e) Out of range: •...
Page 350
Additional details: • Proportional printing is only available in LQ print quality. • Previous print mode (print quality and pitch) will be maintained and restored on reset proportional spacing. • Proportional spacing can also be designed by ESC ! n, the master select command. Proportional spacing set by ESC ! n can be reset by ESC p 0.
Page 351
Set elite character pitch (12 CPI) Code: ESC M Compatibility: EPSON LQ Function: • Change character pitch to 12 CPI Related functions. • Factory default setting is 10 CPI. • This command does not cancel double width. • Pitch change command is allowed at any point in the line. •...
Page 352
Set compressed character pitch (17.1 CPI or 20 CPI) (a) Code: SI (b) Compatibility: EPSON LQ/IBM Function The character pitch becomes 17.1 CPI or 20 CPI after receiving this command. EPSON 17.1 CPI = compressed + 10 CPI 20 CPI = compressed + 12 CPI If this command is received during active CPI as listed below, either associated CPI is selected according to setting of menu item “SI Select (10 CPI)”...
Page 353
Reset compressed character pitch Code: DC2 Compatibility: EPSON LQ Function: • Upon receipt of this code, the printer turns Compressed mode off. • Pitch will reset to 10 CPI when in 17.1 CPI. • Pitch will reset to 12 CPI when in 20 CPI. Set character spacing Code: ESC SP n Compatibility: EPSON LQ...
Page 354
Set italics character (a) Code: ESC % G (b) Compatibility: IBM Function: • Prints italics characters by receiving this command. • Regarding the details by which italics characters are printed by this command, refer to a combination of the print mode. (See attachment.) (d) Additional details: •...
Page 355
• The font ID designated by Hfid and Lfid sets a font typeface. Hfid, Lfid = Hfid × 256 + Lfid Valid range 01H ≤ Hfid, Lfid ≤ FFFFH Typeface setting is invalid if Hfid, Lfid = OOH. Setting is also invalid if font ID not listed in the table on next page is set.
Page 356
• Hfwd and Lfwd set character pitch (CPI). Hfwd, Lfwd = Hfwd × 256 + Lfwd Character pitch = Hfwd, Lfwd inch (unit: 1/1440”) 1440 Valid range 01HHfwd, LfwdFFFFH The character pitch does not change if Hfwd, Lfwd = 0H. Hfwd-Lfwd Spec.
Text Print Features Set/reset underlining Code: ESC — n Compatibility: EPSON LQ/IBM Function: Starts/stops underlining of all text, including spaces and punctuations, received after this command. Range: • Range n: EPSON ACTION 01H, 31H, 81H, B1H SET underline 00H, 30H, 80H, B0H EVEN RESET underline Out of range:...
Page 358
Reset super/subscript (a) Code: ESC T (b) Compatibility: EPSON LQ/IBM Function: • Cancels the Super/Subscript printing command. Set emphasized print mode (a) Code: ESC E (b) Compatibility: EPSON LQ/IBM Function: Characters will be printed in Horizontally shifted double dot print mode. (d) Additional details: •...
Page 359
Reset double strike mode Code: ESC H Compatibility: EPSON LQ/IBM Function: • Double strike print mode is canceled on receiving this command. Related functions: • Enhanced mode set by ESC ! n will be reset by ESC H. (Epson mode) Set double or expanded characters Code: ESC W n Compatibility: EPSON LQ/IBM...
Page 360
Set immediate double width characters (a) Code: ESC SO (b) Compatibility: EPSON LQ Function: • Characters received after this command will be printed in double width for the length of the line. (d) Additional details: • The double width characters are only printed for the length of one line; then the printer returns to the previous mode.
Page 361
Range: n = 00H, 30H, 80H, B0H RESET double height printing. 01H, 31H, 81H, B1H SET double height printing. Additional details: • This command is active to all characters. • Double height can be mixed with standard height characters in the same line. The double height characters will be printed twice as high from the same base line as the standard height.
Page 362
Select character style (a) Code: ESC q n (b) Compatibility: EPSON LQ/IBM Function: • Characters will be printed with the style defined by the variable n. These styles include outline and shadow print. (d) Range: • n = 00H, 30H, 80H, B0H SET Normal style.
Page 363
• D2 … Selects score attributes. 00 : Cancels score mode set by D1. 01 : Selects a single line for score set by D1. 10 : Selects double lines for score set by D1. 11 : Selects double lines for score set by D1.
Graphics Mode Enter/exist bit image graphics (a) Code: ESC * m n1 n2 <graphics data> (b) Compatibility: EPSON LQ/IBM AGM Function: Selects the graphics mode specified by m, and prints graphics data. Not valid in IBM PPR mode. (d) Range: •...
Page 365
• Pin numbering system. 8 Pin-EPSON/ Pin # 24 Pins IBM PPR IBM AGM Top pin Bottom pin 24 • The decimal value which is used for the data elements can be calculated by adding the equivalent decimal values of the dots that need to be printed. EXAMPLE: X : print O : not print...
Page 366
Single density graphics (a) Code: ESC K n1 n2 <graphics data> (b) Compatibility: EPSON LQ/IBM Function: • Selects normal speed single density graphics (60 DPI horizontal) for the number of columns specified by n1 and n2. (d) Range: • Range n1 = 0—255 Remainder of dot columns n2 = 0—255 Number of groups of 255 dot columns...
Page 367
Additional details: • The values for n1, n2 can be calculated as follows: n = total number of dots to be printed. n2 = INT (n/256) n1 = n—n2 × 256) Related functions: • This command is equivalent to the 8 pin graphic mode command specified by ESC* “1”...
Page 368
Set quadruple density graphics (a) Code: ESC Z n1 n2 <graphics data> (b) Compatibility: EPSON LQ/IBM Function: • Upon receipt of this code the printer switches to quadruple density graphics (240 DPI Horizontal) for the number of columns specified by n1 and n2. (d) Range: •...
Page 369
• n is decimal value. Mode Pins n HOR. DENS ML381 Turbo ML380 Turbo (dots/in.) Bytes/line Bytes/line Single density Double density 1632 HS Double density 1632 Quadruple density 3264 1920 CRT I 1088 CRT II 1224 Single density 816 *3 480*3 Double density 1632 *3...
Page 370
Select aspect ratio (a) Code: ESC n Pn (b) Compatibility: IBM PPR Function: • Sets vertical-to-horizontal ratio in density of bit image graphics. (d) Range: Pn = 0 – 1 Sets aspect ratio 5:6 in bit image graphics mode. Pn = 2 Sets aspect ratio 1:1 in bit image graphics mode.
Page 371
Print raster graphics Code: ESC . Pc Pv Ph Pm Ln Hn data Compatibility: EPSON LQ Function: Print input data in bit map in horizontal direction. Range: Pc … 0 - 1 (Makes MSB invalid.) Pv … 10, 20 Ph … 10, 20 Pm …...
Composite Commands Print mode select (a) Code: ESC ! n (b) Compatibility: EPSON LQ Function: Upon receipt of this command the printer selects one of the unique print mode combinations. (d) Range: br (r =0—7) of “n” Set Underline Reset Underline Set Italics Reset Italics Set Double Width...
General Control Printer initialization Code: ESC @ Compatibility: EPSON LQ Function: • Upon receipt of this code the printer will be initialized to all its menu default settings. This command is enabled or disabled by a Menu selection. Additional details: •...
Page 374
Set print suppress (a) Code: DC3 (b) Compatibility: EPSON LQ Function: • Upon receipt of this command the printer is placed in the inactive state. (d) Additional details: • All data is thrown away after receiving this code. • SEL/BUSY signal will not be changed by this command. Print suppress (a) Code: ESC Q n (b) Compatibility: IBM...
Page 375
Enable paper out sensor Code: ESC 9 Compatibility: EPSON LQ/IBM Function: • This command enables the printer function which detects whether less than about 1 inch of paper remains. Upon detection, the alarm lamp is lit and the printer is deselected.
Page 376
Select emulation (a) Code: ESC { n (b) Compatibility: EPSON LQ/IBM Function: This command allows the software developer to change the printer emulation to access the features that match this requirements. (d) Additional details: • This command is not documented for public use. •...
Page 377
Init = 04H Each mode of menu item A is cleared. Parm1 and Parm2 settings are set for each mode. Init = 05H Each mode of menu item A is cleared. Parm1 and Parm2 settings are set for each mode. Init = FEH Settings of menu item A are retained.
Page 378
(e) Additional details: • This command is active when menu item “Reset Inhibit” is set to “No” If “Yes”, this command is ignored. • If there is data that is not printed yet when this command is received, it is printed. In such a case, CR is executed but LF is not.
Page 379
Cut-Sheet Feeder — Dual-bin CSF bin select Code: ESCM EM n Compatibility: EPSON LQ/IBM Function: Selects a bin of dual-bin CSF. Range: n = 01H, 31H, 81H, B1H Selects bin 1. n = 02H, 32H, 82H, B2H Selects bin 2. Out of range: This command is ignored.
Barcode Select barcode (a) Code: ESC DLE A P1 N1 N2 N3 N4 N5 N6 N7 N8 (b) Compatibility: EPSON LQ/IBM Function: Selects the type of barcodes and sets its size. (d) Range: • P1 designates subsequent data quantity. (MSB is invalid) P1 = 0, 1, 3 This command is invalid.
Page 381
• N7 sets wide element to narrow element ratio. Wide-to-narrow ratio 2 : 1 2.5 : 1 3 : 1 3.5 : 1 4 : 1 4.5 : 1 5 : 1 N7 = 0 : Setting does not change. N7 ≥...
Page 382
(e) Additional details: • The number of characters (data) available with this command is as listed below: Barcode type Number of characters EAN8 EAN13 UPC-A UPC-E CODE39 1 ~ 50 Interleave 2 of 5 1 ~ 50 CODE128 (A, B, C) 1 ~ 50 Print postnet barcode data (a) Code: ESC DLE C P1 [DATA]...
Page 389
BARCODE 128 Code List Code type: A FNC3 FNC2 " SHIFT CODE C CODE B FNC4 & FNC1 Check digit < > – 124 / 40959201TX Rev.1...
Page 390
BARCODE 128 Code List Code type: B " & Check digit FNC3 FNC2 SHIFT CODE C < FNC 4 CODE A > FNC1 – → C o d e N o . 1 0 4 S t a r t c h a r a c t e r ( s e t B ) →...
Page 391
BARCODE 128 Code List Code type: C Check digit CODE B CODE A FNC1 → C o d e N o . 1 0 5 S t a r t c h a r a c t e r ( s e t C ) →...
APPENDIX A COMMAND SUMMARY a. Command Summary by Initiator ASCII Code Function Name Compatibility BACKSPACE EPSON LQ/IBM CANCEL CODE EPSON LQ/IBM CARRIAGE RETURN EPSON LQ/IBM RESET PRINT SUPPRESS MODE EPSON LQ/IBM RESET COMPRESSED CHARACTER PITCH EPSON LQ SET 10 CPI SET PRINT SUPPRESS EPSON LQ RESET IMMEDIATE DOUBLE WIDTH...
Page 394
ASCII Code Function Name Compatibility ESC EM I CUT SHEET FEEDERS SINGLE PAPER INSERT EPSON LQ/IBM ESC EM R CUT SHEET FEEDERS SINGLE PAPER EJECT EPSON LQ/IBM ESC F RESET EMPHASIZED PRINT MODE EPSON LQ/IBM ESC G SET ENHANCED/DOUBLE STRIKE PRINT MODE EPSON LQ/IBM ESC H RESET ENHANCED/DOUBLE STRIKE PRINT...
Page 395
ASCII Code Function Name Compatibility ESC p n SET/RESET PROPORTIONAL SPACING EPSON LQ ESC q n SELECT CHARACTER STYLE EPSON LQ ESC s n SET/RESET HALF SPEED PRINTING EPSON LQ ESC t n SELECT CHARACTER TABLE EPSON LQ ESC w n SET/RESET DOUBLE HEIGHT CHARACTERS EPSON LQ ESC x n...
Page 396
b. Command Summary by Function ASCII Code Function Name Compatibility AUTO JUSTIFICATION ESC a n EPSON LQ BACKSPACE EPSON LQ/IBM CANCEL CODE EPSON LQ/IBM CARRIAGE RETURN EPSON LQ/IBM CHARACTER DEFINITION ESC & m n1 n2 d0 d1 d2 EPSON LQ <DLL data>...
Page 397
ASCII Code Function Name Compatibility RESET ITALIC CHARACTERS ESC 5 EPSON LQ RESET ITALICS CHARACTERS ESC % H RESET PERFORATION AUTO SKIP ESC 0 EPSON LQ/IBM RESET PRINT SUPPRESS MODE EPSON LQ/IBM RESET SUPER/SUBSCRIPT ESC T EPSON LQ/IBM RESET TAB SETTINGS TO POWER-ON ESC R DEFAULT VALUES REVERSE LINE FEED...
Page 398
ASCII Code Function Name Compatibility SET/RESET AUTOMATIC LINEFEED ESC 5 n SET/RESET HALF SPEED PRINTING ESC s n EPSON LQ SET/RESET PROPORTIONAL SPACING ESC p n EPSON LQ SET/RESET PROPORTIONAL SPACING ESC P n SET/RESET UNDERLINING ESC — n EPSON LQ/IBM SET/RESET UNIDIRECTIONAL PRINTING ESC U n EPSON LQ/IBM...
Alarm Alarm Menu Quiet 10 CPI 12 CPI 15 CPI 17 CPI 20 CPI PROP Utility Prestige Orator Gothic Courier Paper End Paper Lever Paper Jam *1 Head Tmp. SPACE Tmp. *1 Paper Jan Paper jan ..LED Continuous ON Load jam .
Need help?
Do you have a question about the MICROLINE ML380 and is the answer not in the manual?
Questions and answers