Print Out Flash Images/ Video and HTML Text in PHP?

Discussion in 'PHP' started by lwliang1, Nov 11, 2010.

  1. #1
    I am creating a website for a client which uses the HTML from a program called 'spreadsheet converter' which turns an excel spreadsheet into an HTML page that can be uploaded to your website.

    However there is a problem in that the tables from the excel file are converted into HTML but the graph from the same excel file will be made using Flash (because the graph is dynamic and changes when you change the inputs).

    The application displays a print button but when you click print, it only prints out (physical print out or PDF) of the tables of values, not the flash image. The flash image is shown as a blank on the printout.

    I think this is due to the problem of printing out flash videos, which you can't do outside of flash itself.

    Does anyone know how to overcome this problem?

    I was thinking of creating a button which uses PHP/ JS to print screen the whole page, save it into jpeg and present that as the 'print' for the printer/ pdf creator etc.

    Any help would be great :)

    The page in question: http://protectionrelaytest.com/calculate/aprict21g/

    Thanks,

    -William
     
    lwliang1, Nov 11, 2010 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    Simple, you can't! you have to extract all files in order to get this to work. But if the data is always the same why not export only the data and make the rest yourselve?
     
    EricBruggema, Nov 19, 2010 IP