Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Escape! V3.0 - <b>hpoverlay()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
hpOverlay()

Enable auto macro overlay


Syntax

hpOverlay(<nId>)


Parameters

<nId>
The ID number of the macro to enable for automatic overlay.


Returns

0
Successful.

-12
Wrong number of parameters passed.


Remarks

Upon the execution of hpOverlay() the macro specified by the ID # <nId>
is designated as the macro to use for automatic macro overlay on each
page.  When a macro is enabled for automatic overlay, its execution
will be the final operation each time a page is printed.  After the macro
is run, the previous current environment is restored, replacing the
overlay environment.  For more information on macro overlays, refer to
your HP technical reference manual.


Support By

All HP Laser Printers except the original HP Laserjet


Example

hpPrintOn()
hpConfig()
hpSetFont()
hpStartMacro(1)
.
.              // macro definition
.

hpEndMacro(1)
hpOverlay(1)    // enable auto macro overlay
.
.              // print routine
.

hpReset()
hpOverOff()
hpClrMacros()   // delete all macros from memory
hpPrintOff()

See Also: hpStartMacro() hpEndMacro() hpExecMacro() hpClrMacros() hpCallMacro() hpOverOff()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson