How to print preview in a popup window?

There are couple of websites that I use frequently and they open links up into popup windows that I would like to print using print preview so I don't waste paper. Is there a way to do print preview from a popup window or can I open popup windows in a new tab?
Please Help,
jpmtnman

Thanck you for your answer.
Unfortunatly, my plugin aim to help debug javascript code. So, it's not my code which directly open popup, it's the code I'm watching. I cannot give argument to window.open.
Correct me if I did not understand something, but your second option consist in modifying the settings of the user browser. How could I do that from a plugin ?
Also, I realized that when I open a popup without the plugin tester(cfx run), i.e. in opening firefox the usual way, popup windows have the menubar with plugin buttons. O.o
Is anyone know why this difference ?

Similar Messages

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How to stop the Company Code popup window in MIRO!

    Hi,
    When User logs in the system and enters into the MIRO transaction, he is asked to enter the Company Code first in order to proceed further. I know that once you enter the company code then the system does not ask it to enter again during that login, however, it will asks again whenever User login the system again!
    Can someone tell that how to stop this Company Code popup window in MIRO, so that the system should not ask for the Comp Code whenever User logs in and enters into MIRO? I think there are some entries maintained in the User Master for this!
    Thanks.

    Hi,
    It is Necessary for the user to enter the company code for which he need to process the Invoice.
    First think is if the user knows ,that he is only going to do for one company code.then
    in the T code SU3.
    In the parameter TAB
    you can make the Default value for the parameter ID BUK as your Comany Code value ( Eg 1000)
    so that when ever the user does the MIRO ,it comes with that company code only.
    and if he want to do for another comapany code ,he has to use the option of Switching the comapny code.
    so this is user dependent and has to be made for all users.
    Note .the above setting works only you have entered saved and logged off and log in again.
    also ,this value gets defaulted you all the comapny codes in all screen.
    Hope so it helps.
    Regards
    Anjanna.

  • Print preview looks fine but window space on worksheets prints all black

    Recently purchased new HP Deskjet 1512 .    I digitize embroidery and Chenille designs.   Since purchasing the new printer,
    intermittently  the worksheets , which look fine on the print preview,  will print completely black in the window workspace
    area.   The rest of the page prints ok.     I have already had the problem trouble-shooted with my software company.  I've been told that the printer driver is most likely the problem.    Windows 7 Professional is my operating system.   Has anyone encountered this problem???

    Hey,
    1. Uninstall the printer software (*click on the Windows 7 instructions) >> http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02259020&tmp_task=useCategory&cc=us&dlc=en&lc=e...
    2. A clean boot of the computer to get the clutter out of the way. Here is how to do that >> http://support.microsoft.com/kb/929135
    3. Restart the Computer.
    4. Disable all of your firewalls and anti-virus scanners.
    5. Reinstall the software off of hp.com.
    Best of luck let me know how it goes.
    I worked for HP.

  • How to pass the values from popup window to parent's window

    Hi Experts,
    in my application i need to develop one popup window in that i have created 4 dropdowns and one ok button , if i willl click on that ok  button the values should pass to parent window dropdownlistboxes
    can any body suggest how i will get the popup window values
    thanks in advance,
    ramani.

    Hi Ramani,
    I can provide few inputs on how can we control JSP 2 from JSP1.
    Here is the code. Check if you can convert this to make useful to you. I am not passing values but control.
    here it is:
    JSP 1.
    <h1>Page One</h1>
    <br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>.html#part1">part 1</a>
    <br><br><br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>#part2">part 2</a>
    <br><br><br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>#part3">part 3</a>
    JSP 2.
    <h1>Page Two</h1>
    <br>
    <a name="part1">
    <h3>Part 1</h3>
    </a>
    <a name="part2">
    <h3>Part 2</h3>
    </a>
    <a name="part3">
    <h3>Part 3</h3>
    </a>
    This way you can move from one JSP to other.
    regards
    -Kedar Kulkarni
    reward points if useful.
    Message was edited by:
            Kedar Kulkarni

  • How to pass field value from popup window to oninput processing of other pg

    Hi,
    I want to pass a field value from the popup window to oninput processing of main page ( from where popup window is triggered). and need to close the popup window. How to do it ?
    In the popup window's oninputprocessing, im doing some validation checks. If it passes all the validations, then only the control shd come to main page ..else it should stay in popup window only .
    Regards,
    Jothi.

    Hi Jothi,
    you can use java script to pass the value and close your popup window. use the following code.
    in your popup window:
    function passData(h1)
             window.opener.document.getElementById('var1').value = h1 ;
             window.close();
    then call this function when you finish your validations.
    in your main page layout create an input field with id as passed in the function above "var1".
    In the value attribute give it your variable as follow:
    <htmlb:inputField id      = "var1"
                              value   = "<%= var2 %>"
                              visible = "false" />
    "var2" will be assigned the value from your popup window.
    I hope this will help you..
    Regards,
    Husain

  • How to get F4 help in popup window

    Hi all,
    I have to show a popup window after I click on SAVE button of a standard transaction CV01n. I am using BADI for this purpose. I am able to display popup for taking input as "user name". But problem is that I need to provide F4 help to the input field of popup window. After I press F4 I need to display user names which I have stored in one Z table. As I am writing code in BADI i am not able to write any sub-routine or not able to call any sub-screen/selection-screen etc.
    Please tell me how can I provide F4 help to the input fields of popup window.
    Thank in advance.

    Hi
    This can help you.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'input field name'
                dynpprog    = 'progname'
                dynpnr      = 'dynnum'
                dynprofield = 'structure-inputfield name'
                value_org   = 'S'
           TABLES
                value_tab   = tbl_values_tab.(values u want to get while pressing f4)
    Reward if it is useful.
    Thanks
    Siva Kumar

  • How to print dynamic text in a window

    Hi All,
    My requirement is to print the payement in a window and which will be dynamic and will span across multiple number of pages and there is a main window which i already using to display line item details. Please suggest if there is any possible way to do this.
    Regards,
    Ashwin.

    Hi,
    Just fill one internal table with the payment details & in the main window of ur smartform.Create one table node in the main window of ur smartform & loop ur table in it.
    I hope this will help u.
    regards,
    rajesh.

  • How to open URL as a popup window through BRANCH in APEX reports

    Hi
    I am using APEX 4.0
    I have a branch with a target type of URL. The branch is triggered by pressing a button. There is also a plsql process on the same button which fires at the process point of "On Submit-After Computations and Validations". I want to open the branch URL as the popup Window. I tried doing it with javascript, but then the plsql process doesn't execute. Any pointers will be helpful.
    Thanks
    Hina

    You can use the apex.submit javascript function. This function allows to store some item value from session scope to database scope. So that a page process picks the correct item value. Not sure if it works with computations thou.
    See the docs: JavaScript APIs
    Example
    Submits the current page with a REQUEST value of 'DELETE'.
    apex.submit({ request:"DELETE", set:{"P1_DEPTNO":10, "P1_EMPNO":5433});
    Then add a branch with type "branch to function returning URL" This page branch can be made conditional on the same request as the page process.
    The returned url would be either include the javascript popup or window.open function or simply be the url. Important thing here would be to use a function that reads the url item  from database state, since at that moment the computation or page process will have set the item on database level, but it is not directly available on page level.
    meaning ":p2_item" or v('P2_ITEM') should work. &P2_ITEM. in the url will probably not work.

  • Print Preview in Safari for Windows does not display Flash object

    I have a web page with images, text and a flash movie in several divs. I can see all the objects on the page but when I print preview the flash object is not displayed. The same problem occurs in Firefox 3 but not in IE6/7 or Opera9.5
    Any clues/help would be greatly appreciated.

    Click Help -> Report Bugs to Apple.
    I'm hoping they fix it.

  • How to validate text fields in popup window

    Hi All,
    I need showing empty string validation  as tool tip for the text fields (RichInputText) on popup window when clicking submit button. kindly advice on this.

    Hi
    Below link me help u in implementing validation messages
    http://andrejusb.blogspot.in/2008/04/adf-faces-rich-client-complex.html
    Thanks
    Nitesh

  • How to print an acrobat form in windows 8

    I need to print a tax form and I cannot in windows 8 and the currnet acrobat

    Please see Please see FAQ: Printing a PDF file in Windows 8.
    If you have an Intel-based PC/laptop/tablet running Windows 8, you can install Adobe Reader XI and print your tax form in PDF (or any PDF files).

  • How can I detect if ANY popup windows are showing

    I have implemented a couple of JInternalFrames which can be closed by pressing the escape key, however, inside these frames different parts of the code will sometimes show JPopupMenus and they too should be closable by pressing the escape key.
    Thus, I need to close my frames when the user presses escape but only if no popups are showing. For instance, if the user right clicks in my frame to show a popup, then the first time he or she presses escape the popup will close, and the second time the frame itself will close.
    What I am looking for is a generic approach to this, that would make it possible for me to detect if any popup windows are currently visible and only if that is not the case I will proceed and close the frame.
    I have been giving this some thought but I have not yet come up with a good solution to this. Has anyone implemented something like this or does anyone have any suggestions? Is there a preferred way to get all popups of a frame, dialog, window or the like?
    Thanks
    Randahl

    I also ran into this issue. The previous post can be solved easily by the new event structures, but I need to check if a panel is the frontmost in windows as well.
    The FP.Is frontmost property returns if a panel is the frontmost Vi within Labview but not if Labview is the frontmost window in windows.
    I ran into this as I am making some stuff to use the scollwheel.
    As an example I have added two Vi's. Just load & run these, as long as Labview is active this works. But I would like to have something that switches the lights off when I select another Windows application.
    I (think I) cannot use the USER32.dll API as I reconstruct a reference to the 'owner vi' using a control reference.
    Anyone has some experience with this??
    Attachments:
    Vi-a.vi ‏7 KB
    Vi-b.vi ‏7 KB

  • [Forum FAQ] How do I display disclaimer message popup window before display the SSRS report?

    Question:
    The requirements is that when you click the report on report manager you will get an popup window with the disclaimer message, only after you read this message you can click the “Agree” button, then you can continue to read the content of the report, if you
    disagree with it, you can click the “Disagree” button to back to the home or other path you want.
    Answer:
    To achieve this goal, we can add some JS or JQuery code in the report.aspx file in the path like:”C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\Pages”
    Find the path of the report.aspx file and add these code in to it.
    <script type="text/javascript" src="</script">http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
    <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
     $(function() {
            var result = new RegExp('[\?&]ItemPath=([^&#]*)').exec(window.location.href)[1];
    //get the path of the folder which the report exists
            var reportFolder = result.split('%2f')[1];
    //get the report name which you want to add this pop up window.
    var reportName = result.split('%2f')[result.split('%2f').length - 1]; 
     //hide the report before you click the agree button
           document.getElementById("ui_form").style.display = "none";
                //alert(result);
                //alert(reportFolder); //test the report folder name to see if it is correct
           if (reportName == "your report name" && reportFolder=="your folder name") {           
     $("#dialog").dialog({
                    title: "jQuery Dialog Popup",
                    height: "250",
                    modal: true,
                    buttons: {
                        "Agree": {
                            text: "Agree",
                            id: "my-button-id1",
                            click: function() {
                                $(this).dialog('close');
    //display the report after you click the agree button.
    document.getElementById("ui_form").style.display = "block";                         }
                        "Disagree": {
                            text: "Disagree",
                            id: "my-button-id2",
                            click: function() {
                                location.href = '/Reports'
            else {
                document.getElementById("ui_form").style.display = "Block";
    </script>
    <div id="dialog" style="display: none; z-index:20001">
     Please make sure you have read this information and understand clearly before enter the report.
    </div>
    When you click the report you will the popup window as below:
    when you click “Agree” the report will display and when you click “Disagree” it will back to the home page.
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Question:
    The requirements is that when you click the report on report manager you will get an popup window with the disclaimer message, only after you read this message you can click the “Agree” button, then you can continue to read the content of the report, if you
    disagree with it, you can click the “Disagree” button to back to the home or other path you want.
    Answer:
    To achieve this goal, we can add some JS or JQuery code in the report.aspx file in the path like:”C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\Pages”
    Find the path of the report.aspx file and add these code in to it.
    <script type="text/javascript" src="</script">http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
    <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
     $(function() {
            var result = new RegExp('[\?&]ItemPath=([^&#]*)').exec(window.location.href)[1];
    //get the path of the folder which the report exists
            var reportFolder = result.split('%2f')[1];
    //get the report name which you want to add this pop up window.
    var reportName = result.split('%2f')[result.split('%2f').length - 1]; 
     //hide the report before you click the agree button
           document.getElementById("ui_form").style.display = "none";
                //alert(result);
                //alert(reportFolder); //test the report folder name to see if it is correct
           if (reportName == "your report name" && reportFolder=="your folder name") {           
     $("#dialog").dialog({
                    title: "jQuery Dialog Popup",
                    height: "250",
                    modal: true,
                    buttons: {
                        "Agree": {
                            text: "Agree",
                            id: "my-button-id1",
                            click: function() {
                                $(this).dialog('close');
    //display the report after you click the agree button.
    document.getElementById("ui_form").style.display = "block";                         }
                        "Disagree": {
                            text: "Disagree",
                            id: "my-button-id2",
                            click: function() {
                                location.href = '/Reports'
            else {
                document.getElementById("ui_form").style.display = "Block";
    </script>
    <div id="dialog" style="display: none; z-index:20001">
     Please make sure you have read this information and understand clearly before enter the report.
    </div>
    When you click the report you will the popup window as below:
    when you click “Agree” the report will display and when you click “Disagree” it will back to the home page.
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

  • How to print adobe pdf with popups.

    im having problems printing popups (yellow notes) and the pdf. when i go to print, document and markups is selected but no popups show in the preview. ive tried it in adobe 6 and adobe 8 but same problem. i went to the help feature and followed the following steps. it says go to :
    edit
    preferences
    customize/comments but that is not there. i looked in diff categories but nothing.
    this doc was not created by me, im just trying to print. there are other docs but same problem. if i go to toolbar windows, i select customize toolbar but it has asterick next to it stating i cant make changes unless document is enabled

    as he,
    In Acro 8 Pro Toolbar, Click: "Review & Comment"--->"Show Comments List" From there you can sort/print/search. Under the "Options" button you can Summarize the comments. Under the "Print Comments" you can elect to print:
    "Document and comments with connector lines on separate pages"
    "Document and comments with connector lines on single pages"
    "Comments only"
    "Document and comments with sequence numbers on separate pages"
    I would experiment with the settings until you are happy with the outcome.
    Simon P

Maybe you are looking for

  • Interactive PDF forms

    Hi, In Our project we are creating an Interactive PDF form. This form shows some data that we get from the bapi.While creating the form there is no issue. We are also saving the generated PDF's at some location in the server. Through a different appl

  • Can't access iTunes Store since Leopard upgrade!

    I upgraded my G4 Powerbook to Leopard and now I can't get into the iTunes Store. I repaired my keychain, I don't have firewall or accelerator software, I didn't change anything except my OS. There is no problem with my ISP (I checked with another G4

  • Copy/Paste from Book to Book

    Seems I miss something in the documentation of FM7.1. I want to use the clipboard to copy the content from an opened book into another book (basically to temporarily migrate from one EDD/template to another). But F_ApiCopy(file, FF_INTERACTIVE) retur

  • Aurbuild saying "package not found under /var/tmp/aurbuild/pkgbuilds"

    Hello everyone I am using aurbuild for installing aur packages. Since some time now, I keep getting the error message: package not found under /var/tmp/aurbuild/pkgbuilds For example the exact message is: lib32-pciutils not found under /var/tmp/aurbu

  • Date out of JDN

    Hi, how do I get a Date out of a Julian Day e.g I have 2440589 how d I get 02.01.1970 Thanks for help, Walter