1 Reply Latest reply: Jul 30, 2012 6:51 AM by AlexDiniasi RSS

    How to get the default printer name in forms 10g

    Udaya Chand
      I have used the following code

      NAME1:=CLIENT_WIN_API_ENVIRONMENT.Read_Registry('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows', 'Device', true);
           

      but error comes.

      FRM-40734 : Internal Error:PL/SQL error occurred

      PLEASE HELP....
        • 1. Re: How to get the default printer name in forms 10g
          AlexDiniasi
          Hello,


          The code is correct.
          For the CLIENT_WIN_API_ENVIRONMENT package to work, the java code in WebUtil needs to interface with the webutil dlls JNIsharedstubs.dll and d2kwut60.dll.So please make sure that webutil is configured properly and all the required dlls are downloaded to client.

          How To Install Webutil on 10.1.2.x Oracle Application Server (Doc ID 566628.1)

          Regards,
          Alex

          If someone answer helped please mark it accordingly.