Discussion:
fpdf problem?
Jim Giner
2013-08-09 15:50:34 UTC
Permalink
I've been using fpdf to create pdf files for my site. All has been well
for over a year. Suddenly I have a problem wherein IE 10 on W7 crashes
when I try to print one of these pdfs created by my php scripts.

The pdf files that I create seem fine. If I bring one up in IE and then
save it to my drive, I can then exit IE and go open the pdf and print it
just fine.

I have removed my pdf printer drivers from my system and that hasn't
improved my situation. No luck there.

The exact scenario is:
- script generates pdf and opens it in a new target window;
- user clicks on print toolbar icon or File,Print;
- print dialog opens; here I see some problems in that the (very
complex) dialog is not displaying correctly with controls misaligned or
overlaying other controls;
- click on Ok to execute the print to printer and nothing happens; wait
5 minutes and still nothing;
- NOW the problems begin; when the window with the pdf in it is closed,
in about 2 seconds I get a dialog box telling me IE has stopped working.

Note that the problem only occurs when I attempt to print. If my script
opens the pdf target window and I simply close it - no problems occur.
BUT - if I actually open a print dialog I get a crash whether I click OK
or Cancel, as soon as I close the window containing the pdf.

My question is does anyone have problems with fpdf lately? Since my
files seem to be completely normal to adobe reader I don't think their
content is at fault. It seems more like IE is not handling them and I
can't find anything online about this.

I'm really hoping this is a problem wtih fpdf rather than IE since
solutions are more apt to come out of this forum than the great wizards
of M$ Oz.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tamara Temple
2013-08-09 16:06:03 UTC
Permalink
I've been using fpdf to create pdf files for my site. All has been well for over a year. Suddenly I have a problem wherein IE 10 on W7 crashes when I try to print one of these pdfs created by my php scripts.
The pdf files that I create seem fine. If I bring one up in IE and then save it to my drive, I can then exit IE and go open the pdf and print it just fine.
I have removed my pdf printer drivers from my system and that hasn't improved my situation. No luck there.
- script generates pdf and opens it in a new target window;
- user clicks on print toolbar icon or File,Print;
- print dialog opens; here I see some problems in that the (very complex) dialog is not displaying correctly with controls misaligned or overlaying other controls;
- click on Ok to execute the print to printer and nothing happens; wait 5 minutes and still nothing;
- NOW the problems begin; when the window with the pdf in it is closed, in about 2 seconds I get a dialog box telling me IE has stopped working.
Note that the problem only occurs when I attempt to print. If my script opens the pdf target window and I simply close it - no problems occur. BUT - if I actually open a print dialog I get a crash whether I click OK or Cancel, as soon as I close the window containing the pdf.
My question is does anyone have problems with fpdf lately? Since my files seem to be completely normal to adobe reader I don't think their content is at fault. It seems more like IE is not handling them and I can't find anything online about this.
I'm really hoping this is a problem wtih fpdf rather than IE since solutions are more apt to come out of this forum than the great wizards of M$ Oz.
Does this happen only for pdfs you've generated with fpdf, or any pdf file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jim Giner
2013-08-09 16:11:08 UTC
Permalink
Post by Tamara Temple
I've been using fpdf to create pdf files for my site. All has been well for over a year. Suddenly I have a problem wherein IE 10 on W7 crashes when I try to print one of these pdfs created by my php scripts.
The pdf files that I create seem fine. If I bring one up in IE and then save it to my drive, I can then exit IE and go open the pdf and print it just fine.
I have removed my pdf printer drivers from my system and that hasn't improved my situation. No luck there.
- script generates pdf and opens it in a new target window;
- user clicks on print toolbar icon or File,Print;
- print dialog opens; here I see some problems in that the (very complex) dialog is not displaying correctly with controls misaligned or overlaying other controls;
- click on Ok to execute the print to printer and nothing happens; wait 5 minutes and still nothing;
- NOW the problems begin; when the window with the pdf in it is closed, in about 2 seconds I get a dialog box telling me IE has stopped working.
Note that the problem only occurs when I attempt to print. If my script opens the pdf target window and I simply close it - no problems occur. BUT - if I actually open a print dialog I get a crash whether I click OK or Cancel, as soon as I close the window containing the pdf.
My question is does anyone have problems with fpdf lately? Since my files seem to be completely normal to adobe reader I don't think their content is at fault. It seems more like IE is not handling them and I can't find anything online about this.
I'm really hoping this is a problem wtih fpdf rather than IE since solutions are more apt to come out of this forum than the great wizards of M$ Oz.
Does this happen only for pdfs you've generated with fpdf, or any pdf file?
Good question and the answer is: it happens for other pdfs as well, so I
guess it's not fpdf.

