Macros - Lexmark T640 Technical Reference

Lexmark t640: reference guide
Hide thumbs Also See for T640:
Table of Contents

Advertisement

Macros

When creating a macro, first assign it an ID number. If this number is identical to an
existing macro ID in RAM, the old macro is deleted when you specify the Macro
Control Start Definition. Next, start the macro definition, send the contents of the
macro, and stop the macro definition.
Note:
Example:
This example creates a macro to print the Wigit Corp. logo, then calls the logo macro
in the body of a letter.
&f1Y
ESC
&f0X
ESC
&a+72H
ESC
(8U
ESC
(s1p18v0s3b4101T
ESC
W
&a-21.6H
ESC
(s12v1S
ESC
igit
&a+72H
ESC
(s18v0S
ESC
C
(s12v1S
ESC
orp.
&a+72H
ESC
&f1X
ESC
&f10X
ESC
...
...
From:
&f1y3X
ESC
...
Thank you for ...
&f1y3X
ESC
...
Although a macro may be called or executed from within another macro
(nesting), a macro cannot be defined within another macro definition. Each
macro must be defined separately.
2-67
|Set the macro ID to 1
|Start the macro definition
|Relative move right 1/10 inch (+72/720th)
|Select Roman-8 symbol set
|Select CG Times 18 point bold
|Print W
|Relative move left 0.03 inch
|Select (CG Times) 12 point (bold) italic
|Print igit
|Relative move right 1/10 inch
|Select 18 point and turn off italic
|Print C
|Select 12 point italic
|Print orp.
|Relative move right 1/10 inch
|End of macro definition
|Make Macro ID 1 permanent
|Print the header From:
|Set the macro ID to 1 and call the macro
|Print the letter
|Print the closing
|Set the macro ID to 1 and call the macro
PCL

Advertisement

Table of Contents
loading

This manual is also suitable for:

T642T644

Table of Contents