
Control Codes Overview PcOS Series 150 | Programmer's Guide |
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
All PcOS Series 150 Printers have either a serial or parallel interface. Both interfaces provide the same printer control3 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, |
| ASCII tables. An example would be [ESC], which would represent a 1BH or 27 |
| decimal. |
< > | encloses 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. |
<n1> <n2> | indicates that there are two parameters, <n1> and <n2>, where both can have values |
| from 0 to 255. |
<m1> <m2> | is an IPCL parameter consisting of two digits where <m1> and <m2> are ASCII |
| characters from 0 to 9. The values will be combined to form a value from 0 to 99. If |
| <m3> is included, 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 <m1> <m2> and the desired value is 5, the value |
| 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 program4 uses the same nomenclature. Print examples 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 | Rev G | 12/14/99 |