FIX: Error messages when you use the SNACFG utility to create 3270 print sessions or APPC print sessions in Host Integration Server 2004: "Undefined parameter FONT" and "Undefined parameter FONTSIZE"
When you try to create a new 3270 print session or an APPC print session on a Microsoft Host Integration Server 2004 Service Pack 1 (SP1)-based server by using the SNACFG (snacfg.exe) command-line configuration utility, you receive the following error messages:
Undefined parameter FONTMessage 2
Undefined parameter FONTSIZEMessage 3
Required parameter missing or parameter value invalidMessage 4
Command failedNote This problem can also occur on a Host Integration Server 2004 server that has the following update applied.
937144 FIX: You cannot use the SNACFG utility to configure the “Use fixed font size” option for 3270 print sessions and for APPC print sessions in Host Integration Server 2004
This problem occurs because the SNACFG command-line configuration utility incorrectly checks for the existence of the /FONT parameter even though the /OVERRIDEFONTSIZE=No parameter is specified in the command to add a 3270 print session or an APPC print session. The /FONT parameter and the /FONTSIZE parameters only need to be validated when the /OVERRIDEFONTSIZE=Yes parameter is included on the command to add a 3270 print session or an APPC print session.
Hotfix InformationA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Host Integration Server 2004 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
PrerequisitesYou must have Host Integration Server 2004 Service Pack 1 installed to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.
|File name||File version||File size||Date||Time||Platform|
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
You can configure the "Use fixed font size" option for print sessions by using the /OVERRIDEFONTSIZE parameter. The sample SNACFG commands in this section show how to do this for an existing 3270 print session. For APPC print sessions, change "PRINTSESSION3270" to "PRINTSESSIONAPPC" in each command.
The following sample SNACFG command enables the "Use fixed font size" option for an existing 3270 print session that is named PRINT1:
SNACFG PRINTSESSION3270 PRINT1 /OVERRIDEFONTSIZE:Yes /FONT:Courier /FONTSIZE:10The following sample SNACFG command enables the "Use fixed font size" option for an existing APPC print session that is named APPCPRT1:
SNACFG PRINTSESSION3270 APPCPRT1 /OVERRIDEFONTSIZE:Yes /FONT:Courier /FONTSIZE:10Note You must specify a specific font and a specific font size together with the /FONT parameter and the /FONTSIZE parameter to enable the "Use fixed font size" option.
If you specify the /OVERRIDEFONTSIZE:Yes parameter for a print session that is not configured to use a specific font and a specific font size, the SNACFG utility returns the following error message:
Undefined parameter FONT Undefined parameter FONTSIZE Required parameter missing or parameter value invalid Command failedYou can use the following SNACFG command to enable the "Use fixed font size" option when the specified 3270 print session has been previously configured to use a specific font and a specific font size:
SNACFG PRINTSESSION3270 <PrintSessionName>/OVERRIDEFONTSIZE:YesSimilarly, you can use the following SNACFG command to disable the "Use fixed font size" option when the specified 3270 print session has been previously configured to use a specific font and a specific font size:
SNACFG PRINTSESSION3270 <PrintSessionName>/OVERRIDEFONTSIZE:NoFor more information about the SNACFG utility, see the Host Integration Server documentation.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 950852 - Last Review: 10/08/2011 08:22:00 - Revision: 2.0
Microsoft Host Integration Server 2004 Enterprise Edition, Microsoft Host Integration Server 2004 Standard Edition
- kbexpertiseadvanced kbexpertiseinter kbbug kbfix kbqfe KB950852