Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFPDF Merge directory repeating first page

New Here ,
Oct 08, 2010 Oct 08, 2010

Hi All,

I got a very strange problem.  I am trying to merge several PDFs (this happens with 2 or 200).  They are all similar 1 page PDF files that were generated with CFPDFFORM.

When I try to merge them together using

<cfpdf action="merge" destination="scoreCardsPrint\scoreCardsPrint_#URL.eventid#_#URL.round#.pdf" directory="#tempDirectory#" order="name" overwrite="yes">

In the resulting file, I get the correct number of pages, but every page is exactly the same as the first.

Any ideas/suggestions?

543
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 10, 2010 Oct 10, 2010

I cannot replicate this with a very simple test case on either CF8 or CF9 (it always helps if you specify which CF version you're on, btw).

Can you pls post some simple & stand-alone code that replicates what you're seeing?  The repro case ought to be the barest minimum code you need to replicate/demonstrate the problem.  This could also help you identify what it is about your code - if it's a code thing - causes the problem.  It should be the first thing you do when trying to troubleshoot an issue.

It is probably also relevant to post the exact sort of CF install you have, and on what OS.

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 11, 2010 Oct 11, 2010
LATEST

We are using CF9.

And it turns out, that the problem only exists if trying to merge PDF forms that aren't flattened.

I added a command to flattem the PDFs before merging, and then it worked.

But it would be nice if if it was possible to correctly merge unflattened forms.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources