Print Page | Close Window

Printing PDF document along with Form Values

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=829
Printed Date: 11 May 24 at 5:50AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Printing PDF document along with Form Values
Posted By: lefteris
Subject: Printing PDF document along with Form Values
Date Posted: 03 Dec 07 at 2:09PM
Hi,
 
I'm using extensively QuickPDF, however recently I discovered a problem:
 
I'm using QuickPDF to load a PDF Form document (used as template), populate dynamically form fields from a database and save that as a new filled document.
 
However when I'm trying to print such documents using QuickPDF print function, all form fields are printed empty. The same document is printed from Acrobat Reader fine.
 
Any idea or direction will be really appreciated
 
Thanks in advance



Replies:
Posted By: dsola
Date Posted: 04 Dec 07 at 7:14AM
I think that You have to flat all formFields.

    xx := 1;
    while true do begin
      if xx > QPDF.FormFieldCount then
        Break;

      if QPDF.isFormFieldButton(xx) or (QPDF.FlattenFormField(xx) = 0) then
        xx := xx + 1;

    end;





-------------
registered QuickPDF user



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk