Reply
Printing pages with ASP
Old 05-16-2007, 01:42 PM Printing pages with ASP
Junior Talker

Posts: 1
Name: Ceyhun Ganioglu
Hi All,

I have some ASP pages and I want to put a Print link to the page. My problem is Internet Explorer's Print margins. Is there a way of arranging the page margins automatically with the code? And is it possible not to show the print button on the printed page?

Thanks
__________________
telmessos - The coder of
http://www.propertysearchturkey.co.uk - http://www.realestateinturkey.com
telmessos is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-16-2007, 07:24 PM Re: Printing pages with ASP
chrishirst's Avatar
Super Moderator

Posts: 12,603
Location: Blackpool. UK
Not with ASP

ASP is server side, once the source code has been sent to the browser. ASP is finished with.

I usually set up another page and style sheet to suit, then when the "Print this page" link/button is clicked, serve this page to the UA and fire a javascript:document.print after the </html> tag
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Printing pages with ASP
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11509 seconds with 13 queries