How to print from

Results 1 to 2 of 2

Thread: How to print from

  1. #1
    Join Date
    Dec 1969

    Default How to print from

    I have a form which the user fills in and also there is a button for printing the document. When the user clicks on this button the form with the form&#039;s content must be printed on the client side.<BR><BR>How do I write the code for such functionality?<BR><BR>Please someone send a sample code the same.<BR><BR>Thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: How to print from

    Printing is on the client side and has nothing to do with you can do a google search for javascript to print from the browser. If your user enviroment is controlled then you could maybe print from the server otherwise I suggest looking into the many cheap printing components you can buy to help with this. The basic javascript print function looks something like this..<BR><BR>&#060;script language="javascript"&#062;<BR>&#060;!--<BR>function printThisPage(){<BR>this.print();<BR>}<BR>//--&#062;<BR>&#060;/script&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts