Printronix LQH-HWTM Manuale Utente

Pagina di 302
 248
Chapter
4
Delete Command
Delete Command
The Delete command deletes any individual form or logo from the IGP 
memory according to your specifications. The deletion of a form includes its 
directory entry and any alphanumeric or vector information associated with it. 
The Delete command is used only when the IGP is in the Normal mode. 
Deletion of a logo includes its directory entry and its data in the logo storage 
area. Deletion of a valid logo which is still combined with a form will not cause 
an error at the time it is deleted; however, an error will occur if you execute a 
form that contains a previously deleted logo.
Example
From the directory printed in the preceding section, delete the practice form, 
the HandCraft Logo, and the HandCraft Boats form. Similar to the format used 
with other command sequences, the procedure is as follows: open a file, input 
the commands, exit the file, and print. For example:
Enter
Format
DELETE.FRM
(System Format)
~DELETE FORM;PRACTICE
(cc)DELETE FORM;
formname
~DELETE FORM;HCBOATS
~DELETE LOGO;HANDCRFT
(cc)DELETE LOGO;
logoname
.PRINT DELETE.FRM
(System Format)
A form cannot execute if insufficient space exists in the IGP memory. The 
directory Dynamic Work Space Bytes Free must be greater than the total size 
(in bytes) of the form. Delete older forms and/or logos to allow memory space 
for new forms and logos, or include the Delete command as the last statement 
in a logo or form program to immediately delete the data after it is processed. 
Creating a form (or logo) with the same name as an existing IGP form (or 
logo) will automatically delete the existing form (or logo). 
Solving Program Errors
If you make an error in the program to create a form or an element in the form, 
a coded error message and program line containing the error will print when 
the form is executed. These error codes are defined in the “Error Codes” 
chapter.
To solve program errors, perform the following steps:
1.
Locate the error message in the listing provided in the “Error Codes” 
chapter for a description of the error.
2.
Analyze the related portion of the program to find the error.
3.
Correct the error and reprint the file containing the program.
Note
List the directory again to verify that the forms and logos 
were deleted.