home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PRINTING
/
ASLFONT.ZIP
/
LASLTEST.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-08-21
|
2KB
|
67 lines
100 'LASLTEST.BAS: generate a test-print page for ASLFONT soft font in
110 ' landscape orientation.
120 ' Program assumes that soft font ASL49???.SFL has been
122 ' downloaded to the printer with an ID of 1
130 '
140 ' Program creates a file containing the data to be printed. To
150 ' print it, at the DOS prompt, type
160 ' COPY LASLTEST.DAT PRN
170 ' or you can type
180 ' TYPE LASLTEST.DAT > PRN
190 '
200 ' written by Janet Gomez 21 August 1991
210 '
220 OPEN "O", #1, "LASLTEST.DAT" 'this is the file to be copied (sent)
230 'to the printer after this program is
240 'executed (see command above)
242 PRINT #1, CHR$(27);"&l1O"; 'set landscape orientation
250 PRINT #1, CHR$(27);"(1X"; 'this printer command selects soft font
260 '1 for use. If you want to use a different
270 'font id, you must change this number.
280 PRINT #1, " "
290 PRINT #1, " "
300 PRINT #1, " "
310 PRINT #1, " "
320 PRINT #1, " "
330 PRINT #1, " "
340 PRINT #1, " "
350 PRINT #1, " "
360 PRINT #1, " "
370 PRINT #1, " ABCDEFGHIJKLM"
380 PRINT #1, " "
390 PRINT #1, " "
400 PRINT #1, " "
410 PRINT #1, " "
420 PRINT #1, " NOPQRSTUVWXYZ"
430 PRINT #1, " "
440 PRINT #1, " "
450 PRINT #1, " "
460 PRINT #1, " "
470 PRINT #1, " "
480 PRINT #1, " "
490 PRINT #1, " ASLFONT"
500 PRINT #1, " "
510 PRINT #1, " "
520 PRINT #1, " "
530 PRINT #1, " "
540 PRINT #1, " FOR THE"
550 PRINT #1, " "
560 PRINT #1, " "
570 PRINT #1, " "
580 PRINT #1, " "
590 PRINT #1, " IBM PC AND THE"
600 PRINT #1, " "
610 PRINT #1, " "
620 PRINT #1, " "
630 PRINT #1, " "
640 PRINT #1, " HP LASERJET PRINTER"
650 PRINT #1, CHR$(27);"E"; 'reset command (forces the page to print)
660 'Note: reset also removes temporary soft
670 ' fonts!
680 CLOSE #1
690 PRINT "LASLTEST Done. Output file: LASLTEST.DAT";
700 END