HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part I

12-6 Macros EN
Deleting Macros
There are several mechanisms provided by PCL macro control
for explicit deletion of macros from user memory. These include
commands to delete all macros, all temporary macros, or an
individual macro by reference to its macro ID number, using the
Macro Control command described later in this chapter.
Both temporary and permanent macros are deleted from memory
whenever the printers power is turned off.
Macro ID
The Macro ID command specifies an ID number for use in
subsequent macro commands.
E
C
& f # Y
# =Macro ID number
Default = 0
Range = 0 - 32767
This number is used in subsequent macro operations.
The factory default macro ID is 0.
Example
To establish a macro ID number of 5, send:
E
C
& f 5 Y