mediaTypeID

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

See getMediaTypeID for more information on media type IDs.

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

VB6:
.... mediaTypeID = pdf.getMediaTypeID(....) pdf.mediaTypeID = mediaTypeID
getNumMediaTypes
getMediaTypeID
getMediaTypeName
binID
paperID
resetParams