Control Codes Overview; Nomenclature - Ithaca 150 Programmer's Manual

Receipt/validation/journal printers
Table of Contents

Advertisement

Control Codes Overview

Chapter 4:
Control Codes Overview
This programmer's guide is designed to help users of the PcOS Series 150 Printer develop applications.
The Series 150 Printer is a point-of-sale (POS) printer that has several features not normally found on
general purpose printers. Because of these special features, the Series 150 Printer has distinct control
codes. This manual documents the control codes with an emphasis on those codes that are unique to the
Series 150 Printer.
All PcOS Series 150 Printers have either a serial or parallel interface. Both interfaces provide the same
3
printer control
and use the same codes.

Nomenclature

When describing control codes, there is often confusion as to whether the description is decimal,
hexadecimal, or ASCII. To minimize the confusion, this manual will use the following nomenclature
when describing control code sequences.
[ ]
encloses a control character. This is a single, 8-bit value as defined in the standard
ASCII tables. An example would be [ESC], which would represent a 1BH or 27
decimal.
< >
encloses 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>
indicates a variable parameter. <n> can have a value of from 0 to 255. The meaning
of <n> is described and defined in the description of the command.
<n
> <n
>
indicates that there are two parameters, <n
1
2
from 0 to 255.
<m
> <m
>
is an IPCL parameter consisting of two digits where <m
1
2
characters from 0 to 9. The values will be combined to form a value from 0 to 99. If
<m
> is included, the parameter will be combined to form a value from 0 to 999.
3
If two values are specified, there must be two bytes added to the IPCL code. In other
words, if the command specifies <m
must be specified as 05.
x
(all other characters in control strings) represent ASCII characters. For example,
[ESC] 1 would represent 1BH followed by 31H.
The CFG150 configuration and demonstration program
shown in this manual are available for CFG150.
3
The serial and IEEE 1284 interfaces provide a few additional interface capabilities over the standard
parallel interface. Both serial and IEEE 1284 interfaces provide a bidirectional data path.
4
CFG150 is available from Ithaca Peripherals. The program runs on IBM personal computers and
compatibles.
Page 12
PcOS Series 150
> and <n
1
> <m
> and the desired value is 5, the value
1
2
4
uses the same nomenclature. Print examples
Rev G
Programmer's Guide
>, where both can have values
2
> and <m
> are ASCII
1
2
12/14/99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcos 150 series151152153154

Table of Contents