Section 4: Advanced Functions
32
AXIS HP MIO User’s Manual
1001010100111
11010001001
010011101
This is a more advanced example, showing how to draw a
rectangle using HP-GL commands:
This is what it does line-by-line: (1) – Start transparency (%<),
reset printer (
E
C
E), and enter HP-GL mode (
E
C
%0B), (2) – Draw
the rectangle, and (3) – Resume PCL mode (
E
C
%0A), reset
printer (
E
C
E), and stop transparency (>%).
Please refer to your printer manual (Technical Reference) for a
description of the HP-GL commands.
When experimenting with HP-GL or PostScript functions, don’t forget
to resume PCL mode and reset the printer afterwards!
Font Selection
Fonts can be selected by the system in two ways: directly by font
reference (FGID number), or indirectly by pitch selection (CPI). The
FGID selection is only available in Twinax mode.
In order to gain full access to the PCL fonts in both Coax and Twinax
mode, the AXIS HP MIO offers an alternative font selection
command.
Font selection commands may be included anywhere in your
documents. They begin with ‘percent-slash’ (%/) followed by the
word FONT and the font (FGID) number. An optional point size
value preceeded by a comma may be included. The command is ended
with a semi-colon (;).
1:
2:
3:
%<1B,"E",1B,"%0B",
"IN;SP1;PA0,0;EA2500,1500;"
1B,"%0A",1B,"E">%