limit size of media elements when printing to pdf