SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Jun 2005
    Posts
    294
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Creating a PRINTER FRIENDLY File

    How do you do it? How would you create a PRINTER FRIENDLY File from information in a database?

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,424
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Two ways:

    1) Create an entirely separate page and display the content in a manner that isprinter friendly (maybe even javascript to pop up a window with this ocntent).

    2) Use the CSS media=print attribute to tell the browser how to print that page.

  3. #3
    SitePoint Addict
    Join Date
    Jun 2005
    Posts
    294
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ahh...ok..thanks...

  4. #4
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pfp

    PFP: Print Friendly Pages

    I have differents size of dyn. tables getting thier values from mysql through php
    i have the problem i can not print the table on a A4, some info it wont
    appears on the printed page.

    I want to know how i can print the complete tables on a A4 paper without missing
    any values from the table.


    Thanks

  5. #5
    Are You There? KDesigns's Avatar
    Join Date
    Oct 2003
    Location
    Your Monitor
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try setting the tables at a width of 100%. Of course if you have a lot of data it may look nasty.
    ChooseDaily.com - Follow on Twitter
    Top Resources for Web Designers and Developers Every Day!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •