Handle multiple page sizes for PS and add .ps file extension