The ODS PRINTER statement closes the open PRINTER destination and the files that are associated with it. It then opens a new instance of the PRINTER destination and creates PostScript output.
ods printer ps style=d3d file='d3dstyle.ps'; proc print data=statepop; run; ods printer ps close; ods ps close;