verN Posted March 28, 2007 Share Posted March 28, 2007 hiyya, i have a script that gets the data from my database however when i click on the print command the information gets printed out but the text is too small. I have looked up and know that there is a media=print. I wanted to know how i would use this in the style sheet to print the informatioon out but in a larger text. The page that geenrates the inofrmation I am using a table so how would i specify in the table the size of the font etc. Another problem is that i would like a logo to appear on the print page but this is on the actual script. When the user clicks print they see the print version of the screen as well as a logo on the top of the page. HELP! how do I do this. Quote Link to comment https://forums.phpfreaks.com/topic/44618-solved-logo-print-page/ Share on other sites More sharing options...
jcombs_31 Posted March 28, 2007 Share Posted March 28, 2007 Just make a new stylesheet with a larger font and make that the media print sheet. As for the logo, it is probably a background image, some browsers will not print background images by default, but you can usually change this in the preferences. Otherwise, insert the logo as a normal image. Quote Link to comment https://forums.phpfreaks.com/topic/44618-solved-logo-print-page/#findComment-216678 Share on other sites More sharing options...
verN Posted April 6, 2007 Author Share Posted April 6, 2007 hi, could someone let me know how to allow a logo to appear when the user clicks print. I am using a style sheet just for printing and when the user previews the page or when they print the page I would like the logo to appear with the contents of the page thanks Quote Link to comment https://forums.phpfreaks.com/topic/44618-solved-logo-print-page/#findComment-222874 Share on other sites More sharing options...
AndyB Posted April 6, 2007 Share Posted April 6, 2007 Modify your normal CSS file to have a div named no_print with style display:none. Include the logo on the page inside a no_print div (it will not display) Modify your print CSS file to set the style of no_print to display:visible Quote Link to comment https://forums.phpfreaks.com/topic/44618-solved-logo-print-page/#findComment-222883 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.