LG Programmer’S Reference Manual
Total Page:16
File Type:pdf, Size:1020Kb
LG Programmer’s Reference Manual Line Matrix Series Printers 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. Ethernet is a trademark of Xerox Corporation. IBM is a registered trademark of International Business Machines Corporation. IGP is a registered trademark of Printronix, LLC. Intelligent Printer Data Stream and IPDS are trademarks of International Business Machines Corporation. LinePrinter Plus is a registered trademark of Printronix, LLC. 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, LLC. PrintNet is a registered trademark of Printronix, LLC. Printronix is a registered trademark of Printronix, LLC. PSA is a trademark of Printronix, LLC. QMS is a registered trademark of Quality Micro Systems. RibbonMinder is a trademark of Printronix, LLC. Torx is a registered trademark of Camcar/Textron Inc. Utica is a registered trademark of Cooper Power Tools. Printronix, LLC. 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, LLC. 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, LLC. COPYRIGHT 2000, 2012, PRINTRONIX, LLC. All rights reserved. Table of Contents Introduction .................................................................... 9 About This Manual ............................................................................................... 9 How to Use This Manual ............................................................................... 9 The DEC LG Emulation Line Matrix Printer....................................................... 10 Printer Features ................................................................................................. 10 Printer Emulations ....................................................................................... 10 Text Formatting and Language Options ..................................................... 10 Bar Code Formatting ................................................................................... 11 Diagnostics.................................................................................................. 11 Printing Speed ................................................................................................... 11 LG Emulation Control Codes ....................................... 13 LG Emulation ..................................................................................................... 13 Bar Code Printing ........................................................................................ 13 Print Mode and Plot Mode ................................................................................. 13 Optimizing Print Mode ....................................................................................... 14 Optimizing Plot Mode ........................................................................................ 14 Character Printing .............................................................................................. 14 DEC Multinational Character Set ...................................................................... 15 Selecting Graphic Character Sets ..................................................................... 16 Control Code Types ........................................................................................... 17 Special Parsing Requirements .......................................................................... 24 Control Code Description Format ...................................................................... 25 Control Code Index ............................................................................................ 25 Set/Reset Mode ................................................................................................. 29 Line Feed/New Line Mode (LNM) ..................................................................... 30 Carriage Return/New Line Mode (DECCRNLM) ............................................... 31 Autowrap Mode (DECAWM) ............................................................................. 31 Pitch Select Mode (DECPSM) ........................................................................... 31 Set Page Orientation (DECSPO) ...................................................................... 32 Position Unit Mode (PUM) ................................................................................. 32 Force Plot Mode (DECFPM) ............................................................................. 33 Select Size Unit (SSU) ...................................................................................... 34 Graphic Size Selection (GSS) ........................................................................... 34 Graphic Size Modification (GSM) ...................................................................... 35 Setting Plot Density ........................................................................................... 35 Set Graphics Density (DECSGD) ...................................................................... 35 Spacing .............................................................................................................. 37 Spacing Pitch Increment (SPI) .......................................................................... 38 Select Vertical (Line) Spacing (SVS) ................................................................. 39 Set Vertical Pitch (DECVERP) .......................................................................... 39 Select Horizontal (Character) Spacing (SHS) ................................................... 40 Set Horizontal Pitch (DECSHORP) ................................................................... 40 Vertical Format .................................................................................................. 41 Load Vertical Format Unit (VFU) ....................................................................... 42 End Load (VFU) ................................................................................................. 42 Channel Command ............................................................................................ 43 Forms................................................................................................................. 44 Loading Forms Sequence (DECLFM) ............................................................... 44 Form Types ....................................................................................................... 46 Start Forms Sequence (DECIFM) ..................................................................... 47 Terminate Forms Sequence (DECTFM) ........................................................... 47 Delete Forms Sequence (DECDFM) ................................................................. 48 Forms Considerations ....................................................................................... 48 Request Forms Status (DECFMSR) ................................................................. 49 Form Status Report (DECRFMS) ...................................................................... 49 Logos ................................................................................................................. 49 Loading Logos Sequence (DECLLG) ................................................................ 49 Select Logo Sequence (DECILG) ..................................................................... 50 Deleting Logos Sequence (DECDLG) ............................................................... 51 Request Logo Status (DECRLGS) .................................................................... 51 Logo Status Report (DECLGSR) ....................................................................... 51 Page Print Area and Margins ............................................................................ 52 Changing the Print Area .................................................................................... 53 Page Format Select (PFS) ................................................................................ 54 Set Lines Per Physical Page (DECSLPP) ......................................................... 58 Set Top and Bottom Margins (DECSTBM)........................................................ 58 Set Left and Right Margins (DECSLRM) ........................................................... 59 Active Column and Active Line (Cursor Motion) ............................................... 60 Forward Index (IND) .......................................................................................... 60 Reverse Index (RI) ............................................................................................ 60 Next Line (NEL) ................................................................................................