Configuring Host Print Transform May Cause an Extra Form Feed

Last reviewed: February 17, 1998
Article ID: Q181132
The information in this article applies to:
  • Microsoft SNA Server, versions 3.0, 3.0SP1, 3.0SP2, 4.0

SYMPTOMS

AS/400 print jobs that had been printing properly with SNA Server 3.0 and 3.0 Service Pack 1, may produce an extra Form Feed after applying SNA Server 3.0 Service Pack 2 and configuring AS/400 print sessions to use Host Print Transform (HPT). This problem is not easily reproduced and rarely occurs.

CAUSE

Print jobs printed over sessions configured with HPT enabled are printed as transparent print jobs since the job is rendered by print drivers on the AS/400. Print Server does not know that it is receiving a transparent job until it receives the x'03' byte at the start of the HPT data. Before receiving this byte, Print Server had made a call to StartDoc() to begin GDI printing. Transparent jobs are not printed through the GDI. When the print service realizes this is a transparent job, it calls CancelDoc() to end the previous StartDoc() call. The GDI always produces a a Form Feed when CancelDoc() is called and it is this Form Feed that causes the problem.

WORKAROUND

Configure the print sessions to use a PDF file since this indicates that the job will be transparent, therefore the Print Server will not call StartDoc().

STATUS

Microsoft has confirmed this to be a problem in SNA Server versions 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 Product Support Services for more information.

MORE INFORMATION

Print Server now recognizes when HPT has been configured in the printer session properties, and will internally generate a blank PDT file to use. This has the effect of informing Print Server to use the transparent printer interface and, will not result in any unwanted PCL sequences being sent to the printer.

 
NOTE: For this fix to work, you must configure HPT in your print session properties.
Keywords          : kbbug3.00 kbbug3.00.sp1 prodsna snaprintservice kbbug3.00.sp2 kbbug4.00
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.