Masood,
I apologise for the delay but Christmas is a nightmare time for me as I’m neck-deep in producing printed collateral for schools for the start of the following year. I wasn’t ignoring the post, I just didn’t see it.
I’ve created a script that makes it impossible (or at least difficult) for anyone to print or export a PDF unless the chosen preflight profile has zero errors. I’ve made a video of that script in action here: https://youtu.be/hffI_rHR9g8
To gauge whether the script is a feature worth incorporating into future versions of InDesign, I’ve made the script a “request only” so that I can gauge responses and forward this information onto Adobe for their programming team. To my surprise, there’s been very little interest in it. My cut and stack script and coloured QR code scripts that were previously “request only”… lots of requests, but barely any for this one. If you like the video and want a copy, get in touch with me via my website that’s linked in the youtube video. The script is free but is available on request only.
So far as providing free scripts go, I’m of this opinion: If it’s in the wider interest of the InDesign community as the script may patch an issue or introduce a feature that ought to be there; or if it will generate traffic for my website, I’ll release it for free in the public domain (If I know how to write it). If it’s a one-off request for a bespoke project that MAY interest someone else on rare occasions, then perhaps a private message to the individual that the custom script can be created for a fee is more appropriate than posting the message publicly on a forum.