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 - Stamping Document
  FAQ FAQ  Forum Search   Register Register  Login Login

Stamping Document

 Post Reply Post Reply
Author
Message
vtyler View Drop Down
Beginner
Beginner


Joined: 04 Jan 17
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vtyler Quote  Post ReplyReply Direct Link To This Post Topic: Stamping Document
    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?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 04 Jan 17 at 7:43PM
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

Back to Top
vtyler View Drop Down
Beginner
Beginner


Joined: 04 Jan 17
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vtyler Quote  Post ReplyReply Direct Link To This Post Posted: 04 Jan 17 at 10:05PM
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
Back to Top
vtyler View Drop Down
Beginner
Beginner


Joined: 04 Jan 17
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vtyler Quote  Post ReplyReply Direct Link To This Post Posted: 04 Jan 17 at 10:41PM
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....


Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jan 17 at 5:08PM
"...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

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