EXPORT OR DOWNLOAD NOTE: Do not export or download directly to PDF from Google Docs as this may cause incorrect page dimensions. Instead, export your document as a .docx file by selecting File → Download → Microsoft Word (.docx). Open the file in MS Word, verify the page size via Layout → Size → More Paper Sizes…, and then convert it to PDF.
WARNING: setting a custom page size that is not officially supported by Google Docs, the default File → Page Setup may become unusable. To restore access, use this add-on to switch back to a Google-supported paper size (Google Default - Preset).