Problem Note 56041: The LASTPAGE inline style command might display garbled text in PDF files
The inline style command LASTPAGE can be used to display total page number information in a PDF file that does not contain images. A PDF file might be created with garbled text where the LASTPAGE number should be written. This is most likely to occur if the following option settings from the options group ODSPRINT are in effect:
- PRINTERPATH= is blank
- SYSPRINT= is blank
- NOUNIVERSALPRINT is set
- NOUPRINTMENUSWITCH is set
To circumvent the problem, set the PRINTERPATH= option to PDF before the ODS PDF FILE= statement, as shown below:
options printerpath=pdf;
Operating System and Release Information
SAS System | Base SAS | Windows 7 Professional x64 | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 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 R2 | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro | 9.4 TS1M0 | |
Microsoft® Windows® for x64 | 9.4 TS1M0 | |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2015-06-25 15:50:00 |
Date Created: | 2015-06-23 13:44:35 |