Print Page | Close Window

Inserted text is not displayed in Adobe

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=3864
Printed Date: 02 May 24 at 1:21AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Inserted text is not displayed in Adobe
Posted By: Skandinavier
Subject: Inserted text is not displayed in Adobe
Date Posted: 27 Nov 20 at 6:20PM
This are my first steps with the QuickPDF Library.

I use the SetFormFieldValueByTitle() function in VB6 to insert text in text fields (Fieldtype 1).
The inserted text is not displayed in Adobe Reader.

I just load the pdf-document with LoadFromFile(fileName, ""), fill in the fields with SetFormFieldValueByTitle() and save a new file with SaveToFile.

Opera Internet Browser shows the inserted text, why Adobe not?

Thanks in advance for a hint.



Replies:
Posted By: Ingo
Date Posted: 27 Nov 20 at 7:04PM
Hi Skandinavier ;-)

here you'll find a complete sample from Kevin (R.I.P):
http://www.quickpdf.org/forum/form-fields-not-displayed-in-quickpdf_topic2469.html
UpdateAppearanceStream will be your key i think ;-)
Here's a good starting point for search deeper:
https://www.debenu.com/docs/pdf_library_reference/Search.php

Cheers and welcome here,
Ingo



-------------
Cheers,
Ingo



Posted By: Skandinavier
Date Posted: 30 Nov 20 at 7:49PM
Hi Ingo,

Thank you for your answer.
I tried the function -  with no success. But that's not my biggest problem. The PDF form that I populate with text also has two signature fields (Fieldtype 6). It looks like all properties of a signature in the signature fields have been lost in the new file (saved with SaveToFile). Is there a possibility to save the signature fields unchanged?


Greetings


Posted By: Ingo
Date Posted: 30 Nov 20 at 8:05PM
Please read 3.2.12 in the developer guide "Processing​ ​digitally​ ​signed​ ​PDF​ ​files".
Perhaps this will help.

Regarding your issue:
"It doesn't work" isn't a really detailed answer ;-)
Where's the sample pdf? You can upload it anywhere on a free file hoster or on your website and post the link in the forum...
Where's the relevant code snippet from your development?




-------------
Cheers,
Ingo



Posted By: Skandinavier
Date Posted: 01 Dec 20 at 8:24AM
Hi Ingo,

Thank you for your efforts.

I have uploaded the files:

https://github.com/MailiEder/App-development

The original template:
Arbeitsauftrag-GmbH.pdf

The generated file:
Arbeitsauftrag_Test_1.pdf

Code:
Vb6code.txt

Adobe Acrobat Reader DC
The inserted text is not displayed. A signature can be entered in the signature fields.

Perfect PDF 9 (Soft Xpansion)
The inserted text is displayed. But a signature cannot be entered in the signature fields.
If you try to enter the signature, this message comes up:
This form field (signature) still has to be filled out.

All i want is:The inserted text should always be displayed and the signature fields should remain untouched. The document should - in practice - be read and signed on a tablet.






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