The text of a manual · part 15 of 15
PcOS Series 60 Multi-Station Slip Printers Programmer's Guide, pages 141 to 150
Pages 141 to 150 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 141
Index
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
Appendix A CFG60 Selection Keys Menu Movement Key. [Left Arrow] [Right Arrow] [Up-Arrow] [Down-Arrow] [Enter] [Home] [End] [Esc] cxl Page
Action moves selection bar to item left. moves selection bar to item right. moves selection bar to item upwards. moves selection bar to item downwards. selects the item that the selection bar is on. If selected item has a sub-menu attached, then processing of that menu will begin. moves selection bar to upper-leftmost item. moves selection bar to lower-rightmost item. Exits Menu and returns to the root menu
Rev C 7/8/2008
Page 142
Programmer's Guide
PcOS Series 60
Ithaca Peripherals Incorporated
Index
Appendix B CFG60 Configuration Command Summary. COM x NOLPT LPT x LPTADR Address SERIAL PARALLEL BAUD baud * 8BN * 8BE * 8BO * 7BN * 7BE * 7BO * SERIES xx XON * XOFF * DTR * NOFLOW LOCKSN BARCODE RESTART SENSOR TEST LEVEL0 PORTTST EDITOR path\name.exe SWAPMODE x
PARDEMO SERDEMO LIFETEST fname.dmo MECHADJ NOECHO
Select COM 1 through 4 Select NO Parallel Port Select LPT 1 or 2 Select LPT port address44 in hex Serial Configuration Parallel Configuration 19200, 9600, 4800, 2400, 1200, 600, 300 are valid for baud Example: BAUD 9600 8 bit No parity 8 bit Even parity 8 bit Odd parity 7 bit No parity 7 bit Even parity 7 bit Odd parity Series 61, 62, 63 and 64 are valid Xon/Xoff Flow Control Xon/Xoff Flow Control Use DTR for Flow Control No Flow Control in Serial Test Allow Serial Number to be reentered Use barcode reader for serial number input Reset printer after Configuration Allows CFG60 to Auto adjust the printer sensors during test. Run printer test after configuration Run Level 0 diagnostics after configuration Run Parallel port tests as part of level 0 (requires parallel and serial connections) Select a custom editor for demo edits. Specify the complete path and name of the editor. Include any flags. Example EDITOR C:\DOS\EDIT.EXE What memory to use for program swapping 0 Auto Select 1 use EMS only 2 use XMS only 3 use disk only (Use environment variable TEMP for the path) Pre select parallel port for demos Pre select serial port for demos Names an alternate file "fname.dmo: of the life test demo file. lifetest.dmo is used as a default. Allow Mechanical Adjustment Forces the demo processor to default to no echo
44Some PC have Printer port addresses that do not follow standard PC conventions.
specify the address.
Rev C 6/9/94
If this is the case use the LPTADR to
Page 135 cxli
Page 143
Index
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
Appendix C Configuring Serial Ports The CFG60 Program supports COM1-COM4. The CFG60 program uses Serial port interrupts. COM1 and COM3 must be on IRQ 4 and COM2 and COM4 must be on IRQ3. If a mouse is connected to COM1, CFG60 can not use COM3 as they share interrupts. The following is the PC standard Serial port configurations: COM1 3F8H COM2 3E8H COM3 2F8H COM4 2E8H
IRQ4 IRQ3
IRQ4 IRQ3
Appendix D Configuring Parallel Ports The CFG60 program will work with LPT1 or LPT2 ports. the following are the PC standards for parallel ports: LPT1 LPT2
378H 278H
IRQ2 IRQ7
NOTE: CFG60 does not use the interrupts on the parallel port. If your PC does not use a standard PC parallel port address, the address of your port can be specified in the CFG60.CFG file with a LPTADR command. LPTADR 3BC Would specify 3BCH45 as the base address of the LPT port. See your PC owners manual for additional information.
453BCH is used by some PC intended for networks. This address is for the local printer.
cxlii Page
Rev C 7/8/2008
Page 144
Programmer's Guide
PcOS Series 60
Index
Ithaca Peripherals Incorporated
Appendix E Configuring CFG60 for specific PC's The CFG60 program supports VGA/EGA color monitors as a default. In some cases it will be desirable to use the CFG60 program in other environments. When CFG60 starts it searches your PC and tries to determine what monitor you have, whether you have a mouse installed, and if you have an enhanced keyboard. In some cases you may wish to override what CFG60 finds. The CFG60.INI file is used to do this. The Default file looks something like this: TcxlInt=Off TcxlCur=On TcxlBrk= On TcxlMem=On TcxlKey=On TcxlMou=On TcxlAtrMapIni=3,A000 TcxlAtrMapSet=0
If you don't like blink attributes set TcxlInt to "On". If you don't want CFG60 to restore your original cursor position set TcxlCur to "off". Disables Ctl-Break and Ctl C processing Initialize the memory subsystem. If you have an enhanced keyboard and don't want CFG60 to use it set TcxlKey = "off". If you have a mouse and don't want CFG60 to use it set TcxlMou to "off". Sets the Attribute map (Do not change!). If you have a lap top computer with VGA display and don't like the way colors are displayed, set TcxlAtrMapSet = 3. 1 will emulate a Mono display and 2 Will emulate B/W display.
It is unusual that the CFG60.INI file will change for anything except a Laptop PC VGA display. If you change the CFG60.INI file you must also make the same change in the DEMOEDT.INI file. (You can copy CFG60.INI to DEMOEDT.INI if you wish.)
Appendix F Demo Command Summary: [NUL] [SOH] [STX] [ETX] [EOT] [ENQ] [ACK] [BEL] [BS] [HT] [LF] [VT]
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B
[FF] [CR] [SO] [SI] [DEL] [DC1] [DC2] [DC3] [DC4] [NAK] [SYN] [ETB]
Rev C 6/9/94
0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17
[CAN] [EM] [SUB] [ESC] [FS] [GS] [RS] [US]
0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F
Page 135 cxliii
Page 145
Index
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
Appendix G Control Command Summary: {REM} ` {PAUSE:xx} {RV} {STOP} {FRONT} {SENSOR} {ECHO} {RESET} {DO:file} {GRAPHIC:file} {A=:xx} {A+:xx} {A-:xx} {A.} {A.:x} {B=:xx} {B+:xx} {B-:xx} {B.} {B.:x} {RPT:xx} {DATE:f}
{TIME:f} cxlivPage
Disregard the rest of this line(comment) Disregard the rest of the line (comment) Pause Demo for xx Seconds Reverse the following text Stop the demo for 2 Min. or any key Wait for a slip and display status (front sensor only) Wait for a slip and display status (both sensors) Echo the following text to the display and stop Reset Printer (Parallel mode only) Read demo file: "file.dmo" Read a graphic file "file.gph" Sets A equal to xx Adds xx to A Subtracts xx from A Prints A free format Prints A in a fixed format of x digits with leading zeros. (x can be 2 to 7) Sets B equal to xx Adds xx to B Subtracts xx from B Prints B free format Prints B in a fixed format of x digits with leading zeros. (x can be 2 to 7) Repeat the rest of the line xx times. Insert the current date in the specified format. f ..............Format f ............. Format 0................... December 3, 1988 (Default) 1...........3 Dec 88 2 ............ 12-3-88 3............. 12/3/88 4 ............ 3/12/88 5........... 12/03/88 Insert the current time in the specified format. f ..............Format f ............. Format 0...... 16:30:57.89 1 .......... 16:30:57 2........... 4:30 PM 3 ............... 4:30p 4.................. 4:30 5 ............... 04:30
Rev C 7/8/2008
Page 146
Programmer's Guide
PcOS Series 60
Ithaca Peripherals Incorporated
Index
Appendix H Trouble Shooting the CFG60 Program Program Locks Up If CFG60 starts fine and then locks-Up after several operations, the FILES and BUFFERS commands in CONFIG.SYS is too small. FILES and BUFFERS should be at least 20. The Stack should also be expanded to 9,256. If CFG60 is run from floppy, the floppy should not be removed while CFG60 is running. CFG60 will use the disk for temporary files. CFG60 requires at least 300K of available memory. If there is not enough memory the program can lockup. The interrupt on the Serial Interface is not correct. CFG60 Runs very slowly CFG60 is a Memory hog. If it runs out of normal memory it looks for XMS or EMS memory. If it can't find any additional memory it starts to use disk. It looks for an environment variable TMP or TEMP to specify a path for the DISK directory to use for expanding memory. If it can't find TMP or TEMP it used the default disk. If the default is the floppy disk, the performance is going to be very slow. To improve performance on a PC with a hard disk, define a TEMP path. For example: SET TEMP=C:\TEMP If you have Windows 3.1 installed the SMARTDRV.EXE program provided by Microsoft will also improve CFG60 performance. Defining EMS memory with the EMM386 program provided as part of DOS 5.0 will give CFG60 help as well. CFG60 should run in 640K of memory on a 286 system, however it will be slow. This will not, however, prevent a printer from being configured. In some cases when the program is accessing the floppy disk the program will appear to hang up. If the disk activity light is still flashing the program is working. The program swap to DEMOEDT is painfully slow if only a floppy drive is available. The active CFG60 program is rolled out and DEMOEDT is loaded. Program starts, displays configuration information, and exits to DOS. If a configuration error exists in CFG60.CFG, CFG60 will not run. The Display should show where the error is unless it has scrolled off the top window. Delete some commands from the end of the CFG60.CFG file until the Error is Displayed. The CGF60 program only displays in Black and White. The CFG60.MSG file is missing or defective. Restore the original file from the distribution disks. The TcxlAtrMapSet in the CFG60.INI file must also be 0 to use a color display correctly. CFG60 can not establish contact with the printer during configuration. Verify that the serial interconnect cable is correct and correctly connected. (NOTE: the serial cable is not one to one) Also make sure that the proper PC COM port has been selected. If the printer is not in auto configuration mode, CFG60 can not read its status. Press and hold the top two keys on the Printer keyboard (RECEIPT and JOURNAL) and power the printer on. Only the power light should be on. If any other lights are displayed it is an error message. Try pressing SLIP and RECEIPT keys (at the same time) to clear an EEROM error. If this clears the error turn the power off and try to enter remote configuration again.
Rev C 6/9/94
Page 135 cxlv
Page 147
Index
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
If this fails, try powering the printer on in diagnostics mode (power on with the select key depressed.) If the select light is blinking press both Journal and Receipt keys. This should also enter auto configuration mode. CFG60 does not display XOFF when the printer is off line. When the printer uses XON and XOFF for flow control it will transmit XOFF when it goes off line. If CFG60 is in "Test Serial Communications" mode it will display "XOFF Received" only if it is configured for XON/XOFF flow control. The Test configuration is defined when a printer configuration is defined. If no printer definition exists, it uses a default configuration which uses DTR flow control. The configuration can be changed with the Alt-P key. Serial communication does not work or the mouse won't work in CFG60 If a Mouse is connected to COM1 it will interfere with CFG60, if CFG60 uses COM1 or COM3. CFG60 should be configured to use COM2 or COM4 if the mouse is on COM1 or COM3. A PS2 mouse connection uses a different interrupt and this problem should not occur. CFG60 demo RV command stops at a \[ character. This is true the RV command does not know the difference between a \n for insert CRLF and a \[ which means insert a [. You can not use escape delimiters in a RV segment. The DEMO program over runs the printers print buffer This can happen for a number of reasons. 1) The printer and CFG60 are using different protocols. Reading the configuration from the printer will set CFG60 to match the printer. 2) The NOFLOW option is set in CFG60.CFG. This option can be set to force CFG60 to ignore all flow control. This is primarily used in test modes. If however it is on during a demo operation it will prevent the DEMO from stopping for the printer.
cxlviPage
Rev C 7/8/2008
Page 148
Programmer's Guide
PcOS Series 60
Ithaca Peripherals Incorporated
Index
Appendix I Ordering Information To order cables use the following order numbers: 10-2020 9 pin female to 9 pin female Serial Interconnect 10-2021 9 pin female to 25 pin female Serial Interconnect 10-2022 9 pin female to 25 pin male Serial Interconnect 253-9800007
25 pin male to 25 pin male Parallel Interconnect
Also available is a PcOS Series 60 Programmers Guide All the above may be ordered by calling (607) 257-8901 and ask for sales department or Fax an order to (607) 257-8922 You can also order by mail: Send orders to: Ithaca Peripherals Incorporated 20 Bomax Drive Ithaca, New York 14850
Rev C 6/9/94
Page 135 cxlvii
Page 149
Index
PcOS Series 60
Ithaca Peripherals Incorporated
Programmer's Guide
Index [CAN] Clear Print Buffer 34 [CR] New Line 9 [DC2] Set 10 CPI 16 [DC4] End One Line Double Wide 17 [ENQ] <1> Inquire Cash Drawer 1 Status 37 [ENQ] <10> Request Printer Reset 40 [ENQ] <11>Request Printer Power Cycle Status 40 [ENQ] <2> Inquire Cash drawer 2 Status 37 [ENQ] <3> Inquire Printer Buffer Status 38 [ENQ] <4> Inquire Journal Paper Status 38 [ENQ] <5> Inquire Front Sensor Status 38 [ENQ] <6> Inquire Rear Sensor Status 38 [ENQ] <7> Inquire Printer Ready Status 39 [ENQ] <8> Set Printer Input OFF 39 [ENQ] <9> Set Printer Input OFF 39 [ENQ] <n> Inquire Printer Status 37 [ESC] - <0> End Underline 26 [ESC] - <1> Begin Underline 26 [ESC] r <3> Rotate 270 Degrees 22 [ESC] # <0> Begin Draft Mode 18 [ESC] \: Set 12 CPI 16 [ESC] [SI] Set 24 CPI 16 [ESC] ^ <n> Extended Diagnostics. 42 [ESC] | <n> Vertical Alignment 42 [ESC] 0 Set Line Space 27/216 11 [ESC] 1 Set Line Space 7/72 12 [ESC] 2 Enable Variable Line Spacing 12 [ESC] 3 <n> Set Line Spacing n/216 11 [ESC] 6 Select Character set 2 20 [ESC] 7 Select Character set 1 19 [ESC] A <n> Set Variable Line Spacing n/72 12 [ESC] b Load Slip to Top of Form 32 [ESC] D <n>1 <n>2 Set Horizontal Tab Stops 14 [ESC] d Feed 7 inches 10 [ESC] E Begin Emphasized Print 26 [ESC] e Feed 2 inches 10 [ESC] F End Emphasized Print 26 [ESC] f Load Receipt Paper 29 [ESC] G Begin Enhanced Print 26 [ESC] g Select Journal Station 29 [ESC] H End Enhanced Print 26 [ESC] h Load Slip to Top of Form 31 [ESC] I <1> Set Utility Print Mode 18 [ESC] I <2> Set Enhanced Print Mode 18 [ESC] I <3> Begin NLQ Print Mode 18 [ESC] i Load Slip to first line 30 [ESC] J <n> Fine Line Feed 9 [ESC] j Clamp on Slip 30 [ESC] K <n>1 <n>2 Print Single density Graphics 28 [ESC] k Feed to Mark 10 [ESC] l <n> Dual station Control 33 [ESC] L <n>1 <n>2 Print Double Density Graphics 28 [ESC] m Feed to End of Slip 11 cxlviii Page
Rev C 7/8/2008
[ESC] M Load Slip to first line 31 [ESC] N Load Slip to Top of Form 31 [ESC] n Set Feed Direction Back to Front 13 [ESC] o Set Feed Direction Front to back 13 [ESC] p <n> Set Left Margin 33 [ESC] Q Wait for print Que. 34 [ESC] q Wait in print Que. 34 [ESC] r <0> End of Rotated Print 23 [ESC] r <1> Rotate 90 Degrees 22 [ESC] r <2> Rotate 180 Degrees 22 [ESC] s <n> Set Rotated print line length 23 [ESC] S<0> Select Superscript 27 [ESC] S<1> Select Subscript 27 [ESC] T End Superscript or Subscript 27 [ESC] U <0> Begin Bi-directional Print 28 [ESC] U <1> Begin Unidirectional Print 28 [ESC] u <n>1 <m>1 Set Rotated print line spacing 24 [ESC] v Activate Receipt Cutter 29 [ESC] W <0> End Multi line Double Wide 17 [ESC] W <1> Begin One Line Double Wide 17 [ESC] x <n> Open Cash Drawer 35 [ESC] y <n> Feature Control 41 [ESC] Y <n>1 <n>2 Print Double Density Graphics 28 [ESC] z Open Slip Clamp 30 [HT] Horizontal Tab 14 [LF] Line Feed 9 [SI] Set 17 CPI 16 [SO] One Line Double Wide 17 Adjusting Printers 90 APA Graphics File 70 ASCII Chart 124 Cash Drawer Control 35 CFG60 85 CFG60 Commands 96 CFG60 Demo Pause 97 CFG60 Demo Stop 97 CFG60 Demo Summary 100 CFG60 Inserting Counters 98 CFG60 Operator Prompt 97 CFG60 Print Date 97 CFG60 Print Time 97 CFG60 Read File 98 CFG60 Read Graphic File 99 CFG60 Reading Sensors 99 CFG60 Repeat 97 CFG60 Request printer Reset 99 CFG60 Reverse 97 Change History i Character Charts 122 Character Pitch 15 Characters/Line 5 Communications - Parallel Port 73 Communications Protocol 71
Page 150
Programmer's Guide
PcOS Series 60
Ithaca Peripherals Incorporated
Communications Serial 76 Configuration 111 Configuration Manual 111, 112 Configuring CFG60 92 Control Code Summary 43 Coupon Printing 66 Demo Edit 104 Demo Edit Function Keys 104 Demonstration Programs 94 Diagnostic Indicators 84 Diagnostics Commands 42 Diagnostics Flow 113 Diagnostics Journal Test 109 Diagnostics Level 0 107 Diagnostics Level 1 108 Diagnostics Receipt Test 109 Diagnostics Slip Test 110 Diagnostics Vertical Alignment 110 Double Wide Characters 15 Dual Station Mode 33 Emphazized Print 15, 26 Enhanced Print 15, 26 Feature Control 41 Forming Characters 5 Graphics Printing 68 Graphics Using APA Graphics 69 Graphics Using Characters 68 High Speed Draft 15 Horizontal Control 14 Inital Setup 49 IPCL Codes 7 Ithaca Peripherals Inc. 2 Journal Station 63 Model 61 3 Model 62 4 Model 63 4 Model 64 4 Near Letter Quality 15 Nomenclature 7
Paper Motion Parallel Port [ENQ]’s Parallel Port [ESC]Q Parallel Port Pin - Out Parallel Port Timing Positioning Slips Power Cycle Flag Preprinted Forms Print Zone Specifications Printer Alarms Printer Inquire Printing Checks Printing on Checks Receipt Station Releasing the Slip Clamp Remote Reset Remotely Configuring Printers Rotated Print Rotating Print Selecting Journal Station Selecting Recipt Station Selecting Slip Station Sensor Calibration Serial [ESC]Q Serial Port [ENQ] Serial Port Capabilities Serial Port Flow Control Serial Port Monitor Serial Port Pin - Out Service Slip Station Super and Subscript Testing Printers Underline Utility Print Vertical Alignment Wait for Print Que Empty Wait in Print Que Warranty
Rev C 7/8/2008
Index 9 74 74 75 73 30 82 49 125 83 36 58 55 60 30 82 88 53 21 29 29 30 110 80 81 76 77 103 76 1 49 15, 26 90, 102 15, 26 15 42 34 34 1
Page 105