I think there are a number of ways to do this but I think I'd do it by going to:
http://localhost:631/printers
click on configure printer and then a dialogue box pops up, type in root as the username and the appropriate password, in there you can change the media size.
hope this helps