I presume you are trying to print to postscript file. You need to reinstall the PPD file, I suspect.
Create your PDF via Export PDF and not printing! This will respect any custom page size from the document.
Creating PDFs via print is an old outdated workflow, don't use it any more and avoid PostScript as far as you can.