Printing current frame

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott Newton

    Printing current frame

    Hi,

    I have a php script which pulls data from mysql and displays it in a frame

    At the moment I have to right click and select print from the menu to send
    this to my laser printer

    I would like a button in the frame to call up the printer dialog rather than
    right clicking

    Any ideas?

    Thanks

    Scott Newton


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/2003


  • Jon Kraft

    #2
    Re: Printing current frame

    Scott Newton <snewton@NOSPAM .com> wrote:
    [color=blue]
    > At the moment I have to right click and select print from the menu to send
    > this to my laser printer
    >
    > I would like a button in the frame to call up the printer dialog rather
    > than right clicking[/color]

    Hi Scott,

    You'd have to use JavaScript for that, e.g.:

    <form>
    <input type="button" value="Print" onClick="self.p rint();">
    </form>

    HTH;
    JOn

    Comment

    • Scott Newton

      #3
      Re: Printing current frame

      Many Thanks

      "Jon Kraft" <jon@jonux.co.u k> wrote in message
      news:bm37u7$i7d dp$1@ID-175424.news.uni-berlin.de...[color=blue]
      > Scott Newton <snewton@NOSPAM .com> wrote:
      >[color=green]
      > > At the moment I have to right click and select print from the menu to[/color][/color]
      send[color=blue][color=green]
      > > this to my laser printer
      > >
      > > I would like a button in the frame to call up the printer dialog rather
      > > than right clicking[/color]
      >
      > Hi Scott,
      >
      > You'd have to use JavaScript for that, e.g.:
      >
      > <form>
      > <input type="button" value="Print" onClick="self.p rint();">
      > </form>
      >
      > HTH;
      > JOn[/color]


      ---
      Outgoing mail is certified Virus Free.
      Checked by AVG anti-virus system (http://www.grisoft.com).
      Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/2003


      Comment

      Working...