Epson FX-100 User Manual - Page 229
Strata, Summary, Lprint Z$az, Lprint Z$chr$l28chr$159, Lprint, Strata Software, Chr$27&chr$n
View all Epson FX-100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 229 highlights
12345678SOFTWARE If you find yourself defining characters in small groups, the same technique can be used to store part of the CHR$(27) " &" command: Z$=CHR$(27)+"&"+CHR$(0) Z$ can be used to define each new string of characters with a simple command such as either of these: LPRINT Z$"AZ"; LPRINT Z$CHR$(l28)CHR$(159); STRATA Your current program uses eight user-defined characters, which will be used again in a later chapter. For now, delete lines 80, 90 and 165 and change line 180: 180, LPRINT " 147646 12345678" STRATA SOFTWARE Save the current program as STRATA. Summary CHR$(27)"&"CHR$(n )CHR$(n )CHR$(n ); 1 Defines 2characters3, where n1 selects the RAM buffer (0), n2 is the starting character, and n3 is the ending character For each character in the CHR$(27)"&" sequence from n2 to n3, the printer expects 12 data numbers. The first number, called the attribute byte, determines the height and width characteristics of the character at print time. The other 11 numbers determine the pin patterns used to print the character CHR!$(27)"%""CHR$(n 1)CHR$(n 2) Activates a given character set, where n1 indicates ROM (0) or RAM (1) and n2 is 0 212