questions regarding print event and save event

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
amrkamal63
User
Posts: 6
Joined: Mon Jul 29, 2019 11:21 am

questions regarding print event and save event

Post by amrkamal63 »

Hi, everyone
I have a question regarding before print event and before save event , is it possible to abort saving or printing based on a condition
from those events with javascript code if so how to do this ?
please give an example
Br
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: questions regarding print event and save event

Post by Tracker Supp-Stefan »

Hello amrkamal63,

You have posted in the End user Editor forums.
I am afraid that you can not control print events this way.
If you are interested in automating some operation - please tell us more about it, and we will see if anything can be done with our end user products, or whether you will need our SDK packages to achieve it!

Regards,
Stefan
amrkamal63
User
Posts: 6
Joined: Mon Jul 29, 2019 11:21 am

Re: questions regarding print event and save event

Post by amrkamal63 »

which forum should I ask my previous question , I need to implement my idea in javascript code only (from the pdf-exchange editor plus) if that is possible without any help of sdk .
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: questions regarding print event and save event

Post by Tracker Supp-Stefan »

Hello amrkamal63,

As stated on page 326 of this document:
https://www.adobe.com/content/dam/acom/ ... erence.pdf

Non-interactive printing can only be executed during batch, console, and menu events. Printing is made non-interactive by setting bUI to false or by setting the interactive property to silent.

So please take a look at the JS reference and see if you can make it work. I am not sure you can interrupt printing though and can only detect the event without the possibility to interrupt it.

Regards,
Stefan
Post Reply