How to know  when it pushed browser print button

Hi anyone knows how to get the print browser button event ?
I mean I have a jsp and I want to know when then IE 5 print button is pushed.
How to get the event?

It's possible there's something in JavaScript you can do to catch the event, but I've never seen it done. There's no way to do this with JSP.
Another possibility is to disable the print button in the browser and then make you're own (may only be able to do this with an applet, not sure) so you can get the callback.

Similar Messages

  • How can I turn off my computer when I push de STOP button from de program?

    How can I turn off my computer when I push de STOP button from de program?

    You might also want to have a look at the old winutil>Windows API Function Utilities (32-bit) for LabVIEW. While they are written in LabVIEW 4.0 (!), they still seem to work fine under W2000 and LabVIEW 7.0. In particular, have a look at "exit windows.vi" inside "winevent.llb" of the above link. It calls the function "ExitWindowsEx" of user32.dll. Since this is part of the OS, you don't need to include extra DLLs.
    (All the above assumes Windows OS. I don't know how to shutdown the OS on e.g. MAC or linux.)
    LabVIEW Champion . Do more with less code and in less time .

  • I'm a Microsoft Outlook for Mac user, I need information of how to know when e-mail was readed and confirm receipt of e-mails sent. thank you!  regards Mauricio

    I'm a Microsoft Outlook for Mac user, I need information of how to know when e-mail was readed and confirm receipt of e-mails sent. thank you!  regards Mauricio

    Mail and Address book

  • How to know when the PRICE AFTER DISCOUNT changed and get the value

    Hi,
    Everything I do to see if a value changed in the grid works except for PRICE AFTER DISCOUNT
    which seems to be inaccessible.
    Any idea how to know when exactly this value changed and do actions accordinly ?
    Also I always get 0.00 if I try to get the value of it
    This works to get in the condition of a vlaue changing but I always get 0.00 as the value of the column
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_DISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_DISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
        catch (Exception ex)
            SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");
    And this do not even get into the condition even tought I SEE the column PRICE AFTER DISCOUNT:
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_PRICEAFTERDISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_PRICEAFTERDISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Price after discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
         catch (Exception ex)
             SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");

    just idea, maybe it will works
    Create one udf in row level and set there FS based on changes on price after discount and fill value what is in price after discount. Then the validation make on this field instead of standard SAP field.

  • How i know when a EXECUTE_QUERY retrieved last record

    Hi...
    How i know when the EXECUTE QUERY retrieved the last record in a block ....?
    Exist a trigger after trigger POST-QUERY?
    Regards
    Hector Gabriel Ulloa Ligarius
    Santiago of Chile
    http://es.groups.yahoo.com/group/desarrolloOracle/

    Kevin, sorry
    But the :system.last_record not change the value during the execution of EXECUTE_QUERY.
    Only useful when the data was retrieved into blocks...not during..
    Other mode?
    Regards
    Hector Gabriel Ulloa Ligarius
    Santiago of Chile
    http://es.groups.yahoo.com/group/desarrolloOracle/

  • How to know when invoke bytecode implements?

    I've got a classfile - it has few invokeinterface bytecodes inside - their count is defined dynamically - when class is running.
    And I've got a program, which runs this class.
    The aim of this program - to gather statistics of invokeinterface calling frequency.
    How to know when invokeinterface bytecode implements?
    (In that moment I plan to update several digits)
    Have You got an advise for me?
    Thanks.

    You must use the debugging interface, or get a code profiler. Do a search on all forums for profiler, you'll get tons of information.

  • How to know when I'm doing a createInsert?

    how to know when I'm doing a createInsert, this to hide a button when you run this action, I am using a task flow.
    my version of jdeveloper is 12c

    hi,
      So you are using the createInsert as a method call in task flow. That is your form/table will be come new rows and you want to disable some button.
    Your task flow might be as below
          CreateInsert---->Page.
    To do so
    1.) Take properties of your method call and bind the Method property to a method in a bean (bean registered in the task flow with scope view or any higher scope)
    2) Call the create insert operation programmatically in that method.
    3) And in that method after the createinsert ,set a boolean variable in pageFlowScope.
    4)Put this variable in the disable property or visible propery of the button you wabt to hide/diable.
    eg:
        public void doCreateInserOperation(){
            try {
               // Programatically invoke CreateInsert
                DCBindingContainer bindings = (DCBindingContainer)getBindingContainer();
                bindings.getOperationBinding("CreateInsert").execute();
            //Set a variable in page Flow Scope 
            AdfFacesContext.getCurrentInstance().getPageFlowScope().put("disableButton", true)
            } catch (Exception e) {
                e.printStackTrace();
        public BindingContainer getBindingContainer() {
            FacesContext facesContext = getFacesContext();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp = elFactory.createValueExpression(elContext, "#{bindings}", Object.class);
            return (BindingContainer)valueExp.getValue(elContext);
    you can access this variable in EL expression as #{pageFlowScope.disableButton}. So when your page render it will be in CreateInsert mode and the button will be disabled/hidden.
    I hope this will help you.
    With regards,
    Gijith.

  • HT2173 How to know when a hard drive has failed ?

    How to know when a hard drive has failed ?

    Machine doesn't boot.  You experience strange crashes.  Gets wrong results.  Your harddrive is five or more years old.  Time to consider repacing it.   You do have backup?
    You may want to run these "standard" fixes if the problem persists.
    1) Check the amount of free space on your harddrive.  You should have a several gigs free.
    2) You should run disk utility
         a) verify the disk
         b) update your permissions.
    3) Try a safe boot.
        Shutdown your machine.  Hold down the shift key.  Poweron.  Wait awhile Wait awhile while you harddrive
          is being checked.
        http://support.apple.com/kb/ht1455
    4) You may want to run applejack to clean up your machine.
         http://applejack.sourceforge.net/
    a lot more ways to fix your Mac.
    http://www.thexlab.com/faqs/faqs.html
    verify & repair your startup drive
    To verify & repair you file system on the startup drive, you will need to run disk utility from you installation DVD.
    This article  will tell you how to get to disk utility.  Once in a disk utility, you can go and attempt to recover the disk.
    http://support.apple.com/kb/TS1417
    To repair your startup drive, you will need to run disk utility from your startup DVD.
    Mac OS X 10.4: About the utilities available on the Mac OS X 10.4 Install DVD
    http://support.apple.com/kb/HT2055
    How to run disk utility from your startup DVD.
    Insert your  startup DVD  into your reader.  Power down your machine.  Hold down to the c key.  Power on your machine.  This will bootup your startup DVD.
    This will bring you to a panel asking you for your language.  Pick your language.
    You you come to the Install Mac OS panel.  Do not install.
    Click on Utilities menu item.  This will give you a pulldown list of utilities.
    Click on the disk utility.
    You are now in disk utility.  Pick your disk.  Click on repair it should be on the lower right of the panel.
    Once the repair completes successfully, you should update your permissions.
    Verify a disk
    As an alternative, you can verify that the filesystem on the disk is correct. You will not be able to repair the file system.
    I suggest that you use disk utility to verify that your startup disk is OK. 
    Macintosh-HD -> Applications -> Utilities -> Disk Utility 
    Start up disk utility.  On the left pane view, you will see a list of all your disks.  
    Click on your startup disk.
    Click on the First Aid  Tab.
    Click on verify.  
    Hopefully your disk will verify.  If not, you have to boot from your installation DVD and run Disk Utility from there to attempt to repair your file-system.

  • How can I eliminate the slide when I push the home button?

    How can I eliminate the slide when I push the home button?

    What are you talking about?
    Slide to unlock?
    You cannot eliminate it.
    Something else?
    Please explain.

  • Employee lock when push browser back button

    Hello All.
    I have the following problem. I have installed the ESS in EP 620 sp2. When i was change some data from personal data iview and i push browser back button the system don´t remove the employee lock and i can´t access to my employee data.
    thanks in advance
    Raul

    use the following lines in your web.xml to avoid this bug of the current jsf-ri version.
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>I already tried to report this bug some time ago:
    http://forum.java.sun.com/thread.jsp?forum=427&thread=478928&tstart=180&trange=15

  • How to know when the JComboBox popup is about to show or hide?

    Hi all,
    In JDK 1.4, a new addPopupMenuListener() was added to the JComboBox component. I found out I have to use JDK 1.3, but I already wrote a lot of code around this particular capability. I am trying to figure out how to duplicate it in JDK 1.3. I need to know BEFORE and AFTER the popup is displayed. OR, is there a way with JDK 1.3 that as soon as they click the combo box, it fires an event. The thing is, as soon as they click it, I want to change the background color. When they are done selecting, I can use an ActionListener or ItemListener to find out what was selected and change the color again. My killer is trying to figure out how to know when they have selected the box. I tried adding MouseListener, PropertyChangeListener, AncestorListener. None are doing a thing when the JComboBox is first selected.
    Any help would be much appreciated.
    Thank you.

    Hi all,
    In JDK 1.4, a new addPopupMenuListener() was added to the JComboBox component. I found out I have to use JDK 1.3, but I already wrote a lot of code around this particular capability. I am trying to figure out how to duplicate it in JDK 1.3. I need to know BEFORE and AFTER the popup is displayed. OR, is there a way with JDK 1.3 that as soon as they click the combo box, it fires an event. The thing is, as soon as they click it, I want to change the background color. When they are done selecting, I can use an ActionListener or ItemListener to find out what was selected and change the color again. My killer is trying to figure out how to know when they have selected the box. I tried adding MouseListener, PropertyChangeListener, AncestorListener. None are doing a thing when the JComboBox is first selected.
    Any help would be much appreciated.
    Thank you.

  • When i push the off button, i want my iphone 5 to stay unlocked for 3 or 4 minutes: how do I achieve this please?

    When i push the off button, i want my iphone 5 to stay unlocked for 3 or 4 minutes: how do I achieve this please?

    When you say you want it to stay unlocked, do you mean that you don't want to have to swipe to unlock it if you push the home button in that time, or do you mean you don't want to have to ender your passcode if you turn it back on within that time?
    If you're referring to the passcode lock, Settings>General>Passcode Lock>Requie Passcode. Set the interval you want.
    If you can't change the time before it request the passcode, that's likely because you have an Exchange account set up on the phone and the administrator is enforcing a policy that requires passcode entry immediatly after placing the phone in standby.

  • Since Lion installation the remote control first generation, doesn't work as usually. On Leopard when I pushed the menu button, it opened a menu that showed music, films, photo. Now it doesn't work anymore. Is there anyone to explain me why this happen?

    Since Lion installation the remote control first generation, doesn't work as usually. On Leopard when I pushed the menu button, it opened a menu that showed music, films, photo. Now it doesn't work anymore. Is there anyone to explain me why this happen? Thank you.

    Sadly Snow Leopard was the last OS X to have Front Row and it is no longer offered in Lion or Mountain.
    see > Farewell Front Row | Macworld
    If you want, you can get it back with some tweaking.
    see > Get Front Row for Mac OS X 10.7 Lion
    or > Use Front Row In OS X Lion
    Also note: that your remote should still be working for waking the Mac, volume control and iTunes...? If it is not, let us know for help with it.

  • Right now my ipod is set on 'music'. When I push the menu button, it will not go back to the main menu's, but I can still go to all the music and play it.

    Right now my ipod classic is set on 'music'. When I push the munu button, it will not go back to the main menus, but it will still go forward and select and play music normally. I tried resetting it by holding the menu and center buttons until the apple logo appeared, but the problem is still there.

    If your battery level is low, recharge it first for at least 2 hours, preferably 4 hours.
    After the Apple Logo, you release the buttons, what do you see on the iPod screen? (language selection?)
    Have a nice day!

  • In ME22N change when I click on Print button system should generated messag

    Hi Gurus,
    Once I take the PO print next time when I go to ME22N when I click on print button system should generate the message with out clicking the repeat output.
    next time when I want take the print with out clicking the repeat output in ME22N when I click on print button system automatically generate the output message.
    For that what are the settings need to be setup.
    Thanks in advance
    sapmm

    Hi ,
    If you dont want message to be generated during PO change.Change the following setting.
    For eg. u have message type ZNEU.
    SPRO-MM-Purchasing-Mesages-Output control-message type -click Define Message Types for Purchase Order
    click on :Fine-Tuned Control: Purchase Order
    Delete the entry for operation 2 , for ZNEU.
    Thank you.
    Regards
    Amar

Maybe you are looking for

  • Configuring WASAPI in QuickTime

    Hi, I'm trying to activate WASAPI (Windows Audio Session) in Quicktime for playback using iTunes 9 in Windows XP Pro (32-bit). I'm opening Quicktime, on QuickTime Preferences I click "Audio" tab, then under Play Audio Using the "Windows Audio Session

  • Records not exported to excel completely

    hi all, We have designed a query using query generator for listing all purchase orders between a particular dates. When we execute query it is showing all records. When we export this report to excel few records keeps missing. Intially we have set Ma

  • I installed FF RC 4 - lost my addons so system restored to get FF 3.16 back. FF wouldn't work.

    Even clicking directly on Firefox.exe didn't work. I get a busy icn for 1 second then nothing at all. I then system restored back to Firefox 4RC and then that didn't work.

  • Lost my desk top icon for firefox

    my desk top icon to log into firefox deleted itself . How do I get it back? I am able to attain Mozilla via my Launch bar but would really like to have my Easy one Click desk top icon back!

  • Problems installing XP under BootCamp.

    Hello, I figured I'd give this whole BootCamp under Leopard a try just so I could see how it's done (not cause I either need or really want to run Windows on my Mac). So I started the install and it rebooted to my XP CD, but when I get to the setup s