PMP Mail Archive: PMP> Localization changes to Printer MIB

PMP> Localization changes to Printer MIB

lpyoung@lexmark.com
Fri, 6 Jun 1997 09:53:04 -0400

Ira McDonald on 4/16/97 raised on issue that the localization
specified in the Printer MIB is not adequate for the Japan/Asia/
Far East markets. Ira has developed the following proposal and
Chris and I think we should include it in the Printer MIB.
Any discussion?
--------------------------------------------------

Add three new textual conventions:
----------------------------------

PrtCurrentLocaleDisplayString ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The type for human-readable (NOT binary) string objects:
a) whose dynamic locale (language, country, code set) shall be
indicated by the value of 'prtGeneralCurrentLocalization';
b) whose value (when updated by an SNMP Set-Request) shall be
interpreted in this locale by the management agent;
c) whose value (when returned by an SNMP Get-Response) shall be
interpreted in this locale by the management station."
REFERENCE
"See: 'prtGeneralCurrentLocalization' in the General group
of this Printer MIB."
SYNTAX OCTET STRING

PrtConsoleLocaleDisplayString ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The type for human-readable (NOT binary) string objects:
a) whose dynamic locale (language, country, code set) shall be
indicated by the value of 'prtGeneralConsoleLocalization';
b) whose value (when updated by an SNMP Set-Request) shall be
interpreted in this locale by the management agent;
c) whose value (when returned by an SNMP Get-Response) shall be
interpreted in this locale by the management station."
REFERENCE
"See: 'prtGeneralConsoleLocalization' in the General group
of this Printer MIB."
SYNTAX OCTET STRING

PrtStaticLocaleDisplayString ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The type for human-readable (NOT binary) string objects:
a) whose static locale (language, country, code set) shall be
indicated by the value of 'prtGeneralStaticLocalization';
b) whose value (when updated by an SNMP Set-Request) shall be
interpreted in this locale by the management agent;
c) whose value (when returned by an SNMP Get-Response) shall be
interpreted in this locale by the management station."
REFERENCE
"See: 'prtGeneralStaticLocalization' in the General group
of this Printer MIB."
SYNTAX OCTET STRING

Update/Add to General group:
----------------------------

prtGeneralCurrentLocalization OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-write -- write many, read many
MIN-ACCESS read-only -- move to Conformance section
STATUS current
DESCIRPTION
"The value of 'prtLocalizationIndex' corresponding to the
language, country, and character set to be used when
interpreting dynamically localized 'human-readable' string
objects of type 'PrtCurrentLocaleDisplayString'. This object
shall not apply to strings of 'PrtConsoleLocaleDisplayString'
or 'PrtStaticLocaleDisplayString' type.

Usage: This object may be updated (repeatedly) during normal
operation of this network printer or network print server."
REFERENCE
"See: 'prtGeneralConsoleLocalization' (console strings) and
'prtGeneralStaticLocalization' (static strings)
objects in the General group of this Printer MIB."
::= { prtGeneralEntry 2 }

prtGeneralConsoleLocalization OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-write -- write many, read many
MIN-ACCESS read-only -- move to Conformance section
STATUS current
DESCIRPTION
"The value of 'prtLocalizationIndex' corresponding to the
language, country, and character set to be used when
interpreting console localized 'human-readable' string
objects of type 'PrtConsoleLocaleDisplayString'. This object
shall not apply to strings of 'PrtCurrentLocaleDisplayString'
or 'PrtStaticLocaleDisplayString' type.

Usage: This object may be updated (repeatedly) during normal
operation of this network printer or network print server."
REFERENCE
"See: 'prtGeneralCurrentLocalization' (dynamic strings) and
'prtGeneralStaticLocalization' (static strings)
objects in the General group of this Printer MIB."
::= { prtGeneralEntry 10 }

prtGeneralStaticLocalization OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-write -- write once, read many
MIN-ACCESS read-only -- move to Conformance section
STATUS current
DESCIRPTION
"The value of 'prtLocalizationIndex' corresponding to the
language, country, and character set to be used when
interpreting statically localized 'human-readable' string
objects of type 'PrtStaticLocaleDisplayString'. This object
shall not apply to strings of 'PrtCurrentLocaleDisplayString'
or 'PrtStaticLocaleDisplayString' type.

Usage: This object may be updated (at most) once at 'device
install' time for this network printer or network print server."
REFERENCE
"See: 'prtGeneralCurrentLocalization' (dynamic strings) and
'prtGeneralConsoleLocalization' (console strings)
objects in the General group of this Printer MIB."
::= { prtGeneralEntry 20 }

Change the SYNTAX of these objects to 'PrtCurrentLocaleDisplayString':
----------------------------------------------------------------------

prtCoverDescription
prtInputDescription
prtOutputDescription
prtMarkerSuppliesDescription
prtMediaPathDescription
prtInterpreterDescription
prtAlertDescription

Change the SYNTAX of these objects to 'PrtConsoleLocaleDisplayString':
----------------------------------------------------------------------

prtConsoleDisplayBufferText
prtConsoleDescription

Change the SYNTAX of these objects to 'PrtStaticLocaleDisplayString':
---------------------------------------------------------------------

prtGeneralCurrentOperator
prtGeneralServicePerson
prtGeneralAdminName
prtGeneralSerialNumber
prtLocalizationLanguage
prtLocalizationCountry
prtInputMediaName
prtInputName
prtInputVendorName
prtInputModel
prtInputVersion
prtInputSerialNumber
prtInputMediaType
prtInputMediaColor
prtOutputName
prtOutputVendorName
prtOutputModel
prtOutputVersion
prtOutputSerialNumber
prtMarkerColorantValue
prtChannelProtocolVersion
prtInterpreterLangLevel
prtInterpreterLangVersion
prtInterpreterVersion

Lloyd Young Lexmark International, Inc.
Senior Program Manager Dept. C14L/Bldg. 035-3
Strategic Alliances 740 New Circle Road NW
internet: lpyoung@lexmark.com Lexington, KY 40550
Phone: (606) 232-5150 Fax: (606) 232-6740