Using Puff with Windows 95

12-10-97 Notes on running Puff on Windows NT.

Puff will not run inside Windows NT. You must partition your hard drive (you can give it 50 or 100 MB, for example) and install DOS as the operating system. When you boot your computer, the boot manager will ask you which operating system you wish to use. You must reboot when you switch between operating systems.

9-19-97 Notes from Poan Sung and Jeff Liu When using the ATI Rage II+ video card, you will run into a problem when using the puff.exe program in Windows 95. The solution is as follows:

1.Go to http://support.atitech.ca/drivers/3drageII-II+.html and download the file 64vbe210.exe
2.copy the file m64vbe.com to the PUFF directory
3.Use notepad to write the puff.bat file. The command in the puff.bat file should be:
m64vbe puff
4. Use the mouse right button to set up the shortcut for puff.bat
5. Double click the puff.bat shortcut,and you will be able to run puff properly!
6. The contents of the puff.bat is listed below:
  • command /c m64vbe
  • command /c m64vbe vw
  • REM set path=%path%;c:\puff\
  • c:\puff\puff.exe %1
  • REM command /c initgraph
  • REM command /c c:\puff\vga2lasr.com
  • REM command /c c:\puff\puff.exe

    4-17-97 There are font problems with some of the new video cards. The fonts come out corrupted or in Greek text. For example, the Matrox Millenium video card has this problem. Apparently the ROM address space has been reassigned to new video BIOS extensions. The original 8x14 VGA font can be restored by using a TSR (Terminate Stay Resident program) before starting Puff. We do not know at this time if the TSR program will work with other video cards, however, the supplier of your video card should provide an equivalent utility either on the disks that come with the card or on their respective web pages.

    Please note that Puff runs in the 480x640 mode.

    One of our colleagues has an incompatible 3D-Rage video driver. He found a program similar to a TSR program at the ATI website that fixed most of the problems.


    1-21-97 Some computers require that you follow the instructions below AND do the additional item listed here. Click the right mouse button on the Puff.exe shortcut. Click on "Properties", click on "Advanced". This will open the "Avanced properties window. Check the box "Prevent MS DOS programs from detecting Windows". By default, the "Suggest MS DOS mode as necessary" box should also be checked.
    Here is an alternate way to run Puff using your old version of DOS if you had installed Windows 95 as an upgrade: Boot your computer. When it is almost finished booting and just about ready to open the Windows 95 page (timing is essential), push the "F8" button. This will give you a screen with 8 choices. #8 will be your previous version of DOS. Push the "8" button and you will get a DOS prompt.

    To preserve compatibility with MS-DOS programs, Windows95 allows the user to alter certain settings before launching the program. Older versions of Windows achieved this by the use of a PIF, or program information file. A PIF was required to run each DOS program. Windows95 condenses this feature into the shortcut links that are used to launch applications.

    Two problems exist when using Puff with Windows95. The Print Screen button in Windows95 is configured to paste a copy of the screen to the clipboard instead of sending a screen dump to the printer. The shortcut link will have to altered to return the Print Screen key back to its original function.

    Also, the proper screen dump routine needs to be executed before Puff is started up. Windows95 allows the user to run a short program, called a batch file, before starting up the main application. The shortcut link should be configured to have the screen dump routine listed as its batch file.

    SETTING UP A SHORTCUT LINK TO PUFF

    1. Using Windows Explorer, go to the directory that puff is located in. Click on the 'puff.exe' file using the right mouse button and select 'Create Shortcut.' This will place a shortcut link to the executable in the puff directory.

    2. Now right click on this shortcut and select 'Properties'. This will bring up the dialog window that allows you to alter the MS-DOS settings for the shortcut link.

    3. Click on the 'Program' tab near the top of the window. Go to the entry for 'Batch file:' and type in the name for the required screen dump routine. (Most network printers use the routine named VGA2LASR.COM)

    4.Make sure the 'Close on exit' box is checked at the bottom.

    5. Click on the 'Screen' tab at the top. In the 'Usage' section, select 'Full-screen'. Puff doesn't run within a window.

    6. Click on the 'Misc' tab. In the 'Windows shortcut keys' section, make sure that 'PrtSc' is NOT checked. When this box is checked, pressing the Print Screen button will dump an image of the screen to Window's clipboard instead of directing the output to the printer port.

    7. Click on the 'OK' box to save the settings and close the properties dialog window.

    Puff can now be run by simply clicking on this shortcut link. The screen dump routine that was entered as the batch file will run before Puff is started, and the Print Screen key will allow you to send a screen dump to the printer.

    When doing a screen dump, Puff directs the output to the LPT1 printer port. In order to print on a network printer, the specific printer must be set to 'capture' the output from the LPT1 port.

    PRINTING A PUFF SCREEN DUMP USING A NETWORK PRINTER

    1. Under the Start Menu, click on 'Settings' and select printers. This will open a window with all the printers that your system is setup to use. Using the right mouse button, click on the network printer that you would like Puff to print to and select 'Properties'.

    2. Click on the 'Details' tab. The entry entitled 'Print to the following port:' will be highlighted. Make note of this path. (An easy way is to press Ctrl-C. This copies the path into the clipboard.)

    3. Click on 'Capture Printer Port...' This will bring up another dialog box. Use the arrow keys to scroll up to 'LPT1' in the 'Device' entry. Go to the 'Path:' and type the path of the network printer EXACTLY as it appeared in the 'Details' window. (Or press Ctrl-V to paste it from the clipboard.)

    4. Make sure that 'Reconnect at login' box is checked.

    5. Click on 'OK' to capture the printer port. This will return you to the 'Details' window. Click on 'OK' in that window to save the settings and close the printer properties dialog box.

    Warning: A screen dump can take as long as five minutes when using a networked printer. Don't be alarmed if the printout doesn't appear right away.

    This page was written by Lon Christensen for the EE20 class at Caltech.
    To return to the Puff page, click here
    For the order form for this non-profit educational program, click here,
    To return to the RF and Microwave Group page, click here
    To return to the Department of Electrical Engineering home page, click here.

    Comments and suggestions on this program are appreciated and should be sent to yee@systems.caltech.edu