May 9, 1994

*********************************************************************
  
                         RELEASE NOTES

        Code.Print Pro for Visual Basic, Version 3.0f

**********************************************************************

Contents
========
Selecting an INI File Directory
Creating a Custom CPVB.INI
Default Fonts
Setting Margins
Printer Notes


Selecting an INI File Directory
=============================
The file CPVB.INI is used to store whatever layout settings you save as the 
user-defined default. Each time you run Code.Print, the program looks for a 
file named CPVB.INI and, if it finds one, initializes all layout settings to 
the values stored in this file.

In order to know where to look for CPVB.INI, Code.Print examines its section 
of your WIN.INI file, looking for the line "ini_dir= ".

        [Code.Print VB]
        .
        .
        .
        ini_dir=c:\cpvb30\

If it does not find this line, you will be presented with a dialog asking you 
to select an INI File Directory. Normally, this will be the Code.Print program 
directory. However, if the program directory is read-only, as it might be for 
a network installation, then you will want to specify another directory as the 
INI File Directory.

You may change the INI File Directory at any time simply by editing the entry 
after the equal sign in the line "ini_dir=" of the Code.Print VB section of your 
WIN.INI. Or, if you prefer, you can run Code.Print with a /N switch:

        c:\cpvb30\cpvb.exe /n

Code.Print will present a dialog asking you to select an INI File Directory and 
will record the directory you select in your WIN.INI.


Creating a Custom CPVB.INI
==========================
When you install Code.Print, no CPVB.INI file is created. Although Code.Print 
functions acceptably without an initialization file, we recommend that you create 
one that reflects your individual preferences for fonts, headers, footers, and
other layout options.

To create CPVB.INI
------------------

1. Run Code.Print.

2. From the File menu, choose Print Setup.

   The Print Setup dialog will appear.

3. From the Installed Printers list, select the printer that you will
   use most often. Then push the Ok button.

   Note: The selected printer is not saved with other defaults
   (though it is saved with each print job). The reason for selecting
   a printer now is to be sure that the fonts associated with the
   printer are listed in the font selection dialog when you choose
   fonts.

4. Push the Layout button on the toolbar.

   The Layout dialog will appear.

5. From the Settings list at the bottom right of the dialog, choose
   Fonts.

   The controls for selecting fonts will appear in the dialog. In a
   group labeled "Section" are four radio buttons labeled "Header,"
   "Title," "Code," and "Comment." These are the sections of a
   printout for which you can specify an individual font. To see
   where each section appears in a typical printout, press F1 and
   examine the diagram shown in Windows help.

6. Select the font you prefer for each of the four sections.

7. When you are satisfied with your font selections, choose Default
   from the Settings box in the lower right of the Layout dialog.

   The controls for setting defaults will appear in the dialog.

8. Push the button labeled "Save Current Layout Settings as User-
   Default."

   Code.Print will create the file CPVB.INI in your Code.Print
   directory. This file stores all layout options you have selected,
   and Code.Print will initialize to these settings every time you
   run the program.

9. Push the Ok button to dismiss the dialog.

   If you exit Code.Print at this point, you will be asked whether
   you want to save changes to the untitled print job. There is no
   need to create a print job file now, so just say no.


Default Fonts
=============
By default, Code.Print tries to print everything in 10 point Courier.
It selects the Courier font by asking the printer device context to
give it the first font name containing the letters "Cour"; if no font
matches the request, Code.Print asks for the first font in the list.

Whether or not your system has a font named Courier, it is a good
idea to select some fonts that you know work well with your printer
and make them the defaults for Code.Print.

For information on how to change the default fonts, see "Creating a
Custom CPVB.INI".

    --------------------------------------------------------
    TIP  If you will switch printers from time to time,
         it may be best to choose TrueType fonts as your
         defaults. Because TrueType fonts are device-
         independent, the fonts you choose will always be
         available, no matter what printer you use.

         To be sure that only TrueType fonts are reported
         to Code.Print when you select default fonts:

           1. Run the Windows Control Panel.
           2. Click the Fonts icon.
           3. Push the TrueType button.
           4. Check the box labeled "Show Only TrueType
              Fonts in Applications."
           5. Push the Ok button to confirm your choice.
           6. Push the Cancel button to dismiss the Fonts
              dialog.

         Then run Code.Print and follow the steps listed
         in "Creating a Custom CPVB.INI."
    ---------------------------------------------------------


Setting Margins
===============
Most laser and some dot-matrix printers have an unprintable region
at the edge of the paper. If you set margins so small that they fall 
within this region, Code.Print will reset them to the minimum allowed
by the currently selected printer. 

If you want to fit as much on the page as possible, you can easily
set margins to the minimum width permitted by the current printer by
entering zero values in the Left, Right, Top, and Bottom margin edit
boxes of the Layout:Page dialog. Code.Print will substitute the 
printer's minimum for each margin as soon as you tab to the next 
control in the dialog.

Code.Print will also not permit you to set margins that are too large. 
For 8.5 x 11 inch paper, the sum of the left and right margins cannot 
be greater than 7" (17.5 cm). The sum of the top and bottom margins 
cannot exceed 10" (25.4 cm). If your settings exceed these limits, 
Code.Print will display a warning message and reset the offending 
margins to the minimum allowed by the currently selected printer.


Printer Notes
=============

HP LaserJet 4L
--------------
Code.Print's borders--lines below the header and above the footer--
may not print if the printer is not set to PCL mode. This error appears
to be caused by a flaw in the printer driver shipped with early editions
of this printer.



**********************************************************************
END OF NOTES
