HighDots Forums  

Print page function

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Print page function in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matt James
 
Posts: n/a

Default Print page function - 11-04-2004 , 04:49 PM






Hi gang,

On my order page I want to add a button next to my "Submit" and "Reset" that
is called "Print". So customers can print out the order page and fax it to
me if they dont feel safe emailing the page to me.

Can someone please let me know what the code is I need to make this button
print the page or point me in the right direction?

Thanks in advance.

Matt

www.mattlauder.com.au



Reply With Quote
  #2  
Old   
Matt James
 
Posts: n/a

Default Re: Print page function - 11-04-2004 , 05:41 PM






Yep the page will be sent secure. I know they could use the print icon on
their browser, I just wanted a print function on the web page.

"darrel" <notreal (AT) hotmail (DOT) com> wrote

Quote:
On my order page I want to add a button next to my "Submit" and "Reset"
that
is called "Print". So customers can print out the order page and fax it
to
me if they dont feel safe emailing the page to me.

Can someone please let me know what the code is I need to make this
button
print the page or point me in the right direction?

There's a button up there on your web browser called PRINT. That's the one
you want to click on.

Do note that not all browser will print out the form fields with data in
them, however. You're better off submitting the form to the server, taking
the data, reformating, and send that back to the screen for printing.

BTW, what kind of information are you expecting people to email to you? If
it's private stuff, you really should be using a secure server to handle
it.

-Darrel





Reply With Quote
  #3  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Print page function - 11-04-2004 , 06:12 PM



.oO(Matt James)

Quote:
Yep the page will be sent secure. I know they could use the print icon on
their browser, I just wanted a print function on the web page.
Why? It makes no sense and provides no benefits.

You can't replace a browser feature in a reliable way. The built-in
print button will work always, your replacement will fail in some
browsers.

Micha


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Print page function - 11-04-2004 , 06:31 PM



It will fail in IE5/Mac.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Matt James" <info (AT) matthew-james (DOT) com.au> wrote

Quote:
Yep the page will be sent secure. I know they could use the print icon on
their browser, I just wanted a print function on the web page.

"darrel" <notreal (AT) hotmail (DOT) com> wrote in message
news:cme8ku$cg9$1 (AT) forums (DOT) macromedia.com...
On my order page I want to add a button next to my "Submit" and "Reset"
that
is called "Print". So customers can print out the order page and fax it
to
me if they dont feel safe emailing the page to me.

Can someone please let me know what the code is I need to make this
button
print the page or point me in the right direction?

There's a button up there on your web browser called PRINT. That's the
one
you want to click on.

Do note that not all browser will print out the form fields with data in
them, however. You're better off submitting the form to the server,
taking
the data, reformating, and send that back to the screen for printing.

BTW, what kind of information are you expecting people to email to you?
If
it's private stuff, you really should be using a secure server to handle
it.

-Darrel







Reply With Quote
  #5  
Old   
darrel
 
Posts: n/a

Default Re: Print page function - 11-04-2004 , 06:31 PM



Quote:
Yep the page will be sent secure. I know they could use the print icon on
their browser, I just wanted a print function on the web page.
Why? Everyone knows how to print a file. That's one of the most basic of
computer skills.

You could try to use a javascript to print it, but that only works in IE on
Windows and only works if Javascript is enabled. Google will turn up some
examples for you.

-Darrel




Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.