there is a away to send to the printer to print automaticly

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
duk
Forum Contributor
Posts: 199
Joined: Wed May 19, 2004 8:45 am
Location: London

there is a away to send to the printer to print automaticly

Post by duk »

there is a away to send a page to be printed automaticly ??
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

explain this a little bit better?
User avatar
liljester
Forum Contributor
Posts: 400
Joined: Tue May 20, 2003 4:49 pm

Post by liljester »

from a browser you can use javascript to open a print dialog (atleast in IE) , for example:

Code: Select all

<input type="button" value="print" onclick="window.print();">
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

yeah, if thats what you meant, that is how you would do it
Post Reply