How To Use Ipcl Commands In Text Strings; Load And Store Named Graphic Image; Recall And Print Stored Named Graphic Image; Cautions - TransAct POSjet 1500 Programmer's Manual

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

Advertisement

Data Processing and
Communications
&%UAxxx
&%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&
Erase all stored universal graphics. (Erases all User Store)
&%UQ&
&%UTx
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: 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 "
Send the following text strings to the printer using whatever means is available to you.
&%UBLogo&
&%UGLogo&
&%UMLogo&
A graphic image named "Logo" should now be stored in the nonvolatile memory.
To verify the image is present, use the "&%UQ&" IPCL command or the PJColorII Color Image Converter
to print the name and size of the stored images.

Recall and print stored named graphic image

Send the following text string to the printer using whatever means is available to you.
&%URLogo&

Cautions

Universal graphics information is stored in the same place as user defined characters and user defined macros. If
you are using an emulation such as EPOS that supports macros and/or user defined characters, universal graphics
will compete for space with these functions. In addition, the "&%UFALL&" (Erase universal graphics) will also
erase any user defined graphics and macros.
If you are using the Ithaca PcOS emulation, these commands are identical with the User Store commands except for
the terminator character. The NUL terminator and the "&" terminator are both active. You may use the "&" if you
find it easier. Note that the "&" may be redefined by command.
Page 246
POSjet
Feed xxx dot rows and activate the autocutter.
Flag universal graphic "Name" to be run when the printer is turned on &%UFALL&
Prints a directory of the universal graphics currently stored in the printer
Changes the Name termination character from "&" to "x". "x" may range from
21H to 255H
Generate a file to store graphics into a printer
Begin defining macro "Logo"
End the Definition of "Logo"
Save Macro "Logo" to nonvolatile memory
Run Macro "Logo" (Print the macro)
Rev M
®
1500
Programmer' s Guide
" section above
Nov-07

Advertisement

Table of Contents
loading

Table of Contents