PRINT.CO is a machine language text processing program for the Model 100. The features include margins, line width, page length, start at any page, single/double space, send/suppress line feeds, right justify, horizontal centering, and hanging indentations. You can also "graph" a page of text on the LCD screen, preview your print file, display page breaks and install fonts using PRNMOD.BA PRINT.CO uses 59900-62959 in RAM, any machine language programs presently in that area should be saved to disk or tape before loading PRINT. Save ALL your files before loading PRINT or any other machine language program as a bad load could cause a "Cold Start". After down loading PRINT go to BASIC and do the following: 1. Load "PRINT.DO" 2. Save "PRINT.BA" 3. Kill "PRINT.DO" 4. Run "PRINT.BA to create PRINT.CO To save a copy of PRINT.CO to tape go to BASIC and type: CSAVEM"PRINT",59900,62959,60503 To reload PRINT.CO from tape go to Basic and type: 1. CLEAR 256,59900 2. CLOADM"PRINT" 3. SAVEM"PRINT",60503,60503,60503 Place the cursor over PRINT.CO and press ENTER. You should see a display of all your text files, the lower left corner of the screen will say: Select: SAMPLE.DO Type a text file name and press ENTER, the screen will look like this: [L]eft Margin 0 [R]ight Margin 0 [C]har Printed 80 [J]ustify Right N [T]op Margin 0 [B]ottom Margin 0 [P]age Length 66 [D]ouble Space N [F]ont Code 1 [A]dd Line Feed N [S]tart @ Page 1 [W]ait Btwn Pages Y Select: File Grph PBrk Disp Prnt Menu Also, in the lower left corner, the file you selected will be displayed in reverse video. Select an option by pressing the corresponding letter in the brackets, the ENTER key is not needed. The Y/N parameters simply change condition when you press their letter. The other options will ask you for an input. Type a number from 0 to 255 and press ENTER, going past 255 does no harm the program just wraps around (256 = 0, 257 = 1, etc). Most options are self explanitory, those that you might not understand are as follows: Justify Right - Inserts spaces between words to square up the right margin. Font - Type style used by the printer (set this up by using PRN100.MOD). Add Line Feed - Some printers require a line feed character to step to the next print line. The Model 100 suppresses line feeds, if line feeds are needed this command will add them for you. Start @ Page - Gives you the option to start printing somewhere other than the first page of a file, if you try to print Page 3 of a 2 page file you will get an error message. Wait Between Pages - Use this option to stop the printer between each page. Use it when feeding cut sheets or printing a page or two of a long report, after the desired pages have been printed just press the ESC key to return to the programs menu. NOTE: [P]age Length is the number of lines that can be printed (the maximum number of possible lines on a page minus the Top and Bottom Margins). FUNCTION KEY DESCRIPTIONS: F3 File - This key returns you to the first menu, the file selection menu. PRINT saves the name of the last file that you worked with, if you want to work with that file again just press ENTER otherwise enter a new file name (the extension is optional). The program won't accept a bad file name and will give you as many chances as you need to enter a valid one. F4 Grph - This function uses pixel graphics to display a page on the LCD. The page length is limited to 64 lines as that is the height of the screen, a 66 line page can be displayed as long as the bottom margin is 2 or more. The maximum line length is 189 characters, more than enough. Bigger pages can be printed, they just won't graph properly. F5 PBrk - This function is used to display the first and last line of each page on the screen. Occasionally a page will end on a blank line of text, don't be surprised if this happens. In the double space mode the last line is always blank. A horizontial line on the screen separates each page, the program waits for a keypress before going to the next page. F6 Disp - This function will scroll your formatted text file to the screen, just like it will look when printed. Pages are separated by a horizontial line on the screen, press any key to go to the next page. F7 Prnt - This is what the program is all about, your text file is sent to the printer formatted to your specifications, the program checks to see if the printer is ready, if not you will get a "Printer not ready" message. F8 Menu - Returns to the Model 100s Menu. NOTE: Pressing any key while using F4-F7 will cause the function to pause. Pressing any key again will resume that function. Pressing ESC will abort the function and return to the Select options page. WARNING: Refrain from pressing the PASTE, LABEL, PRINT or PAUSE/BREAK keys while running PRINT, it uses several ROM subroutines and if you press one of these keys while PRINT is executing a subroutine you may have difficulty getting back into the program. If this should happen pressing SHIFT/BREAK, then typing MENU will usually get you back to the Model 100s Menu. EMBEDDED CONTROL CODES Certain control characters can be embedded in your text file to enable and disable following options: ^C - Horizontally center a line ^P - Start a new page ^W - Cancel Hanging Indentations ^X - Hanging Indentation, Left Only ^Y - Hanging Indentation, Left & Right To embed a control character in a text file do the following: 1. Hold down the CTRL key an press P once, the display will not change. 2. Continue holding the CTRL key and press the character to be embedded. 3. Release the CTRL key ^C - This centers a line by adding the appropriate number of spaces at the begining of the line. Put a ^C in each line you want to center, it can be anywhere within the line. ^P - When a ^P is encountered in a file it immediately starts a new page. ^X, ^Y, ^W - Hanging Indentations, a feature that isn't seen in commercial print programs. A ^X or ^Y indents all the lines in a paragraph EXCEPT the very first one, for example: 1. I want a Hanging Indentation to line up the text and leave the number against the left margin. 2. PRINT allows me to do that automatically. To do this add the appropriate number of spaces in the first line to obtain the position were you want the "hanging indentations" to begin and insert a ^X (left indentations only) or ^Y (will put the same number of indentations on the right side as well and is good for centering a single paragraph). The indentations will continue until a ^W is encountered and turns them off, it should be the last character in the paragraph to be indented. PRINT suppresses blank lines at the beginning of a page, if you need blank lines just type a space on the first line, the program will treat the space as a valid character. PRINT also issues a Form Feed command or CHR$(12) after each page, if you wish to disable this function POKE "0" at addresses 61781, 61782 and 61783. Edited by Robert Benson