Usage Note 36590: "The margins of section 1 are outside the printable area of the page" message is issued when printing RTF files from Microsoft Word
The printer setup has a strong influence over fonts and margins in RTF files that are created by ODS. This means that if margins are small for the default printer, an RTF file might generate the following dialog box when it is printed from Microsoft Word:
The margins of section 1 are outside the printable area of the page.
Do you want to continue?
There are two possible workarounds to re-create the RTF file without the problematic margin settings:
- Set specific margins using PROC TEMPLATE. For example:
proc template;
define style styles.test;
parent=styles.rtf;
style body from document /
leftmargin=.25in
rightmargin=.25in
topmargin=.25in
bottommargin=.25in;
end;
run;
The style is then applied to the RTF file FILE.RTF using the STYLE= option in the ODS RTF statement:
ods rtf file="file.rtf" style=styles.test;
- The SAS Universal Printer can be set as the default. To see whether it is already in effect, check the printer settings with the following PROC OPTIONS step:
proc options group=odsprint;
run;
If the SAS Log shows NOUNIVERSALPRINT, then set the following at invocation, either on a command line or in your SAS config file (SASV9.CFG):
-uprint
-uprintmenuswitch
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
Microsoft Windows NT Workstation | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
Microsoft Windows XP Professional | 9.1 TS1M0 | |
64-bit Enabled AIX | 9.1 TS1M0 | |
64-bit Enabled HP-UX | 9.1 TS1M0 | |
64-bit Enabled Solaris | 9.1 TS1M0 | |
HP-UX IPF | 9.1 TS1M0 | |
Linux | 9.1 TS1M0 | |
OpenVMS Alpha | 9.1 TS1M0 | |
Tru64 UNIX | 9.1 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
This note illustrates how to eliminate the Microsoft Word message: "The margins of section 1 are outside the printable area of the page" that is issued when printing RTF files.
Type: | Usage Note |
Priority: | medium |
Date Modified: | 2009-07-27 14:54:39 |
Date Created: | 2009-07-22 13:17:20 |