简体   繁体   中英

PDF created by PHP pdfLib not opening on windows 7 or XP

I have created a PDF using PHP's pdflib.

The PDF contains images and some text. The pdf is generated successfully. I am using a Ubuntu 11.10 server and my development machine also runs the same. The generated PDF opens successfully on my dev machine or in any other Ubuntu machine. It also opens on Windows 8 using its default reader. But it does not open in Window seven or lesser with Adobe Reader.

What could be the issue?

Although this post is old, maybe my answer can help.

I also had a problem that looks similar. My PDF was generated correctly but I was unable to see it in my web browser.

Instead of displaying your pdf directly in your web browser, try to save it as a pdf on your desktop and to open it as a normal file from Windows.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM