Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
Printing mode
pchan #1
Member since Apr 2007 · 111 posts · Location: Lille, France
Group memberships: Members
Show profile · Link to this post
Subject: Printing mode
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!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-12, 05:59:21 (UTC +01:00)