Digging further it isn't just a OpenBD problem. Turns out that
ColdFusion 9 is also seeing the same behavior - page renders, but
attempting to do a print preview or print in the browser menu in
Firefox 4 or above causes a blank page to be created (using the PDF
button behaves correctly). This is also the same behavior as if I just
found a PDF somewhere else online and attempted to see a print
preview. Printing a PDF from the firefox menu is dun broke.

This is a rather large disappointment since I was using the
window.print() function as the page would load to automatically print
the document (or, for users comfortable with it, using the
"print_silent" boolean in the about:config so that the report would
automatically be printed). Now it looks like I need to file something
with the Mozilla foundation until who-knows-when-they'll-fix it.

Unfortunately the client is going to be less than pleased with "don't
use keyboard controls, you'll have to mouse over and click the icon".

sample code used to test:
----------------------------------------

<cfdocument format="pdf">
        <html>
                <body>
                        <table>
                                <tr>
                                        <th>Team</th>
                                        <th>Position</th>
                                        <th>First Name</th>
                                        <th>Last Name</th>
                                </tr>
                                <tr>
                                        <td>Atlanta Falcons</td>
                                        <td>QB</td>
                                        <td>Matt</td>
                                        <td>Ryan</td>
                                </tr>
                                <tr>
                                        <td>Baltimore Ravens</td>
                                        <td>QB</td>
                                        <td>Joe</td>
                                        <td>Flacco</td>
                                </tr>
                                <tr>
                                        <td>Tampa Bay Bucs</td>
                                        <td>QB</td>
                                        <td>Josh</td>
                                        <td>Freeman</td>
                                </tr>
                                <tr>
                                        <td>Detroit Lions</td>
                                        <td>QB</td>
                                        <td>Matt</td>
                                        <td>Stafford</td>
                                </tr>

                </body>
        </html>
</cfdocument>

----------------------------------------

Did Firefox try and emulate chrome and have their own built in pdf
rendering engine?

- Matthew

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to