save pdf file and print

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default save pdf file and print

    How do I save value of all checked box in files and print this file?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <script type="text/javascript">
    var k =3;
    function addItem(myTable){
    name = "chk" + (k++);
    text = document.form.text.value;
    var lastRow = myTable.rows.length;
    var x=myTable.insertRow(Math.round(lastRow));
    var y=x.insertCell(0);
    y.innerHTML='<input type="checkbox" name="+name+" value="+text+">' + text;
    }
    </script>
    </head>
    <body>
    <cfform name="form" action="savecontract.cfm">
    <table id='tbl1'>
    <tr>
    <td><input type="checkbox" name="chk1" value="Row1">Row1</td>
    </tr>
    <tr>
    <td><input type="checkbox" name="chk2" value="Row2">Row2</td>
    </tr>
    </table>
    <input type="text" name="text">
    <input type="button" onclick="addItem(document.getElementById('tbl1')); "
    value="Add">
    <input name="save" type="submit" value="Save Contract">
    </cfform>
    </body>
    </html>

    sweetyp2005 Guest

  2. Similar Questions and Discussions

    1. print to/save as pdf
      Anyone know why when I print to PDF I can get a PDF that is half the size of when I save as PDF? Is there any problem with printing as PDF? ...
    2. Print to PDF then save the document
      Got some users that when they go to print there PDF document and the "save as" dialog box appears, the other list of .pdf files that they have saved...
    3. Unable to Save/Save As/close Word XP file with Acrobat 5.0 installed
      One of my user is having this problem on her Windows XP PC: Dell GX260 with Windows XP Professional running 512MB RAM, Office XP, Acrobat 5.0 ...
    4. illustrator 10 to save and print
      I am a new user to illustrator and I am using 10.0.3. I have a design with some text, shapes and an image that I transferred from photoshop and...
    5. print out and save as
      how to print with pre-define preference such as margin and page size ? and a quick Question , the function call to save as thanks ~~~~~~~
  3. #2

    Default Re: save pdf file and print

    Submit the form to a template that processes the form inputs. Use cfdocument to display your file. There will be an acrobat reader toolbar you can use to save and print.
    Dan Bracuk 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