Usage Note 7744: Inline formatting on PUT statement is counted as part of LINESIZE=
Inline formatting on a PUT statement is included as printed space needed
for the specified output in the ODS destinations. Thus, the LINESIZE=
option must be set accordingly.
For example, the inline formatting below defines the font_size,
font_face, and font_weight for the values 'AAA' and 'BBB'.
ods escapechar="^";
ods html file='file.html';
ods pdf file='file.pdf';
ods rtf file='file.rtf';
data _null_;
file print;
put @1 '^S={font_size=8pt font_face=courier font_weight=bold}'
'AAA';
put +5 '^S={font_size=8pt font_face=courier font_weight=bold}'
'BBB';
run;
ods _all_ close;
The line size needed for printed output is three characters. However
the inline formatting is also included in this count, even though it
affects only the appearance of the output. This increased line size may
cause wrapping if it exceeds the current value of the LINESIZE= option.
To prevent wrapping in the RTF and HTML destinations, increase the value
of the LINESIZE= system option or decrease the font size.
Prior to SAS 9, exact placement with pointers and inline formatting in
the ODS PRINTER destinations (PCL, PDF, PS) may not work correctly.
Using a monospace font and OPTIONS NOCENTER will help with alignment.
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 8.2 TS2M0 | |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Microsoft Windows NT Workstation | 8.2 TS2M0 | |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | |
| Solaris | 8.2 TS2M0 | |
| OpenVMS VAX | 8.2 TS2M0 | |
| 64-bit Enabled Solaris | 8.2 TS2M0 | |
| z/OS | 8.2 TS2M0 | |
| IRIX | 8.2 TS2M0 | |
| OS/2 | 8.2 TS2M0 | |
| Linux | 8.2 TS2M0 | |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | |
| HP-UX | 8.2 TS2M0 | |
| ABI+ for Intel Architecture | 8.2 TS2M0 | |
| CMS | 8.2 TS2M0 | |
| OpenVMS Alpha | 8.2 TS2M0 | |
| 64-bit Enabled AIX | 8.2 TS2M0 | |
| Tru64 UNIX | 8.2 TS2M0 | |
| AIX | 8.2 TS2M0 | |
*
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.
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2005-06-29 13:50:49 |
| Date Created: | 2002-06-11 10:51:32 |