PDF snippet insertion adds blank pages and causes error 103

Discussions about Help+Manual 9

Moderators: Alexander Halser, Tim Green

Post Reply
ManualHelper
Posts: 3
Joined: Thu Mar 30, 2023 11:21 am

PDF snippet insertion adds blank pages and causes error 103

Unread post by ManualHelper »

Hi there!

We use the v9 snippet insertion feature to add PDF files and encountered some odd behaviour:

[1.]
H&M adds a blank page (with header/footer) after every PDF snippet insertion, EXCEPT insertions of PDFs with 2 or more pages. Those work fine.
Inserting page breaks of any kind around the snippet insertions have not changed the behaviour.
I suspect the skin trying to enforce header/footer to the page, failing to fit it, then appending a blank one to house it.

[2.]
H&M throws error 103 when publishing a document ending with inserted pdf snippets. As soon as another normal page is appended (single character added), it publishes fine.


Here the XML code:
Text followed by a small table followed by the 3 PDF snippet insertions.

Code: Select all

<topic template="Default" modified="(...)" lasteditedby="(...)" version="2">
  <title>Some Text</title>
  <body>
    <header>
      <para styleclass="Heading1">Some Text</para>
    </header>
    <para styleclass="Normal" style="page-break-before:always;">Some Text</para>
    <para styleclass="Normal"><table styleclass="Default" rowcount="4" colcount="2" style="cell-padding:3px; page-break-inside:avoid; border-width:0px; border-spacing:0px; border-collapse:collapse; cell-border-width:1px; border-color:#000000; border-style:solid;">
	(...)
    </table></para>
    <para styleclass="Normal"><snippet src="OnePagePdf.pdf" inline="false"/></para>
    <para styleclass="Normal"><snippet src="AnotherOnePagePdf.pdf" inline="false"/></para>
    <para styleclass="Normal"><snippet src="TwoPagePdf.pdf" inline="false"/></para>
    <para styleclass="Normal">Without this paragraph, Error 103 !!!</para>
  </body>
</topic>
Any idea what could cause these issues and how to fix them?
User avatar
Tim Green
Site Admin
Posts: 23157
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: PDF snippet insertion adds blank pages and causes error 103

Unread post by Tim Green »

Hi Manuela,

This is a little strange. First question: Are you running the current version (9.0.3 Build 6380)? If not, please download the current installer and see if that helps. If it doesn't, we need to test it directly. Please package up a small demo project that reproduces the error with your .mnl template file and the PDF files you are trying to insert in a zip and mail it or send a download link to support AT ec-software.com (replace the AT with @).
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply