473,396 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Prevent user from printing webpage?

Is there a way to prevent a user from printing a webpage?
Mar 1 '06 #1
4 1681
Preventing, no, but making it harder, yes:

For more info see:

http://www.boutell.com/newfaq/creati...tprinting.html
http://www.rgagnon.com/jsdetails/js-0067.html
--
Ward Bekker
"Asp.Net Discussions for the Professional Developer"
http://www.dotnettaxi.com

"Free .Net 2.0 C# to/from VB.Net Code Converter"
http://www.dotnettaxi.com/Tools/Converter.aspx
Mar 1 '06 #2
don't show it to them.

you can make it harder, like write an active/x control that displays the
page, hooks into the o/s to stop print screen, etc. but running vmware will
get around this also.

-- bruce (sqlwork.com)
"Brooke" <tb******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Is there a way to prevent a user from printing a webpage?

Mar 1 '06 #3
> Is there a way to prevent a user from printing a webpage?

No. You can make it more difficult for them, but nothing will stop a person
from actually printing the page if they want to.

-Darrel
Mar 1 '06 #4
Ha ha ha... yes you can, it's called a root kit. I wouldn't suggest it
though. For a usuable response, I agree with those who have offered
suggestions already, that's exactly what i would have suggested.

-Darren

Mar 1 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Daniel | last post by:
Does anyone know how this can be done? Thanks
5
by: Tom | last post by:
I have a subreport that can contain one or two pictures per page. The subreport is similar to an appendix to the main report. The recordsource contains a field "IncludeInReport" (Yes/No) for each...
2
by: swbaz | last post by:
What is an effect way to prevent users from viewing a webpage directly by typing in its URL? For example: If a default page is set up as a login screen with user name and password. The user...
0
by: Krzysztof Malinowski | last post by:
Hi, I made a webpage (using C#), once hosted it on WebMatrix server on WinXP. When I printed the page was the same like in browser. Twice I put the same webpage on WebMatrix on Win2K, when I...
1
by: Richard Myers | last post by:
Hello, Im pretty sure the answer will be no but i will ask anyway. When a user is printing an online report built with standard html/etc and not being delivered in a PDF format is there anyway...
5
by: JohnC | last post by:
I have a webapp that allows users to delete/add content on a webpage. The webpage is accessed like this: www.abc.com/app/user1/ www.abc.com/app/user2/ where index.aspx is the default page. ...
9
by: =?Utf-8?B?SmVmZiBCZWVt?= | last post by:
I'm working on a litigation web app where users will review images of case documents. One of the requirements is that we either prevent the images from being cached on the clients machine (in temp...
21
by: array7 | last post by:
I have been reading a lot of archived threads about "page-break- inside: avoid" not supported by IE5, IE6 IE55, IE7 and Firefox (Mozilla), which creates a really unpleasant-looking printout with...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I have a asp.net page, it uses js to print in IE. It always has the prompting user window appear. I have tried: <input onclick="document.all.WebBrowser.ExecWB(6,6)" type="button"...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.