Print settings parameters
Guidewire provides the following configuration parameters in the config.xml file that relate to printing from PolicyCenter.
For information on editing config.xml and setting configuration parameters, see Working with configuration parameters.
DefaultContentDispositionMode
The Content-Disposition header setting to use when PolicyCenter
returns file content directly to the browser. This parameter applies to printed and exported content. It does
not apply to documents. For documents, use the DocumentContentDispositionMode parameter.
Supported settings are inline and attachment.
Default: attachment
PrintCsvDefaultBaseFileExtension
Default base output file extension for CSV documents.
Default: csv
PrintCsvMimeType
MIME type used for generated CSV output files.
Default: application/excel
PrintDefaultBaseFileName
Default base output filename for output generation.
Default: Print
PrintFontFamilyName
Use to configure FOP settings for printing non-U.S. character sets. (FOP refers to the Apache Formatting Objects Processor.) Set this value to the name of the font family for custom fonts as defined in your FOP user configuration file. For more information, refer to the following:
http://xmlgraphics.apache.org/fop/
Default: san-serif
PrintFontSize
Font size of standard print text.
Default: 10pt
PrintFOPUserConfigFile
Path to FOP user configuration file, which contains settings for printing non-U.S. character sets. (FOP refers to the Apache Formatting Objects Processor.) Enter a fully qualified path to a valid FOP user configuration file. There is no default. However, a typical value for this parameter is the following:
C:\fopconfig\fop.xconfFor more information, refer to the following:
http://xmlgraphics.apache.org/fop/
Default: None
PrintHeaderFontSize
Font size of headers in print text.
Default: 16pt
PrintLineHeight
Total size of a line of print text.
Default: 14pt
PrintListViewBlockSize
Use to set the number of elements in a list view to print as a block. This parameter splits the list into blocks of this size, with a title page introducing each block of elements. A large block size consumes more memory during printing, which can cause performance issues. For example, attempting to print a block of several thousand elements can potentially cause an out-of-memory error.
Default: 20
PrintListViewFontSize
Font size of text within a list view.
Default: 10pt
PrintMarginBottom
Bottom margin size of print page.
Default: 0.5in
PrintMarginLeft
Left margin size of print page.
Default: 1in
PrintMarginRight
Right margin size of print page.
Default: 1in
PrintMarginTop
Top margin size of print page.
Default: 0.5in
PrintMaxNestedListViewSize
When printing a list view that is nested inside a detail view, the list view is truncated to the number of rows set by this parameter. Nested lists cause the PDF generator to consume additional memory, so this parameter prevents long nested lists from causing memory problems.
Default: 100
PrintMaxPDFInputFileSize
During PDF printing, PolicyCenter first creates an intermediate XML file as input to a PDF generator. If the input is very large, the PDF generator can run out of memory.
Value |
Purpose |
|---|---|
Negative |
A negative value indicates that there is no limit on the size of the XML input file to the PDF generator. |
Non-negative |
A non-negative value limits the size of the XML input file to the set value (in megabytes). If a user attempts to print a PDF file that is larger in size than this value, PolicyCenter generates an error. |
Default: -1
PrintPageHeight
Total print height of page.
Default: 8.5in
PrintPageWidth
Total print width of page.
Default: 11in
PrintPdfDefaultBaseFileExtension
Default base output file extension for PDF documents.
Default: 11in
PrintPdfMimeType
MIME type used for generated PDF output files.
Default: application/pdf
