Knowledge Base

Unreliable Printing When Shared Printer Name Contains Spaces

Article ID: 130650

Article Last Modified on 1/19/2007


APPLIES TO


This article was previously published under Q130650
If this article does not describe your hardware-related issue, please see the following Microsoft Web site to view more articles about hardware:

SYMPTOMS

You cannot print to a network printer, or printing is unreliable from some programs in Windows 95. When this occurs, you may receive the error message "Cannot open printer driver" or "Cannot connect to printer. Check printer setup."

CAUSE

This problem can occur if the name of the shared network server or printer model you are using contains spaces. The problem occurs because some programs incorrectly parse the device lines for network printers in the WIN.INI file.

Programs that use the device lines for network printers instead of using COMMDLG.DLL incorrectly treat spaces in names as delimiters between share names.

RESOLUTION

To correct this problem, use either of the following methods:
Although Windows 95 does allow you to include spaces in share names, it is not recommended. You may want to use an underscore (_) instead of a space. For example, instead of the share name "\\PRINTER MODEL," use "\\PRINTER_MODEL."


Additional query words: HWPRNTS

Keywords: kbenv kberrmsg kbfaq kbnetwork kbprb kbprint KB130650