Hiya,
I've just posted an FAQ that might be able to help you a bit - take a look its FAQ 1b.
I guess you are trying to find out the number of the tray that the printer can accept. I'm looking for a function that can do that as well, at the moment its a bit of trial and error to see where the paper comes out - it seems to differ depending on the make of printer.