The text of a manual · part 1 of 16
PcOS Series 150 Receipt/Validation/Journal Printers Programmer's Guide, pages 1 to 10
Pages 1 to 10 of 151
The original document is the PDF (746 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Ithaca Model 151, Ithaca Model 153 and Ithaca Model 152
Page 1
PcOS SERIES 150
Receipt/Validation/Journal Printers
PROGRAMMER'S GUIDE Rev G
PN: 100-7959 12/14/99
Page 2
Page 3
Programmer’s Guide
PcOS Series 150
Change History
Change History Rev. G Added Telpar emulation Added USB description Added Redefine Character Set and Euro Character Commands Updated Command Summary Tables
Rev. F Removed redundant codes on page 82 Added Option 1: Epson emulation on page 90 Added Line Feed Before Cut to page 92 Added SSD Signal to page 96 Added Epson/Axiohm and STAR cash drawer connectors on page 118 Changed Code 3 of 9 to Code 39 Rev. E Reformatted entire document Corrected miscellaneous spelling and grammar mistakes Changed RS1284 to IEEE 1284 Rev. D Update for Firmware Rev 1.20 Added NCR2567 emulation commands Rev. C Update Added section on parallel-port PnP Added information about the web site Added section on Star emulation Removed all references to the cover (The Series 150 Printer does not have a switch on the cover.) Added trademarks for OKIDATA and Star Added Code 93 to bar code section Added bar code justification commands Rev. B Update Corrected physical specifications Corrected warranty information Rev. A
12/14/99
Initial Release
Rev G
Page i
Page 4
Disclaimer
PcOS Series 150
Programmer’s Guide
Disclaimer Information in this publication is subject to change without notice. However, as product improvements become available, Ithaca Peripherals will make every effort to provide updated information for the products described in this publication.
Copyright Copyright 1997-1999 Ithaca Peripherals. All rights reserved. December 1999 Printed in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, mechanical, photocopying, recording, or otherwise, without the prior written permission of Ithaca Peripherals.
Trademarks PcOS is a registered trademark of Ithaca Peripherals. Ithaca Peripherals is a Transact Technologies Incorporated Company. IBM is a registered trademark of the International Business Machines Corporation. Epson is a registered trademark of Seiko Epson Corporation. OKIDATA and Microline are registered trademarks of OKI Electric Industry Co., Ltd. Star is a registered trademark of Star Micronics Co., Ltd. Microsoft is a registered trademark of Microsoft Corporation. Windows, Windows NT, and Plug and Play are trademarks of Microsoft Corporation.
Federal Communications Commission Radio Frequency Interference Statement The Series 150 Printe complies with the limits for a Class A computing device in accordance with the specifications in Part 15 of FCC rules which are designed to minimize radio frequency interference during installation; however, there is no guarantee that radio or television interference will not occur during a particular installation. If this equipment does cause interference to radio or television reception, which can be determined by turning the equipment off and on while the radio or television is on, the user is encouraged to try to correct the interference by one or more of the following measures: • • •
Reorient the radio or television receiving antenna. Relocate the printer with respect to the receiver. Plug the printer and receiver into different outlets.
The user may need to consult their dealer or an experienced radio/television technician for additional suggestions. The user may find the following booklet prepared by the Federal Communications Commission helpful: How to Identify and Resolve Radio/TV Interference Problems. The booklet is available from the United States Government Printing Office, Washington, DC 20402. Ask for stock number 004-000-00345-4.
Page ii
Rev G
12/14/99
Page 5
Programmer’s Guide
PcOS Series 150
Table of Contents
Table of Contents Overview of the Series 150 Printer ............................................................................................................1 Warranty Information..................................................................................................................1 Warranty Options ..........................................................................................................1 Service Information .......................................................................................................1 What is in this book? ...................................................................................................................1 Who should read this book? ...........................................................................................1 What does it cover?........................................................................................................1 Where can you find more information? ..........................................................................2 Contacting Ithaca Peripherals ........................................................................................2 General Description ..................................................................................................................................3 Series 150 Models .......................................................................................................................3 Standard Features........................................................................................................................3 Model 151: Receipt Printer..........................................................................................................4 Model 152: Receipt/Journal Printer .............................................................................................4 Model 153: Receipt/Journal/Validation Printer ............................................................................4 Model 154: Receipt/Validation Printer.........................................................................................4 General Specifications...............................................................................................................................5 Printing Specifications.................................................................................................................5 Physical Specifications ................................................................................................................8 Dimensions....................................................................................................................8 Weight...........................................................................................................................8 Electrical Characteristics .............................................................................................................8 Self-powered AC............................................................................................................8 Interface Specifications ..................................................................................................9 Media Specifications ...................................................................................................................9 Ribbon ...........................................................................................................................9 Receipt Paper.................................................................................................................9 Receipt/Journal Paper ..................................................................................................10 Printable Area ...........................................................................................................................10 Receipt Printing...........................................................................................................10 Validation Forms Printing ...........................................................................................10 Validation - Top Insertion............................................................................................11 Validation - Left-side Insertion ....................................................................................11 Control Codes Overview .........................................................................................................................12 Nomenclature ............................................................................................................................12 Standard Emulation .....................................................................................................13 IPCL Codes .................................................................................................................13 EPOS Emulation..........................................................................................................13 Microline Emulation....................................................................................................13 Star Emulation.............................................................................................................13 NCR2567 Emulation....................................................................................................14 Telpar Emulation.........................................................................................................14 Application Development ..........................................................................................................14 Tables and Charts......................................................................................................................14 Printer Control Codes..............................................................................................................................15 Print/Paper Motion ....................................................................................................................15 Low-level Paper Motion Control ..................................................................................15 Horizontal Motion Control...........................................................................................16 Vertical Motion Control ............................................................................................................18 Character Font...........................................................................................................................22
12/14/99
Rev G
Page iii
Page 6
Table of Contents
PcOS Series 150
Programmer's Guide
International Character Sets and Code Pages .............................................................................24 Character Print Control .............................................................................................................30 Character Pitch..........................................................................................................................31 Character Attribute Commands .................................................................................................33 Print Rotation Commands .........................................................................................................40 Graphic Mode ...........................................................................................................................45 Standard APA Graphics...............................................................................................45 Bar codes...................................................................................................................................48 Validation Operation ...................................................................................................52 Validation Operation Control.......................................................................................53 Miscellaneous Control ...............................................................................................................55 Printer Status Set/Inquire...........................................................................................................59 Parallel, Non-IEEE 1284 Mode Inquire .......................................................................59 Serial Mode Inquire .....................................................................................................60 Parallel, IEEE 1284 Mode Inquire ...............................................................................60 Dynamic Response Mode .............................................................................................60 Inquire Commands ......................................................................................................62 Extended Diagnostic Commands ...............................................................................................68 EPOS Codes ..............................................................................................................................69 Real-time Status...........................................................................................................69 EPOS Command Summary..........................................................................................69 EPOS Deviations .........................................................................................................71 MICROLINE Codes ..................................................................................................................75 MICROLINE Command Summary ..............................................................................75 Star Codes .................................................................................................................................77 Star Command Summary.............................................................................................77 NCR2567 Codes........................................................................................................................79 NCR Command Summary ...........................................................................................79 Telpar Codes .............................................................................................................................80 Telpar Command Summary .........................................................................................80 Control Codes Summary by Code ..............................................................................................81 Control Codes Summary by Function.........................................................................................85 Operator Panel Controls..........................................................................................................................89 Push Buttons - Momentary Switches..........................................................................................89 Indicators ..................................................................................................................................89 Fault Indicators .........................................................................................................................90 Product Self-tests ....................................................................................................................................91 Level 0 Diagnostics ...................................................................................................................91 Extended Diagnostics ................................................................................................................91 Self test........................................................................................................................91 Hex-dump Mode .....................................................................................................................................92 Configuration Mode ................................................................................................................................93 Initial Power ON .......................................................................................................................93 Manual Configuration ...............................................................................................................93 Enable Remote Configuration....................................................................................................93 Feature Configuration................................................................................................................94 General Control .........................................................................................................103 Vertical Control.........................................................................................................105 Character ...................................................................................................................105 Interface ....................................................................................................................105 Options......................................................................................................................106 Save Changes ............................................................................................................106 Communications Protocol and Print Buffers..........................................................................................107 Overview.................................................................................................................................107
Page iv
Rev G
12/14/99
Page 7
Programmer's Guide
PcOS Series 150
Table of Contents
Parallel Port ............................................................................................................................110 Parallel Port Protocol .................................................................................................110 Printer Buffer Size .....................................................................................................111 Parallel Port Inquire IEEE 1284.................................................................................111 Parallel Port Inquire (Non-IEEE 1284) ......................................................................114 Parallel Port Plug and Play.........................................................................................115 Parallel Port Connector..............................................................................................116 Signal Levels .............................................................................................................116 Serial Port ...............................................................................................................................117 Serial Port Features....................................................................................................117 Serial Port Pin-out .....................................................................................................117 Serial Port Protocol....................................................................................................118 Print Buffer Flow .......................................................................................................120 Printer Buffer Size .....................................................................................................123 Serial Port Inquire .....................................................................................................124 Remote Printer Reset ...............................................................................................................125 Reset in Serial Mode..................................................................................................125 Reset in Parallel Mode ...............................................................................................125 Power-cycle Recovery ..............................................................................................................125 Programmer’s Notes................................................................................................................126 Cash Drawer Interface...........................................................................................................................127 Interface Description ...............................................................................................................127 Interface Connectors................................................................................................................127 Printing Graphics..................................................................................................................................128 Character Graphics..................................................................................................................128 APA Graphics .........................................................................................................................130 Appendix A Language Tables ...............................................................................................................133 Appendix B ASCII Code Chart .............................................................................................................135 Appendix C Ordering Cables ................................................................................................................136 General Information ................................................................................................................136 Index.....................................................................................................................................................137
12/14/99
Rev G
Page v
Page 8
Figures and Tables
PcOS Series 150
Programmer's Guide
Table of Figures Figure 1 Single-wide character cell ...........................................................................................................7 Figure 2 Character forming.......................................................................................................................7 Figure 3 Physical dimensions ....................................................................................................................8 Figure 4 Receipt printable area................................................................................................................10 Figure 5 Validation print – top insertion .................................................................................................11 Figure 6 Validation print – left-side insertion..........................................................................................11 Figure 7 Example of fine line feed...........................................................................................................18 Figure 8 Data sent to printer for fine line feed .........................................................................................18 Figure 9 Examples of character print.......................................................................................................31 Figure 10 Example of one-line double-wide print ....................................................................................33 Figure 11 Data sent to printer for one-line double-wide print...................................................................33 Figure 12 Example of underline, enhanced, emphasized, superscript, and subscript print........................39 Figure 13 Paper-error to inquire-request timing.......................................................................................60 Figure 14 Parallel link options ..............................................................................................................105 Figure 15 Typical POS system...............................................................................................................107 Figure 16 Host to printer link ................................................................................................................107 Figure 17 Printer communications buffer flow.......................................................................................108 Figure 18 Parallel port data timing........................................................................................................110 Figure 19 PE to ENQ request timing .....................................................................................................114 Figure 20 Serial port flow control using DTR........................................................................................118 Figure 21 Serial port flow control XON/XOFF......................................................................................119 Figure 22 Serial buffer operation...........................................................................................................120 Figure 23 Print controller using data .....................................................................................................122 Figure 24 Inquire flow...........................................................................................................................124 Figure 25 Receipt with extended graphic characters ..............................................................................129 Figure 26 Receipt with APA graphics....................................................................................................130
Table of Tables Table 1 Normal print zone character specifications ...................................................................................5 Table 2 Wide print zone character specifications.......................................................................................6 Table 3 Power input requirements .............................................................................................................8 Table 4 Validation lines ..........................................................................................................................10 Table 5 Language table IDs.....................................................................................................................25 Table 6 EPOS language table IDs............................................................................................................25 Table 7 Code page definition table ..........................................................................................................26 Table 8 EPOS code page definition table .................................................................................................27 Table 9 Euro Character Substitution Matrix ............................................................................................29 Table 10 Print modes ..............................................................................................................................30 Table 11 Intercharacter spacing table ......................................................................................................32 Table 12 Rotated print spacing................................................................................................................40 Table 13 Parallel port pin-outs ..............................................................................................................116 Table 14 Serial bit rates.........................................................................................................................117 Table 15 Serial port pin-outs .................................................................................................................117 Table 16 Ithaca cash drawer connector..................................................................................................127 Table 17 Epson/Axiohm cash drawer connector ....................................................................................127 Table 18 Star cash drawer connector .....................................................................................................127 Table 19 Code page definitions .............................................................................................................134
Page vi
Rev G
12/14/99
Page 9
Programmer's Guide
PcOS Series 150
Table of Figures
Table 20 ASCII chart ............................................................................................................................135
12/14/99
Rev G
Page vii