ANSI® Programmer's Reference Manual
Total Page:16
File Type:pdf, Size:1020Kb
® ANSI® Programmer’s Reference Manual ANSI® Printers Programmer’s Reference Manual ® Trademark Acknowledgements 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 © 1998, 2012 Printronix, Inc. All rights reserved. Trademark Acknowledgements ANSI is a registered trademark of American National Standards Institute, Inc. Centronics is a registered trademark of Genicom Corporation. Dataproducts is a registered trademark of Dataproducts Corporation. Epson is a registered trademark of Seiko Epson Corporation. IBM and Proprinter are registered trademarks and PC-DOS is a trademark of International Business Machines Corporation. MS-DOS is a registered trademark of Microsoft Corporation. Printronix, IGP, PGL, LinePrinter Plus, and PSA are registered trademarks of Printronix, Inc. QMS is a registered trademark and Code V is a trademark of Quality Micro Systems, Inc. Table of Contents 1 Introduction........................................................... 9 About this Manual.................................................................................. 9 Audience ......................................................................................... 9 Warnings and Special Information .................................................. 9 Related Product Information .................................................................. 9 Software Features ................................................................................. 9 Installing Printer Emulations ................................................................ 10 Downloading Software through the Serial or Parallel Port ............ 11 Downloading Software through the Network Interface Card (NIC) 14 Downloading Optional Font Files to Flash Memory....................... 16 Flash Memory Message Guide ..................................................... 19 2 ANSI Emulation .................................................. 23 Overview.............................................................................................. 23 ANSI Emulation Default Settings................................................... 23 Configuring the ANSI Emulation .......................................................... 26 Control Codes ............................................................................... 26 Format for Control Code Descriptions........................................... 28 Control Codes Index ..................................................................... 30 Character Sets, International ........................................................ 31 Expanded Mode ............................................................................ 33 Forms Length, Top Margin, Bottom Margin................................... 34 Graphic Rendition ......................................................................... 35 Horizontal Position Absolute ......................................................... 36 Horizontal Position Backward........................................................ 36 Horizontal Positive Relative........................................................... 36 Horizontal/Vertical Position Absolute ............................................ 37 Line Spacing ................................................................................. 37 Margins, Left and Right ................................................................. 38 Private Mode, Disable ................................................................... 39 Private Mode, Enable.................................................................... 39 Proportional Print Mode ................................................................ 39 Resetting ....................................................................................... 40 Subscript ....................................................................................... 41 Superscript .................................................................................... 41 Tab, Clear ..................................................................................... 41 Table of Contents Tab Set, Multiple Horizontal .......................................................... 42 Terminate Loading of Data............................................................ 43 Vertical Position Absolute ............................................................. 43 Vertical Position Backward............................................................ 43 Vertical Position Relative .............................................................. 43 Vertical Tab Set............................................................................. 44 Graphics .............................................................................................. 45 Dot Patterns And Densities ........................................................... 45 Horizontal Format.......................................................................... 47 Vertical Format.............................................................................. 47 Other Graphics Considerations..................................................... 48 Dot Graphics ................................................................................. 48 Repeat Graphics Character .......................................................... 48 Select Graphics Mode................................................................... 49 Bar Codes............................................................................................ 50 Entering and Exiting Bar Codes .................................................... 50 Setting Bar Code Parameters ....................................................... 50 Human Readable Line (HRL)........................................................ 54 Spacing between Bar Codes......................................................... 54 Bar Code Readers ........................................................................ 55 Test Program ................................................................................ 56 Vertical Bar Codes ........................................................................ 56 Oversize Character Font Option .......................................................... 58 Entering and Exiting Oversize....................................................... 58 Selecting Size ............................................................................... 59 3 Vertical Page Formatting .................................... 61 Overview.............................................................................................. 61 Planning a Vertical Page Format......................................................... 61 VFU Characteristics ...................................................................... 62 Proprinter and Epson Vertical Tab Table............................................. 62 Executing Vertical Tabs ................................................................ 62 Vertical Tab Positions ................................................................... 62 P-Series EVFU .................................................................................... 64 Start Load Code - 1E or 6E Hex ................................................... 64 Channel Assignment ..................................................................... 64 End Load - 1F or 6F Hex............................................................... 65 Using the EVFU ............................................................................ 65 Clearing the EVFU Memory .......................................................... 67 Relative Line Slewing.................................................................... 67 Table of Contents ANSI EVFU.......................................................................................... 68 Loading the Table ......................................................................... 69 The Default.................................................................................... 71 The Skip to Channel Command .................................................... 72 Downloading the EVFU (Using The PI Line)................................. 73 A Standard ASCII Character Set ........................... 77 B Conversion Tables ............................................. 79 C Contact Information............................................ 87 Printronix Customer Support Center.................................................... 87 Printronix Supplies Department ........................................................... 88 Corporate Offices................................................................................. 88 D Glossary............................................................. 89 Table of Contents 1 Introduction About this Manual This manual lists the ANSI®