This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adds custom paper sizes to Windows 10 'Microsoft print to PDF' virtual printer. | |
# Based on instructions from: | |
# https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware/microsoft-print-to-pdf-custom-paper-sizes-possible/90ed3d48-1ece-4ca5-8d3b-ff0af24a7b37?auth=1 | |
# https://franklinheath.co.uk/2015/08/29/custom-page-sizes-for-microsoft-print-to-pdf/ | |
# https://onedrive.live.com/?authkey=%21ABebdrLzeOY7sa4&cid=A34A14B10D9BB9A1&id=A34A14B10D9BB9A1%21854&parId=A34A14B10D9BB9A1%21838&o=OneUp | |
# This allows to use custom size forms. | |
# https://technet.microsoft.com/en-us/library/dd759110(v=ws.11).aspx | |
$GPDCustomSizeMatch = '*DefaultOption: LETTER' |