1) [ESC] b and [ESC] B commands have been added to aid handling forms that are to be printed tword the
operator.
2) Fine Line feed ([ESC] J <n> has been enabled in journal mode to allow graphics on the journal.
3) Expanded discussion of ENQ commands.
4) Included CFG60 and Demo Edit users guides
5) Referance to Quad Density graphics has been removed. [ESC] Z <n>1 <n>
2
Changes for Rev B:
1) [ESC] N and [ESC] M commands have been added to aid handling of small forms.
2) [ESC] Q command has been added to help synchronize the host application with the printer.
3) The command summary sheets have been updated with all new commands.
4) The command summaries have been corrected.
5) The parallel port timing specification has been updated
6) A self test diagnostics flow chart has been added.
7) A vertical alignment procedure has been added to diagnostics.
Disclaimer
Information in this publication is subject to change without notice and does not represent a commitment on the part of
Ithaca Peripherals Incorporated. However, as product improvements become available, Ithaca Peripherals Incorporated will
make every effort to provide updated information for the products described in this publication.
Copyright
Copyright 1993, 1994
Ithaca Peripherals Incorporated
A Subsidiary of Tridex Corporation
20 Bomax Drive
Ithaca, New York
All Rights Reserved. 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 Incorporated.
Third Edition, June 1994
Printed in USA
Rev C 7/8/2008 Page i
PcOS Series 60 Programmer's Guide
Ithaca Peripherals Incorporated
Trademarks
PcOS is a registered trademark of Ithaca Peripherals Incorporated. IBM is a registered trademark of the International
Business Machines Corporation. Epson is a registered trademark of Seiko Epson Corporation. Ithaca Peripherals
Incorporated is a subsidiary of Tridex Corporation.
Federal Communications Commission Radio Frequency
Interference Statement
This equipment complies with the limits for Class A computing device in accordance with the specifications in Part 15 of
FCC rules which are designed to minimize radio frequency interference in the installation; however, there is no guarantee
that radio or television interference will not occur in any 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
• Move the printer away from the receiver
• Plug the printer into a different outlet so that the printer and receiver are on different outlets.
If necessary the user should consult the 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.
This booklet is available from the US Government Printing Office, Washington, DC 20402. Order stock number 004-00000345-4.
Page ii Rev B 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Paper Motion
Table of Contents
Changes for Rev C: ....................................................................................................................................i
Changes for Rev B: ....................................................................................................................................i
Application Development ............................................................................................................8
Tables and Charts.........................................................................................................................8
Printer Control Codes.................................................................................................................................9
Print / Paper Motion.....................................................................................................................9
Low Level Paper Motion Control ..................................................................................9
Special Paper Motion.....................................................................................................9
Series 60 Configuration and Test Program Overview................................................................................85
CFG60 Program .........................................................................................................................................85
System Requirements...................................................................................................................85
Installing the Software................................................................................................................................86
Save File.......................................................................................................................................106
Series 60 Diagnostics .................................................................................................................................107
Character Sets.............................................................................................................................................122
Print Character Codes Set I ..........................................................................................................122
Print Character Codes Set II.........................................................................................................123
Character Mode Specifications ....................................................................................................125
Appendix A ................................................................................................................................................126
Appendix B ................................................................................................................................................127
Appendix C ................................................................................................................................................128
Configuring Serial Ports...............................................................................................................128
Appendix D ................................................................................................................................................128
Appendix G ................................................................................................................................................130
Control Command Summary: ......................................................................................................130
Appendix H ................................................................................................................................................131
Trouble Shooting the CFG60 Program ........................................................................................131
All Ithaca Peripherals Incorporated (Ithaca) PcOS Series 60 Printers come with a standard 12 month warranty covering both
parts and labor.
An optional warranty, covering both parts and labor for 24 months, may be purchased separately.
For more information concerning the warranty options, please contact your dealer or the Sales department at Ithaca
Peripherals:
Sales:
Ithaca Peripherals Incorporated
Page vi Rev C 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Paper Motion
20 Bomax Drive
Ithaca, NY 14850
(607) 257-8901
Service Information
The printer may be serviced by a dealer, an independent service contractor, or by Ithaca Peripherals. If the printer is to be
serviced by Ithaca Peripherals, a return authorization is required. Call Field Engineering at (607)257-8901 and ask for a
return authorization.
The printer will need to be packed in the original packing material and box and sent to Ithaca Peripherals. Information on
shipping the printer will be provided with the return authorization.
What is in this book?
Who is it For?
This book is intended for system engineers or system integrators. It contains the information you need to integrate the
Series 60 printer with a point-of-sale terminal and to program the terminal to communicate with the printer.
What Does it Cover?
This programmer's guide provides the following information:
• Start up information including diagnostics and fault conditions.
• Command descriptions.
• Character Fonts.
• How to use the printer features.
• Parallel and RS-232 interface information.
• Communications and buffers.
• Command code reference tables.
Rev C 7/8/2008 Page vii
Control Codes PcOS Series 60 Programmer's Guide
Paper Motion Ithaca Peripherals Incorporated
Where Can You Find More Information?
An Operator's Guide is available that describes setting up the printer and all the operating procedures such as changing
journal and receipt paper, printing on a slip or form, and changing the ribbon cassette.
A Service Guide is available1. It's intended for trained technicians who will be servicing the printer.
For information about ordering these books, refer to the next section.
Contacting Ithaca Peripherals
The Sales department and Field Engineering department will be able to help you with most of your questions.
Contact the Sales Department for technical support, to order documentation or receive additional information about the
Series 60 Printer, to order supplies, or to receive information about other products by Ithaca Peripherals.
Contact the Field Engineering department if you would like information about your warranty, or if you need to send a
printer in for service.
You can contact both the Sales department and the Field Engineering department at the following address and phone or fax
numbers:
Ithaca Peripherals Incorporated
20 Bomax Drive
Ithaca, NY 14850
Main phone: (607)257-8901
Main fax: (607)257-8922
Sales/Field Engineering fax: (607)257-3868
1
The Service Guide will be available in 1993.
Page viii Rev C 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Paper Motion
Description of the Series 60 Printer
The Ithaca PcOS (personal computer, point-of-sale) Series 60 Printer can be ordered in several configurations to perform a
variety of functions in any point-of-sale operation. The standard model (Model 63) is equipped with all three print stations:
slip, receipt, and journal.
Other models come as either slip, slip and receipt, or slip and journal.
The slip station prints (or validates) on receipts, credit slips, and multi-part forms. The receipt station prints on standard
receipt paper to provide your customers with a record of their purchases. The journal station prints a permanent record of all
your business transactions on standard journal paper.
The unique modular design of the Series 60 Printer allows it to be upgraded or downgraded to perform the same functions
as any other model in the series.
Series 60 Models
There are four models in the Series 60 line of printers, all with the slip station and their own unique set of features. Models
62, 63, and 64 are multi-station printers.
• Ithaca PcOS Model 61 Slip Printer
• Ithaca PcOS Model 62 Slip and Receipt Printer
• Ithaca PcOS Model 63 Slip, Receipt, and Journal Printer
• Ithaca PcOS Model 64 Slip and Journal Printer
PcOS Model 61 Slip Printer
• Prints (or validates) on a variety of forms, such as receipts, credit slips, and multi-part forms (up to four
forms in a multi-part form)
• Prints up to 60 characters at 17 characters per inch
• Prints up to 80 characters at 24 characters per inch on single- or multi-part forms
• Prints rotated characters in 90 degree increments
• Senses the top and bottom of forms
• Ejects forms from either the front or rear of the printer
Rev C 7/8/2008 Page ix
Control Codes PcOS Series 60 Programmer's Guide
Paper Motion Ithaca Peripherals Incorporated
PcOS Model 62 Slip and Receipt Printer
• Adds receipt station to Model 61 Slip Printer
• Prints receipts at 10, 12, 17, or 24 characters per inch
• Prints receipts up to 48 columns at 17 characters per inch
• Cuts receipt automatically
• Prints rotated characters in 90 degree increments
PcOS Model 63 Slip, Receipt, and Journal Printer
• Adds receipt and journal stations to Model 61 Slip Printer
• Prints receipts at 10, 12, 17, or 24 characters per inch
• Prints receipts up to 48 columns at 17 characters per inch
• Cuts receipts automatically
• Prints journal up to 40 columns at 17 characters per inch
• Prints rotated characters in 90 degree increments
• Includes standard automatic journal take-up
PcOS Model 64 Slip and Journal Printer
• Adds journal function to Model 61 Slip Printer
• Prints journal up to 40 columns at 17 characters per inch
• Prints rotated characters in 90 degree increments
• Includes standard automatic journal take-up
Standard Features
• Interfaces
• Centronics Parallel Interface, 2K buffer
• RS-232 Serial Interface, 19.2K Baud, 2K buffer
• Up to 7 lines printed per second
• Dual cash drawer drivers with drawer OPEN/CLOSED status
• Snap-on ribbon cassette
• All points addressable graphics
• IBM/Epson compatible
• Self test
• IBM character sets I and II
Optional Features
• Custom PROMS to allow operation in various computer or simulation environments
• Most common languages (number of resident languages depends on language mix
Reliability
• Mean time between failure: 25,000 hours (except printhead)
• Printhead life: 200 million characters
• Auto cutter life: 1 million cuts
• Auto cutter mean time between failure: 300,000 cuts
• Mean time to repair: 15 minutes
Page x Rev C 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Paper Motion
Print Characteristics
Character Information
The Ithaca PcOS Series 60 Printers prints characters in a variety of pitches as shown in the following table and print
samples. Each pitch can also be printed in a variety of styles affecting the appearance of the characters and the speed of the
printer.
For information about programming the printer to print a particular pitch or style, please refer to the "Programming" section
on page 29.
Note: 10 Characters per inch is sometimes referred to a Pica, 12 CPI is sometimes referred to as
Elite
Rotated Print: The printer can be programmed to rotate characters in 90 degree increments. All rotated print is in the 12
CPI format. For information about programming the printer to rotate characters, please refer to the "Control Codes and
Features sections"
Maximum Characters per Line
Station
Receipt
Station
Journal
Station
Character Generation
All the character sets and modes are based on one of two character cells, 10 wide by 9 high or 12 wide by 9 high. Double
wide mode, is twice the width of the normal mode or 20 wide by 9 high or 24 wide by 9 high.
In utility print mode he character cell consists of five full dots and five half dots horizontally by nine full dots vertically,
the character is a 9 by 9 character I High Speed Draft mode the character cell is shortened by one half and one full dot
column. This yields a 7 by 9 character.
Each character is justified to the left of the cell. The first four columns of the full dots and the first three columns of half
dots are used to generate the character in high speed draft, while the first five columns of the full dots and the first four
columns of the half dots are used in utility mode. The last full dot and the last two half dots are used for character spacing
in both modes.
Rev C 7/8/2008 Page xi
Control Codes PcOS Series 60 Programmer's Guide
Paper Motion Ithaca Peripherals Incorporated
The following illustration shows a single wide character cell:
1 3 5 7 9
2 4 6 8 10
1
2
3
4
5
6
7
8
9
1 3 5 7 9 11
2 4 6 8 10 12
1
2
3
4
5
6
7
8
9
Full Dots
Half Dots
Descender (Row 8 & 9)
& Underline (Row 9)
Character
Spacing
High Speed Draft
Single Wide Character
The example above shows the full dots as adjacent to each other in the character cell. This is true for the 12 CPI mode
only. The 10 CPI mode allows a gap between adjacent full rows, 17 and 24 CPI allow an overlap of full rows.
The printer can not print adjacent full and half dots in any single row. Some graphics (Double Density Half Speed) allow
adjacent rows to be printed by slowing the print speed by half. This allows time between half and full columns to be the
same as between full columns in full speed operation.
The following illustration shows the use of full and half dots as well as descenders to form characters:
1 3 5 7 9
2 4 6 8 10
1
2
3
4
5
6
7
8
9
Character
Spacing
Utility Mode
1 3 5 7 9
2 4 6 8 10
1 3 5 7 9
2 4 6 8 10
Page xii Rev C 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Paper Motion
Control Codes Overview
This programmer's guide is designed to help users of Ithaca Peripherals Series 60 Slip Printer develop applications. The
Series 60 printers are specialized Point Of Sale POS printers that have several features not normally found on general
purpose printers. Because of these special features, the Series 60 printers have some specialized codes that control these
features. This programmer's guide documents all the control codes with emphases on those codes that are unique to the
Series 60 printer.
All Ithaca Peripherals Series 60 printers have both a serial and parallel interface. Both interfaces provide the same printer
control2 and use the same codes.
Nomenclature
Whenever describing control codes there is confusion as to whether the description is decimal, hex, or ASCII. To minimize
this problem, this users guide will use the following nomenclature when describing control code sequences:
[ ] Enclose a control character. This is a single 8 bit value as defined in the standard ASCII tables. The
< > Enclose an 8 bit value in decimal format. This value will be from 0 to 255
An example would be <2> which would represent 02H or 2 decimal
<n> This indicates a variable parameter. In this case a variable parameter "n" that can have a value of from 0
<n>1 <n>2 This indicates that there are 2 parameters, n1 and n2 where both can have values from 0 to 255.
x All other characters in control strings represent ASCII characters.
For example " [ESC] 1 " Would represent 1BH followed by 31H.
ASCII chart in Appendix A lists all the control codes. An example would be [ESC] which would
represent a 1BH or 26 Decimal
to 255. The meaning of "n" is described and defined in the description of the command.
The CFG60 Configuration and demonstration program3 uses the same nomenclature. All print examples shown in this
manual are available for CFG60.
In many cases, applications require that control sequences be specified in Hex or Decimal codes. In most cases all
commands are specified in ASCII, Hex and Decimal. There is an ASCII chart in the Appendix that lists ASCII, Decimal,
and Hex Equivalents.
IPCL Codes
IPCL (Ithaca Printer Control Language) codes are designed to control a printer without using control characters. Not all
commands are supported by IPCL codes. For those commands that are the IPCL code is listed.
Occasionally an IPCL code will interfere with the text that are to be printed, the IPCL translator can be disabled with an
[ESC]y<4> command.
2
The Serial Interface does provide a few additional interface capabilities because of the ability of the serial interface to be
bi-directional.
3
CFG60 is available from Ithaca Peripherals at no cost. This program runs on IBM PC or compatible.
Rev C 7/8/2008 Page xiii
Control Codes PcOS Series 60 Programmer's Guide
Paper Motion Ithaca Peripherals Incorporated
Application Development
To aid in application development there two sections in this manual that are designed to help the programmer understand
the series 60 printer.
The first is a how to section that explains ways to use the special features and get the most out of the printer.
The second section is an explanation of how the printer, it's print buffer, the communications link, and the host computer
interact.
Tables and Charts
Throughout this programmer's guide there are charts and tables that list commands and features. In most cases these charts
cross reference the page that describes the command. Commands are grouped by function and can at times be hard to find.
To minimize the time it takes to find commands, there are two code summary charts in the following section, one ordered
by code and one ordered by function.
Printer Control Codes
Print / Paper Motion
Page xiv Rev C 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Data Sent to printer
Ithaca Peripherals Incorporated Paper Motion
Low Level Paper Motion Control
Function: Carriage Return
ASCII: [CR]
Hexadecimal: 0DH
Decimal: <13>
IPCL: &%CR
Description: Print contents of print buffer (if any) and reset the next character print position to the left margin. A line
Function: Line Feed
ASCII: [LF]
Hexadecimal: 0AH
Decimal: <10>
IPCL: &%LF
Description: Print contents of buffer (if any) and advance paper one line at the current default line spacing. The next
NOTE: The journal feeds only from back to front.
feed is NOT performed. The left margin is defined by the current print station, the print rotation direction
and the left margin command.
character print position is reset to the left margin. The direction moved is defined by the current print
station, the rotated print command, and the paper motion set by the [ESC] r, [ESC] n or [ESC] o
commands.
Description: Feed receipt tape 7" or to mark.". This command will feed the Receipt out until a black mark is found on
When the mark is found it will be about 1.75" from the print line. There will be about 14 lines of print (at
NOTE: The knife will not operate if the mark is under the rear slip sensor. The knife safety logic thinks
The Mark must be at least 0.1875" long and 0.75" from the left side of the Receipt. The mark must not
Typically this command is issued to feed the receipt after the receipt is complete.
feed the slip 2.0".
Typically this command is issued to feed the receipt after the receipt is complete, or to eject a form from
the printer
the right side of the receipt tape. Typically this command is issued to feed the receipt to locate a marker
on a pre printed tape.
1/8" spacing ) to the mark.
that the receipt is not loaded and will not cycle. Feed the paper past the mark before cutting. Use an
[ESC] q command before the [ESC] v to force the knife safety logic to wait for the line feeds before
checking the sensors.
reflect IR. light.
Note: This command does not function in journal mode.
Function: Feed to End of Slip
ASCII: [ESC] m
Hexadecimal: 1BH 6DH
Page xvi Rev C 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Paper Motion
Decimal: <27><109>
IPCL: &%LE
Description: Feed the slip to the edge. This command feeds the slip until either the front or the rear slip sensor no
When the form is fed from front to back the print line will be about 0.375" from the edge. When the form
NOTE: This command does not function in journal mode
Function: Set Variable Line Space n/216"
ASCII: [ESC] 3 <n>
Description: Set default line spacing to n/216". Set n =1 to
NOTE: This command does not affect journal
Function: Set Line Space 27/216"
ASCII: [ESC] 0
Hexadecimal: 1BH 30H
Decimal: <27><48>
IPCL: &%ST
Description: Set default line spacing to 27/216". This is a standard 8 lines per inch line spacing. This is the default
NOTE: The journal is always printed at 8 lines per inch. This command is accepted and will affect
longer sees the slip. The slip will be fed in the direction last specified. The feed will be a maximum of 7"
and then stop. The ENQ <5> and <6> commands can be used to verify the operation of this command.
A second [ESC] m command can be issued to feed more than 7". If the second command is issued after
the end is found it will not cause any paper motion.
is fed from back to front the print line will be about 1.75" from the edge.
255. This command sets the line feed spacing
used by [LF] to values other than 1/8 or 7/72
inch. This command takes effect immediately as
opposed to the set variable line spacing.
Resulted in this print
spacing. The journal is always 8 lines per inch.
This command is accepted and will affect receipt
and slip mode.
[ESC]3<54>
Example of Setting Fine Line Feed[CR][LF]
This line is 1/4" below the first.[CR][LF]
This l ine is also 1/4" below the
last.[CR][LF]
Data Sent to the printer
text line spacing at power up.
receipt and slip mode.
Rev C 7/8/2008 Page xvii
Control Codes PcOS Series 60 Programmer's Guide
Paper Motion Ithaca Peripherals Incorporated
Function: Set Line Space 21/216" or (7/72")
ASCII: [ESC] 1
Hexadecimal: 1BH 31H
Decimal: <27><49>
IPCL: &%SG
Description: Set default line spacing to 21/216". This line spacing is for APA (All Points Addressable) Graphics
NOTE: This command will not affect the journal station. This command is accepted in journal mode and
Function: Set Variable Line Space n/72"
ASCII: [ESC] A <n>
Description: Enable [ESC] A <n> line spacing. This is a companion to the [ESC] A <n> command and puts to
NOTE: This command will not affect the journal station. This command is accepted and will affect
printing.
will affect receipt and slip mode when selected.
1
the [ESC] 2 command. This command is provided to maintain backward compatibility with Series 50 and
OKIDATA IBM compatible printers. It can be used to print on pre-printed forms.
receipt and slip mode.
specified line spacing into effect. It will remain in effect until another line spacing command is issued.
receipt and slip mode.
[ESC]A<18>
Example of Setting Variable Line
Spacing[CR][LF]
This line is 1/8" below the first.[CR]
[ESC]2[LF]
This line is 1/4" below the last.[CR]
[ESC]0[LF]
This line is back at 1/8"[CR][LF]
Data Sent to printer
Page xviii Rev C 7/8/2008
Resulting Print
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Paper Motion
Function: Set Line Feed Direction Back to Front
ASCII: [ESC] n
Description: Set slip spacing direction from front to back of printer. This command sets the feed direction and will
NOTE: This command is overridden by a station select command. Selecting the slip station defines the
NOTE: Although this command will work on the receipt station, no more than 1/8 inch should be fed,
NOTE: This command will not affect the journal station. This command is excepted and will affect
NOTE: Whenever the slip is moved in the opposite direction of the intended print, the feed in the non-
will operate in Slip and Receipt mode. This and its companion command [ESC] o can be used to move a
slip into any print position.
feed direction to be from front to back. Selecting the receipt station defines feed direction to be from
back to front. Once the station is selected the [ESC] n command can be used to change the direction.
receipt and slip mode.
the non-print direction should be moved one unit too far. The form should then be repositioned in the
intended print direction. This will minimize positioning errors caused by any mechanical backlash.
operate in Slip and Receipt mode. This and its companion command [ESC] n can be used to move a slip
into any print position.
feed direction to be from front to back. Selecting the Receipt station defines feed direction to be from
back to front. Once the station is selected the [ESC] o command can be used to change the direction.
in the front to back direction. It is possible to cut the receipt, feed the receipt to cut with the [ESC] e
command, and then reverse feed. this will in effect make a slip out of a receipt.
receipt and slip mode.
print direction should be moved one unit too far. The form should then be repositioned in the intended
print direction. This will minimize positioning errors caused by mechanical backlash.
Rev C 7/8/2008 Page xix
Control Codes PcOS Series 60 Programmer's Guide
Horizontal Motion Ithaca Peripherals Incorporated
Horizontal Motion Control
There are two commands that can control the horizontal position of characters. Many applications use space control to
positions fields, however, there is the ability to control character position with horizontal tab stops and using the horizontal
tab [HT] to move to those tab stops.
Function: Horizontal Tab
ASCII: [HT]
Hexadecimal: 9H
Decimal: <9>
IPCL: NONE
Description: Inserts spaces in the print buffer up to the next tab stop. The default tab locations are every 8 spaces.
Function: Set Horizontal Tab Stops
Description: Set tab stops at the character columns specified by <n>. The end of the settings is specified by a <0>.
Column sizes are in accordance with the current character pitch.
Setting tabs that are beyond the station width is possible. A [CR] will be inserted if the tab is used.
The power up default is every 8 spaces, i.e. 9, 17, 25 and so on.
All previously set tabs will be cleared by this command. There is no restore defaults procedure other than
to re specify the tabs.
There are a number of Character pitch and print mode operations that are possible and a few that are not. The following
table lists the operations that are possible in matrix form.
Operation 10
10 cpi
12 cpi
17 cpi
24 cpi
Line Graphics
Super / Sub
Util
NLQ
HSD
Emphasize
Enhanced
Double wide
Underline
Rotate 180°
Rotate 90°/270°
NOTE: Feature Available Feature NOT Available Switches to 10 CPI Emphasize. If 17 or 24 CPI was set previously to the emphasize command, the
Prints half high full width utility script.
In rotated 90° or 270° mode the print is done in APA Graphics. The print is in 12 CPI character cell size.
12 cpi 17 cpi 24 cpi Line
cpi
Graphic
s
Super
Util NLQ HSD Emph
/ Sub
asize
Enha
nced
Double
wide
Under
line
Rotate
180
Rotate
90°
/270°
characters will be printed at 10 CPI with Emphasize. When Emphasize is terminated, the print will revert
to 17 or 24 CPI.
The inter-character spacing can be adjusted with the normal line spacing commands.
Rev C 7/8/2008 Page 21
Control Codes PcOS Series 60 Programmer's Guide
Character Pitch Ithaca Peripherals Incorporated
Function: Begin 10 CPI character pitch
ASCII: [DC2]
Hexadecimal: 12H
Decimal: <18>
IPCL: &%F3
Description: Set 10 character per inch print pitch.
Function: Begin 12 CPI character pitch
Description: Set 24 character per inch print pitch
[DC2]
This line is 10 CPI[CR][LF]
[ESC]:
This line is 12 CPI[CR][LF]
[SI]
This line is 17 CPI[CR][LF]
[ESC][SI]
This line is 24 CPI[CR][LF]
Data sent to the printer
Page 22 Rev C 7/8/2008
Resulting print
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Character Pitch
Function: Begin one line double wide print
ASCII: [SO]
Hexadecimal: 0EH
Decimal: <14>
IPCL: &%MW
Description: This command causes subsequent characters to
be printed at twice the currently selected
character width. For example 10 cpi becomes 5
cpi, 17 cpi becomes 8.5 cpi etc. This
command remains in effect until :
a. - a valid line terminator is received ( CR,
LF, or Fine Line Feed)
b. - The command is canceled
c. - The maximum number of characters per
line is reached and the printer performs an auto print
Function: Cancel one line double wide print
ASCII: [DC4]
Hexadecimal: 14H
Decimal: <20>
IPCL: &%MN
Description: Cancel one line double wide mode set by [SO] command. This command allows single and double wide
characters to be printer on the same line.
Function: Begin Multi line double wide print
ASCII: [ESC] W <1>
Description: Begin NLQ print mode ( 2 pass 9x7 font). This is generally regarded as a Near Letter Quality print node.
Underline character attributes are not available in this mode.
enhanced print is not required.
Subscript, Superscript, and Underline character attributes. Print speed is reduced approximately 20%
over the High speed Mode (HSD).
speed Mode (HSD). The effect is to darken the resulting print
The print speed is reduced and character features are added to the font to enhance the appearance.
[ESC]f[ESC]:
{rpt:5}[LF]
[ESC]v
[ESC]#<0>
This is High Speed Draft [CR][LF]
Mode at 12 CPI.[CR][LF][LF]
[ESC]I<1>
This is Utility Print Mode.[CR][LF][LF]
[ESC]I<2>
This is Enhanced Print Mode.[CR][LF][LF]
[ESC]I<3>
This is Near Letter Quality[CR][LF]
Print Mode (NLQ).[CR][LF][LF]
[ESC]z
Data sent to the printer
Page 24 Rev C 7/8/2008
Resulting Print
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Character Font
Function: Select Character Set 1 (Default Character set)
ASCII: [ESC] 7
Hexadecimal: 1BH 37H
Decimal: <27><55>
IPCL: &%C1
Description: Select character set 1. This character set consists of characters 32 through 127 and 160 through 255 in
the character chart below. Characters 128 through 1595 are not implemented and should not be sent to
the printer.
NOTE: Characters 176 through 228 (Block Graphics) and 244 should not be used in journal mode as they
are multiple pass fonts that will not print well on the journal.
5
Because of limited code space the validity of characters between 128 and 159 are not checked in character set 1. In most
cases sending these values to the printer will have unexpected effects.
Rev C 7/8/2008 Page 25
Control Codes PcOS Series 60 Programmer's Guide
Character Font Ithaca Peripherals Incorporated
Function: Select Character Set 2
ASCII: [ESC] 6
Hexadecimal: 1BH 36H
Decimal: <27><54>
IPCL: &%C2
Description: Select character set 2. This is a full character set. It includes characters between 32 and 255 from the
NOTE: Characters 176 through 228 (Block Graphics) and 244 should not be used in journal mode as they
chart below.
are multiple pass fonts that will not print well on the journal.
Page 26 Rev C 7/8/2008
Programmer's Guide PcOS Series 60 Control Codes
Ithaca Peripherals Incorporated Print Rotation
Print Rotation Commands
To provide flexibility in printing on preprinted and various size forms, rotated print capability is provided in slip and receipt
mode. This mode will rotate the print in any of three 90 degree orientations.
In 90° and 270° rotated mode, the print data is first buffered by the printer, processed (rotated) and then printed. This
causes the print process to be delayed slightly as it takes some time to process the data before it is printed. In 180° mode,
the print is simply inverted.
Because the rotated 90° and 270° print buffer is limited to 1024 characters, the amount of rotated print is limited. The
technique used by the Series 60 printer is to receive all the print to be rotated and convert it into graphics. This requires
buffer space for all possible characters in each print line. Each line has a fixed length buffer regardless of how much data is
actually sent to the printer. The printer will space fill the buffer for each line to the maximum size. This means that a short
line of two characters will take as much buffer space as a long line.
To make the most efficient use of buffer space the line length is pre defined. The default line length is 48 characters which
leaves room for 21 lines. To allow longer lines to be printed the line length can be changed, however no more than 25 lines
are allowed and no more than 80 characters per line are allowed. For example if the line length is expanded to 80 there is
buffer space for 1024/80 or 12 lines.
The spacing between lines is controlled by a line spacing table. This table is defined by the rotated print line spacing
([ESC] u ... ) command. This command specifies the number of dots between each printed line. Each line has an entry in
the table. There is room for 25 lines in the table. The default and minimum is one dot or 1/60 of an inch between lines or 6
2/3 lines per inch.
The character cell is a 5x8 with one dot of white space min. If the spacing between lines is set to 1 the character cell will be
5x9. If the spacing is set to 2 dots the cell will be 5 x 10 and so on. The following table specifies lines per inch for various
numbers of inserted dots.
Number of dots added 1 2 3 4 5 6 7
Cell Size 5x9 5x10 5x11 5x12 5x13 5x14 5x15
Line spacing (inches) 0.15" 0.167 0.183 0.20 0.22 0.23 0.25
Number Lines/inch 6.667 6 5.45 5 4.62 4.29 4
In rotated 90° or 270° mode the print is done in APA6 Graphics. The print is in a modified 12 CPI character cell size. The
inter-character spacing is adjusted with the normal line spacing commands. The [ESC]3<n> command is the most
effective command for adjusting inter character spacing. Because the character is close to a 12 CPI cell, much less than 12
CPI will force the characters to overlap. (Spacing of 12 CPI is obtained with an [ESC] 3 <18>.)
When rotate 90° or 270° is selected only normal text can be printed. Underline, Enhanced, Emphasized and other attributes
will not function. See chart on page 21 for a list of available features.
In rotated 180° mode the 10, 12, 17, and 24 CPI spacing commands are effective. This mode of operation simply inverts
and mirrors the print operation. All line spacing and print features are available. It should be noted that the feed direction
is not affected by any of the rotate commands.
6
APA - All Points Addressable
Rev C 7/8/2008 Page 27
Control Codes PcOS Series 60 Programmer's Guide
Print Rotation Ithaca Peripherals Incorporated
Function: Begin 90 Degree Rotated Print
ASCII: [ESC] r <1>
Description: All subsequent lines will be rotated 180 degrees and positioned at the opposite margin. This command is
NOTE: The last line of print must be terminated with a line terminator before the END rotated command
NOTE: The definition of normal is rotated 180° on the slip station.
<0>) command is received, the printer will format and print the data. The print will be rotated 90
degrees according to the current stored format parameters. In slip mode, the rotated pattern will be 180
degrees different than in receipt mode. However, the resulting print will be the same provided the feed
direction is correct.
<0>) command is received, the printer will format and print the data. The print will be rotated 270
degrees according to the current stored format parameters.
direction in receipt mode must always be from back to front. It is recommended that only rotate 90° be
used on the receipt.
effective on all stations including the journal. This command will remain in effect until rotation is
canceled with an End Rotated Print ([ESC] r <0>) command, or a station select command is issued.
is issued. Any characters in the print buffer that have not been printed will not be printed. They will be
printed un-rotated when a line terminator is received.
Description: Adjustline spacing for each rotated print line. Where ni is the line number, mi is the spacing in dot
For the first print line the distance is calculated from the margin. An ni value of 0 is used to terminate the
The value of m can be from 1 to 127, n can be from 1 to 25.
NOTE: When this command is used ENQ processing must be disabled. This will prevent unwanted ENQ
been printed will NOT be printed.
characters is 80 per line. The power on default line length is 48 characters.
rounding down to the nearest whole number. The minimum number is 40 characters. Any value less
than 40 will not allow any additional print lines to be printed.
1
<m>1 <n>2 <m>2 ... <n>i <m>i <0>
columns (1/60") from the previous line.
command. Any unspecified spacing will be set to 1. This allows data to be accurately positioned on an
inserted form. These values will be used as a template for all subsequent rotated print. On power up, all
spacings are preset to 1/60" (n=1, 6.667 Lines per inch) for all lines. This command is only effective in
90° and 270° degree rotation. It will remain in effect until a new table is received or until the printer is
power cycled. An [ESC] u <0> will have the effect of setting all lines to 1.
responses.
Number of dots added 1 2 3 4 5 6 7
Cell Size 5x9 5x10 5x11 5x12 5x13 5x14 5x15
Line spacing (inches) 0.15" 0.167 0.183 0.20 0.22 0.23 0.25
Number Lines/inch 6.667 6 5.45 5 4.62 4.29 4
The following chart illustrates the line spacing command.
Rev C 7/8/2008 Page 29
Loading...
+ 120 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.