Insight Statistical Consulting Ltd
John Kirkpatrick MSc BSc (Hons) CStat CSci

How to print on A4 paper when running SAS 9 on Windows

When I was running SAS version 8 on Windows, all I had to do to get my output on A4 paper was set the PAPERSIZE system option to ISO_A4. Now I've upgraded to SAS 9, this doesn't work. What's happened?

The default installation for SAS 9 on Windows assumes a locale of EN_US. In this locale, A4 paper doesn't exist. To fix the problem, you need to edit your SAS configuration. By default, the main SAS configuration file is <SASROOT>SASV9.CFG, which in turn points to <SASROOT>\nls\en\SASV9.CFG. (It may point to another file on your system if system uses a non-English language locale.) Open this second file.

Scroll down to the line that reads -LOCALE "en_US" and change it to -LOCALE "en_GB".

Save your changes and restart SAS. The PAPERSIZE option will now work correctly.

This is a synopsis of the response to SAS log number UK1037497.