TROY Group Macro Invocation User’s Guide User Manual

Macro invocation user’s guide, Understanding and using macros

Advertising
background image

Macro Invocation User’s Guide

Document #50-70348-001 Rev. C

Page 1 of 6

Understanding and Using Macros

A macro is the name given to a collection of printer commands that can be stored inside the printer and used
repeatedly without having to send them to the printer each time they are needed. These collections of
commands are used most often to improve printing performance, reducing the size of print jobs sent to printers.
Macros can be used to create a blank form, such as the sample check shown below, or they can be used to
print signatures, logos, and other kinds of graphical information. In most cases, the printer commands
contained in macros will be PCL 5e and HP-GL/2 – the two most common printer languages supported by
Hewlett Packard printers.

Macros can be saved "temporarily" in a printer's RAM (Random Access Memory), or "permanently" on a flash-
file system such as a TROY DIMM, TROY Memory Card, or an HP printer hard drive. Temporary macros must
be reloaded each time the printer is powered on, while permanent macros are retained even after the printer is
powered OFF.

The use of macros can do more than just reduce the amount of print data your application has to provide with
each page printed. Macros also provide a form of document security. Unless an individual knows how to print
the macro, they cannot obtain blank forms to be used for inappropriate purposes. This feature eliminates the
need to buy and inventory security papers (like preprinted check stock) and ensures only the latest versions of
forms are used.

The following form was created and printed as a macro, demonstrating the versatility of macro content. Since
this example is a check, also notice the form contains the company logo as a graphic but does not include the
signature. In this case, creating a check as a macro that was readily cashable with a digital signature would not
be a prudent security measure. The selection of macro content, therefore, also needs to reflect your company’s
security policies when appropriate. TROY's experienced team of digital imaging professionals can help you
design macros as well as ensure they comply with industry-standard security practices.


The example check shown above was created using an "overlay" macro. Overlay macros contain objects
typically found on a pre-printed form, allowing an application to "fill in" the form using simple printing methods.
There are other forms of macros – please consult the HP PCL Language Technical Reference Manual for more
information on types of macros.

Advertising