Add media option to define output media of PDF