home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1993 September
/
64er_Magazin_93-09_1993_Markt__Technik_de_Side_A.d64
/
druckmaster
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
5KB
|
217 lines
1 poke808,225
100 clr:poke53280,3:poke53281,14:printchr$(147);chr$(14);:print"[144]";
101 print"[146][144] [196]rucker - [194]efehle (9-[206]adler) ";
102 print" [183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183] ";
103 print"_ [196]rucker-[210]eset z [203]anal feststellen";
104 print"a [208]ica [196]raft b [197]lite [196]raft ";
105 print"c [208]ica[206][204][209] [195]ourier d [197]lite[206][204][209] [195]ourier ";
106 print"e [208]ica[206][204][209] [211]anserif f [197]lite[206][204][209] [211]anserif";
107 print"g [208]ica[206][204][209] [207]rator1 h [197]lite[206][204][209] [207]rator1 ";
108 print"i [208]ica[206][204][209] [207]rator2 j [197]lite[206][204][209] [207]rator2 ";
109 print" ";
110 print"k kursiv l [208]ica schmal ";
111 print"m [197]lite schmal n breit ";
112 print"o proportional p fett ";
113 print"q schatten r unterschreichen ";
114 print"s ueberschreichen t klein ";
115 print"u doppelt gross v vierfach gross ";
116 print" ";
117 print"w [210]aender stellen x 0 ohne [211]trich ";
118 print"y 0 mit [211]trich 1 [218]eilenabstaende ";
119 print"2 [218]eilenvorschub 3 [194]lattvorschub ";
120 print"4 [208]apiersensor aus ";
121 print" ";
122 print" ";
123 print" ";
124 print" ^ [208]rogrammende ";
125 print" ([195]) [202].[203]amrath ";
1000 open1,4,1
1001 geta$:ifa$=""then1001
1002 onasc(a$)-48goto 2350,2400,2450,2500
1004 onasc(a$)-64goto 1050,1100,1150,1200,1250,1300,1350,1400,1450,1500
1005 onasc(a$)-74goto 1550,1600,1650,1700,1750,1800,1850,1900,1950,2000
1006 onasc(a$)-84goto 2050,2100,2150,2200,2250,2300
1007 ifa$="_"thengosub4040
1008 ifa$="^"thengoto5000
1047 close1
1048 gosub3000
1049 goto1000
1050 rem pica draft
1051 print#1,chr$(27);chr$(81);chr$(80);
1052 t$="[208]ica [196]raft"
1054 gosub4044
1058 goto1047
1100 rem elite draft
1102 t$="[197]lite [196]raft"
1104 print#1,chr$(27);chr$(77);
1106 print#1,chr$(27);chr$(81);chr$(96);
1108 goto1047
1149 rem pica nlq courier
1150 print#1,chr$(27);chr$(81);chr$(80);
1151 print#1,chr$(27);chr$(80);
1152 print#1,chr$(27);chr$(120);chr$(1);
1153 print#1,chr$(27);chr$(107);chr$(0);
1155 t$="[208]ica [206][204][209] [195]ourier"
1156 goto1047
1200 rem elite nlq courier
1202 print#1,chr$(27);chr$(77);
1204 print#1,chr$(27);chr$(81);chr$(96);
1206 print#1,chr$(27);chr$(120);chr$(1);
1207 print#1,chr$(27);chr$(107);chr$(0);
1208 t$="[197]lite [206][204][209] [195]ourier"
1212 goto1047
1250 rem pica nlq sanserif
1251 print#1,chr$(27);chr$(80);
1252 print#1,chr$(27);chr$(120);chr$(1);
1253 print#1,chr$(27);chr$(107);chr$(1);
1254 print#1,chr$(27);chr$(81);chr$(80);
1258 t$="[208]ica [206][204][209] [211]anserif"
1260 goto1047
1300 rem elite nlq sanserif
1301 print#1,chr$(27);chr$(77);
1302 print#1,chr$(27);chr$(120);chr$(1);
1303 print#1,chr$(27);chr$(107);chr$(1);
1304 print#1,chr$(27);chr$(81);chr$(96);
1308 t$="[197]lite [206][204][209] [211]anserif"
1310 goto1047
1350 rem pica nlq orator 1
1351 print#1,chr$(27);chr$(80);
1352 print#1,chr$(27);chr$(120);chr$(1);
1353 print#1,chr$(27);chr$(107);chr$(2);
1354 print#1,chr$(27);chr$(81);chr$(80);
1358 t$="[208]ica [206][204][209] [207]rator 1"
1360 goto1047
1400 rem elite nlq orator 1
1401 print#1,chr$(27);chr$(77);
1402 print#1,chr$(27);chr$(120);chr$(1);
1403 print#1,chr$(27);chr$(107);chr$(2);
1404 print#1,chr$(27);chr$(81);chr$(96);
1408 t$="[197]lite [206][204][209] [207]rator 1"
1410 goto1047
1450 rem pica nlq orator 2
1451 print#1,chr$(27);chr$(80);
1452 print#1,chr$(27);chr$(120);chr$(1);
1453 print#1,chr$(27);chr$(107);chr$(3);
1454 print#1,chr$(27);chr$(81);chr$(80);
1458 t$="[208]ica [206][204][209] [207]rator 2"
1460 goto1047
1500 rem elite nlq orator 2
1501 print#1,chr$(27);chr$(77);
1502 print#1,chr$(27);chr$(120);chr$(1);
1503 print#1,chr$(27);chr$(107);chr$(3);
1504 print#1,chr$(27);chr$(81);chr$(96);
1508 t$="[197]lite [206][204][209] [207]rator 2"
1510 goto1047
1550 rem kursiv
1552 print#1,chr$(27);chr$(52);
1558 t$=t$+" [203]ursiv"
1560 goto1047
1600 rem pica schmal
1601 print#1,chr$(27);chr$(15);
1602 print#1,chr$(27);chr$(80);
1604 print#1,chr$(27);chr$(81);chr$(137);
1608 t$=t$+" schmal"
1610 goto1047
1650 rem elite schmal
1651 print#1,chr$(27);chr$(15);
1652 print#1,chr$(27);chr$(77);
1654 print#1,chr$(27);chr$(81);chr$(160);
1658 t$=t$+" schmal"
1660 goto1047
1700 rem breit
1701 print#1,chr$(27);chr$(87);chr$(1);
1702 print#1,chr$(27);chr$(81);chr$(40);
1708 t$=t$+" breit"
1710 goto1047
1750 rem proportional
1751 print#1,chr$(27);chr$(112);chr$(1);
1758 t$=t$+" proportional"
1760 goto1047
1800 rem fett
1801 print#1,chr$(27);chr$(69);
1808 t$=t$+" fett"
1810 goto1047
1850 rem schatten
1851 print#1,chr$(27);chr$(71);
1858 t$=t$+" schatten"
1860 goto1047
1900 rem unterstreichen
1901 print#1,chr$(27);chr$(45);chr$(1);
1908 t$=t$+" unterstreichen"
1910 goto1047
1950 rem ueberstreichen
1951 print#1,chr$(27);chr$(95);chr$(1);
1958 t$=t$+" ueberstreichen"
1960 goto1047
2000 rem kleinschrift
2001 print#1,chr$(27);chr$(77);chr$(15);
2002 print#1,chr$(27);chr$(83);chr$(0);
2003 print#1,chr$(27);chr$(65);chr$(6);
2004 print#1,chr$(27);chr$(81);chr$(160);
2008 t$=t$+" klein"
2010 goto1047
2050 rem doppelt gross
2051 print#1,chr$(27);chr$(104);chr$(1);
2058 t$=t$+" doppelt gross"
2060 goto1047
2100 rem vierfach gross
2101 print#1,chr$(27);chr$(104);chr$(2);
2108 t$=t$+" vierfach gross"
2110 goto1047
2150 rem raender
2151 print"[147]":print:print:input"linker [210]and";lr
2152 print:print:input"rechter [210]and";rr
2153 print#1,chr$(27);chr$(88);chr$(lr);chr$(rr);
2158 t$=t$+" linker [210]and ="+str$(lr)+" rechter [210]and ="+str$(rr)
2160 close1:print"[147]":open1,4,2:print#1,t$:close1:goto100
2200 rem 0 ohne schraegstrich
2201 print#1,chr$(27);chr$(126);chr$(0);
2208 t$=t$+" [206]ull=0"
2210 goto1047
2250 rem 0 mit schraegstrich
2251 print#1,chr$(27);chr$(126);chr$(1);
2258 t$=t$+" [206]ull=0"
2260 goto1047
2300 rem sa feststellen
2301 close1:print"[147]"
2304 w$="[215]arnung !!! [204]oeschen nur durch [193]usschalten des [196]ruckers !!!"
2305 v$="[215]elchen [203]anal feststellen?"
2306 print:printw$:printv$
2307 inputb
2310 open1,4,b:close1:open1,4,3
2315 print#1,"ok"
2320 close1
2330 print"[147]":open1,4,2:print#1,t$:close1:goto100
2350 rem zeilenabstand n/72 inch
2351 print"[147]":print:print
2352 input"welchen [218]eilenabstand (0-85)";z
2358 print#1,chr$(27);chr$(65);chr$(z);
2360 t$="zeilenabstand von "+str$(z)+"/72 inch"
2362 print#1,t$
2371 close1:print"[147]":open1,4,2:print#1,t$:close1:goto100
2400 rem zeilenvorschub
2408 print#1,chr$(10);:t$=""
2410 goto1047
2450 rem blattvorschub
2458 print#1,chr$(12);:t$=""
2460 goto1047
2500 rem papierendesensor aus
2508 print#1,chr$(27);chr$(56);:t$=""
2510 goto1047
3000 rem testdruck
3001 open1,4,2
3002 print#1,t$
3900 close1
3999 goto1000
4040 rem drucker reset
4042 print#1,chr$(7);
4043 t$=""
4044 print#1,chr$(27);chr$(64);
4046 goto1047
5000 rem ende
5002 print"[147]":print:print:print:print:print"[211]icher ? (j/n):";
5004 geta$:ifa$=""then5004
5006 ifa$="n"then:run
5008 ifa$="j"then:sys64738
5010 rem (c) j.kamrath 1992