KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q72206: LAN Enhanced DOS Printer Message Not Displayed

Article: Q72206
Product(s): Microsoft LAN Manager
Version(s): 
Operating System(s): 
Keyword(s): 
Last Modified: 30-JUL-2001

SYMPTOMS
========

When a printer is temporarily out of service because the paper is jammed, no
paper is in the paper tray, or the printer is offline, normally a message is
sent to the DOS or OS/2 workstation stating that the printer is unavailable to
complete the print job. However, quite often a DOS Enhanced workstation will not
display the message concerning the unavailability of the printer.

CAUSE
=====

The messenger section of LANMAN.INI contains a parameter called sizmessbuf. On
OS/2 workstations, the default value for sizmessbuf is 4096 bytes. On DOS
Enhanced workstations, the default value for sizmessbuf is 256. When a message
is received whose total size is larger than the message buffer size, the message
is dropped. The printer unavailability message can easily exceed the 256 byte
buffer size.

RESOLUTION
==========

Increase sizmessbuf to accommodate longer messages. Doubling the default value
to a 512 byte buffer should be sufficient for the printer messages. Please note,
however, that doubling this value will affect the total available memory to the
DOS workstation.

Additional query words:

======================================================================
Keywords          :  

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.