15.2.15 Printer Settings Part
Content Type:
application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings (in SpreadsheetML documents)
application/vnd.openxmlformats-officedocument.wordprocessingml.printerSettings (in WordprocessingML documents)
application/vnd.openxmlformats-officedocument.presentationml.printerSettings (in PresentationML documents)
Root Namespace:
not applicable
Source Relationship:
http://purl.oclc.org/ooxml/officeDocument/relationships/printerSettings
An instance of this part type contains information about the initialization and environment of a printer or a display device. The layout of this information is application-defined.
[Note: It is recommended that a Printer Settings Part contain well documented XML content for improved interoperability; however, there is no requirement on the format of the content contained in a Printer Settings Part. end note]
[Example: An Office Open XML producer on Windows might store the DEVMODE structure defined here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_8nle.asp, while an application on the Mac OS might choose to store the print record defined here: http://developer.apple.com/documentation/Printing/index.html. end example]
A SpreadsheetML package is permitted to contain at most one Printer Settings part per Chartsheet, Dialogsheet, or Worksheet part, and that part shall be the target of an implicit relationship from a Chartsheet (12.3.2), Dialogsheet (12.3.7), or Worksheet (12.3.24) part. A WordprocessingML package is permitted to contain zero or more Printer Settings parts, one per sectPr element, each a target of an explicit relationship from a Main Document (11.3.10) or Glossary Document (11.3.8) part. A PresentationML package is permitted to contain at most one Printer Settings part, and that part shall be the target of an implicit relationship from a Presentation (13.3.6) part.
[Example: The following SpreadsheetML Worksheet part-relationship item contains a relationship to a Printer Settings part, which is stored in the ZIP item ../printerSettings/printerSettings1.xml:
<Relationships xmlns="…">
<Relationship Id="rId4"
Type="http://…/printerSettings"
Target="../printerSettings/printerSettings1.xml"/>
</Relationships>
where the contents of PrinterSettings1.xml contains the following XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PrinterSettings xmlns="…">
<PrinterSetting name="PropertyName" value="PropertyValue" />
</PrinterSettings>
end example]
A Printer Settings part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
A Printer Settings part shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.