Line Matrix Printers LG Programmer's Reference Manual
Total Page:16
File Type:pdf, Size:1020Kb
Line Matrix Printers LG Programmer's Reference Manual Line Matrix Printers LG Programmer's Reference Manual Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Printronix, Inc. shall not be held responsible for errors contained herein or any omissions from this material or for any damages, whether direct, indirect, incidental or consequential, in connection with the furnishing, distribution, performance or use of this material. The information in this manual is subject to change without notice. This document contains proprietary information protected by copyright. No part of this document may be reproduced, copied, translated or incorporated in any other material in any form or by any means, whether manual, graphic, electronic, mechanical or otherwise, without the prior written consent of Printronix, Inc. COPYRIGHT 2000, 2012, PRINTRONIX, INC. All rights reserved. Trademark Acknowledgements ANSI is a registered trademark of American National Standards Institute, Inc. Code V is a trademark of Quality Micro Systems. Chatillon is a trademark of John Chatillon & Sons, Inc. ENERGY STAR® is a registered trademark of the United States Environmental Protection Agency. As an ENERGY STAR® Partner, Printronix has determined that this product meets the ENERGY STAR® guidelines for energy efficiency. Ethernet is a trademark of Xerox Corporation. IBM is a registered trademark of International Business Machines Corporation. IGP is a registered trademark of Printronix, Inc. Intelligent Printer Data Stream and IPDS are trademarks of International Business Machines Corporation. LinePrinter Plus is a registered trademark of Printronix, Inc. MS-DOS is a registered trademark of Microsoft Corporation. PC-DOS is a trademark of International Business Machines Corporation. PGL is a registered trademark of Printronix, Inc. PrintNet is a registered trademark of Printronix, Inc. Printronix is a registered trademark of Printronix, Inc. PSA is a trademark of Printronix, Inc. QMS is a registered trademark of Quality Micro Systems. RibbonMinder is a trademark of Printronix, Inc. SureStak is a trademark of Printronix, Inc. Thermaline is a registered trademark of Printronix, Inc. Torx is a registered trademark of Camcar/Textron Inc. Utica is a registered trademark of Cooper Power Tools. Table of Contents 1 Introduction......................................................... 13 About This Manual............................................................................... 13 How to Use This Manual ............................................................... 13 The LGplus Line Matrix Printer ............................................................ 14 Printer Features ................................................................................... 15 Printer Emulations......................................................................... 15 Text Formatting and Language Options........................................ 15 Bar Code Formatting.................................................................... 16 Diagnostics.................................................................................... 16 Printing Speed ..................................................................................... 16 2 LG Emulation Control Codes.............................. 17 LG Emulation ....................................................................................... 17 Bar Code Printing .............................................................................. 17 Print Mode and Plot Mode ................................................................... 18 Optimizing Print Mode ......................................................................... 19 Optimizing Plot Mode........................................................................... 19 Character Printing................................................................................ 19 DEC Multinational Character Set......................................................... 21 Selecting Graphic Character Sets ....................................................... 22 Control Code Types ............................................................................ 23 Special Parsing Requirements ........................................................... 32 Control Code Description Format ....................................................... 34 Control Code Index.............................................................................. 35 Set/Reset Mode ................................................................................. 40 Line Feed/New Line Mode (LNM) ...................................................... 41 Carriage Return/New Line Mode (DECCRNLM) ................................. 42 Autowrap Mode (DECAWM) ............................................................... 43 Pitch Select Mode (DECPSM) ........................................................... 44 Set Page Orientation (DECSPO) ....................................................... 45 Position Unit Mode (PUM) ................................................................. 46 Force Plot Mode (DECFPM) .............................................................. 47 Select Size Unit (SSU) ....................................................................... 48 Graphic Size Selection (GSS) ............................................................ 49 Graphic Size Modification (GSM) ................................................... 50 Setting Plot Density .......................................................................... 51 Table of Contents Set Graphics Density (DECSGD) .................................................. 52 Spacing .............................................................................................. 54 Spacing Pitch Increment (SPI) ............................................................ 55 Select Vertical (Line) Spacing (SVS) ................................................. 57 Set Vertical Pitch (DECVERP) ........................................................... 58 Select Horizontal (Character) Spacing (SHS) ..................................... 59 Set Horizontal Pitch (DECSHORP) ................................................... 60 Vertical Format .................................................................................. 61 Load Vertical Format Unit (VFU) ..................................................... 62 End Load (VFU) ............................................................................... 63 Channel Command ............................................................................. 64 Forms .................................................................................................. 66 Loading Forms Sequence (DECLFM) ................................................. 67 Form Types ........................................................................................ 71 Start Forms Sequence (DECIFM) ...................................................... 72 Terminate Forms Sequence (DECTFM) ............................................ 73 Delete Forms Sequence (DECDFM) ................................................. 73 Forms Considerations.......................................................................... 74 Request Forms Status (DECFMSR) .................................................. 75 Form Status Report (DECRFMS) ...................................................... 75 Logos................................................................................................... 76 Loading Logos Sequence (DECLLG) ................................................ 76 Select Logo Sequence (DECILG) ...................................................... 78 Deleting Logos Sequence (DECDLG) ............................................... 78 Request Logo Status (DECRLGS) .................................................... 79 Logo Status Report (DECLGSR) ....................................................... 79 Page Print Area and Margins ............................................................. 80 Changing the Print Area .................................................................... 81 Page Format Select (PFS)................................................................... 82 Set Lines Per Physical Page (DECSLPP) ......................................... 86 Set Top and Bottom Margins (DECSTBM) ........................................ 87 Set Left and Right Margins (DECSLRM) ........................................... 88 Active Column and Active Line (Cursor Motion) ................................ 89 Forward Index (IND) .......................................................................... 89 Reverse Index (RI) ............................................................................. 90 Next Line (NEL) ................................................................................. 90 Horizontal Position Absolute (HPA) ................................................... 91 Horizontal Position Relative (HPR) .................................................... 91 Horizontal Position Backward (HPB) ................................................. 92 Vertical Position Absolute (VPA) ....................................................... 92 Vertical Position Relative (VPR) ........................................................ 93 Vertical Position Backward (VPB) ...................................................... 93 Table of Contents Cursor