Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #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">
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;}
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<body bgcolor="#f5f5f5">
<form name="form">
<table align="center">
<td align="center"><iframe src="linktest.pdf" width="600" height="600" scrolling="yes" name="content" class="body"></iframe></td>
<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'">



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.



Ayrshire Minis - a Mini E-Community
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

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

All times are GMT -4. The time now is 03:28 AM.

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