|
-
May 16th, 2009, 01:20 AM
#1
Printable coupon
How do I make a coupon I made on my website print to their default printer. I'm using dreamweaver 8.
-
May 16th, 2009, 03:04 AM
#2
Driver Terrier
Do you mean automatically? Without them hitting the print button?
-
May 16th, 2009, 01:40 PM
#3
yes is there a way to do that?
-
May 18th, 2009, 06:53 AM
#4
Driver Terrier
Think this through Kodiak, you really want to bypass their security and send something to print without the user's permission?
-
May 18th, 2009, 09:54 AM
#5
I mean when they click on the coupon it prints to their printer so they can print it and bring it in for whatever off on my services. I meant automatically but they need to hit a print button first. Sorry about that.
Last edited by Kodiak; May 18th, 2009 at 09:57 AM.
-
May 18th, 2009, 11:21 AM
#6
Registered User
Add a print link calling a javascript:
Code:
<a href="javascript:window.print()">Print the page</a>
Of course your imagination can put it as a button or as a script called upon page being loaded...
-
May 18th, 2009, 11:46 AM
#7
Driver Terrier
Phew, I thought you wanted to open a complete can of worms there!
-
May 18th, 2009, 12:09 PM
#8
 Originally Posted by NooNoo
Phew, I thought you wanted to open a complete can of worms there!
LOL. No I run a tight ship. I have been asked to strange things but it's not worth it to me.
-
May 18th, 2009, 12:10 PM
#9
 Originally Posted by CeeBee
Add a print link calling a javascript :
Code:
<a href="javascript:window.print()">Print the page</a>
Of course your imagination can put it as a button or as a script called upon page being loaded...
I will give it a go.
-
May 18th, 2009, 12:18 PM
#10
Driver Terrier
That code is about the only way to do it. If you have no jscript, then you have a printable page button which opens the image in its own page for the user to press the print page button.
Also dreamweaver article here
-
May 18th, 2009, 12:47 PM
#11
I used the code and it makes it print but it prints the whole page. I will look into what your talking about NooNoo.
-
May 18th, 2009, 01:58 PM
#12
Driver Terrier
There are page breaks and stuff you can do about that... read the dreamweaver article.
-
May 18th, 2009, 04:26 PM
#13
Registered User
Look at @media for CSS.
http://www.w3.org/TR/CSS2/media.html
You'll want to create a CSS for print layout...
-
May 18th, 2009, 08:28 PM
#14
I'll have to fool around with this one a bit on my spare time. Thanks for the input.
Similar Threads
-
By jakkwb in forum Tech-To-Tech
Replies: 3
Last Post: April 11th, 2005, 02:43 PM
-
By esnetsc in forum Hot Hot Deals
Replies: 1
Last Post: October 19th, 2004, 04:32 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks