Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 8th, 2005, 10:25 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default 'print' button

My Code:

<% ' Last Edit: CRM_08feb05 %>
<%
forename = request.form("forename")
surname = request.form("surname")
comp_name = request.form("comp_name")
position = request.form("forename")

'response.write "Forename = " & forename & "<br>"
'response.write "Surname = " & surname & "<br>"
'response.write "Comp Name = " & comp_name & "<br>"
'response.write "Position = " & position & "<br>"

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Picco</title>
<style>
BODY {scrollbar-face-color: #cc0000;
scrollbar-shadow-color: #990000;
scrollbar-highlight-color: White;
scrollbar-3dlight-color: #cc0000;
scrollbar-darkshadow-color: #660000;
scrollbar-track-color: #ffcccc;
scrollbar-arrow-color: #ffffff;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#f5f5f5">
<form name="form">
<table align="center">
<tr>
<td align="center"><iframe src="linktest.pdf" width="600" height="600" scrolling="yes" name="content" class="body"></iframe></td>
</tr>
</table>
<div align="center">
<input type="checkbox" name="agree" id="agree">
Agree to Terms & Conditions<br>
<input type="button" name="accept" id="accept" value="Accept" onMouseOver="style.cursor='hand'">&nbsp;&nbsp;&nbs p;
<input type="button" name="decline" id="decline" value="Decline" onMouseOver="style.cursor='hand'">
</div>

</form>
</body>
</html>

_______________________________________

How do i have a 'Print' button that will print the pdf out? I have used windows (MSIE) print buttons like this before. But how can this be done with Adobe Acrobat Reader?

I just want a 'print' button underneath the 'Agree to Terms & Conditions' text.

Thanks.

Picco

www.crmpicco.co.uk
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print 2 Forms using 1 Button matto336 Access VBA 4 September 26th, 2007 07:36 AM
Print Button itHighway Classic ASP Basics 2 February 27th, 2005 06:48 PM
Print on Button Click mahulda ASP.NET 1.0 and 1.1 Basics 2 August 5th, 2004 02:50 PM
print button alitoday Classic ASP Basics 1 June 5th, 2004 05:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.