Forum How do I...?

How to set '--media=screen' in PHP?

vincent
I'm having a problem with the way the PDFs are being generated from a PHP/HTML file. I believe the issue is the Prince default of '--media=print'. I'm using PHP to interface with Prince and generate the PDFs. Using PHP, how do I set the media option to '--media=screen'?

Thank you.
mikeday
There is no method in the PHP wrapper for this yet, but it would be easy to add one.