paperIdxth available paper size, on the specified printer.
paperIdx must be between 0 and n-1, where n is the
value returned by
The paper name will be returned in
buf on success, or
NULL on failure.
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.,