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!
Stamping Document |
Post Reply |
Author | |
vtyler
Beginner Joined: 04 Jan 17 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 04 Jan 17 at 5:06PM |
I am writing an application that includes stamping documents.
On most documents everything works just fine the document stamps and is visible etc. On this one type of document it does not, what is happening is that it appears that the stamp is being placed on a different layer and is not visible. When I grab the OCR layer for that PDF I can see that the stamp as been applied but just not visible. What's the best way to make sure that the stamp is visible? |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Tyler,
pdf-documents are sometimes - for example - designed as portrait format and then they were rotated. The drawing-/stamping-syntax always works regarding the original layout. A rotation later doesn't have any influence on it. So what you should do as preparation before drawing/stamping is... 1. combining the layers with CombineContentStreams: http://www.debenu.com/docs/pdf_library_reference/CombineContentStreams.php 2. saying to QuickPDF that the current - perhaps rotated - page is the normal layout with NormalizePage: http://www.debenu.com/docs/pdf_library_reference/NormalizePage.php After these preparations your stamps should be where you want them to be ;-) Cheers and welcome here, Ingo BTW: The online reference: http://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php The developer guides: http://www.debenu.com/products/development/debenu-pdf-library/help/developer-guide/ |
|
Cheers,
Ingo |
|
vtyler
Beginner Joined: 04 Jan 17 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Thank you.
It appears that using the NormalizePage(0) function works. Are you able to elaborate on the different options and what they actually do to the PDF? 0 = Standard normalization
1 = Normalize and also balance the graphics state stack 2 = Maintain existing page structure 3 = Maintain existing page structure and balance the stack |
|
vtyler
Beginner Joined: 04 Jan 17 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Also is it normal that you can't stamp and adobe form that was created in adobe live cycle? I can't do it within the Arts Aerililst application it self.
When doing through Quick PDF it's similar to the above ie I can see that it's there when I look at the PDF Internals and or get the OCR layer but not visible. The Normalize and CombineContentStreams don't change anything for this type of form. Also grabbing the OCR layer doesn't appear to to work as it grabs a different layer and grabs text that says....Please wait...if this message is not eventually replaced.... |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
"...Are you able to elaborate..."
Hi Tyler, no... i'm not able 'cause my time is limited ;-) This here is a user-user-forum - not a publisher forum. Perhaps there's another internal adobe-lock inside live-cycle-made pdf? What you always can try is: Load the pdf with QuickPDF... Save it with QuickPDF... Reload it and try your stamps. |
|
Cheers,
Ingo |
|
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