Solved

Print Screen and mail

Posted on 2014-09-09
3
142 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:Gary Samuels
  • 2
3 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 40312264
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:Gary Samuels
ID: 40312537
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
ID: 40312555
you cannot mail directly with javascript
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.NET Content Page 3 27
Html Newline 7 20
BATCH to EXE Converter 2 35
PowerShell logging 1 14
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.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

840 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