How to set a simple lin to print the page

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default How to set a simple lin to print the page

    I need to create a link "PRINT THIS WINDOW" on my Pop up window, so user can
    click on this link and print the page.
    Below is my Pop up window, only contain 1 table with all the information
    needed to be printed.

    <html>
    <head>
    <title>Untitled</title>
    </head>

    <body>

    <cfquery name="GetC" datasource="SDF">
    Select * From tblRec where Status = 'c'
    </cfquery>

    <center>
    <table border="0" width="400" cellpadding="0" cellspacing="1">
    <tr>
    <td align="left"><b>Detail Information:</b></td>
    <td align="right"><a href="">Print this window</a></td> <<<<<<<<<<?????
    </tr>
    <cfoutput query="GetC">
    <tr>
    <td bgcolor="##E1E1E1" valign="top" align="right"><b>Rec</b>&nbsp;</td>
    <td>#Rname#</td>
    </tr>
    etc.......
    </table>


    duit Guest

  2. Similar Questions and Discussions

    1. Simple log-in page
      I have developed a member's only section to my website. everything works great in the testing environment. (Followed the diretions of "The Missing...
    2. Simple query Print, colour and paper settings
      I am running Indesign 2.0. I am a newbie. I want to know about paper size settings, colour settings, bleeds and getting my work printed. If I want...
    3. Simple Query Re Illust 10 vs CS Print Settings
      Illustrator 10 (and earlier) had a place within the print dialog box where the quality of print could be chosen to best serve the quality paper being...
    4. simple graphic in php with print statement?
      print "\t\t<td><bgcolor=#000000><font color=#000000 font color=#000000 face=Tahoma size=2 ><A href='show.php?searchid=$line'>More Info</td>\n"; ...
    5. Warning Page Has Expired, I need to turn it OFF for a simple search page
      You can't turn it off. If you understand the reason for it, then you know that the Back button or Refresh button of a browser makes a new request...
  3. #2

    Default Re: How to set a simple lin to print the page

    <a href="javascript:window.print()">Print This Window</a>

    --
    Ken Ford
    PVII Support Team
    [url]http://www.projectseven.com[/url]
    Team Macromedia Volunteer - Dreamweaver
    Certified Dreamweaver MX 2004 Developer


    "duit" <webforumsuser@macromedia.com> wrote in message news:d9mkt9$6fb$1@forums.macromedia.com...
    >I need to create a link "PRINT THIS WINDOW" on my Pop up window, so user can
    > click on this link and print the page.
    > Below is my Pop up window, only contain 1 table with all the information
    > needed to be printed.
    >
    > <html>
    > <head>
    > <title>Untitled</title>
    > </head>
    >
    > <body>
    >
    > <cfquery name="GetC" datasource="SDF">
    > Select * From tblRec where Status = 'c'
    > </cfquery>
    >
    > <center>
    > <table border="0" width="400" cellpadding="0" cellspacing="1">
    > <tr>
    > <td align="left"><b>Detail Information:</b></td>
    > <td align="right"><a href="">Print this window</a></td> <<<<<<<<<<?????
    > </tr>
    > <cfoutput query="GetC">
    > <tr>
    > <td bgcolor="##E1E1E1" valign="top" align="right"><b>Rec</b>&nbsp;</td>
    > <td>#Rname#</td>
    > </tr>
    > etc.......
    > </table>
    >
    >

    Ken Ford - *TMM* & PVII Guest

  4. #3

    Default Re: How to set a simple lin to print the page

    thank you!
    duit Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139