Print Server Doesn't Support Vertical Channel Select SCS Code

Last reviewed: February 17, 1998
Article ID: Q181025
The information in this article applies to:
  • Microsoft SNA Server, versions 3.0, 3.0 Service Pack 1 (SP1), 3.0SP2, and 4.0

SYMPTOMS

Print Server does not support the Vertical Channel Select(VCS) SCS code (X'04 xx'). When Print Server receives a VCS command in the datastream, it does an LF (Line Feed, X'25') instead.

STATUS

Microsoft has confirmed this to be a problem in SNA Server versions 3.0, 3.0 SP1, 3.0 SP2 and 4.0. A supported fix is now available, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.

MORE INFORMATION

With the fix applied, the Ppd3270.dll file is changed so that it recognizes the VCS command and handles it appropriately.

In one scenario, a Host was sending down the following SCS sequence:

   2B C2 05 62 01 62 0B

This is a Set Vertical Format command, with the following parameters:

   05 - length of data
   01 - top margin
   62 - bottom margin
        0B - set vertical tab stop to line 11

The Host then sent down the following:

   04 82

This is a Vertical Channel Select command (04), selecting vertical channel 2 (82). Vertical channel 1 is always the top margin and vertical channel 2 is the first vertical tab stop as defined in the Set Vertical Format command above (that is, line 11). Print Server processes this command by issuing 1 line feed, but it should issue 10 line feeds (to get to line 11.

This can be clearly seen with extended job tracing turned on:

   s3pr1dat.c(313)     byte: 04 ->  LF/VCS
   s3prdscs.c(61)      ******* FLUSH DATA **********
   winvprtj.c(4725)    LF - MOVE PAGE POSITION DOWN A LINE LINE
   s3prdscs.c(42)      ******* PARSE DATA **********
   s3pr1dat.c(2182)    byte: 82 ->  second byte of VCS - ignore

Printserver is ignoring the '82.'
Keywords          : kbbug3.00 kbbug3.00.sp1 snaprintservice kbbug3.00.sp2 kbbug4.00 kbprint
Version           : WINDOWS:3.0,3.0SP1,3.0SP2,4.0
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbfix


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


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.

Last reviewed: February 17, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.