#1
  1. No Profile Picture
    Faiyth
    Guest
    Devshed Newbie (0 - 499 posts)
    What I'd like to know is how can I make a button (like a submit button in a form) cause the current page to print? Is there a way?

    Also.. how do I get text wrapping to print wrapped?

    Thanks,
    Amber Dew
    Amberdew@co.clackamas.or.us
  2. #2
  3. No Profile Picture
    Bjoern
    Guest
    Devshed Newbie (0 - 499 posts)
    Hi Faiyth!

    Ive never actually tried it but there is a method of the window object called print().
    Should read something like this:
    this.window.print();
    It opens the print dialog box (just like clicking on the print button)

    Greetings
    Bjoern

Similar Threads

  1. how to resize a borderless form like a sizable form?
    By toughcoder in forum Visual Basic Programming
    Replies: 3
    Last Post: August 7th, 2003, 12:20 PM
  2. vertically aligning a form inside a table?
    By pixalone in forum HTML Programming
    Replies: 1
    Last Post: August 5th, 2003, 04:04 AM
  3. window open from inside a form?
    By mikie7boy in forum HTML Programming
    Replies: 2
    Last Post: May 6th, 2003, 02:18 AM
  4. Reading form data and printing variables using CGI.pm
    By calabama in forum Perl Programming
    Replies: 1
    Last Post: July 19th, 2002, 06:51 PM
  5. Netscape 4.xx and printing of ASP form
    By plubik in forum HTML Programming
    Replies: 0
    Last Post: December 5th, 2001, 08:04 PM

IMN logo majestic logo threadwatch logo seochat tools logo