LG31 Printer User's Guide

LG31 Printer User's Guide

LG31 Printer User’s Guide Order Number EK-LG31E-UG-002 Digital Equipment Corporation 1st Edition, November, 1987 2nd Edition, June, 1989 The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by Digital Equipment Corporation or its affiliated companies. © Digital Equipment Corporation. 1987. All rights reserved. Printed in U.S.A. The READER’S COMMENTS form on the last page of this document requests the user’s critical evaluation to assist in preparing future documentation. The following are trademarks of Digital Equipment Corporation: DEC DIBOL UNIBUS DEC/CMS EduSystem VAX DEC/MMS IAS VAXcluster DECnet MASSBUS VMS DECsystem–10 PDP VT DECSYSTEM–20 PDT DECUS RSTS DECwriter RSX dt This document was prepared using VAX DOCUMENT, Version 1.1 Contents Preface xiii Chapter 1 LG31 FEATURES 1.1 Overview ............................................1–1 1.2 General Description ....................................1–1 1.3 Theory of Operation ....................................1–3 1.3.1 Serial Interface . ..............................1–3 1.3.2 Control Panel ..................................1–4 1.3.3 Printer Mechanism .............................1–4 1.3.4 Control Electronics ..............................1–4 1.3.5 Power Supply ..................................1–4 1.4 Specifications . ......................................1–5 1.4.1 LG31 Printer Specifications . ......................1–5 1.4.2 Recommended Paper Weights .....................1–7 1.4.3 Print Speeds ..................................1–7 1.4.4 Resident Fonts . ..............................1–8 1.4.5 Resident Character Sets ..........................1–8 iii Chapter 2 PRINTER CONTROL STRAP CONFIGURATION 2.1 Printer Control Straps ..................................2–1 2.1.1 Configuration Status Printout .....................2–1 2.1.2 Printer Control Straps ...........................2–3 2.1.2.1 Exit (0) . ..............................2–3 2.1.2.2 Printer Straps A or Printer Straps B ..........2–3 2.1.2.3 Exit ...................................2–5 2.2 Printer Control Strap Descriptions . ......................2–5 Chapter 3 INTERFACE CONFIGURATION 3.1 Introduction ..........................................3–1 3.2 Serial Interface . ......................................3–1 3.2.1 Serial RS-232-C Connector . ......................3–3 3.2.2 Pin Assignments and Signal Descriptions ............3–3 3.2.3 Serial Data Format .............................3–4 3.3 Input Buffer Control ...................................3–5 3.3.1 XON/XOFF Protocol .............................3–5 3.3.2 Input Buffer Processing ..........................3–6 3.4 Interface Control ......................................3–7 3.4.1 Configuration Status Printout .....................3–7 3.4.2 Interface Type Control ...........................3–9 3.4.2.1 Exit ...................................3–9 3.4.2.2 Interface Type ...........................3–9 3.4.2.3 Interface Strap ..........................3–10 3.4.2.4 Speed (Baud Rate) . .....................3–12 3.4.2.5 Parity (Select 5) .........................3–13 3.4.2.6 Exit ..................................3–14 3.5 Interface Control Strap Descriptions . .....................3–14 iv Chapter 4 CHARACTER PROCESSING 4.1 General .............................................4–1 4.2 Coding Standards ......................................4–1 4.3 7-Bit and 8-Bit Environments ............................4–1 4.4 Character Set Mapping . ..............................4–5 4.5 7-bit Control Characters (C0) .............................4–8 4.5.1 Bell <BEL> ...................................4–8 4.5.2 Backspace <BS> . ..............................4–8 4.5.3 Horizontal Tab <HT> ............................4–8 4.5.4 Line Feed <LF> . ..............................4–9 4.5.5 Vertical Tab <VT> ..............................4–9 4.5.6 Form Feed <FF> . .............................4–10 4.5.7 Carriage Return <CR> ..........................4–10 4.5.8 Shift Out <SO> . .............................4–10 4.5.9 Shift In <SI> .................................4–10 4.5.10 Device Control 1/XON <DC1> ....................4–10 4.5.11 Device Control 3/XOFF <DC3> ...................4–11 4.5.12 CANcel <CAN> . .............................4–11 4.5.13 SUBstitute <SUB> .............................4–11 4.5.14 Escape <ESC> . .............................4–12 4.6 8-bit Control Codes and Equivalent Escape Sequences ........4–12 4.6.1 Forward INDex <IND> .........................4–12 4.6.2 Reverse Index <RI> ............................4–12 4.6.3 Horizontal Tab Set <HTS> . .....................4–13 4.6.4 Vertical Tab Set <VTS> .........................4–13 4.6.5 Partial Line Down <PLD> . .....................4–13 4.6.6 Partial Line Up <PLU> .........................4–13 4.6.7 Next Line <NEL> .............................4–14 4.6.8 Single Shift 2 <SS2> ...........................4–14 4.6.9 Single Shift 3 <SS3> ...........................4–14 4.6.10 Device Control String Introducer <DCS> ............4–15 4.6.11 Control Sequence Introducer <CSI> ................4–15 4.6.12 String Terminator <ST> .........................4–15 4.6.13 Operating System Command <OCS>, Privacy Message <PM>, and Application Program Command <APC> ....4–15 v Chapter 5 TEXT MODE ESCAPE AND CONTROL SEQUENCES 5.1 General .............................................5–1 5.2 Format ..............................................5–1 5.2.1 Escape Sequence Format . ......................5–1 5.2.2 Control Sequence Format . ......................5–3 5.3 Error Recovery . ......................................5–5 5.4 Text Mode Sequence Descriptions . ......................5–7 5.4.1 Select Character Set (SCS) . ......................5–7 5.4.2 Assigning Active Character Sets Using Single and Locking Shifts . ......................................5–7 5.4.3 Selecting Fonts and Font Attributes (SGR) ..........5–10 5.4.4 Graphic Size Modification (GSM)/Character Expansion ...................................5–11 5.4.5 Horizontal and Vertical Character Spacing ..........5–12 5.4.5.1 Set Horizontal Pitch (DECSHORP) ..........5–12 5.4.5.2 Vertical Pitch (DECVERP) .................5–13 5.4.6 Print Area Parameters ..........................5–14 5.4.6.1 Set Lines Per Physical Page (DECSLPP) . ....5–14 5.4.6.2 Set Top and Bottom Margins (DECSTBM) . ....5–15 5.4.6.3 Set Left and Right Margins (DECSLRM) . ....5–16 5.4.7 Active Column and Active Line Commands ..........5–17 5.4.7.1 Set Forward INDex (IND) .................5–17 5.4.7.2 Set Reverse Index (RI) ....................5–17 5.4.7.3 NExt Line <NEL> . .....................5–18 5.4.7.4 Horizontal Position Absolute (HPA) ..........5–18 5.4.7.5 Set Horizontal Position Relative (HPR) . ....5–18 5.4.7.6 Set Horizontal Position Backward (HPB) . ....5–19 5.4.7.7 Vertical Position Absolute (VPA) ............5–19 5.4.7.8 Vertical Position Relative (VPR) . ............5–20 5.4.7.9 Set Vertical Position Backward (VPB) ........5–20 5.4.7.10 CUrsor Up (CUU) . .....................5–21 5.4.7.11 Partial Line Down (PLD) ..................5–21 5.4.7.12 Partial Line Up (PLU) ....................5–21 vi 5.4.8 Horizontal and Vertical Tab Commands . ............5–22 5.4.8.1 Horizontal Tab Stop (HTS) .................5–22 5.4.8.2 Set Horizontal Tab Stops (DECSHTS) ........5–22 5.4.8.3 Vertical Tab Set (VTS) ....................5–23 5.4.8.4 Set Vertical Tab Stops (DECSVTS) ..........5–23 5.4.8.5 Tabulation Clear (TBC) ...................5–24 5.4.9 Set/Reset Controls .............................5–25 5.4.9.1 Autowrap Mode (DECAWM) . ............5–25 5.4.9.2 Carriage Return/New Line Mode (DECCRNLM) ..........................5–26 5.4.9.3 Line Feed/New Line (LNM) Mode ...........5–26 5.4.10 Vertical Forms Unit (VFU) . .....................5–27 5.4.10.1 Load Vertical Format Unit (VFU) ...........5–27 5.4.10.2 End VFU Load ..........................5–27 5.4.10.3 VFU Channel Command ..................5–28 5.4.10.4 How to Create and Load the VFU Table . ....5–29 Chapter 6 PRINTER ID, STATUS, AND RESET SEQUENCES 6.1 General .............................................6–1 6.2 Printer ID Sequences ...................................6–1 6.2.1 Send Device Attributes (DA) ......................6–1 6.3 Device Status Request and Report Sequences (DSR) ...........6–2 6.3.1 Device Status Request (DSR) ......................6–2 6.3.2 Device Status Report (DSR) . ......................6–3 6.4 Printer Reset Control Sequences ..........................6–5 6.4.1 Reset to Initial State (RIS) . ......................6–5 6.4.2 Soft Terminal Reset (DECSTR) ....................6–6 vii Chapter 7 SIXEL GRAPHICS 7.1 General .............................................7–1 7.2 Sixel Protocol . ......................................7–2 7.2.1 String Introducer . ..............................7–2 7.2.2 Protocol Selector . ..............................7–3 7.2.2.1 Macro Parameter (Pn1) ....................7–4 7.2.2.2 Background Select (Pn2) ...................7–4 7.2.2.3 Horizontal Grid Size (Pn3) ..................7–5 7.2.2.4 Additional Parameters (Pn?) . .............7–6 7.2.2.5 Final Character (q) . ......................7–6 7.2.3 Picture

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    183 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us