Programming Controls; Control Codes Overview; Nomenclature - TransAct POSjet 1500 Programmer's Manual

Transact posjet 1500: software guide
Hide thumbs Also See for POSjet 1500:
Table of Contents

Advertisement

Control Codes

Programming Controls

Control Codes Overview

This programmer s guide is designed to help users of the POSjet
Printers are specialized point-of-sale printers that have several features not normally found on general-purpose
printers. Because of these special features, POSjet
Guide documents the control codes that are unique to the POSjet

Nomenclature

When describing control codes, confusion often occurs as to whether the description is decimal, hexadecimal, or
ASCII. To minimize the problem, this Programmer's Guide uses the following nomenclature when describing
control code sequences.
[ ]
Encloses a control character. [ ] represents a single, 8-bit value as defined in the standard ASCII
tables. The ASCII Code Table in Appendix B lists the control codes. An example would be
[ESC], which would represent a 1BH or 27 decimal.
< >
Encloses an 8-bit value in decimal format. The value is from zero to 255. An example is <2>,
which represents 02H or 2 decimal.
<Name...>
This indicates an ASCII string. ASCII strings are terminated by some special character typically a
NUL character.
<n>
Indicates a variable parameter. The variable parameter, <n>, can have a value from zero 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
255.
<m
> <m
>
Is an Ithaca
1
2
<m
> are ASCII characters from zero to nine. The parameter is combined to form a value from
2
zero to 99. If <m
are specified, there must be two bytes added to the IPCL code. That is, if the command specifies
<m
> <m
1
x
All other characters in control strings represent ASCII characters.
represents 1BH followed by 31H.
In many cases, applications require that control sequences be specified in hexadecimal or decimal codes. In most
cases, commands are specified in ASCII, hexadecimal, and decimal. Appendix B : ASCII Code Table, on page 269
lists ASCII, hexadecimal, and decimal equivalents.
Page 90
POSjet
®
®
Printer Control Language (IPCL) parameter consisting of two digits where <m
> is included, the parameter is combined to be from zero to 999. If two values
3
> and the desired value is five, it must be specified as 05.
2
Rev M
®
1500
®
1500 Printer develop applications. POSjet
1500 Printers have unique control codes. This Programmer s
®
1500 Printer.
> and <n
>, where both can have values from zero to
1
2
Programmer' s Guide
®
1500
> and
1
For example, [ESC] 1
Nov-07

Advertisement

Table of Contents
loading

Table of Contents