Jump to content
You must now use your email address to sign in [click for more info] ×

Error - Exporting to PDF (option 'left' is too small)


Recommended Posts

 

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,

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Staff

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

Serif Europe Ltd. - www.serif.com

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.