Usage Note 49453: The default style for ODS PRINTER (PCL/PDF/PS) destinations is now STYLES.PEARL
Beginning with SAS® 9.4, the default style for all Printer family destinations (PS, PDF, PCL) has changed from Styles.Printer to Styles.Pearl.
If you want to use Styles.Printer, the STYLE= option can be used in the ODS <DESTINATION> statement:
ods pdf file="file.pdf" style=styles.printer;
If the use of Styles.Printer is necessary for more than one ODS PRINTER step, this change can be made using the SAS Registry. The sample code on the Full Code tab illustrates this.
Operating System and Release Information
SAS System | Base SAS | Windows 7 Home Premium x64 | 9.4 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 9.4 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.4 TS1M0 | |
Microsoft Windows XP Professional | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | |
Microsoft Windows Server 2008 | 9.4 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.4 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.4 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.4 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.4 TS1M0 | |
Microsoft Windows 8 Pro | 9.4 TS1M0 | |
Microsoft Windows 8 Ent | 9.4 TS1M0 | |
Microsoft® Windows® for x64 | 9.4 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.4 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.4 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.4 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.4 TS1M0 | |
Z64 | 9.4 TS1M0 | |
z/OS | 9.4 TS1M0 | |
Windows 7 Professional 32 bit | 9.4 TS1M0 | |
Windows 7 Professional x64 | 9.4 TS1M0 | |
Windows 7 Ultimate 32 bit | 9.4 TS1M0 | |
Windows 7 Ultimate x64 | 9.4 TS1M0 | |
Windows Vista | 9.4 TS1M0 | |
Windows Vista for x64 | 9.4 TS1M0 | |
64-bit Enabled AIX | 9.4 TS1M0 | |
64-bit Enabled HP-UX | 9.4 TS1M0 | |
64-bit Enabled Solaris | 9.4 TS1M0 | |
HP-UX IPF | 9.4 TS1M0 | |
Linux for x64 | 9.4 TS1M0 | |
Linux on Itanium | 9.4 TS1M0 | |
Solaris for x64 | 9.4 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.
If access is available to the SASUSER library, the following code updates the SASUSER registry file and sets the default style for the ODS PRINTER (PCL, PDF, PS) destinations to Styles.Printer. If access is not available to the SASUSER library, the WORK library is updated. If the change is desired to the SASHELP registry, the USESASHELP option must be used in the PROC REGISTRY code. Update access to the SASHELP library is required to use the USESASHELP option.
/* Create a file called printer.sasxreg that contains the appropriate Key value
to set the selected style for any ODS PRINTER destination to Styles.Printer */
data _null_;
file 'printer.sasxreg';
put '[ods\destinations\printer]';
put' ''Selected Style''=''styles.printer'' ';
run;
/* Import the file */
proc registry import='printer.sasxreg'; *usesashelp;
run;
/* The next sample code uses the change made to the SAS registry in the previous code: */
ods pdf file="file.pdf";
title "Using PRINTER style via the SAS Registry";
proc report nowd data=sashelp.cars(obs=5);
run;
ods pdf close;
Beginning with SAS® 9.4, the default style for all Printer family destinations (PS, PDF, PCL) has changed from Styles.Printer to Styles.Pearl.
Date Modified: | 2013-07-02 09:21:00 |
Date Created: | 2013-03-19 09:10:40 |