Super Web Mart - Discount Coupons & Deals - Discount Promos, Coupon Codes, Discount deals and web site reviews
 

Author Topic: protect site from printing  (Read 4177 times)

0 Members and 2 Guests are viewing this topic.

Offline chloe vevrier

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Mesothelioma Clinic
protect site from printing
« on: March 18, 2007, 10:49:29 PM »
How can I prevent a certain item from print.

Webmaster Forum

protect site from printing
« on: March 18, 2007, 10:49:29 PM »

Offline greatlog

  • Administrator
  • Jr. Member
  • *****
  • Posts: 15
    • View Profile
Re: protect site from printing
« Reply #1 on: March 18, 2007, 10:52:31 PM »
You can handle this by using CSS. Put following code inside the <HEAD> tag.
Code: [Select]
<style type="text/css" media="print">
  body{ display: none;}
</style>

Offline chloe vevrier

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Mesothelioma Clinic
Re: protect site from printing
« Reply #2 on: March 18, 2007, 10:56:58 PM »
No. Its not working. I am getting blank page. I want to print some part of page. Like I have invoice report on a page and at the bottom their is 'Print' button. When customer clicks on it printing dialog appears. On the printed page word print is also at the bottom of invoice. I just want to remove 'print button' from printed page

Offline Reema Khan

  • Full Member
  • ***
  • Posts: 184
    • View Profile
noprint using CSS
« Reply #3 on: March 18, 2007, 11:00:36 PM »
Use noprint css option for print button. Look at the example code.

<head>
<style type="text/css">
@media print{
.noprint { display:none }
}
</style>
</head>
<body>
<table class="noprint" width="100%">
  <tr>
    <td> This Table will not print. Put your Print button in this table</td>
  </tr>
</table>
<table width="100%">
  <tr>
    <td> This Table will print. Put Report here or anywhere you like</td>
  </tr>
</table>
</body>

I hope this will work

Offline missile

  • Jr. Member
  • **
  • Posts: 47
    • View Profile
Re: protect site from printing
« Reply #4 on: February 25, 2008, 06:42:19 AM »
Thanks Reema. You are great. I was looking for this from a long time...
Misguided Missile

Offline johngate2100

  • Jr. Member
  • **
  • Posts: 17
  • I am great
    • View Profile
    • Packaging boxes
Re: protect site from printing
« Reply #5 on: July 27, 2010, 04:15:19 PM »
This is exactly the problem with the CSS.If you still doesn't find the solution just reply me.

Offline juliamedlton

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
Re: protect site from printing
« Reply #6 on: August 06, 2012, 11:26:49 PM »
You can go to Google or some other IT forums. Or called some professionals. You must solve your problem.

Offline Smitha nayak

  • Sr. Member
  • ****
  • Posts: 454
    • View Profile
Re: protect site from printing
« Reply #7 on: June 19, 2013, 11:28:08 PM »
I need to print out some protected web pages from work.

They use some sort of clever Java?

If I do a print preview I get blank sheets.
If I try and edit in Frontpage I get a load of

HEAD><SCRIPT LANGUAGE="JavaScript"><!--
document.write(unescape("%3C%53%43%52%49%50%

on and..
Any utilities out there that I could use?

Offline Smitha nayak

  • Sr. Member
  • ****
  • Posts: 454
    • View Profile
Re: protect site from printing
« Reply #8 on: July 24, 2013, 10:24:44 PM »
Hi....SiteLock has now protected more than 1,000,000 websites and online business around the globe. That's more than any other website security or virus scan provider. SiteLock maintains strategic partnerships with global leaders in the Internet hosting and related online markets, solidifying its position as the world leader in website security technology and services including malware removal, website firewall and website acceleration.

Offline amreek singh

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: protect site from printing
« Reply #9 on: November 29, 2016, 03:07:04 AM »
7 Ways to Protect Your Printers :-

1. Unplug
2. Password
3. Firmware
4. Secure Your Infrastructure
5. Secure Your Data
6. Secure Your Printers
7. Secure Your Printouts

Offline melanieclark

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: protect site from printing
« Reply #10 on: September 18, 2020, 08:30:19 AM »
no prints

Webmaster Forum

Re: protect site from printing
« Reply #10 on: September 18, 2020, 08:30:19 AM »