The text of a manual · part 10 of 15
PcOS Series 60 Multi-Station Slip Printers Programmer's Guide, pages 91 to 100
Pages 91 to 100 of 150
The original document is the PDF (1.6 MB). 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 PcOS Series 60
Page 91
Overview
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
How to Interpret Printer Error Codes The series 60 printer indicates errors with various blinking patterns on the ALARM light. There are a number of errors that can be displayed. To simplify the codes they are organized into four basic classes: 1. Operator Alarms 2. Failure Alarms 3. Programming errors 4. Status and diagnostics indicators Operator alarms are errors that can be recovered by the operator without power cycling the printer. If the error is cleared, operation of the printer can continue without information being re-transmitted to the printer by the host. Errors like out of paper or the form being out of position can be recovered without turning the printer off. These errors are the most common and are assigned blink patterns that are the easiest to decode. Failure alarms are errors that will require the printer power to be turned off to correct. These are things like a print head or knife jam. These are all assigned to a single error code. These errors can be reset by a host reset request, however, in many cases the error will occur again unless the operator clears the obstruction. Programming errors are errors that should never occur unless there is an application failure or the printer gets out of synchronization with the application. These are things like selecting the journal on a printer with no journal, or sending information to the printer without first selecting a print station. In some cases the host application can not control the presence of line terminators after printer setup sequences. In this case the print with slip clamp open error can be disabled. See the [ESC]y<6> command description. In addition there are a number of status indicators that may be encountered during diagnostics and application development. These indicators are not error codes but status indications.
Operator Correctable Errors: Receipt operations Receipt paper out or rear path blocked. Receipt load failed or Front path blocked. Journal operations Journal paper exhausted. Rear sensor detects a slip. Front sensor detects a slip. Slip operations Rear sensor is not covered.
Two short blinks
Once every 2 seconds
Three short blinks
Once every 3 seconds
One long blink Two short blinks Three short blinks
Once every 2 seconds Once every 2 seconds Once every 3 seconds
Two short blinks
Once every 2 seconds
Unrecoverable Printer Errors Unrecoverable errors all signal with the same code.
Three short on blinks, three long on blinks, Three short on blinks. (SOS Pattern)
Once every 3 seconds
Head Jam Knife Jam
Page xc
Rev C 7/8/2008
Page 92
CFG60 Users Guide
PcOS Series 60
Ithaca Peripherals Incorporated
Overview
Application Errors Receipt mode error (Selecting the receipt when the printer has no receipt.) Journal mode error (Selecting the journal when the printer has no journal.) Station select error28 (attempt to print before the slip clamp is closed.)
Three short off blinks
Once every 2 seconds
Two short off blinks
Once every 2 seconds
One short off blink
Once every 2 seconds
Diagnostic Indicators Diagnostic Mode. Journal paper exhausted. Rear sensor Error. Front sensor Error. Receipt paper out or rear path blocked. Primary Processor Fault. RAM Fault. Processor Link Failure. Inter processor Fault. ROM Failure EEPROM Failure EEPROM Invalid or configuration invalid.
Select light blinks One long blink Two short blinks Three short blinks Two short blinks
Once every second Once every 2 seconds Once every 2 seconds Once every 3 seconds Once every 2 seconds
Both Alarm and Select light on.
Continuous
Both lights blinking
The select light blinks twice for every alarm blink. Continuous Lights blink alternately.
Alarm light on Alarm and Select light blinking Alarm and Select lights blinking
28This Error condition has been removed.
avoided.
The alarm light blinks twice for each select light blink.
You can force the printer to print with the slip clamp open. This should be
Rev C 7/8/2008
Page xci
Page 93
Overview
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
Series 60 Configuration and Test Program Overview CFG60 Program The CFG60 program is used to configure, demonstrate, test, and help develop applications for the Ithaca Peripherals Incorporated Series 60 printer. NOTICE: This is not shareware. This software can be freely distributed within your organization but can not be sold or otherwise distributed. It is designed to help you configure Ithaca Peripherals Inc. Series 60 printers and to develop applications for them. Portions of this program can be made available to you for inclusion in your application. For more information please contact Ithaca Peripherals Incorporated
System Requirements To run the CFG60 program a standard IBM compatible PC is required. It must have at least 1 serial port to configure a printer and at least 1 parallel port to test a printer configured for a parallel interface. The CFG60 program is designed to run on any standard PC, however, any PC smaller than a 286 with 640K of memory will be excessively slow. A 386 SX 16 is a recommended minimum. A Hard disk, Extended or Expanded memory is not required but desirable. CFG60 used EMS, XMS or disk for virtual memory. If CFG60 can't find any EMS or XMS memory it uses the disk for storage. If the disk is a floppy it will be very slow. If a mouse is available it will be used. A mouse is highly desirable if the demo editor is to be used. The CFG60 program is designed to use a EGA or VGA color CRT monitor. If a Laptop or monochrome computer is used the display can some times be improved by switching to mono80 mode or by setting TcxlAtrMapSet in the CFG60.INI and DEMOEDT.INI files29. See Appendix B
29There are several other system configuration parameters that can be set in the .INI or .CFG files, more information.
Page xcii
Rev C 7/8/2008 see appendix B for
Page 94
Users Guide
PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated
Rev A Prerelease 7/8/2008
Page 93 of 150
Page 95
Installing Software
PcOS Series 60
Ithaca Peripherals Incorporated
CFG60 Users Guide
Installing the Software The Software need not be installed, it will run directly from the distribution disk. If the software is to be run from a hard disk use the INSTALL command on the distribution disk. It is always a good idea to create a backup copy. Use DISKCOPY to do this. DISKCOPY will assure that all files are copied. If the program is to be run from a floppy, please backup the distribution disk before you use CFG60. The following are the basic program files that are part of CFG60: INSTALL.BAT hard disk) CFG60.EXE CFG60.CFG CFG60.MSG (Compressed) CFG60.INI DEMOEDT.EXE DEMOEDT.MSG DEMOEDT.INI
................................... Install CFG60 on a hard disk (not copied to ................................... Configuration Program ................................... Configuration file for printers ................................... Message and Help text for
CFG60
................................... System Information file for CFG60 Demo Editor Help and Message text for Demo Editor (Compressed) System Information file for Demo Editor
In addition there are a number of files with a .DMO extension. These files are the demonstration and test scripts. There is a PGDEMO directory that contains all of the examples contained in the programmers manual. To run INSTALL, create a directory that will be used for CFG60 on your hard disk and run INSTALL from the hard disk prompt. INSTALL is not too sophisticated and needs to know what floppy you are using. You must pass it the disk ID. The following is an example: C:> MD CFG60 C:> CD CFG60 C:\CFG60>A:INSTALL A INSTALL will copy all required programs to the hard disk. In addition a PGDEMO directory will be created that will contain all of the programmers guide examples. CFG60 requires that the DOS CONFIG.SYS file specify at least 20 Buffers and 20 Files. It is also a good idea to increase the environment space defined by command.com and increase the stack frames. The following is an example of at CONFIG.SYS file that will work for CFG60. FILES=20 BUFFERS=20 SHELL=COMMAND.COM /P /E:1024 STACKS=9,256 The AUTOEXEC.BAT file should also have a path set to a temporary directory for CFG60 to put it's working file. The environment variable TEMP is used for a path to the working directory. If TEMP is not set the directory containing CFG60.EXE will be used. To set TEMP the following command should be added to AUTOEXEC.BAT. SET TEMP=C:\TEMP Where C:\TEMP is the directory to be used. (NOTE: C:\TEMP must be a valid directory) Note: CFG60 Will run slowly if no extended or expanded memory is available and you are running from 1.2 or 1.44 Meg floppy.
Page 94
Rev C 7/8/2008
Page 96
CFG60 Users Guide
PcOS Series 60
Ithaca Peripherals Incorporated
Running CFG60
Running CFG60 To run CFG60 move to the directory where CFG60 was installed and type CFG60 Enter. The following is an example: C:>CD CFG60 C:>CFG60 When CFG60 starts the first thing it will do is look for initialization, message/help and configuration files. These files define a number of parameters for CFG60 and contain compressed text.. The .INI and .MSG files must be present for CFG60 to be fully functional. The .CFG file is not required but if present, will make the task of printer and program setup easier. (See section on creating configuration files to create a CFG60.CFG file). If a CFG60.CFG file is not found CFG60 will ask which serial port, and which parallel port to use. If a CFG60.CFG file is found it will be read and a transcript will be displayed briefly. CFG60 will then greet you and list a brief list of requirements. If you wish to skip these introduction windows, press Enter as they appear. After the greeting, a menu of tasks will be displayed. To select a task move the selection bar to the task you wish to perform and press Enter. You can also press the highlighted character, or use the mouse30 place the mouse pointer on the selection and press the left mouse button. (A list of key functions is listed in appendix A) CFG60 has context sensitive help that will give you additional information. To get help at any time press [F1]. In the Help window, use [Tab] or the mouse to select cross-references, which are highlighted. Click on the Index button to get a selectable list of all cross-referenced topics. Use [PgUp], [PgDn], the cursor keys, or the PgUp and PgDn buttons to move around within the Help text. The Prev button will take you to the previously-viewed Help screen. To exit Help, press [Esc] or click on the Quit button. There are currently 6 selections in the "Select Task" menu31: Configure Printer Run a Demo or Test Program Run Extended Tests Test Serial Communications Test Parallel Communications Exit Program In most cases the "ESC" key will exit a menu. In this case selecting "Exit Program" or the [ESC] key will return to DOS.
30The Mouse can be disabled with a "NOMOUSE" entry in the CFG60.INI file.
necessary if a mouse has not been installed.
This should not be
31This menu may very slightly depending on which version you have of this program.
Rev C 7/8/2008
Page 95
Page 97
Configuring Printers
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
Configuring Printers Configuring Series 60 Printers There are two ways to configure a Series 60 printer. The first is to use the internal configuration sequence, the second is remote configuration.. Because the Series 60 printer only has 4 keys the internal self configuration mode is complicated and slow. To provide a faster easier way to configure or reconfigure a Series 60 printer, a remote configuration mode is available. The CFG60 program provides a means of configuring printers by using this remote configuration mode. Appendix H provides instructions for configuring printers with the internal configuration procedure. The CFG60 program is setup to provide initial (factory) printer configuration as well as allow the printer to be reconfigured at any time. During initial configuration, the printer is configured as required by the customer and a serial number is embedded in the EEPROM. During the reconfiguration process features and communications configurations can be altered, however the serial number should not be changed. In remote configuration mode the serial port on the printer is temporarily reconfigured to a predefined (9600 baud 8 bit ) standard. The serial port is then used for the configuration or reconfiguration operation. (The parallel port can not be used as it does not provide bi-directional operation) To configure a Series 60 printer, connect the printer's serial port to one of the PC's serial ports. Use a standard Ithaca Peripherals Inc. serial interconnect cable. (See appendix G for order information.) Load the CFG60 program on the PC and make sure the correct PC serial port is selected. Turn on the printer while holding both the JOURNAL and RECEIPT keys. The printer will begin to initialize, however, only the power light will be on once level 0 diagnostics is complete. This is normal for configuration mode. (NOTE: in remote configuration mode, the printer keypad is inactive and the printer will not print). Select the "Configure Printer" selection from the main menu. The CFG60 program will then automatically communicate with the printer and get the current printer configuration information. (It can take a few seconds for the PC and printer to get in SYN) The current Printer Configuration is then displayed at the bottom of the screen. Due to space constraints the configuration is abbreviated. For a parallel interface printer the format is as follows: RV-A PE-0032-10 - ORV-0A SN-1234567 MD-6307 Centronics Parallel Software Rev. Information
| Serial #
| Model # | Communications interface
For a serial interface printer the format is as follows: RV-A PE-0032-10 - ORV-0A SN-1234567 MD-6307 Serial 9600 Baud 8 bN DTR Software Rev. Information
| Serial #
| Model # | Communications interface
In this case the communications is Serial at 9600 baud with 8 bits of data and No parity using DTR flow control. Other options are as follows: Baud Rates Data bits Parity Flow Control
19200,9600,4800,2400,1200,600,300 7 or 8 None, Even, or Odd DTR or XON/XOFF
Abbreviations are as follows: 8 bN
Page 96
8 data bits No parity
Rev C 7/8/2008
Page 98
Programmer's Guide 8 bE 8 bO 7 bN 7 bE 7 bO
PcOS Series 60
Ithaca Peripherals Incorporated
Configuring Printers
8 data bits plus Even parity 8 data bits plus Odd parity 7 data bits No parity (two stop bits)32 7 data bits plus Even parity 7 data bits plus Odd parity
When the current configuration is displayed a menu will be displayed asking what you would like to change. If this is a replacement board it will need to know what Series printer you have. It will have the following selections: Default Adjust & Test Model 61 Model 62 Exit
Save Default Change Communications Model 63 Model 64
Select the change that you wish to make. If, for example, you are putting a new board in a Model 62 printer, select Model 62. The features of this printer will be displayed to make it easier to identify your printer. You will then be asked how the communications interface is to be configured. Parallel Port Serial Port If serial is selected, more information is requested. The baud rate menu will be as follows: A) 19200 B) 9600 C) 4800 D) 2400
E) 1200 F) 600 G) 300
The bit configuration will be asked next. A) 8,N,1 B) 8,E,1 C) 8,O,1
D) 7,N,2 E) 7,E,1 F) 7,O,1
The format for bit configuration is "Bits Parity and Stop bits". The final serial question is what type of flow control is to be used. This menu is as follows: DTR (Hardware) Xon/Xoff Flow control protocol can be either DTR hardware hand shake or XON/XOFF If the Printer is to have a parallel interface, only the serial or parallel question is asked. If this is the initial printer configuration, the serial number of the unit will be requested. The serial number should be entered carefully because the number can not be changed without a configuration key in the CFG60.CFG file. When all required information is entered, CFG60 will display the selected configuration and ask if it is correct. Is the Selected Configuration correct? Yes/No If the displayed information is not correct select "No". If the information is correct select "Yes". CFG60 will then send the selected configuration to the printer. (This will take several seconds).
327-bit No Parity is not a true 7 bit mode. It is 7 bit, don't care about parity. The parity bit must be present or the host must be configured for 7 bits with 2 stop bits.
Rev C 7/8/2008
Page 97
Page 99
Configuring Printers
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
There are two ways to predefine a printer configuration. The first is to define a configuration in the CFG60.CFG file. The second is to read a configuration from a printer. To read a configuration from a printer, connect the printer to the PC as you would to configure it. Enter the Configure Printer menu and select Save Default. This will take the configuration read from the printer and make it the default. When the configuration is saved, you may connect another printer and configured it using the default configuration. This configuration will match the first printer. Once a configuration is defined and saved you can program a number of printers to the same configuration by using the default selection. If a change is required in a configuration of a specific unit the defaults can be overridden by selecting a specific configuration or model from the Select Configuration menu.
Page 98
Rev C 7/8/2008
Page 100
Programmer's Guide
PcOS Series 60
Ithaca Peripherals Incorporated
Configuring Printers
Testing and Adjusting Series 60 Printers One of the options from the configuration menu is to adjust and test the printer. Selecting this item allows several tests and adjustments to be made. The following menu will appear with a transcript window. Adjust Sensors Read Sensors Adjust Mech. RAM Test Test All ROM Test MPU Link Test EEROM Test Read Keyboard Port Test The Adjust Sensor procedure will read each of the slip sensors and adjust it's threshold for optimal operation. To run this procedure the printer must have all the covers installed, the slip table must be clear, and journal paper must be loaded (If the printer has a journal). The procedure will report the sensor voltages and current threshold levels, The new thresholds will be determined, recorded in the EEROM, and then reported to the transcript. This procedure also determines the type of journal sensor and sets it's configuration. If the procedure detects a fault (like the presence of a slip) the adjustment will fail and the procedure will not be done. (Note: if the software revision is before RV-A PE-0032-12 the thresholds can not be adjusted). The Read sensor procedure reads and reports all the sensor voltages. procedure can be used to diagnose a sensor failure.
No setting are altered.
This
The RAM, ROM, EEROM, and MPU link test are hardware tests. These devices on the printer are also tested at power up. These tests are provided here for diagnosing intermittent printer problems. The Port test allows the Serial and Parallel port hardware and cables to be tested. This test works by sending data to the printer on the parallel port and returning it to the PC on the serial port. This checks to insure that all the parallel port data and control lines are functional. If this test fails, the failure will be displayed on the PC. The Printer will have to be power cycled as it is still waiting for the PC to send it data. The Test all procedure will run all tests in sequence. NOTE: For the parallel port test to be run the PORTTST command must be added to the CFG60.CFG file. This prevents the printer from locking up in configuration mode if no PC parallel port is available or the cable is not connected to the printer. The Mech. Adjustment Menus appears as follows Exit Print Adjustment Selection Chart Set 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Print Adjustment Verification Adjustment + Adjustment Open Clamp Close Clamp Home Left Home Right Cycle Knife All of these tests are designed for factory adjustment. To activate this menu the printer must contain Rev 19 or later software and the MECHADJ flag must be in the .CFG file. NOTE: After the selection chart is printed the adjustment is set to 7. An adjustment must be selected to alter the adjustment. The initial adjustment is lost. The files for mech. adjustments are: START.MCH RESET.MCH
Enable Mech. tests. Restart configuration mode.
Rev C 7/8/2008
Page 99