pdfPrintSetMediaType

Set the media type ID.
void pdfPrintSetMediaType(PDFHandle pdf, unsigned int id)
This function sets the media type ID, to be used by pdfPrint4.

See pdfGetMediaTypeID for more information on media type IDs.

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

C:
unsigned int mediaTypeID; .... mediaTypeID = pdfGetMediaTypeID(....); pdfPrintSetMediaType(pdf, mediaTypeID);
pdfGetNumMediaTypes
pdfGetMediaTypeID
pdfGetMediaTypeName
pdfPrintSetBin
pdfPrintSetPaper
pdfPrintResetParams