To enable the macro with an ID of 7 for automatic overlay, send:

EC&f7y4X

To delete the macro with an ID of 7, send:

EC&f7y8X

Macro Control Example

The following illustrates the definition of a letterhead macro.

Table 12-4

EC&f1Y

Specify the Macro ID as one.

EC&f0X

Start Macro Definition.

EC&a540h360V

Position logo at (540, 360)

 

decipoints in the PCL coordinate

 

system.

 

 

EC*t150R

Set graphics resolution to

150 dots-per-inch.

 

 

 

EC*r1A

Start raster image of logo.

EC*b60W [Raster data]

Send the first raster line.

 

 

 

 

 

 

EC*b60W [Raster data]

Send the last raster line.

EC*rC

Stop raster graphics.

EC&a540h780V

Position for lettering at (540, 780)

 

decipoints.

 

 

EC(1X

Select font with ID of 1.

ABC Corp.

Text

 

 

Post Office Box 15

Text

 

 

EN

Macro Control Example 12-9

Page 265
Image 265
HP 5961-0509 manual Macro Control Example