You can use custom page sizes for odd-sized files, such as drawings and diagrams, when you create a PDF.
In the authoring application, do one of the following:(Windows) Choose File > Print, choose Adobe PDF as the printer, and then click Properties. On the Adobe PDF Settings tab, click Add next to Adobe PDF Page Size.
(Mac OS) Choose File > Page Setup, select Custom Paper Size from the Settings menu, and click New.