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
resetParams resets this to its default value, which is to print to
the printer's default paper size.