home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1987 December
/
1987-12.d64
/
printscr.changer
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
2KB
|
53 lines
10 rem copyright 1987 compute! publications, inc. - all rights reserved
20 printchr$(14)chr$(8)"[147] [195]opyright 1987 [195][207][205][208][213][212][197]! [208]ub., [201]nc."
30 printtab(10)"[193]ll rights reserved"
40 dimm(55):print" [208]arameter [195]hanger for [208]rintscreen"
50 forj=0to54:readm(j):next:fori=1to1500:next
60 print"[147][201]s your printer [195]ommodore 1525":print"compatible (y/n)";
70 inputa$:ifa$<>"y"anda$<>"n"then70
80 m(15)=0:ifa$="y"thenm(15)=1
90 print"[212]he numbers in parentheses indicate"
100 print"the usual values for commands."
110 print"[215]hen printing, what logical file"
120 print"number do you use (14)";:inputm(16)
130 print"[215]hat is your printer device":print"number (4)";:inputm(17)
140 ifm(15)=1then340
150 print"[215]hat secondary address do you want"
160 print "to use for transparent with":print"linefeed (4)";:inputm(18)
170 print"[215]hat command is needed to set your"
180 print"printer to 7/72-inch line spacing?"
190 print"[197]nter one code per question mark."
200 print"[193]fter you've entered all values (ie.,"
210 print"27, 65, 7), press [210][197][212][213][210][206] to continue."
220 i=20:l=19:gosub390
230 print"[215]hat command is needed to set your"
240 print"printer back to 12/72-inch line"
250 print"spacing (27, 65, 12)"
260 i=29:l=28:gosub390
270 print"[215]hat command is needed to turn on"
280 print"your printer's dot-column graphics"
290 print"mode (27, 75)?"
300 i=38:l=37:gosub390
310 m(46)=2:rem number of width-bytes following graphic command
320 m(47)=64:rem low-byte of width number
330 m(48)=1:rem high-byte of width number
340 forj=0to55:poke52996+j,m(j):next:rem $cf04
350 print"[207]kay, your printer parameters have"
360 print"been stored in memory. [206]ow, load"
370 print"and run [208]rint[211]creen. [212]hen save"
380 print"it to disk under a new name.":end
390 j=0
400 a$=""
410 input" ";a$:ifa$=""then440
420 m(i+j)=val(a$):j=j+1
430 ifj<8then400
440 m(l)=j:return
450 data 96,2,25,96,10,1,13,5,19,96
460 data 8,15,19,20,96
470 data 1
480 data 14,4,0
490 data 1,8,0,0,0,0,0,0,0
500 data 1,15,0,0,0,0,0,0,0
510 data 0,0,0,0,0,0,0,0,0
520 data 0,0,0,0,0,0,0,0,0