pchan
Hi people,
I'm looking for a way to know in PHP that the page is to be rendered to a printer (and not screen).
Of course, there is a provision to provide the correct CSS (css.php?print=1), but how to pass this information down to PHP server-side code?
I'm using this to provide a way to show/edit a file containing printing instructions (e.g. order in which a page/namespace is to be printed). This file shouldn't be wiki-rendered on the screen (taking much time, much to many things to see).
Thanks for any comment!