Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/44618-solved-logo-print-page/
Share on other sites

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.

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.