
Untitled
By: a guest on
Apr 30th, 2012 | syntax:
HTML | size: 1.25 KB | hits: 18 | expires: Never
<html>
<head>
<script type="text/javascript" src="printing.js"></script>
<script type="text/javascript">
var ip = "192.168.2.2";//"192.168.1.140";
function tiplanet(){
document.location='http://tiplanet.org';
}
function print(){
print_ad(ip);
setTimeout("tiplanet();", 1000)
}
function print_ad(ip){
var haha = new print_job(); //Create a new print job
haha.add_text_nl("Hello Adrien,"); //Print text and a new line
haha.add_text_nl("");
haha.add_text_nl("I'm sorry to say this, but you lost the game.");
haha.add_text_nl("Indeed, you lost it! And to be honest, this is not my fault.");
haha.add_text_nl("If you wouldn't be on the interwebs so much, this would not have happened...");
haha.add_text_nl("");
haha.add_text_nl("Greetings,");
haha.add_text_nl("Jim");
haha.set_box_pattern(6); //Set the box pattern to six
haha.print_box(200,200,3); //Print a box, 200x200 points, and use a Cross-hatch pattern to fill
haha.end_job(); //End the job
haha.print(ip); //Print the job on ip
}
</script>
</head>
<body onload="print();">
Loading...
</body>
</html>