Microsoft KB Archive/223428

= XL2000: Error Message: There Are No Printers Installed =

Article ID: 223428

Article Last Modified on 12/2/2005

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q223428





ERROR MESSAGE
In Excel 2000, you may receive the following error message:

There are no printers installed.

NOTE: Microsoft Office 2000 has built-in functionality that allows you to get more information about difficult-to-troubleshoot alerts or error messages. If you want to enable this functionality for this and other error messages in Microsoft Office 2000, please download the Microsoft Office 2000 Customizable Alerts file from the Microsoft Office Update Web site at the following address:

http://www.microsoft.com/downloads/details.aspx?FamilyID=8FBEE1D3-C5BB-4A36-A2F7-DC63DE2A818C

NOTE: If you reached this article by clicking the Web Info button in an error message, you already have Customizable Alerts enabled.



CAUSE
This error message means that either you do not have a default printer installed, or Microsoft Excel cannot find the default printer. If you do not have a default printer, use the Add Printer wizard to install one. To do this, follow these steps:
 * 1) On the Windows Start menu, point to Settings, and click Printers.
 * 2) Double-click Add Printer, and follow the instructions.

NOTE: Some printers have their own setup routines that bypass the Add Printer Wizard. In this case, follow the instructions in your documentation.

If you already have a default printer, there may be a problem with your Win.ini file, which contains configuration information for your system. The problem may be any of the following:


 * You do not have a Win.ini file.
 * The Devices section of the Win.ini file is missing.
 * The Devices section of the Win.ini file contains incomplete or incorrect information.
 * The Win.ini file exceeds the 64 KB size limit, or is corrupted.



THINGS TO TRY
You may be able to fix the problem by reinstalling your printer driver, or correcting the driver's entry in your Win.ini file. If both of these methods fail, you will need to use Windows Setup to reinstall the Win.ini file from your Windows 95/98 CD-ROM.

Method 1: Reinstall the Printer Driver
To reinstall the printer driver, follow these steps:
 * 1) On the Windows Start menu, point to Settings, and then click Printers.
 * 2) Right-click your default printer, and click Delete. If you are prompted to remove extra files from the system, click Yes.
 * 3) Double-click Add Printer, and follow the instructions to reinstall your printer driver.

When you reinstall your printer driver, Windows writes the correct entries for the Ports, Printer Ports, and Windows sections in the Win.ini file.

Method 2: Correct an Entry in the Win.ini File
To correct an entry in the Win.ini file, follow these steps: NOTE: You will need to know the name of your printer driver to complete this procedure.  On the Windows Start menu, point to Find, and then click Files or Folders. In the Named box, type win.ini . In the Look In list, click to select your hard disk drive. Click to select the Include Subfolders check box, and then click Find Now. Check the file size in the Size column. If it is larger than 64 KB, the Win.ini file is too big. This could be the cause of the error message. Double-click the Win.ini file to open it in Notepad.</li> Look for duplicate entries or sections. If you find any, delete them.</li>  The Devices section should list the friendly name of your printer, followed by an equal sign, the driver name, comma, and then the port or network path. If the Devices section is missing, add it. Here is an example:

<pre class="fixed_text">[Devices] HP LaserJet 4/4M=HPPCL5MS,LPT1: HP LaserJet IIISi=HPPCL5MS,\\Server\Sharename </li> If you made any changes, click Save on the File menu, and then attempt to print again.</li></ol>

Method 3: Create a new Win.ini
If the above methods fail, your Win.ini may be corrupted or there may be other problems with the file. Use this method only after you have attempted methods one and two.

To create a new Win.ini file, follow these steps:
 * 1) Find the Win.ini file using method two.
 * 2) Right-click the Win.ini file, click Rename, and type win.old.
 * 3) Insert your Windows 95/98 CD-ROM.
 * 4) In the Run Setup Again dialog box, click Restore Windows files that are changed or corrupted, and then follow the directions on your screen.

This method creates a new, complete Win.ini with all of the required sections.

NOTE: If you rename or delete the Win.ini file, and then restart without running Setup, Windows 95/98 will automatically create a new Win.ini. However, the new Win.ini file will contain only the Desktop and Embedding sections. The Devices section, and all other sections configured by your system, will be missing.

Additional query words: OFF2000

Keywords: kberrmsg kbdownload kbfix kbprb KB223428

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.