colton 13 Posted June 17, 2013 Report Share Posted June 17, 2013 I need to set a bunch of variables and load html, then print those variables. How can I accomplish this? Also, the information is secure information so going to an external website probably isn't the best. Essentually, ui var1ui var2ui var3ui var4 Load html (var1 var2 var3 var4) Print Quote Link to post Share on other sites
blumi40 222 Posted June 17, 2013 Report Share Posted June 17, 2013 javascript:window.print() Quote Link to post Share on other sites
Aymen 385 Posted June 17, 2013 Report Share Posted June 17, 2013 try to use the javascript code window.print() Quote Link to post Share on other sites
colton 13 Posted June 17, 2013 Author Report Share Posted June 17, 2013 with these two, how does the basic layout of coding go? How is the "print" coded? allow javascript("Yes")window()javascript() Quote Link to post Share on other sites
Aymen 385 Posted June 18, 2013 Report Share Posted June 18, 2013 i think you should userun javascript("window.print()") Quote Link to post Share on other sites
colton 13 Posted June 18, 2013 Author Report Share Posted June 18, 2013 So like this run javascript("window.print(Content to be printed)"). Is this a screen print or actually command to print? Ran this but didn't get anything. Quote Link to post Share on other sites
colton 13 Posted June 18, 2013 Author Report Share Posted June 18, 2013 Sorry if this is a dumb question Quote Link to post Share on other sites
blumi40 222 Posted June 18, 2013 Report Share Posted June 18, 2013 like the script says "windows." means we talk about your html output in the browserwindow Quote Link to post Share on other sites
Frank 177 Posted September 20, 2013 Report Share Posted September 20, 2013 Nope printing from the main window isn't permitted. Ubot stops popups, like print boxes from showing up. I've got another thread talking about this elsewhere and that's what we've come up with. I still wish for a way to print out of ubot. Frank Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.