USING THE AT COMMAND
The AT command is Absolute Arc Three Point, and draws
an arc segment, using absolute coordinates, from a
starting point, through an intermediate point, to an
end point. For more information see the PCL 5 Printer
Language Technical Reference Manual.
LEGEND: Ec = [Ctrl] [P] [Esc] in DOS EDIT
EcE Resets the printer.
Ec%0B Enters HP-GL/2 mode.
IN; Initializes HP-GL/2 mode.
SP1; Selects pen number 1
(black). Even though
there is no physical pen,
the SP command must be
used to enable printing.
PA1000,100;PD2500,100; Specifies (1000,100) as
the starting location,
places the pen down, and
draws a line to
(2500,100).
PU650,1150;PD1000,1150; Lifts the pen up and
moves to (650,1150), then
places the pen down and
draws a line to
(1000,1150).
PU650,450;PD1000,450; Lifts the pen up and
moves to (650,450) then
places the pen down, and
draws a line to
(1000,450).
PU1000,100;PD1000,1500,2500,1500; Lifts the pen up and
moves to (1000,100), then
places the pen down and
draws a line to
(1000,1500), then draws a
line to (2500,1500).
AT3200,800,2500,100; Prints an arc, starting
at the current pen
position (25,1500),
passing through
(3200,800) and ending at
(2500,100).
PU3200,900;PD; Lifts the pen and moves
it to (3200,900), and
sets the pen down.
AT3300,800,3200,700; Prints an arc, starting
at the current pen
position, passing through
(3300,800) and ending at
(3200,700).
PU3300,800;PD3500,800; Lifts the pen to
(3300,800) and then puts
the pen down and draws a
line to (3500,800).
Ec%0A; Enters PCL mode.
EcE Sends a reset to end the
job and eject the page.
Copyright Hewlett-Packard Co. 1993
The information contained herein is subject to change
without notice.
Hewlett-Packard shall not be liable for incidental or
consequential damages in connection with the use of this
material.