paperID

Set the paper size/type ID.
[read/write property] paperID([out, retval] int *id) paperID([in] int id)
This property sets the paper size/type ID, to be used by printPDF4 and printToJob.

See getPaperID for more information on paper size IDs.

Note: Some printer drivers may require both the bin ID and paper ID to be set, to compatible values (i.e., the requested bin must contain the requested paper size) - see binID.

resetParams resets this to its default value, which is to print to the printer's default paper size.

VB6:
.... paperID = pdf.getPaperID(....) pdf.paperID = paperID
getNumPapers
getPaperID
getPaperName
binID
mediaTypeID
customPaperWidth
customPaperHeight
resetParams