Paul:
ODS PRINTER destination is a different destination than ODS PDF. Does DUPLEX work if you change the ODS PDF to ODS PRINTER????
The way I read note 23416 is that it says:
The following SAS system options affect ODS PRINTER code.
It does not say ODS PRINTER
family code -- ODS PDF is a Printer FAMILY destination, but the way I read the note, I would expect DUPLEX to work ONLY with ODS PRINTER....not ODS PDF. It was my understanding that the ODS PRINTER destination was the one that "spoke" to a specific printer. See the documentation on the use of the ODS PRINTER statement:
http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002217095.htm
(If you remember, back in the "old" days of SAS 8.0, there was no way to "directly" use ODS PDF -- originally, you had to create a PS file and then manually distill to PDF form. Then, you were eventually able to do this:
[pre]
ODS PRINTER PDF FILE=...;
OR
ODS PRINTER PS FILE=...;
OR
ODS PRINTER PRINTER=...;
[/pre]
and, finally, we got the ODS PDF destination directly.
So much for the walk down memory lane... When I use this code, I do get DUPLEX output on my duplex printer:
[pre]
options duplex;
ods printer printer='HP LaserJet 2300 Series PCL 5e';
proc print data=sashelp.shoes(obs=100);
run;
ods printer close;
[/pre]
There are other ways to invoke the ODS PRINTER destination, as described here:
http://support.sas.com/kb/23/414.html
...so, when I used PRINTER=, it overrode whatever I have for the SYSPRINT option. But this note also shows how to use the FILENAME option for different operating systems:
http://support.sas.com/kb/24/185.html
...and these notes describe a bit more about the destination:
http://support.sas.com/kb/23/413.html
http://support.sas.com/kb/4/800.html
http://support.sas.com/kb/3/183.html
http://support.sas.com/kb/15/541.html
So, I think that trying your code with ODS PRINTER instead of ODS PDF should get you the duplex print. I have found the printer name to be quite finicky -- for example, if I had the name of the printer spelled wrong or didn't have spaces in the right place, I might see this error message:
[pre]
ERROR: Unable to set printer path per request. This is usually because the requested printer (HP LaserJet2300Series PCL 5e) is unknown.
[/pre]
and the output goes to my default printer -- which might not be a DUPLEX printer.
Hope this helps,
cynthia