How universal graphics is done, How to use ipcl commands in text strings – TransAct Technologies ITHERM 280 User Manual

Page 252

Advertising
background image

iTherm

®

280 Programmer’s Guide

ITherm

®

280 Color Graphics

Page 250

Rev C

28-07764

How universal graphics is done


The printer extends all the emulations to support two additional escape sequences and
adds limited IPCL support.

IPCL (Ithaca Printer Control Language) is an ASCII method of sending printer
commands to the printer. In Ithaca PcOS emulation, IPCL command support is
extensive. In other emulations, IPCL support is limited to the following commands.

&%CR

Insert a [CR]

&%LF

Insert a [LF]

&%UAxxx

Feed xxx paper steps and cycle auto-cutter

&%CLx

Select Color where x = 0 for the Primary or 1,2,3 for secondary

&%UBName&

Begin defining universal graphic "Name"

&%UGName&

End the definition of "Name"

&%URName&

Run (print) universal graphic "Name"

&%UDName&

Remove universal graphic "Name" from nonvolatile memory

&%USName&

Flag universal graphic "Name" to be run when the printer is

turned on

&%UFALL&

Erase all stored universal graphics. (Erases all User Store)

&%UQ&

Prints a directory of the universal graphics currently stored in the

printer

&%UTx

Changes the Name termination character from "&" to "x". "x" may

range from 21H to 255H

Note: The & used to flag the end of the Name string is not valid in PcOS
Ithaca emulation mode. You should use <0> or define the terminator with
the &%UTx command.

The extended Escape sequences are [ESC][US]… and [ESC][FS]…

The [ESC][US] commands are the same as the PcOS emulation. The [ESC][FS]
commands are not intended to be used by the customer. They provide the universal
graphics support. Because graphics would be very difficult to generate and are not
supported by any graphics drives other than PJColor .

How to use IPCL commands in text strings

If your software allows you to pass text strings to the printer, you should be able to use
the universal graphics commands. Most POS software allows user customization of the
text message printed at the beginning and the end of the receipt.
To use the Universal IPCL commands simply place them in a text string like the following
example; note that your results may vary depending on the operation system, software
and the ability to pass ASCII Characters.

Load and store named graphic image

First you must create the graphic image using the PJColor Color Image

Converter and save the image to a file. See the section “Generate a file to store
graphics into a printer
” above.

Advertising