Problem Note 6634: Errors generated when multiple styles applied to ODS PDF output
When multiple ODS PRINTER PDF or ODS PDF statements are used to change
the style of a single PDF file instream, error messages are produced,
and the PDF file is not created.
To circumvent the problem, supply only one STYLE= specification to the
PDF file or create a Postscript file and use Adobe's Distiller to
distill the file into PDF format.
The following code replicates the error message:
ods pdf file="Sample.pdf" style=printer;
proc print data=sashelp.retail;
run;
ods pdf style=styles.sasdocprinter;
proc print data=sashelp.retail;
run;
ods pdf close;
Following is a circumvention (PDFMARK instructs the PS file to have a
Table of Contents when it is distilled to PDF):
ods printer pdfmark file="Sample.ps" style=printer;
proc print data=sashelp.retail;
run;
ods printer pdfmark style=styles.sasdocprinter;
proc print data=sashelp.retail;
run;
ods printer close;
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#006634
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Microsoft Windows NT Workstation | 8.2 TS2M0 | 9 TS M0 |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | 9 TS M0 |
| Solaris | 8.2 TS2M0 | |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | 9 TS M0 |
| 64-bit Enabled Solaris | 8.2 TS2M0 | |
| IRIX | 8.2 TS2M0 | |
| ABI+ for Intel Architecture | 8.2 TS2M0 | |
| Linux | 8.2 TS2M0 | 9 TS M0 |
| 64-bit Enabled AIX | 8.2 TS2M0 | 9 TS M0 |
| HP-UX | 8.2 TS2M0 | |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | |
| AIX | 8.2 TS2M0 | 9 TS M0 |
| Tru64 UNIX | 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: | Problem Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2004-08-03 09:01:58 |
| Date Created: | 2002-01-11 19:04:48 |