Specifications

Revision C 16/01/96
Chapter 8 "HP-GL2" 61
ES - Extra Space
ES [
width
[,
height
]] [;]
width : factor by which character spacing is changed.
height : factor by which line spacing is changed
This command enables you to adjust the space between label characters and lines.
width specifies the factor by which to increase or decrease the character spacing. Positive numbers specify
an increase and negative numbers a decrease.
height specifies the factor by which to increase or decrease the line spacing. Positive numbers specify an
increase and negative numbers a decrease.
If you use the command without parameters, no extra space is used when labels are printed. This is
equivalent to ES0,0;
An ES command remains in effect until another ES command is executed, a DF or IN command is
executed, or the printer is reset, either with the EscE command or from the control panel.
TD - Transparent Data
TD [
mode
] [;]
mode : normal or transparent data mode.
This command enables you to specify whether control characters should perform their normal
function or should be printed.
mode is set to either 0 or 1. If mode is set to 0, control codes perform their normal functions and are
not printed. If mode=1, all characters are printed, if possible. No control characters perform any
function except the label terminator. Any non-printing or undefined characters appear as a space.
If you use the command without parameters, control codes will perform their normal functions and
will not be printed. This is equivalent to TD0;
10 '-Transparent Data-
20 WIDTH "LPT:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;"
60 '-TD=1 (Transparent) -
70 LPRINT "PA1000,5000;LBMODE : TD1 (Transparent)"; CHR$(13)
80 LPRINT "<Print as characters when labeling>"; CHR$(3)
90 X=1000
100 FOR I = &H0 O &H8
110 LPRINT "SD1,341,2,1,4,10,7,5;PA";X;",4000;TD1;DT@;LB";CHR$(I);"@";
120 X = X + 150
130 NEXT I
140 LPRINT "TD0;"
150 LPRINT CHR$(27); "%0A";
160 LPRINT CHR$(27); "E";
170 END
<Sample 60>