Solved

Print Screen and mail

Posted on 2014-09-09
3
130 Views
Last Modified: 2014-09-09
I'm working on a web page that uses http://jqueryui.com/draggable/ . A customer can input text or an image which shows up on the screen, then they can drag it to any position in order to design a product. Something similar to the many design your own t-shirts sites on the web.

I need to capture what they have designed on the web page and I think the javascript <A HREF="javascript:window.print()">Click to Print This Page</A> would work if.....

Is it possible to programmatically print a screen and have it mailed to me?
0
Comment
Question by:garysamuels
  • 2
3 Comments
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
check this jQuery plugin : http://www.jqueryscript.net/other/jQuery-Plugin-To-Print-Any-Part-Of-Your-Page-Print.html

else you can just create a dedicated stylesheet by setting media t print :  media="print"

<link href="path/to/styles.css" media="print" type="text/css" rel="stylesheet" />
0
 

Author Comment

by:garysamuels
Comment Utility
How does adding a stylesheet assist in creating a print page, image or pdf and have it mailed to me?
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
Comment Utility
you cannot mail directly with javascript
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now