#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    Exclamation Seeking help with print component/script


    hey folks

    i am using FullCalendar (arshaw.com/fullcalendar/)to display schedules. the schedule shows great on the screen, but when i want to print - its really bad. even their print CSS doesnt do much.

    sample of printed version: //img31.imageshack.us/img31/8441/databasew.jpg

    i am looking for some kind of a script to "capture" what is on the screen and print that - maybe into PDF or something. kind of like the aviary plugin on Firefox does (except that its manual...)
    i know there are some server side components but maybe client side is the way to go??

    anything like this exist??

    thanks!
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    You can't do a screen capture of any kind with JavaScript on the client side, it would be a security flaw.

    It would be possible with a browser plugin, but the correct solution here is to fix the CSS.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0
    Originally Posted by E-Oreo
    ... the correct solution here is to fix the CSS.
    I hear you - but unfortunately browsers dont print background colors - so it isnt even a matter of CSS

IMN logo majestic logo threadwatch logo seochat tools logo