When you click print from your application (i.e. Word), you can select doPDF and then click on Properties. You'll see in that window a section for orientation (Portrait/Landscape) and another one for a custom size where you can select the legal size.