JimWelch Posted July 11, 2019 Share Posted July 11, 2019 Using the scripts that Dan provided for turning on debugging the pdflib, I was able to figure out what is causing my Export to PDF error. The problem was: Quote PDF_create_action(p_0x000001E150645590, "GoTo", "destination {page 63 type fixed left -427.09509 top 758.509355}") [Last exception 1416 in PDF_create_action]["Value -427.09509 for option 'left' is too small (minimum 0)"] I traced this to a hyperlink to an anchor on page 17 of my document going to page 69. I removed the hyperlink and tried to export again. Then, I also need to remove a second hyperlink on the same page: Quote DF_create_action(p_0x000001E13973FD20, "GoTo", "destination {page 69 type fixed left -454.623333 top 758.206293}") [Last exception 1416 in PDF_create_action]["Value -454.623333 for option 'left' is too small (minimum 0)"] When I removed both hyperlinks on page 17, everything exported. However, I need these hyperlinks on page 17 and I don't know why the "left" value is less than 0. Both hyperlink text are just phrases within the text frame on the page. There's nothing different than any of the hyperlinks on prior pages that work. Both of these exception occur on pg 17, going to page 63 and page 69. thanks, Quote Link to comment Share on other sites More sharing options...
JimWelch Posted July 11, 2019 Author Share Posted July 11, 2019 Okay. I found the exact problem and a workaround. Using the pdflib log files, I found the pages that the problem anchors were located on. Then I deleted the anchors and recreated them (I moved them over a word or changed its starting position to the second word instead of first word) and now they work. Most of the anchors were the very first text on the page which had wrapped around from the previous page on a page-break. However, there were a few problem anchors in the middle of the page as well. Quote Link to comment Share on other sites More sharing options...
Staff Jon P Posted July 16, 2019 Staff Share Posted July 16, 2019 Hi Jim, Glad you got to the bottom of the issue, are you able to attach the document in the state where it didn't export? I'm aware of some issues with hyperlinks failing to export when placed off the edge of a page, but not actually causing the file to fail to export. If you can upload it here. Thanks Quote Serif Europe Ltd. - www.serif.com Link to comment Share on other sites More sharing options...
JimWelch Posted July 16, 2019 Author Share Posted July 16, 2019 29 minutes ago, Jon P said: Hi Jim, Glad you got to the bottom of the issue, are you able to attach the document in the state where it didn't export? I'm aware of some issues with hyperlinks failing to export when placed off the edge of a page, but not actually causing the file to fail to export. If you can upload it here. Thanks Uploaded afpub and log file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.