Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/169910

From BetaArchive Wiki
Knowledge Base

SNA Print Service Doesn't Support SVF with 5250 Printing

Article ID: 169910

Article Last Modified on 7/14/2004


  • Microsoft SNA Server 3.0 Service Pack 4
  • Microsoft SNA Server 4.0

This article was previously published under Q169910


The LU 1 SCS Set Vertical Format (SVF) function is not supported for 5250 printing. When the 5250 PPD receives an SVF code, it just ignores it.


Microsoft has confirmed this to be a problem in SNA Server 3.0 and 3.0 Service Pack 1 (SP1). This problem was corrected in the latest SNA Server version 3.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):



After the fix is applied, when the Print Server receives the following sequence of bytes in a 5250 data stream, it should recognize and process the bytes as a "Set Vertical Format" request (the SVF code):


The byte nn counts the number of bytes to the end of the SVF code (including the count byte); the byte vv defines the maximum number of lines that can be printed on a page (max printable lines [MPL], 0-255).

The fix allows the 5250 PPD to call into the virtual printer DLL to pass the new MPL value that it receives in an SVF code contained in the data stream. The virtual printer DLL was also changed to issue a Form Feed (FF) whenever the row indicated by the MPL is reached.

Note that if the number of lines indicated by the MPL is greater than the number of lines that will physically fit on the page (given current font size, LPI, and so on), it is ignored.

Keywords: kbbug kbfix kbnetwork KB169910