Cannot print embedded spreadsheet?

Last post 05-23-2007, 3:15 AM by Adam. 5 replies.
Sort Posts: Previous Next
  •  05-14-2007, 1:02 AM 29606

    Cannot print embedded spreadsheet?

    I have an Excel spreadsheet in our editor (see editor contents below).   When the user clicks our custom print button (which has a click event attached that executes the following JavaScript commands:
     
     var editor1 = document.getElementById(''); editor1.ExecCommand('Print');  
    the text parts of the page print, but only an empty box prints in place of the spreadsheet.   How can we get the spreadsheet's contents to print?   Thanks.
     
    Editor contents follow:
    <div>Excel below:
    <div></div>
    <div>&nbsp;
    <div></div>
    <div>
    <div>
    <div>&nbsp;
    <div></div>
    <iframe id=DBSETUP_DEFAULT_DB.XLS name=DBSETUP_DEFAULT_DB.XLS src="\LABTRACKDEV3ORACLE\NOTEBOOKIMAGES\DEMO.20.1\DBSETUP_DEFAULT_DB.XLS" frameBorder=1 width=600 height=400></iframe></div>
    </div>
    </div>
    </div>
    </div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
  •  05-14-2007, 2:58 PM 29645 in reply to 29606

    Re: Cannot print embedded spreadsheet?

    Adam,
     
    Test file showing the problem has just been e-mailed to [email protected].   Thanks.
  •  05-15-2007, 5:40 PM 29698 in reply to 29645

    Re: Cannot print embedded spreadsheet?

    Also emailed the test site/pages to [email protected] and to [email protected]
  •  05-17-2007, 9:10 PM 29788 in reply to 29698

    Re: Cannot print embedded spreadsheet?

    Any update on this issue.   I explained it to Karen in more detail yesterday in a chat session.   The problem seems to center on iframes, images rendered with IMG tags print OK.
  •  05-22-2007, 9:07 AM 29896 in reply to 29698

    Re: Cannot print embedded spreadsheet? CAN WE GET AN ANSWER??

    This issue has been open for several days now, a test site was sent so that the problem should be able to be recreated there.   WE HAVE A CUSTOMER WAITING FOR A RESPONSE, CAN YOU TELL US ANYTHING???  Thanks.

  •  05-23-2007, 3:15 AM 29960 in reply to 29896

    Re: Cannot print embedded spreadsheet? CAN WE GET AN ANSWER??

    It should be empty when printing.
     
    When loading the excel into the iframe, your PC will ask you:
     
    "Do you want to open or save this file?"
     
    If you answer yes, you will be able to open this file using MS Excel file (if you have installed it PC).
     
    If you answer no or you don't have MS Excel installed, the file can not be opened and seen.
     
    This is not an Editor issue or web page, browser issue. 
     
    The correct way to print a MS Excel file is using Excel open this file and click the print button.
     
    If you do want to print MS Excel in the web, you have to write a program which loads the MS Excel content into the web page without asking the client open this file.
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML