Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Problem with Rendering V7.13
  FAQ FAQ  Forum Search   Register Register  Login Login

Problem with Rendering V7.13

 Post Reply Post Reply
Author
Message
Synova View Drop Down
Beginner
Beginner
Avatar

Joined: 29 Jun 09
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Synova Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Rendering V7.13
    Posted: 29 Jun 09 at 12:47PM
Hi Folks,
 
I'm using v7.13, and when I flatten the Form fields before printing, I get bizarre results.
Some fields print , some are blank, some hidden buttons print (should not) and
check boxes have the # 4 in them instead of a checkmark.
 
This form prints fine in Adobe and PDF exchange.
 
Suggestions ?
 
Brian
 
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 29 Jun 09 at 4:45PM
Hi Brian!

You can't compare a 100-mb-installation like adobe with the small QuickPDF-lib.
If you want to print formfield-content you have to flatten them first - so you've done it the right way.
Does the described behavior happen with all pdf-forms or only one special?
Is the behavior the same with the new version QuickPDF 7.14?
BTW: It's always better to post the relevant code snippet.

Cheers, Ingo



Edited by Ingo - 29 Jun 09 at 4:46PM
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 30 Jun 09 at 4:49AM
Also, make sure that you're using the FlattenFormField function in the correct way before printing. This knowledge base article provides useful tips on how to flatten form fields in a PDF using the FormFieldCount and FlattenFormField functions.

Something like this:

Dim FieldIndex As Integer
Dim FieldCount As Integer
Dim LoopNumber As Integer

FieldCount = QP.FormFieldCount()
FieldIndex = 1

For LoopNumber = 1 to FieldCount
  If QP.FlattenFormField(FieldIndex) = 0 Then
    FieldIndex = FieldIndex + 1
  End If
Next
Back to Top
gkell View Drop Down
Beginner
Beginner
Avatar

Joined: 09 Jun 09
Location: Vancouver, WA
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote gkell Quote  Post ReplyReply Direct Link To This Post Posted: 28 Oct 09 at 6:30PM

I have the same issue generating pdfs. Data some how get mixed when flattening. Here is the code used to flatten:

For i = CLng(pdf1.FormFieldCount) To 1 Step -1
       If CStr(pdf1.GetFormFieldValue(i)) <> "" Then
            lret = pdf1.FlattenFormField(i)
       Else
            lret = pdf1.DeleteFormField(i)
       End If
Next

If I don't flatten data is fine, however, I have to flatten to merge all generated pdfs together.
 
This needs to be resolved. thanks.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 28 Oct 09 at 8:03PM
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store