houssam_ballout Posted August 5, 2008 Share Posted August 5, 2008 Hello all,I'd developed a simple application using php, when I print out a page, the footer contains the location (path) of the file that is printed, how can I remove it?Thanks in advance Link to comment Share on other sites More sharing options...
justsomeguy Posted August 5, 2008 Share Posted August 5, 2008 You can't, that's a web browser setting. PHP doesn't have anything to do with printing from a browser. Link to comment Share on other sites More sharing options...
jlhaslip Posted August 6, 2008 Share Posted August 6, 2008 You can define the elements of a Browser page that should be printed or hidden from the printer using a print-only css file. Link to comment Share on other sites More sharing options...
houssam_ballout Posted August 6, 2008 Author Share Posted August 6, 2008 How could I do this? Link to comment Share on other sites More sharing options...
Ingolme Posted August 6, 2008 Share Posted August 6, 2008 The CSS print media type will only decide what you want your page to look like when it prints, it won't remove the page URL when printing, neither will it remove the "Page 1 of 2" at the top. Link to comment Share on other sites More sharing options...
houssam_ballout Posted August 6, 2008 Author Share Posted August 6, 2008 so whats your advice to do that? Link to comment Share on other sites More sharing options...
Natechs Posted August 6, 2008 Share Posted August 6, 2008 There really is nothing you can do. I have tried with my pages. Link to comment Share on other sites More sharing options...
Synook Posted August 7, 2008 Share Posted August 7, 2008 Make them print a PDF file generated from the page's content instead.You can use the PHP PDF functions to achieve that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.