beautypg.com

The purpose of error codes – Printronix ThermaLine Series User Manual

Page 334

background image

Error Codes

8–2

The Purpose of Error Codes

The IGP/PGL provides coded error messages to assist in “debugging”

programs. The printer will print an error message number and the program

line which contains the error when an error is detected. To help determine

exactly where the error occurred, use the following debug command

sequence:

(CC)CREATE;/FORM NAME

The slash (/) places the IGP/PGL in a debug mode, and the program prints,

line by line, with the error number and message printed below the specific

error in the program. The error–free portions of the form will print following

the program. After correcting the error(s), print the file again. When the

errors have been corrected, delete the slash. (A sample debug listing is shown

in “Solving Program Errors” on page 6–49.)

In the Execute mode, that part of the form which was correctly defined and

stored during the Create mode will print, including any dynamic data and

overlay text which was accepted before the error occurred. (Sections

containing errors must be corrected before storage in the Directory can take

place.) Any error messages will print following the printed form, and

processing will continue in the Normal mode.

In the Create Form or Create Logo mode, any error messages will print first,

followed by that part of the form/logo which was correctly defined.

Incorrectly defined elements are excluded from the form/logo.

The error codes are broken down into the categories listed in the Chapter

Table of Contents, on page 8–1. In each category, the number preceding each

error message is the actual error code reported by the printer, and the error

shown in bold is the error message printed.