cancel
Showing results for 
Search instead for 
Did you mean: 

Print PDF only once

Former Member
0 Kudos

Hey guys,

is it possible to allow printing of a PDF document only once?

Cheers,

Sascha

Accepted Solutions (1)

Accepted Solutions (1)

mohammed_anzys
Contributor
0 Kudos

Hi Sascha,

We can handle in our system using some flag , but how will we communicate with the printer whether it actually got printed or not.

Anzy

Former Member
0 Kudos

Hi Mohammed.

Which flag do you mean? Do we have any influence on the Adobe Plugin in the client (IE)? Or can we code this in the PDF itself?

Your second point is something really critical. You are right, if the printer had a problem you will never be able to print the file again, but I just have to find out which ways are possible.

Cheers,

Sascha

mohammed_anzys
Contributor
0 Kudos

Hi Sascha,

What i meant was we will generate the PDF output only once (Which is controllable).And i am not sure whether we have control over the adobe plugin.But the second point is very critical.We dont have any information regarding whether the document is printed or not.Also the user could save the document in his computer and take print as many times he wants.

Thanks

Anzy

Former Member
0 Kudos

Hi Mohammed.

yep, so my question was whether we can change the PDF creation process to code somthing inside the PDF for that. As far as I know it is possible to create PDF documents which can not be printed, so I thought maybe we can control this feature somehow.

Anyway, I thinks this is no good idea, but requested.

Cheers,

Sascha

mohammed_anzys
Contributor
0 Kudos

Hi Sascha,

There is a provision to limit the print functionality , but i dont think the same applies to the save functionality.But anyways the requirement is good but hard to implement :-(.....Will have to give a lot of thinking ...:-)

Nice talking to you

Anzy

Former Member
0 Kudos

Hey Anzy,

do you have any documentation on how to implement this, or a link?

Cheers,

Sascha

Answers (1)

Answers (1)

luciano_leitedasilva
Contributor
0 Kudos

Hi Sascha,

Yes, you can! Try do this following this way:

You open the PDF file inside a Web Dynpro View, using the InteractiveForm UI element. This view will show the content of the PDF file, without any menu options, like save, print,...

To print the PDF, the user will press a Web Dynpro button, that will open the PDF file again, changing its property to open the file already printing, and you will flag it in the data base. Did you get it?

If it isn't clear, I can explain better!

Regards,

Luciano

Former Member
0 Kudos

Hi Luciano,

thanks for the hints.

This way it could work, but a more experienced user could find the PDF in his temporary internet files then and print it as often as he wants to.

Anyway, how can i open the PDF with the property to not show it but print it directly?

Cheers,

Sascha

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi Sascha

You can use prePrint event of PDF Java Scripting

and set your context variable and play with it.

For More Help

http://www.adobe.com/devnet/livecycle/articles/AcroJS_DesignerJS.pdf

Regards

Abhimanyu L