Macros, The purpose of a macro – Brother HL-2170W User Manual
Page 117
CHAPTER 2 PCL - 98
7.
MACROS
7.1.
The Purpose of a Macro
A macro is a sequence of commands that you wish to execute. You can specify the command sequence and
download it to the printer after which you can execute it with a single command. For example, you might wish
to draw a raster image at the top of each page you print. Rather than sending the same sequence of commands
every time you print a new page, it is more efficient to define a macro to draw the image and store the macro in
the printer's memory. Having done this, you can draw the picture on each page simply by running the macro,
that is, with a single command.
Like downloaded fonts, macros take up printer memory. To alleviate this, some macros are available on
cartridges that can be plugged into the printer's cartridge slots. A cartridge-based macro must have a unique ID
number or else you will not be able to access it. If a downloaded macro has the same ID number as a cartridge
macro, all references to the ID number will be interpreted as references to the downloaded macro. To access the
cartridge macro you would first have to delete the downloaded macro.
Another method of storing Macros is uniquely available on the HL-1660e/2060/2400C/2400Ce/3400CN/
2600CN/3450CN/2460/7050/3260N/6050/6050D/6050DN/8050N/2700CN printers. Macros can be saved to
these cards as required and then executed from the card. For the HL-2400Ce/3400CN/2600CN/3450CN/2460/
3260N printers, Macros can be also saved to and executed from the optional internal hard disk drive installed as
required. A delete facility is also included to allow the removal of macros when no longer required. The rules
for identifying and calling Macros from this card are exactly the same as for cartridge stored Macros detailed
above. For the HL-
1270N/1470N/1650/1670N/1850/1870N/5070N/5170DN/6050/6050D/6050DN/5270DN/5280DW/5380DN//54
40D/5450DN/5470DW/6180DW/S7000DN printer, Macros can be stored in the incorporated Flash memory.
One macro can call another, however, only two levels of nesting are permitted.
A printer reset will delete macros from the printer's memory unless they have been explicitly designated as
permanent.
The PCL picture frame commands, the printer reset command and HP-GL/2 graphic language commands cannot
be invoked from within a macro.
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E