
Type in and run the following program. Be especially careful to
include both semicolons. The program produces the printout you see
below.
10 WIDTH "LPT1:",255
20 LPRINT CHR$(27)"*"CHR$(32)CHR$(40)CHR$(0);
30 FOR X=1 TO 120
40 LPRINT CHR$(170);
50
NEXT X
Line 20 selects single-density 24-pin graphics mode (mode 32) and
also reserves 40 columns for graphics. Because 24-pin graphics
requires three bytes of data for each column, line 30 begins a loop to
supply 120 bytes of data. Line 40 contains the number 170, which
produces the first pin pattern shown in the section on pin labels, and
line 50 ends the loop.
Designing Your Own Graphics
With what you know now, you can use the simplest application of
graphics—calculating by hand the data to print the graphic image.
While this method is the most tedious, it helps you understand dot
graphics. It is also useful for small graphic elements that are used
many times.
Software and Graphics
4-13
Содержание 1010
Страница 1: ......
Страница 2: ...EPSON LQ 510 1010 User s Manual ...
Страница 137: ...The Cut Sheet Feeder 3 Press the LOAD EJECT button to load the sheet Using the Printer Options 5 13 ...
Страница 171: ...Chapter 6 Maintenance Cleaning the Printer 6 2 Replacing the Ribbon 6 4 Transporting the Printer 6 10 Maintenance 6 1 ...
Страница 182: ...Chapter 7 Troubleshooting Printing 7 2 Paper Handling 7 7 Options 7 10 Troubleshooting 7 1 ...
Страница 249: ...Appendix Proportional Width Table A 2 Character Sets A 6 A 1 ...
Страница 257: ...PC 865 Norway CODE 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F A 9 ...
Страница 271: ......
Страница 274: ......
Страница 275: ......
Страница 276: ......
Страница 278: ......
Страница 279: ......