Font Installation Utility ( Version 1.0) for Lotus 123 ------------------------------------------------------ Release 2.2 and Lotus Symphony Release 2.2. ------------------------------------------- 24th April 1991 DESCRIPTION ------------ The program sw2finst.exe is a utility which modifies Lotus 2.2 text printer drivers so that they automatically select a particular font. This can either be one of the resident fonts or a font on an installed font card. It does this by inserting an escape sequence into the printer driver. This escape sequence is taken from a text file ( typically with the extension .DAT ). The program has been designed to read a normal text file containing the escape sequences used to select fonts. It is possible to support new fonts by simply editing this file using any standard editor. USAGE ----- The supplied floppy disk has two .DAT files CANBELQ.DAT for Canon BJ printers in Epson LQ mode CANBPRO.DAT for Canon BJ printers in ProPrinter mode The supported printers in the Canon BJ-Series are the BJ-300 and BJ-330. The BJ-300 and the BJ-330 can work in two modes, IBM Pro- Printer mode and Epson LQ mode. Dip switches must be set to select one of these modes and details of how to do this are in the User Manual. The Canon BJ-10e does not support font cards. The utility can be used to select resident for for the BJ-10e in ProPrinter mode. Copy these files from the floppy disk to your Lotus directory using the batch file CPYFINST.BAT SW2FINST.EXE SW2FINST.DOC CANBELQ.DAT CANBPRO.DAT CANBELQ.DRV CANBPRO.DRV ELQFONT.BAT PROFONT.BAT E.g. to install the font installer on C:\123 from floppy A: Place the driver pack disk in A: Type A: Then press ENTER to change to drive A: Type CPYFINST C:\123 Then press ENTER to copy all font installer files to C:\123 Before using the utility change to your Lotus directory. E.g. if you have Lotus 123 on drive C: in the directory \123 Type C: Then press ENTER to change to drive C: Type CD \123 Then press ENTER to change to directory \123 To run the font installation program : Type : sw2finst data file name driver name Then press ENTER E.g. if the datafile is CANBELQ.DAT and the driver is CANBELQ.DRV Type : sw2finst CANBELQ.DAT CANBELQ.DRV Then press ENTER Alternatively you can use one of the supplied batch files. ELQFONT.BAT to install a font in the Canon Epson LQ driver CANBELQ.DRV PROFONT.BAT to install a font in the Canon ProPrinter driver CANBPRO.DRV When it starts program will display some information taken from the data file. Press a key to continue. The program then displays a list of all font cards it found in the data file ( there may only be one ). Select a font card by typing its number and pressing ENTER. The program then lists any fonts supported by the font card. Select a font by typing its number and pressing ENTER. The program then modifies the driver so that it will select the chosen font. Before you can use the font you must run the Lotus INSTALL program and use this to add and save the new driver and select the text printer driver. See your Lotus documentation for details of this but briefly you need to do the following : 1. Change to the Lotus application directory 2. Type : INSTALL ENTER 3. Press ENTER to continue with installation 4. Select 'Change Selected Equipment' ENTER 5. Select 'Text Printer' 6. Select 'Canon' 7. Select one of the available printers 8. Select 'Save Changes' 9. Select 'Yes' 10. Select 'Exit Install Program' 11. Select 'Yes' The Lotus application will have now registered the new Canon printer drivers. Diagrammatically the options are : Advanced Options : Add new drivers to library Main Menu : Change selected equipment : Text Printer(s) : |> Canon : BJ-Series ( IBM Pro Mode) Save Changes Exit Naturally to be able to use the font the appropriate font card must be installed in your printer. DETAILS OF TEXT FILE LAYOUT The text file is organised as a header followed by information about any supported font cards. The supplied .DAT files provide examples. COMMENTS Any line in the text file which begins with a '#' is treated as a comment E.g. # This line is a comment and will be ignored. HEADER FORMAT All non-comment lines preceding the name of the first font card are treated as a header and displayed on-screen when the font installation program is run. Typically this could include details of the supported printers. For example : ------------------------------------------------------------------ The following printers are supported : Canon Bubble-Jet Printer BJ-300 ( Epson LQ mode) Canon Bubble-Jet Printer BJ-330 ( Epson LQ mode) ------------------------------------------------------------------- FONT CARDS Any line which begins with two '>>' symbols is treated as the name of a font card. E.g. the line : >> BJFC-301 GENERAL Is used to indicate the BJFC-301 GENERAL font card for the Canon BJ-300 and BJ-330 printers. FONT NAMES The lines following a font card name give details of the supported fonts. These lines must begin with a text string enclosed in double quotes and end with a sequence of decimal numbers which describes the escape sequence used to select a font. Each decimal number must be between 0 and 255. The first decimal number is a count indicating the numbers of numbers following. The decimal numbers must be separated by spaces or TABS. E.g. The line : "Courier 10 " 9 27 82 0 18 27 107 2 27 80 Shows that to select the font "Courier 10 " the nine numbers 27,82,0,18,27,107,2,27 and 80 are needed. These numbers (in Epson LQ mode for the Canon ) represent the Escape sequence : ESC R 0 Reset TABS to defaults DC2 Cancel condensed mode ESC k 2 Select Courier typestyle ESC P Select 10 cpi To add information for other printers see the relevant printer manuals for Escape sequences.