The function paper_types allows the model developer to specify paper settings for the current section of the document.
@(paper_types (first; other))
The result of the function paper_types is of type TEXT. This function has two parameters.
The result of the function paper_types is of type TEXT. The output of this function will have effect at the location where it is put into the result document.
If the result of multiple calls to the function paper_types is put in the same section, only the last result will affect the section.
The functionality of the function paper_types is only available for ITP Microsoft Word output (both DOC and DOCX) and will be ignored for other document formats.
Example
# BEGIN
#
@(paper_types("2"; "3"))
#
END #
The function paper_types will set the paper tray selections for the current section. Both the first and other parameter must be decimal numbers. The exact values for these parameters depend on the target printer driver used to print the result document.
Note
Refer to the documentation on ChangeBins for an extensive explanation on the details of paper tray management in the Microsoft Word document format. The ChangeBins package also includes a tool to query printer drivers for tray assignments.