home *** CD-ROM | disk | FTP | other *** search
/ Run Magazine ReRun: Super Starter Pak 2 / rerun-super-starter-pak-ii-1991-side-a.d64 / rs2.txt < prev    next >
Text File  |  2022-09-20  |  7KB  |  88 lines

  1. g--F1,g enables and disables the Special Graphics mode.
  2.  
  3. G--F1,G selects the type of printer and determines how RUN Script Plus will print dot-graphics characters. If you have an MPS-803 or compatible, MPS-801, 1525 or MPS-1000 (Commodore mode), you answer yes at the prompt. Answer no if you don't.
  4.  
  5. C--F1,C selects the secondary address used to print dot graphics and sends macro command strings to the printer. Unlike the .ca dot command, this function changes the permanent secondary address inside RUN Script Plus.
  6.  
  7. S--F1,S splits the text display into two separate areas. If you specify one text area, RUN Script Plus will remain unchanged. If you specify two, the prompt "size of area two ?" will appear. You may choose any number from 1 to 18 to determine how many kilobytes of memory text area 2 will be allocated. If you answer yes to the "erase text?" prompt, the text area will split, and the cursor will appear at the start of text area 1.
  8.  
  9. A--F1,A switches between the two text areas.
  10.  
  11. T--F1,T selects the secondary address used to print text to the printer. Unlike the .ta dot command, this function changes the permanent secondary address inside RUN Script Plus.
  12.  
  13. L--F1,L specifies whether a line-feed character should be printed after each carriage-return character. Unlike the .lf dot command, this function changes a permanent flag inside of RUN Script Plus.
  14.  
  15. q--F1,q saves a copy of RUN Script Plus, including any printer macros, the current color settings and the current settings from various commands.
  16.  
  17. RUN Script Plus is a post-formatted word processor, that is, text is not formatted until it's printed, so your screen display will vary from your printout. To specify output format, RUN Script Plus has about 40 dot commands, so-called because each command must be preceded by a dot (a period). These commands are embedded in the text to specify margin widths, define headers and footers, and so forth.
  18.  
  19. A dot command is executed when text is printed, and only text following the dot command is affected. Four steps must be met for dot commands to occur. First, the line immediately preceding the dot command must end with a return. Second, the dot command must start in the first screen column. Third, multiple dot commands in a string must not be separated by spaces. Fourth, each string of dot commands must end with a carriage return. The dot commands (without the brackets) are:
  20.  
  21. [.lj]--Left-justifies printed text.
  22.  
  23. [.rj]--Right-justifies printed text.
  24.  
  25. [.cn]--Centers printed text between the left and right margins. Your text must begin on the next line below the .cn command.
  26.  
  27. [.pl]--Sets the page length. This command must be followed by a number from 1 to 240.
  28.  
  29. [.pw]--Sets the page width, defined as the maximum number of characters printed on one line.
  30.  
  31. [.lm]--Sets the left-margin width, as determined by a number from 1 to 240.
  32.  
  33. [.rm]--Sets the right-margin width (from 1 to 240).
  34.  
  35. [.tm]--Sets the top-margin depth (from 1 to 240).
  36.  
  37. [.bm]--Sets the bottom-margin depth (from 1 to 240).
  38.  
  39. [.hd]--Defines a header to be printed at the top of every page. The command may be followed by up to 255 characters and must end with a carriage return. No dot commands can follow the .hd directive. I recommend that the .hd and .ft (see below) dot commands appear on lines by themselves. Entered just once at the beginning of a document, .hd# automatically prints the page number of each page.
  40.  
  41. The above dot commands have no effect on the header, which is printed exactly as defined, starting in the first column on the page. If you wish to center a title, the title must be preceded by the correct number of spaces.
  42.  
  43. You may embed macro characters (see discussion above) in the header string if you wish. The header will be printed at the line position equal to the .tm setting plus 1.
  44.  
  45. [.ft]--Defines a footer to be printed at the bottom of every page. It works exactly like the header. The footer will be printed at the line position equal to the .pl setting minus the .bm setting minus 1.
  46.  
  47. [.hs]--Defines the number of lines to be left between the header and the main body of text. The command must be followed by a number.
  48.  
  49. [.fs]--Defines the number of lines to be left between the footer and the main body of text.
  50.  
  51. [.ls]--Sets the line spacing. For double-spacing (one blank line between lines of text), set .ls to 1.
  52.  
  53. [.1+]--Indents text from the current left-margin setting. For example, if the left margin is set with .lm8 and you execute .l+3, text will be indented as though you'd set .lm at 11. To cancel an indent, use .l+0 or .l-0.
  54.  
  55. [.1-]--"Outdents" text, such as a subheading, to the left of the left margin. For example, if the left margin setting is .lm8 and .l-3 is executed, text will begin printing at the sixth column, just as though .lm had been set at 5. Outdents are canceled with .l-0 or .l+0.
  56.  
  57. [.fp]--Forces a new page. When executed, no more text will be output to the current page.
  58.  
  59. [.fl]--Links files to be printed. The command must be followed by a device number and a filename, separated by a comma.
  60.  
  61. [.p#]--Sets the page number of the next page to be output.
  62.  
  63. [.lf]--Prints a line-feed character after every carriage return (.lf1 enables line feeds; .lf0 disables them).
  64.  
  65. [.cm]--Lets you leave a comment for yourself that won't be printed.
  66.  
  67. [.r+]--Indents the right margin (from 0 to 255).
  68.  
  69. [.r-]--Makes a right outdent (from 0 to 255).
  70.  
  71. [.bj]--Stands for "both justify" and prints the ensuing text with both the left and right margins justified.
  72.  
  73. [.pr]--Sends a sequence of up to 98 bytes to the printer using a specified secondary address, which must immediately follow the command; then the bytes to be sent to the printer, separated by commas, must follow.
  74.  
  75. [.ta]--Stands for "text address" and must be followed by a number from 0 to 31. The number is the secondary address that will be used to print the ensuing text, and it lasts for only one printout. You can set the default (permanent) text secondary address with the F1,T command.
  76.  
  77. [.ca]--Defines a new, temporary secondary address, which will be used to send macro strings to the printer and to print dot-graphics characters. Set the default (permanent) secondary address with the F1,C command.
  78.  
  79. [.dc]--Stands for "define character" and lets you redefine any character on the keyboard except @, to a total of 127 characters, and then undefine them.
  80.  
  81. [.lr]--Stands for "load redefined characters" and is used only after you've performed three steps. First, you must define a number of characters with .dc commands. Second, you must print the current document. Third, you must save the table of redefined characters to disk with the F1,R command. Then you can use .lr to load the saved characters during a later printout. The .lr command must be followed by a device number, a comma and a filename.
  82.  
  83. [.lc]--Stands for "load characters" and lets you load a new character set or a new print set during printout. The .lc command must be followed by a number from 0 to 9 (0 to 6, for a C-64) that specifies the set to be loaded. A 0 loads a new set onto the screen; 1 through 9 load a new set into the printer. After the number comes a comma, followed by the device number from which the set is to be loaded, then another comma and the filename of the character or print set.
  84.  
  85. [.el]--Stands for "empty lines" and prints the specified number of carriage returns.
  86.  
  87. [.st]--Stands for "stop" and works only with the printer or the monitor, not the disk drive.
  88.