Microsoft KB Archive/102021

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 08:26, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Irpstacksize too Small when Printing with DLC

Article ID: 102021

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1



This article was previously published under Q102021

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

SYMPTOMS

The following error may occur when printing using the Hewlett-Packard (HP) print monitor over the DLC protocol:

The server's configuration parameter irpstacksize is too small for the server to use a local device. Please increase the value of this parameter.

Irpstacksize specifies the number of stack locations in I/O request packets (IRPs) used by the server. It may be necessary to increase this number for certain transports, MAC drivers, or local file system drivers.

Another indication of this problem is that the status of the printer may be listed as "not available" in Print Manager.

RESOLUTION

To correctly configure irpstacksize, use the Registry Editor (REGEDT32.EXE) to edit the following registry key:

   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\ 
      Parameters
  1. Create a new value called "irpstacksize." The value must be of type REG_DWORD.
  2. The default value is 4. Increase the value by 1 until the error message stops. The range is 1 to 12. Each increment costs 36 bytes of memory per work item (number of work items multiplied by 36 bytes equals total memory cost).



Additional query words: prodnt irp event log

Keywords: kbprint KB102021