And this is probably really a javascript question (send the window to the local printer if supported -- "window.print()" and its cousins may or may not work) which is unreliable for printing. For something legal like a contract this should never be counted on. Just email the results or generate a PDF on the server side for download. Do not expect anyone else's browser to act like yours does.