PRINTING LABELS
When printing labels in HP-GL/2, use the Label ( LB )
command. 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.
PA1500,2500; Specifies absolute
plotting and moves to
(1500,2500).
SD1,21,2,1,4,25,5,1,6,0,7,52; Designates the 25 point
Universe Italic font as
the standard font.
DT*,1; Defines the asterisk (*),
as the label terminator
(the 1 indicates the
terminator should not be
printed).
SA; Selects the alternate
font for printing; since
an alternate font hasn't
been designated, the
default 11.5 point stick
font is selected.
LBThis is the Stick Font
(Default)CR-LF CR-LF*; Prints the first line of
text, followed by two
Carriage Return (CR) and
two Line Feed (LF)
control codes. Notice how
the asterisk terminates
the label.
SS; Selects the standard
font, defined with the SD
command above, as a 25
point Universe Italic
font.
LBThis is Universe Italic*; Prints the next line of
text in the newly
specified font.
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.
file: /Techref/language/pcl/lj2012.asc, 3KB, , updated: 1993/11/15 16:22, local time: 2024/12/25 21:44,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/language/pcl/lj2012.asc"> language pcl lj2012</A> |
Did you find what you needed?
|