Results 1 to 8 of 8

Thread: Printing a published page
      
   

  1. #1
    start living is offline Special Status
    Join Date
    Apr 2008
    Location
    South Africa
    Posts
    349

    Default Printing a published page

    I have 2 questions please.

    From the tutorials I do not seeem to work out my path of action, it speaks and shows the editing actions fopr other but not my requirements.

    I have used the form wizard (bloody marvelous) Good one thank you!
    1. I need to add the submit and reset buttons - where and how please?
    2. At the bottom of a published page I want to put the line
    "print this page" sothat on the click it will print.. how do I do that please?
    Thank you

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Printing a published page

    Hi, this should do the print page part.

  3. #3
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default Re: Printing a published page

    Too add the buttons, there is a button icon near the top right of the builder (small grey rectagle) add them, double click on one, the properties window will open, the default will be submit so that is fine for the other check reset, you can name them submit_btn and reset_btn if you wish or leave it as buttons 1 and 2. But make sure they are inside the form grid or it will not work. For the print option it need to be outside the form grid.

  4. #4
    start living is offline Special Status
    Join Date
    Apr 2008
    Location
    South Africa
    Posts
    349

    Default Re: Printing a published page

    Att. Collectors info - Chris,
    Hi chris, thank you for the info... I have done as youinstructed. I see the print it button above the page and directly beneth this is the> sign. Both outside of the page parameters when in preview mode. I made printscreen which shows what I mean, but i do not see an attachment facility.
    I thank you again and wait for your reply.

  5. #5
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default Re: Printing a published page

    Did you paste the code into a html box or add it to the html code? The way I did it was to add the html box (on the left side, top icon, double click it paste the code. Size it the way I wanted and positioned it where I wanted. Note I misspoke whenI said it had to be out the form grid I have mine inside the form grid. Hope this solves your problem also here is the code I used.

    <SCRIPT Language="Javascript">
    function printit(){
    if (window.print) {
    window.print() ;
    } else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
    document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = "";
    }
    }
    </script>
    <SCRIPT Language="Javascript">
    var NS = (navigator.appName == "Netscape");
    var VERSION = parseInt(navigator.appVersion);
    if (VERSION > 3) {
    document.write('<form><input type=button value="Print this Page" name="Print" onClick="printit()"></form>');
    }
    </script>

  6. #6
    start living is offline Special Status
    Join Date
    Apr 2008
    Location
    South Africa
    Posts
    349

    Default Re: Printing a published page

    I opened the page properties and selected HTML, than I selected the Inside body tag and pasted in there an saved it.
    I try using the HTML box and copyand pste it.
    Thank you

  7. #7
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Printing a published page

    That will do it. If you do get the > symbol come up on your page, go to the script you inserted & remove the > at the very end of the script. BV adds this automatically in some areas like tables.

    Good luck.

  8. #8
    start living is offline Special Status
    Join Date
    Apr 2008
    Location
    South Africa
    Posts
    349

    Default Re: Printing a published page

    Hi Chris,
    Did that and it is A for away... thank you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not 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