Printing with Javascript

Results 1 to 2 of 2

Thread: Printing with Javascript

  1. #1
    Join Date
    Dec 1969

    Default Printing with Javascript

    I currently have a Javascript function which will print the current browser window. My problem is i need to print a page which can be printed in landscape format rather than the default portrait format from the print window under the layout tab. I need to pass in something that would allow me to make landscape format to be the default. Does anybody know how to do this? Any information would be helpful. Thank you

  2. #2
    Join Date
    Dec 1969

    Default RE: Printing with Javascript

    look up the @media print{} stylesheets declaration.<BR><BR>though it won&#039;t work across all browsers, it&#039;ll get some.<BR><BR>javascript can&#039;t do this.

Posting Permissions

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