Problem Note 5486: PDF output generated with ODS and the DATA step may have columns with
incorrect alignment
When a DATA step and ODS are used in conjunction to generate PDF output,
values within a column may have incorrect alignment. There are two ways
to generate PDF output with the DATA step, with and without the ODS
option on the FILE statement. If the ODS option is used on the FILE
statement, then the output goes through the Output Delivery System. If
the ODS option is not used on the FILE statement, then the DATA step
does not go through the Output Delivery System. The problem occurs when
PDF output is generated with the DATA step and it does not go through
the Output Delivery System. Below is a simple example that recreates the
problem.
ods pdf file='temp.pdf';
data _null_;
set sashelp.class;
file print;
put @5 age @10 sex @15 height @20 weight;
run;
ods pdf close;
The current workaround is to create a .ps file with the ODS PRINTER
statement, and distill the .ps file into .pdf with Adobe's Acrobat
Distiller (available for purchase here: http://www.adobe.com/ ) or with
the product available at the following website:
http://www.ps2pdf.com/convert/index.htm
A Technical Support hot fix for Release 8.2 (TS2M0) for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#005486
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows NT Workstation | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | 9 TS M0 |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | 9 TS M0 |
| OpenVMS VAX | 8.2 TS2M0 | |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | 9 TS M0 |
| Solaris | 8.2 TS2M0 | 9 TS M0 |
| 64-bit Enabled Solaris | 8.2 TS2M0 | 9 TS M0 |
| IRIX | 8.2 TS2M0 | |
| z/OS | 8.2 TS2M0 | 9 TS M0 |
| OS/2 | 8.2 TS2M0 | |
| ABI+ for Intel Architecture | 8.2 TS2M0 | |
| Linux | 8.2 TS2M0 | 9 TS M0 |
| HP-UX | 8.2 TS2M0 | 9 TS M0 |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | 9 TS M0 |
| CMS | 8.2 TS2M0 | |
| Tru64 UNIX | 8.2 TS2M0 | 9 TS M0 |
| 64-bit Enabled AIX | 8.2 TS2M0 | 9 TS M0 |
| OpenVMS Alpha | 8.2 TS2M0 | 9 TS M0 |
| AIX | 8.2 TS2M0 | 9 TS M0 |
*
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: | Problem Note |
| Priority: | medium |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2004-08-03 09:00:27 |
| Date Created: | 2001-07-23 15:31:48 |