Hi all,we have a web application.i want to disabled the printing option in web form.i have disabled the printing option in security tab of form properties.But it is not work on web form.
Plz help me
Thanx
Hi all,we have a web application.i want to disabled the printing option in web form.i have disabled the printing option in security tab of form properties.But it is not work on web form.
Plz help me
Thanx
Subject: Printing disabled in web form
Hi there,
I think you might be up against it there. In the notes client, you have a switch for that, but once you move to the browser you have to hand over control to the browser.
Printing is controlled by the application in question, so in this case it is the browser’s rules, not the notes option that applies. I don’t know of a way to prevent the Print function in a web browser to work from a web page, but maybe there could be a proprietary javascript function in IE that does this? I doubt it, but you never know.
The best solution would be to use CSS @Media style rules to specify that elements in your page are hidden from printing by using display:none or something like that for a set of @Media:print styles. I’m not sure of the exact semantics off the top of my head, but look into that and you should find something that you can use. You can decide what the user can print, and in the worst case I guess they would just print a blank screen.
-Brendan
Subject: RE: Printing disabled in web form
And plain nothing will keep them from printing screenshots.
There are even at least two nice little Firefox add-ons, that will convert the whole page into an image, so users don’t even have to scroll down to print all of the page.
Subject: RE: Printing disabled in web form
Combinations of CSS, JavaScript, and opening a window with no menu bar can successfully prevent novices from printing from a browser. Unfortunately, anyone with a developer toolbar or bookmarklets can bypass those limitations. It’s a browser issue. Anything that you send to the browser can be printed.
Subject: RE: Printing disabled in web form
hi Doug,I gotted your answer but i am enable to done it.plz clear it how can we connect css with javascript beacause i have no idea about css style sheet.
i am new for web application.
plz help me
thanx