Sorry for the mis-post here - I'll do more research on Adobe and IE.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jim Giner
2013-08-09 16:33:30 UTC
Permalink
Post by Jim Giner
Post by Tamara Temple
Post by Jim Giner
I've been using fpdf to create pdf files for my site. All has been
well for over a year. Suddenly I have a problem wherein IE 10 on W7
crashes when I try to print one of these pdfs created by my php scripts.
The pdf files that I create seem fine. If I bring one up in IE and
then save it to my drive, I can then exit IE and go open the pdf and
print it just fine.
I have removed my pdf printer drivers from my system and that hasn't
improved my situation. No luck there.
- script generates pdf and opens it in a new target window;
- user clicks on print toolbar icon or File,Print;
- print dialog opens; here I see some problems in that the (very
complex) dialog is not displaying correctly with controls misaligned
or overlaying other controls;
- click on Ok to execute the print to printer and nothing happens;
wait 5 minutes and still nothing;
- NOW the problems begin; when the window with the pdf in it is
closed, in about 2 seconds I get a dialog box telling me IE has
stopped working.
Note that the problem only occurs when I attempt to print. If my
script opens the pdf target window and I simply close it - no
problems occur. BUT - if I actually open a print dialog I get a crash
whether I click OK or Cancel, as soon as I close the window
containing the pdf.
My question is does anyone have problems with fpdf lately? Since my
files seem to be completely normal to adobe reader I don't think
their content is at fault. It seems more like IE is not handling
them and I can't find anything online about this.
I'm really hoping this is a problem wtih fpdf rather than IE since
solutions are more apt to come out of this forum than the great
wizards of M$ Oz.
Does this happen only for pdfs you've generated with fpdf, or any pdf file?
Good question and the answer is: it happens for other pdfs as well, so I
guess it's not fpdf.
Sorry for the mis-post here - I'll do more research on Adobe and IE.
Update:
Solved my print problem by unchecking an option in Adobe Reader -
Display PDF in browser. Solved my garbled dialog box and the printing
of the document.

Of course - the down side is that you must close the document and then
the now-empty browser window.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jan Ehrhardt
2013-08-09 17:56:04 UTC
Permalink
Post by Jim Giner
Post by Jim Giner
Good question and the answer is: it happens for other pdfs as well, so I
guess it's not fpdf.
Sorry for the mis-post here - I'll do more research on Adobe and IE.
Solved my print problem by unchecking an option in Adobe Reader -
Display PDF in browser. Solved my garbled dialog box and the printing
of the document.
Although it is off-topic: I do not have this problem with PDFs in a IE10
browser window. No garbled print dialogue, prints OK, no crash.

IE 10.0.9200.16635, Update version 10.0.7, W7 Pro 64-bits. Adobe Reader
XI, version 11.0.3.

Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jim Giner
2013-08-09 19:27:02 UTC
Permalink
Post by Jan Ehrhardt
Post by Jim Giner
Post by Jim Giner
Good question and the answer is: it happens for other pdfs as well, so I
guess it's not fpdf.
Sorry for the mis-post here - I'll do more research on Adobe and IE.
Solved my print problem by unchecking an option in Adobe Reader -
Display PDF in browser. Solved my garbled dialog box and the printing
of the document.
Although it is off-topic: I do not have this problem with PDFs in a IE10
browser window. No garbled print dialogue, prints OK, no crash.
IE 10.0.9200.16635, Update version 10.0.7, W7 Pro 64-bits. Adobe Reader
XI, version 11.0.3.
Jan
I have since my last post discovered that XI does indeed solve the
problem completely. Too bad M$ doesn't post that info on all the many
forum topics complaining about this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Loading...