Star Micronics XR-1500 Printer User Manual


 
4130 DATA 2,124, 0, 1,130, 0, 0,124, 0
4140 DATA 0,130, 0, 0,124, 0, 0,128, 0
4150 DATA 0,120, 0, 0. 0. 0
4160 '
4170 '
Dot graphics data
4180 ' ROW 1
4190 DATA 0. 0, 0. 0. 1. 3. 7. 7. 7, 15
4200 DATA 14, 14, 14, 14. 14. 7. 7. 3. 3, 15
4210 DATA 15, 15. 0. 0. 0. 0. 6. 7. 7. 7
4220 DATA 7, 7. 7, 7. 7, 6, 6. 0. 0. 7
4230 DATA 7. 7, 7. 7. 7. 7. 7. 7. 7. 7
4240 DATA 0, 0, 7. 7. 7. 7. 7. 7. 7. 7
4250 DATA 7, 7. 0. 0. 0
4260 ' ROW 2
4270 DATA 0, 0. 60,255,255,255.255,255.143. 15
4280
DATA 7. 3. 3. 3.131.193.241
7. 7. 7.
4290 DATA 240,240, 0. 0, 0. 0. 0. 0,224,255
4300 DATA 255.255.255.255. 31. 0. 0. 0. 1. 3
4310 DATA 31,255,255,255.255.255.255. 1. 0. 0
4320 DATA 0. 1. 7, 31,255,252,240.192.128. 0
4330 DATA 0, 0. 0. 0. 0
4340 ' ROW 3
4350 DATA 0, 31, 31, 3.129.128.192.192.192.192
4360 DATA 192,224,224,224.224.240.255.255.255.255,255,255
4370 DATA 255,127, 0. 0. 0, 0. 0. 0, 0,192
4380 DATA 255,255,255.255.255, 15, 15. 63s252.240
4390 DATA 192, 0,240,255,255,255,255.255, 7. 15
4400 DATA 127,252,240,192, 0, 0. 0. 0. 0. 0
4410 DATA 0. 0. 0. 0, 0
4420 ' ROW 4
4430 DATA 0,248,248,240,224,224,112,112. 56. 56
4440 DATA 56, 56, 56,120.120.240.240,224.224,192
4450 DATA 128, 0. 0. 0. 0, 0, 0, 0. 0. 0
4460 DATA 128,248,248,248.248,240.192. 0. 0. 0
4470 DATA 0. 0,240,248,248,248.248.240.192. 0
4480 DATA 0, 0. 0. 0. 0. 0. 0, 0. 0, 0
4490 DATA 0, 0. 0. 0. 0
This will produce the following results as shown on page 95.
How the program works
This program begins by assigning a number of printer commands to BASIC
string variables (lines 1000 to 1070). You can find most of these commands
near the beginning of chapter 4.
The WIDTH “LPTI:” 255 statement in line 1090 means infinite line width.
It prevents the IBM-PC from inserting unwanted carriage returns and line
feeds in graphics data.
Actual printing begins in line 1100. Using the preassigned commands, the
program prints samples of its different font styles, followed by samples of
the print pitches, then some double and quadruple-sized printing.
93