Solved

Print Screen and mail

Posted on 2014-09-09
3
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

691 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