Added media option to printer function and lpr-command