
Revision C 16/01/96
Chapter 8 "HP-GL2" 42
TR - Transparency Mode
TR [
n ] [;]
n ; transparency type
•
This command turns transparency mode on and off. Transparency mode defines how source and destination
graphics images interact.
•
n is either 0 (off) or 1(on).
•
When transparency mode is on, the white parts of a source image (the image that is being superimposed on
the destination image) do not affect the destination image - that is, part of the destination image will be
visible beneath the source image.
•
When transparency mode is off the destination image is not visible beneath the source image.
•
Invoking the command with no parameter turns transparency mode on. This is equivalent to TR1;
•
An Esc E reset, a control panel reset, the IN command and the DF command all turn transparency mode
on.
10 'Transparency Mode-
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0b";
50 LPRINT "IN;SP1;";
60 'PART1 TR1
70 'Original Destination 1
80 LPRINT "TR1;PA1900,4900;PM0;PM3100;4900,2500,6100;PM1;"
90 LPRINT "PM2;FP;"
100 'Source 1
110 LPRINT "FT10,50;PA2000,5000;RR500,500;PA2500,5500;RR500,500;"
120 LPRINT "FT10,1;PA2500,5000;RR500,500;PA2000,5500;RR500,500;FT;"
130 'PART2 TR0
140 'Original Destination 2
150 LPRINT "TR0;PA3900,4900;PM0;PA5100,4900,4500,6100;PM1;"
160 LPRINT "PM2;FP;"
170 'Source 2
180 LPRINT "FT10,50;PA4000,5000;RR500,500;PA4500,5500;RR500,500;"
190 LPRINT "FT10,1;PA4500,5000;RR500,500;PA4000,5500;RR500,500;FT;"
200 '
210 '( POLYGON )
220 LPRINT "PA2000,1000;PM0;PDPA4000,1000,3000,3000;PM1;"
230 LPRINT "PA2500,1200,3500,1200,3000,2500;PM1;"
240 LPRINT "PA3000,800,3700,2500,2300,2500;PM1;"
250 LPRINT "PM2;FP;"
260 LPRINT CHR$(27); "%0A";
270 LPRINT CHR$(27); "E";
280 END
<Sample 45>
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...