Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: send commands for printer


Message #1 by "Marcelo" <Marcelo> on Sat, 2 Mar 2002 11:40:25
You can send commands to print via HTML with JavaScript.

Use this code to print a current html page to a local printer.

<a href="javascript:print();">Print Current Page</a>

You can use this snipplet anywhere in your code and it will send it to 
the default printer.

Cheers,

Jon

  Return to Index