Page 1 of 1

how do you print a webpage without popping up the printerbox

Posted: Sat Feb 01, 2003 3:08 pm
by TheIceman5
I have a webpage with a button on it, i want it to print the whole page when you click this button with out popping up the printer dialog box, is this possible? and how do you do it if it is?

Re: how do you print a webpage without popping up the printe

Posted: Sat Feb 01, 2003 3:32 pm
by *JaH*
TheIceman5 wrote:I have a webpage with a button on it, i want it to print the whole page when you click this button with out popping up the printer dialog box, is this possible? and how do you do it if it is?


can't be done :) (and I'm glad it can't :D I want to choose my printer (out of 200+ on the network) before printing :)

Posted: Sat Feb 01, 2003 5:19 pm
by bobaloo
I simply wouldn't use a website that had something like that on it. No one in their right mind would. There's a reason that box pops up...so people can choose THEIR OWN SETTINGS! Very user-unfriendly :wink:

Posted: Sat Feb 01, 2003 8:20 pm
by TheIceman5
yeah i guess, never thought of it that way. just a security thing i wanted to add on so people couldnt print this thing more than once. Will find another way to do it.

Posted: Sat Feb 01, 2003 10:59 pm
by bobaloo
Well, if something like that is possible, I would think it'd be client-side, not server-side, so PHP wouldn't be the answer. Perhaps try a JavaScript forum?

Out of curiosity, why would you not want someone to print something more than once?

And besides, even if you WERE able to do what you want to do, anyone could simply hit the print screen button, paste it in an imaging program and print it as many times as they want, not to mention the whole Xerox machine thing...

Posted: Mon Feb 03, 2003 6:53 am
by WiZARD
Hi TheIceman5!
Actually you may do this, but.... :!:
If you may send to your printer esc command for old printer or use SPL protocol....
Actually it's very hard fot simly deadly! :!: