I have two issues using Aspose.PDF.Kit (1.9.0.0) when producing PDF documents using the IRS W-9 form.
From the W-9 template some of the form fields are populated from a database, then I’m concatenating several W-9 documents, that are saved in MemoryStreams, into a single output PDF file. When opening the output file the following error / warning is displayed in Adobe Reader (7.0.3):
“This cannot be saved because it contains form data. Please print your completed form if you would like a copy for your records.”
Also, as the output file consists of several W-9 documents from the same template, when editing any of the W-9 documents by entering data into form fields, the same information appears across all the W-9 documents. Is there a way to ensure that form field names are unique throughout the output file?
NOTE: These errors only occur when there are multiple W-9 documents in the same output file.
Appreciate assistance with my two issues.
I have posted the code segment below:
Dim editor As PdfFileEditor = New PdfFileEditor
Dim inStreams2(5) As MemoryStream
Dim i As Integer = 0
For i = 0 To 5
Dim inStream As MemoryStream = New MemoryStream
Dim form As Form = New Form(docpath, inStream)
'Save the changes.
form.Save()
inStreams2(i) = New MemoryStream
inStream.WriteTo(inStreams2(i))
inStream.Close()
i = i + 1
Next
editor.Concatenate(inStreams2, outStream)
Could you please post your pdf files between Form.Save() and editor.Concatenate()? Did these files occur the error message:“You cannot save data typed into this form. Please print your completed form if you would like a copy for your records.” when opening in Acorbat Reader?
I means that I need the input files(streams) for Concatenate’s parameter. But I doesn’t need now, I have got two now and I have reproduced this bug in my machine. I will try to fix it in about 3~5 days.
I noticed you have released a PDF Kit hot fix, the release notes refer to two reported issues, but not ours. Does the hot fix address our issues as well ?
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.