Chapter 11 - The SPLRTFCFG Command

SPLTOOL allows you to set up custom RTF attributes depending on the attributes of the spooled file being converted to RTF.

Use the SPLTOOL RTF Configuration (SPLRTFCFG) command to bring up a screen that will allow you to change, add, or delete entries. To add an entry, simply type the values on the top line. The change values, simply type over the old RTF values in the RTF Document Attributes column.

  8/22/01            SPLTOOL RTF Configuration (SPLRTFCFG)
11:04:05

Type options, Press Enter.
4=Delete

|--Spooled File Attributes--| |- RTF Doc Attributes -|
Opt Width Length CPI LPI Width Height LMarg RMarg TMarg BMarg FntSz
0 0 .0 .0 .0 .0 .0 .0 .0 .0 .0
_ 80 65 10.0 6.0 8.5 11.0 .5 .5 .5 .5 10.0
_ 132 66 10.0 6.0 11.0 8.5 .5 .5 .5 .5 7.0

Bottom
F3=Exit F5=Refresh

Spooled File Attributes
The spooled file attributes correspond to the attributes that can be see using the Work with Spooled File Attributes (WRKSPLFA) command, or option 8 in WRKSPLF.

RTF Document Attributes
The RTF document attributes are what will be used when the closest match to the original spooled file attributes are found. The Width and Height in the above example represent a document that is either portrait (8.5x11) or landscape (11x8.5). The document will be set up as portrait unless the Width is greater than the Height, then the landscape will be used.

LMarg, RMarg, TMarg, and BMarg represent the Left, Right, Top and Bottom margins respectively. Use these to set margins for the resulting RTF report.

FntSz is used to specify the font size for the resulting RTF report.

Comments