Solved

Print web page without its URL at footer

Posted on 2009-07-09
10
1,166 Views
Last Modified: 2013-11-19
Hi
I want to print a web page without printing the URL at the footer of the page.
I think it could be done using JavaScript or JQuery , I'm not sure

hint : i do not want to make the user to make it using browser settings
0
Comment
Question by:mohammedf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 16

Expert Comment

by:alain34
ID: 24812225
Hello mohammedf,

I don't believe it is possible to achieve your requirement.
However, Have you considered to create a print version of your page in PDF format.
This way, there will be no footer.

Regards,

alain34
0
 
LVL 6

Author Comment

by:mohammedf
ID: 24812264
I dont want to make any PDFs , because i don't want to let user to have a copy of the page .

0
 
LVL 1

Accepted Solution

by:
mkamranjaved earned 500 total points
ID: 24812708
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 15

Expert Comment

by:deepaknet
ID: 24813182
Check out ScriptX Basic www.meadroid.com/scriptx/docs/samples/basic.asp

It supports customized printing capabilities.
0
 
LVL 6

Author Comment

by:mohammedf
ID: 24816082
Thanks for replays , but i do not want to make the client to do such things , i just want to make it ready for him....

any ideas ?

0
 
LVL 9

Expert Comment

by:AsishRaj
ID: 24819161
Dear Mohammedf

As far as printing of web pages goes -> Its not easy to controll but

If you have a css for printing the webpage then you can use something like
div#hearder{display:none;}  
div#footer{display:none;}  

If not then you are better of using a pdf which you dont want to use - can understand why.

The you can use activex to get the job done -> not easy at all - in this case you will have to install an object in the users system and access it for printing but you situation is that user are printing via the option provided in the browser. So in that case you really cant controll what they print.

Then best option would be create a print html friendly page button and use CSS for printing -> this should do the trick

Thanks
AR

0
 
LVL 6

Author Comment

by:mohammedf
ID: 24822167
hi AsishRaj:

Thanks for ur answer

>>If not then you are better of using a pdf which you dont want to use - can understand why.

this is because i want the client to print the page just for a spesicfic number of times , so he will not be able to print it whenever he want ,, and if he /she has PDF file , then prinint it n times is a problem for me

Regarding CSS , how can i tell the page that the URL will be in the invisible DIV , the url is appeared only in printing , not in the page it self , ie not in aspx page ,  
0
 
LVL 9

Expert Comment

by:AsishRaj
ID: 24827295
What you are trying to achieve can only be done by activex
refer http://www.meadroid.com/  - Scriptx

There is no other way you can do what you are after.
0
 
LVL 6

Author Comment

by:mohammedf
ID: 24827791
can not we do it using JQuery ???
0
 
LVL 9

Expert Comment

by:AsishRaj
ID: 24827922
Sorry, u cannot.

Because we have to access client PC Details in order to do what you want.
Only one option activex otherwise a big no.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question