beautypg.com

Ipds coding example, Print sample from an ipds application program – Compuprint 4247-Z03 Programmer Manual User Manual

Page 243

background image

IPDS Coding Example

The 4247 Printer produced this example of text, bar codes, and block graphic characters printing on the
front continuous forms paper source. The code used to print the example appears in Figure 30.

The following chart is an example of an IPDS application program that prints the block graphic characters,
two bar codes, and text information shown in Table 9, printing on the front continuous forms paper source.
The first column (IPDS Commands) contains abbreviations of the IPDS instructions that are coded in
column 2. Column 2 (Hexadecimal Code) contains the hexadecimal code that produces the characters, bar
codes, and text pictured in Table 9. Column 3 (Code Explanation) explains each command element.

When the application is actually coded, the hexadecimal code of each command may be entered in one
stream. The IPDS command abbreviations in the first column and the explanation of each part of the
command in the last column, are comments.

Table 9. IPDS Coding Example

IPDS Command Hexadecimal Code

Code Explanation

********

Printer Initialization

SHS

0005

Control Length

D697

Set Home State

00

Flag Byte

X0A(EHC)

000A

Control Length

D633

Execute Order Any State

00

Flag Byte

F600

Exception Handling Order

C1

Report All Exceptions

01

Do Not Take Alternate Action

Figure 30. Print Sample from an IPDS Application Program

Chapter 6. Print Samples and IPDS Coding Example

223

This manual is related to the following products: