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!
![]() |
Printing PDF with FormFields |
Post Reply
|
| Author | |
PDFNow
Beginner
Joined: 20 Dec 11 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: Printing PDF with FormFieldsPosted: 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). Hope someone can help - thanks.
|
|
![]() |
|
edvoigt
Senior Member
Joined: 26 Mar 11 Location: Berlin, Germany Status: Offline Points: 111 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
PDFNow
Beginner
Joined: 20 Dec 11 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
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?
|
|
![]() |
|
edvoigt
Senior Member
Joined: 26 Mar 11 Location: Berlin, Germany Status: Offline Points: 111 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
PDFNow
Beginner
Joined: 20 Dec 11 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
edvoigt
Senior Member
Joined: 26 Mar 11 Location: Berlin, Germany Status: Offline Points: 111 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store