LU3 Printing: Print Data May Overwrite Previous Line of Data (225471)
The information in this article applies to:
- Microsoft Host Integration Server 2000
- Microsoft SNA Server 3.0
- Microsoft SNA Server 4.0
This article was previously published under Q225471 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SYMPTOMS
An LU3 print job processed through SNA Server's Host Print Service may result in output that has data printed on top of previously printed lines of data. For example, data that is supposed to print on the fourth line of a page may be printed on top of the data printed on the third line of the page.
This problem is only likely to affect a few lines of data in a print job.
CAUSE
Print server does not issue an automatic New Line (NL) command for LU3 print jobs when a line of data reaches the Maximum Print Position (MPP) or Default Page Width if the character at print position MPP + 1 is a NL, Carriage Return (CR), or End of Medium (EM) command.
If the character at position MPP + 1 is a CR, the data intended for the next print line will print over the data on the current print line as the CR does not cause the print position to move down to the next print line.
This behavior is by design as described below.
RESOLUTIONWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
The following registry entry can be added to force print server to always issue
the automatic NL when a line of data reaches the MPP and a CR exists at MPP + 1.
Note: This does not have any effect when a NL or EM exists at MPP + 1. - Start Registry Editor (Regedt32.exe).
- Locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SnaPrint\Parameters
- On the Edit menu, click Add Value, and then add the following registry value:
Value Name: AlwaysDoNL
Data Type: REG_SZ
Value: True
- Quit Registry Editor.
Modification Type: | Major | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbprb KB225471 |
---|
|