Control Commands; Control Codes Overview; Nomenclature - Ithaca PcOS Series 80PLUS Programmer's Manual

Ithaca pcos series 80plus pos thermal printer
Table of Contents

Advertisement

Programmer's Guide
Chapter 6:

Control Commands

Control Codes Overview

This programmer's guide is designed to help users of the PcOS Series 80PLUS Printer develop
applications. The PcOS Series 80PLUS printers are specialized point-of-sale (POS) printers that have
several features not normally found on general purpose printers. Because of these features, the PcOS
Series 80PLUS printers have specialized codes to control these features. This programmer's guide
documents the control codes with an emphasis on those codes that are unique to the PcOS Series
80PLUS printer.
All PcOS Series 80PLUS printers are available with both a serial or parallel interface. Both interfaces
provide the same printer control

Nomenclature

When describing control codes, there is often confusion as to whether the description is decimal, hex,
or ASCII. To minimize this problem, this programmer's guide will use the following nomenclature
when describing control code sequences:
[ ]
This encloses a control character and is a single 8-bit value as defined in the standard
ASCII tables. The ASCII table in Appendix C lists all the control codes. An example
would be [ESC] which would represent a 1BH or 26 Decimal.
< >
This encloses an 8-bit value in decimal format. The 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, can have a
value from 0 to 255. The meaning of n is described and defined in the description of the
command.
<n
> <n
>
This indicates that there are two parameters, n
1
2
to 255.
<m
> <m
> This an IPCL parameter consisting of two digits, where m
1
2
from 0 to 9. The values will be combined to form a value from 0 to 99. If m
the parameter will be combined to form a value from 0 to 999.
If two values are specified, there must be two bytes added to the IPCL code. In other
words, if the command specifies <m
be specified as 05.
x
All other characters in control strings represent ASCII characters. For example, [ESC] 1
represents 1BH followed by 31H.
1
The serial and IEEE 1284 interfaces provide a few additional interface capabilities over a standard
parallel interface. The parallel M80PLUS supports the IEEE 1284 interface and provides a bidirectional
data path.
PcOS Series 80PLUS
1
and use the same control codes.
> <m
> and the desired value is 5, the value must
1
2
Rev B 4/13/99
Control Commands
and n
, where both have values from 0
1
2
and m
are ASCII characters
1
2
Overview
is included,
3
Page 15

Advertisement

Table of Contents
loading

Table of Contents