Microsoft print to pdf custom paper size. That's all there is to it.