![]() |
PDF Generation and Mystery Mania - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: PDF Generation and Mystery Mania (/showthread.php?tid=3504) |
RE: PDF Generation and Mystery Mania - Steffan-68 - 03-09-2025 (03-09-2025, 05:01 PM)James D Jarvis Wrote: I'm using the example you posted. The PNG files do NOT get placed visibly in the PDF. The vectors shown were added to a page. It looks like you are watching it with Microsoft Edge. He definitely can't! It doesn't work for me either, I have to use another PDF reader. Only text is not possible with graphics. Your demo program is okay, use another PDF reader and you see the PNG graphics in the PDF. ![]() RE: PDF Generation and Mystery Mania - James D Jarvis - 03-09-2025 here's what I get opening the document in Adobe Acrobat. The document is displayed as 3 blank pages. ![]() This path loaded just fine all by itself on a separate pdf. ![]() RE: PDF Generation and Mystery Mania - Steffan-68 - 03-09-2025 (03-09-2025, 05:22 PM)James D Jarvis Wrote: here's what I get opening the document in Adobe Acrobat. The document is displayed as 3 blank pages.I see that. ![]() RE: PDF Generation and Mystery Mania - James D Jarvis - 03-09-2025 What platform are you on? I'm using Windows and the generated files do not function as expected when they have placed png files. Not in Edge. Not in the full Adobe Acrobat. I commented out the PNG related lines and I get this: ![]() ![]() RE: PDF Generation and Mystery Mania - Steffan-68 - 03-09-2025 I use Windows 10 Home QB64PE v 4.1 RE: PDF Generation and Mystery Mania - James D Jarvis - 03-09-2025 Windows 11 Home. Qb64PE v 4.1 RE: PDF Generation and Mystery Mania - justsomeguy - 03-09-2025 Holy Cow! Windows and Acrobat are a PITA. It took me longer to get stuff setup and running than it did to "fix" the problem. Thanks Microsoft and Adobe for the reminder why I don't use your products. ![]() Hopefully that gets it for you Acrobat guys. On a lighter note. I decided to have a little fun with this project and write a book. Its a very useful book indeed! It has all the numbers from 1 to 100,000 all 390 pages! We all need numbers and you never want to be without, get your copy today! Its a silly little project that show cases then pdfAddTextBlockEx$ function. It will make adding larger blocks of text to the PDF easier. Code: (Select All) 'Pass in bigString$ It will add enough text to fill the width RE: PDF Generation and Mystery Mania - James D Jarvis - 03-09-2025 It's working now. Thanks for all the work you did. I opened the generated file in Edge, Adobe Acrobat, Illustrator, and Photoshop. It opens fine in all of them. RE: PDF Generation and Mystery Mania - Mad Axeman - 03-10-2025 (03-09-2025, 12:04 AM)justsomeguy Wrote: I also added embedded Author and Creator in the PDF so that you can identify the source.How do I do this? [edit] Just looked at your book of numbers. Really good storyline ;-) I assume you use the following to add the info:- pdfDefault.info.title = "Book of Numbers" pdfDefault.info.author = "Justsomeguy" and I assume he following are also valid? pdfDefault.info.creator pdfDefault.info.producer RE: PDF Generation and Mystery Mania - justsomeguy - 03-10-2025 Correct, these are all valid: pdfDefault.info.title pdfDefault.info.author pdfDefault.info.creator pdfDefault.info.producer Creation Date and Mod Date are the current time on your machine except for the timezone offset (+,-,Z) and hours and minutes of the offset. I can add Subject and Keywords as well, but I didn't get around to it. |