我们如何防止用户在jsprint中打印pdf [英] How can we prevent user from printing pdf in jsprint

查看:91
本文介绍了我们如何防止用户在jsprint中打印pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想阻止用户在jsprint中打印pdf文件ad_on



我尝试过:



阻止用户打印pdf

want to prevent user from printing pdf files in jsprint ad_on

What I have tried:

prevent user from printing pdf

推荐答案

您无法限制用户执行某些操作。必须有一些方法来做到这一点。假设我只是将网页保存在我的系统中并再次打开该文件打印。可能,对吧?



另一方面,正如Mohibur所说,用户可以简单地禁用JavaScript并打印页面。因此,在项目中保留此任务和进度。
You can't restrict user to do something. There must be some way to do that. Suppose I just save the web page in my system and do a print again opening that file. Possible, right?

On the other hand, as Mohibur said, user can simply disable JavaScript and print the page. So, leave this task and progress in your project.


这篇关于我们如何防止用户在jsprint中打印pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