20 WIDTH "LPT:", 255 - Page 207

Brother HL-2240 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 4 HP-GL/2 - 51 

 

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> 

Detailed Information for Brother HL-2240 Command Reference Guide for Software Developers

Lists of information found in Brother HL-2240 Command Reference Guide for Software Developers - Page 207

  • 1. If mode is set to 0, control codes perform their normal functions and are not printed.

Related Documents for Brother HL-2240 Command Reference Guide for Software Developers