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 - Printing PDF with FormFields
  FAQ FAQ  Forum Search   Register Register  Login Login

Printing PDF with FormFields

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

Joined: 20 Dec 11
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PDFNow Quote  Post ReplyReply Direct Link To This Post Topic: Printing PDF with FormFields
    Posted: 11 Jan 12 at 12:58PM
Hello,

i got a problem filling a PDF-Document with text and the printout.

I get PDF-Documents with FormFields which will be filled and printed by my following procedure:

#########
            Call QP.LoadFromFile("Document.PDF")
            
            If QP.FormFieldCount > 0 Then
                For intLaeufer = 1 To QP.FormFieldCount
                Call QP.SetFormFieldValue(intLaeufer, "Text" & intLaeufer)

                'UpdateApperanceStream needed for printable 'on the fly
                Call QP.UpdateAppearanceStream(intLaeufer)
                Next intLaeufer
            End If

customPrinter = QP.NewCustomPrinter(Mid(ActivePrinter, 1, InStr(1, ActivePrinter, "on") - 2))

Call QP.SetupCustomPrinter(customPrinter, 8, 1)
Call QP.SetupCustomPrinter(customPrinter, 4, 1, 1)) 
Call QP.PrintDocument(customPrinter, 1, QP.PageCount, QP.PrintOptions(0, 0, "PDF-Vordruck"))

##########

But some fields (not all) in the printout look like they got a border (see link below).

http://www.imageshost.de/bilder.php?id=130f35c554a42a7d1f00ea07534981d4

Hope someone can help - thanks.
Back to Top
edvoigt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 Mar 11
Location: Berlin, Germany
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote edvoigt Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jan 12 at 2:03PM
Hi Wolfgang,

you should make a small program, which goes in a loop over the formfields  of the page. With

GetFormFieldBorderColor,
GetFormFieldBorderProperty,
GetFormFieldBorderStyle and what you are interested in.

And for identification

GetFormFieldTitle
GetFormFieldType

you'll get a list, which shows - are there borders or not? Then change disturbing values. So you get it cleared.

mfg

Werner
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 12 at 11:07AM
Which version of QPL are you using ?  It looks like it is a 7.xx version based on the LoadFromFile call.

We have had a few small problems with Form Field print in earlier 7.xx version.  You can download the 7.26 version from http://www.quickpdflibrary.com/downloads/binaries/qp/oldversions/0726/quick_pdf_library.exe

This may help fix some form field problems.

Andrew.
Back to Top
PDFNow View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Dec 11
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PDFNow Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 12 at 12:23PM
Hello and thanks for the answers.

@Wolfgang: I looped over the formfields and all fields are without borders.
@Andrew: Our Version is 7.25, but we already try the trial Version 8.13 with the same problem :-/.

Its really curious that just some documents are wrong.

Maybe some other ideas?
Back to Top
edvoigt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 Mar 11
Location: Berlin, Germany
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote edvoigt Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 12 at 1:15PM
Hello,

may be I see anything while looking inside a PDF. Is it all very confidential or may you make an upload?

Werner
Back to Top
PDFNow View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Dec 11
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PDFNow Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 12 at 1:51PM
Hello.

No its not confidential.

Here u can get it http://www.loaditup.de/678758-9ns3cq22tp.html

Thanks

Originally posted by edvoigt edvoigt wrote:

Hello,

may be I see anything while looking inside a PDF. Is it all very confidential or may you make an upload?

Werner
Back to Top
edvoigt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 Mar 11
Location: Berlin, Germany
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote edvoigt Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 12 at 4:18PM
Hi,

I'm sorry, but I find no difference inside between the annotations "Name des Antragstellers" and "Vornamen (Rufname bitte unterstreichen) des Antragstellers" which would explane me the different look in the printout.

Because with Adobe Reader X the printout is as expected, it may be an issue of QuickPDF.

If Andrew has no good idea, I haven't too.

Werner
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