QMS SmartWriter 80+ User Manual page 422

Table of Contents

Advertisement

1.3
Example
The example below shows how to download a macro con-
taining the commands for printing a company letterhead.
It assumes you have available the binary data for a raster
image of the company logo.
Command
<ESC>&flY
<ESC>&fOX
<ESC>&a540h360V
<ESC>*t150R
<ESC>*rlA
<ESC>*b60W <data>
<ESC>*b60W <data>
<ESC>*rB
<ESC>&a540h780V
The Smith Company
Tel: (206) 123-4567
<ESC>&a540h960V
<ESC>*c10v4680H
<ESC>*cOP
<ESC >&a1200V <cr>
<ESC>*f1X
Explanation
Specify macro ID as 1
Start macro definition
Top left corner of logo
Set 150 dpi resolution
Start raster image of logo
Send first raster line
Send last raster line
End raster graphics
Position for lettering
First line of lettering
Last line of lettering
Position for rule
Set rule height and width
Print rule
Position for start of text
Stop macro definition
To execute the macro, you would send the command
<ESC>&fly2X. To execute the macro automatically on ev-
ery page, for example during a run of form letters, the
command <ESC>&fly4X specifies the macro as an over-
lay.
H-56
HP Emulation Mode

Advertisement

Table of Contents
loading

Table of Contents