I am curious if there are any programs out there that can track if a user prints a page off of your website?
<a href="http://www.myblog.com/category/blog-post.html?print=1">Print Me</a>
document.print();
function trackPrint()
{
var printPixel = new Image();
printPixel.src = "http://www.myblog.com/track/print.php?id=X";
document.print();
}
<a href="javascript:trackPrint();">Print Me</a>
Good idea! Those who press CTRL+P or use the browser menu to print will slip through this technique though. There is no way of tracking that.
you could probably bind ctrl+p like this w/ jquery: $(document).bind('keydown', 'Ctrl+p', trackPrint); (trackPrint function as above)
about - js-hotkeys - Google Code
<link rel="stylesheet" type="text/css" href="trackprint.php" media="print"/>
<?php
// tracking here
?>
<!-- stylesheet here -->