paperIdxth available paper size, on the specified printer.
paperIdx must be between 0 and n-1, where n is the value
The returned value can be passed to
pdfGetPaperSize are just simple
wrappers around Windows functions. There is no requirement to use
these functions if you already know the paper ID that you want to use
(e.g., from calling