Getting printers from client on Web Forms

I want to capture the network printers from the client pc to
store in a database column for batch printing. On a client
server I was able to use ORA_FFI to get the print dialog but you
cannot use this on web forma. Has anyone any ideas on how to
get round this, maybe with Java, but I have no Java experience.
Phil
null

I would be happy to use this demo,but,after replacing the jre that formserver was using with jre1.3.*,and setting the system path,classpath to point to this new JRE,look what I'm getting in the JAVA console:
oracle.forms.demos.uploadclient.FileUploader: LoadFile : File Selection
oracle.forms.demos.uploadclient.FileUploader: Selected File = C:\copiere\Elementul.java
oracle.forms.demos.uploadclient.FileUploader: <PERFORM UPLOAD>
java.lang.NullPointerException
     at oracle.ewt.lwAWT.LWComponent.addNotify(Unknown Source)
     at java.awt.Container.addNotify(Unknown Source)
     at java.awt.Window.addNotify(Unknown Source)
     at java.awt.Dialog.addNotify(Unknown Source)
     at java.awt.Dialog.conditionalShow(Unknown Source)
     at java.awt.Dialog.show(Unknown Source)
     at java.awt.Component.show(Unknown Source)
     at java.awt.Component.setVisible(Unknown Source)
     at oracle.forms.demos.uploadclient.FileUploaderProgressBar.setVisible(FileUploaderProgressBar.java:136)
     at oracle.forms.demos.uploadclient.FileUploader.loadFile(FileUploader.java:357)
     at oracle.forms.demos.uploadclient.FileUploaderLoadThread.run(FileUploaderLoadThread.java:40)
oracle.forms.demos.uploadclient.FileUploader: </PERFORM UPLOAD>
Any tips why FileUploader is crashing?

Similar Messages

  • Image not scaling when loading from client in web forms

    I'm using formsserver 6i patchset 11
    I've created a java class wich extends oracle.forms.ui.VImage
    I'm loading a jpg file from the client into a bean area with this implementation class.
    However the image doesn't fit into the bean area(for 1/3 second wants to fit ,and then enlarge herself ,and I'm only seeing a part of the image).
    I'm using:
    public boolean setProperty(ID p0, Object p1)
    if (p0==loadimage)
    Image theimage=getToolkit().getImage(p1.toString()) ;
    this.setCanvasOrigin(0,0);
    this.setCanvasSize(513,338);//bean area's width and height
    this.setImage(theimage);
    return true;
    else
    return super.setProperty(p0, p1);
    What should I do more ,in order to have the whole image loaded and adapted to the bean area??
    Any tips??

    I would be happy to use this demo,but,after replacing the jre that formserver was using with jre1.3.*,and setting the system path,classpath to point to this new JRE,look what I'm getting in the JAVA console:
    oracle.forms.demos.uploadclient.FileUploader: LoadFile : File Selection
    oracle.forms.demos.uploadclient.FileUploader: Selected File = C:\copiere\Elementul.java
    oracle.forms.demos.uploadclient.FileUploader: <PERFORM UPLOAD>
    java.lang.NullPointerException
         at oracle.ewt.lwAWT.LWComponent.addNotify(Unknown Source)
         at java.awt.Container.addNotify(Unknown Source)
         at java.awt.Window.addNotify(Unknown Source)
         at java.awt.Dialog.addNotify(Unknown Source)
         at java.awt.Dialog.conditionalShow(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at oracle.forms.demos.uploadclient.FileUploaderProgressBar.setVisible(FileUploaderProgressBar.java:136)
         at oracle.forms.demos.uploadclient.FileUploader.loadFile(FileUploader.java:357)
         at oracle.forms.demos.uploadclient.FileUploaderLoadThread.run(FileUploaderLoadThread.java:40)
    oracle.forms.demos.uploadclient.FileUploader: </PERFORM UPLOAD>
    Any tips why FileUploader is crashing?

  • How to get information from ODBC sources to Forms Builder environment

    Hi,
    Could anyone help me, to get some examples or more information, that how can I get information from ODBC sources to Forms Builder environment. I have a need to read data for example to LOV.

    If you are on Forms 6i you install the Oracle Client Adaptor from the Forms CD. You then have a way of connecting to ODBC datasources.
    To connect to ODBC at the same time as you are connected to Oracle you can use the EXEC_SQL package to create a second connection via odbc and issue select statements against that datasource.

  • Re; Getting data from a live web site, based on geo-location.

    re; Getting data from a live web site, based on geo-location.
    Approx 4 minutes 25 seconds into this YouTube Adobe ELearning video for Common JavaScript Interface in Adobe Captivate 8, the topic of extracting data from a live web site http://api.openweathermap.org
    Is there anywhere we can download this Adobe Captivate weather ticker project? or get some more complete tutorial on setting it up?  I tried to copy some of the code shown in the video, but can't get it to work, so I suspect I'm missing something somewhere.
    I would like to try it out.
    Video Here:   https://www.youtube.com/watch?v=u1ZfG47k24k

    Could windows Firewall be stopping this geo-location weather ticker app from working? When I start Captivate 8, I get the message indicating the the firewall is blocking some features of the program. When I check the geo var it seems empty.
    Name: AdobeCaptivateWS
    It then refers to some temp folder such as
    Path: C:\users\{username}\appdata\local\temp\cp3320604394session\cptrustfolder3320604659\adobec aptivatews
    Network Location: Public, private, domain networks
    etc...

  • Passing Parameter from URL to Web Forms - Oracle 10 Application Server

    Hi All -
    I want to pass parameter from a URL to 10g Oracle Web Forms - Oracle Application Server 10.1.2
    http://server1/forms/frmservlet?config=SATWEB_SSO&otherparams=username_sso=BABUS
    How to receive this 'username_sso' value inside my forms application ?
    Created a Parameter in the same name as URL parameter 'username_sso' in forms but didn't receive the value. I want to know how to receive the value of this parameter within forms from URL.
    Thanks - Suresh

    Try this,
    1. Create a parameter in the formsweb.cfg (say username_sso) under default section ( or you can create it in your own config section)
    2. Add the username_sso in otherparams parameter as username_sso=%username_sso%
    3. Add this username_sso parameter in your form.
    4. Run the form as
    http://<machine>:<port>.....?form=blahblah....&otherparams=username_sso=scott
    Regards,
    Arun

  • Automatically generate PDF from Oracle Applications web forms

    Hi,
    One can configure Oracle Applications to use a template (PDF, XSL, etc) for a certain web form, which basically allows the user to manually click a button on the form to Export it.
    On the other hand, how to do this automatically? In other words, is it possible to automatically export a form to PDF, and store it in DB, after a user inserts data?

    Hello Malas,
    if you don't need complex layouts, then try as_pdf_mini from Anton Scheffer
    http://technology.amis.nl/blog/8650/as_pdf-generating-a-pdf-document-with-some-plsql
    or
    http://reseau.erasme.org/PL-FPDF,1337?lang=fr
    Regards
    Marcus
    Edited by: Marwim on 14.03.2012 13:54

  • New client cant get ip from dhcp server (web authentication)

    We have WLC 5508 with two SSID staff (vlan 58, PSK auth) and customer (vlan 48, web auth)
    Recently, new client can connect to SSID staff without problem but It cant get IP when it connect to Customer SSID.
    many other client ( smart phone, laptop) which connect for few week still connect to Customer normally.
    DHCP server still have a lot of IP for wireless client. 
    We want to use firewall to make policy for Customer so we put gateway of vlan 48 on the firewall.
    Please check the dubug client file.
    Thanks.

    The debug just shows a single DHCP Discover attempt when attaching to WLAN with VLAN 48 interface.  It appears the client is simply not pulling an IP (not the WLCs responsibility), although you are using DHCP-Proxy.
    Can you put a wired client in VLAN 48 on the same switch as the WLC and have a client pull an IP?

  • Getting ItemStateChanged from more than one form

    Is this a bug in the MOTOROKR E6 or am I missing something? Advice from experienced coders would be really appreciated.
    My MIDlet has to detect itemStateChanged for any item in the current form (Form1 or Form2 in the example) and update a ticker common to both the forms.
    Works fine in any emulator including MOTOROKR_E6_E6e emulator.
    Works fine in Sony Ericsson k700i even when built using Motorola SDK for Linux products.
    On MOTOROKR E6, after once changing to Form2 and back to Form1, Form1 no longer detects itemStateChanged when typing a new value in textField1.
    Please advise any workaround, I need to collect data from 2 forms, if I have to include all the fields on one form it would recult in unacceptable amount of scrolling down to get at the fields. The ticker has to be updated immediately when values are changed in either form.
    Code appended below, IDE used was NetBeans 5.5.
    Thanks in advance, Darryl
    * BugReport.java
    package BugReport;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class BugReport extends MIDlet implements CommandListener, ItemStateListener {
       public BugReport() {
           initialize();
       private Form form1;                    
       private Form form2;
       private Command exitCommand1;
       private Command exitCommand2;
       private Command screenCommand1;
       private TextField textField1;
       private TextField textField2;
       private Ticker ticker1;                  
       public void commandAction(Command command, Displayable displayable) {                   
           if (displayable == form2) {                    
               if (command == exitCommand2) {                  
                   getDisplay().setCurrent(get_form1());                      
                   form1.setItemStateListener(this);               
           } else if (displayable == form1) {
               if (command == screenCommand1) {                   
                   getDisplay().setCurrent(get_form2());                      
                   form2.setItemStateListener(this);               
               } else if (command == exitCommand1) {                    
                   exitMIDlet();                      
       private void initialize() {                     
           getDisplay().setCurrent(get_form1());                     
       public Display getDisplay() {                        
           return Display.getDisplay(this);
       public void exitMIDlet() {                        
           getDisplay().setCurrent(null);
           destroyApp(true);
           notifyDestroyed();
       public Form get_form1() {
           if (form1 == null) {                     
               form1 = new Form(null, new Item[] {get_textField1()});                      
               form1.addCommand(get_exitCommand1());
               form1.addCommand(get_screenCommand1());
               form1.setCommandListener(this);
               form1.setTicker(get_ticker1());                    
               form1.setItemStateListener(this);
           return form1;
       public Form get_form2() {
           if (form2 == null) {                     
               form2 = new Form(null, new Item[] {get_textField2()});                      
               form2.addCommand(get_exitCommand2());
               form2.setCommandListener(this);                    
               form2.setTicker(get_ticker1());
           return form2;
       public Command get_exitCommand1() {
           if (exitCommand1 == null) {                     
               exitCommand1 = new Command("Exit", Command.EXIT, 1);                     
           return exitCommand1;
       public Command get_exitCommand2() {
           if (exitCommand2 == null) {                     
               exitCommand2 = new Command("Back", "Back to Form1", Command.EXIT, 1);                     
           return exitCommand2;
       public Command get_screenCommand1() {
           if (screenCommand1 == null) {                     
               screenCommand1 = new Command("Form2", "Show Form2", Command.SCREEN, 1);                     
           return screenCommand1;
       public TextField get_textField1() {
           if (textField1 == null) {                      
               textField1 = new TextField("textField1 on Form1", null, 120, TextField.ANY);                      
           return textField1;
       public TextField get_textField2() {
           if (textField2 == null) {                      
               textField2 = new TextField("textField2 on Form2", null, 120, TextField.ANY);                      
           return textField2;
       public Ticker get_ticker1() {
           if (ticker1 == null) {                      
               ticker1 = new Ticker("Welcome");                      
           return ticker1;
       public void startApp() {
       public void pauseApp() {
       public void destroyApp(boolean unconditional) {
       // Everything works fine on any of the emulators
       // Tested and works fine on Sony Ericsson k700i
       //  Buggy omly on M0TOROKR E6
       public void itemStateChanged(Item item) {
           // Even this doesn't execute after returning to Form1 from Form2'
           ticker1.setString("Some Change");
           if (getDisplay().getCurrent() == form1) {
               // This works fine on first entry to Form1
               // but doesn't work after coming back to Form1 from Form2'
               ticker1.setString("Change in Form1");
           } else if (getDisplay().getCurrent() == form2) {
               ticker1.setString("Change in Form2");
    }

    OK guys, I've found my workaround.
    By using form.set(int itemNum, Item item) I'm able to reuse the same form and the problem doesn't arise.
    Hope my experience is useful to anyone who faces the same bug in any Motorola handset.
    Regards, Darryl

  • How to place file on server through client vie web-forms

    We are on 9i application server, which is being used all over the nation through URL. Now is there any way/option to place file on the server through form-web page.
    Thanks.

    Here's an example:
    http://e-ammar.net/Oracle_TIPS/using__webutil_file_transfer.htm

  • PL/SQL Region : Getting values from PL/SQL generated form?  (APEX 2.2.0)

    Hi, all,
    If I've got an PL/SQL region that dynamically generates a form using HTMLDB_ITEM.TEXTAREA, what is the best way to get the contents of those form data at submit time?
    Thanks,
    Don
    Message was edited by:
    Don_84
    Edited for clarity.

    Don,
    The apex_item (nee htmldb_item) functions take an index number as a parameter. So if you give the textarea function p_idx=>1, it creates item f01. If you give it p_idx=>2, it creates item f02, etc. In your after-submit code, access the package variable apex_application.g_fxx where xx is the index number you used.
    Scott

  • How can I get data from barcode reader to forms

    Hi Experts,
    Forms 6i
    I would like to gather data from barcode reader.
    Any idea if you got please share.
    Thanks in advance.

    Hi,
    I think its working same like keyboard.  Either you type the code manually or you can read it from scanner.  With the help of keyboard you can able to type anything on the cursor position, on the same way the barcode-scanner is also working.  Just like a copy and paste the scanner copies the data from physical device and paste it into your corrent cursor position.  There is no separate program codings needed for this job.

  • Not getting response from Client Proxy

    Hi,
    We are developing a scenario - File->PI->Proxy using ABAP Proxies.We are posting a file thru PI 7.0 to R/3 .In R/3 the server proxy(Inbound Asynchronous) will receive the message and BAPI will be called. The response from the BAPI will be reaching the server proxy and passed to the client proxy(Outbound Asynchronous).
       Server Proxy(request) --> BAPI --> Server Proxy(response) --> Client Proxy(response)
    The response from the client proxy has to be send to PI and a file will be generated as the output.
    Can anyone provide me suggestions to call client proxy from a server proxy by passing the response message to client proxy???
    Thanks in advance.
    Regards,
    Dibyajyoti

    Hi,
    I hope, you are done till the Implementation of Server Proxy, where you are calling a Bapi and passing the Input variables the Interface received and BAPI is giving a response back.
    Now your question, how to send the response back Asynchronously.
    I think, you have to do the same, what you do for a client proxy  and at last  call the method EXECUTE_ASYNCHRONOUS before the Final Commit Staement. I think this should work.
    But using Synchronous Interface in such cases is always a handy and easier option.
    Regards,
    Subhendu

  • Hyperion Planning customization on getting data from RDBMS posting to form

    Hi, gurus,
    I am having requirement to retrieve some data from RDBMS and put it on a particular form at Hyperion Planning. We had customized a bit on the same form with modifying its jsp file by adding in some access control upon various user login and add graphic icon. Could anyone share some light on this POC and my understanding is the data will go through ODI and pass to a temporary table and then update to the Essbase table, please comment and point me to the reference on Hyperion planning customization.
    Thanks,
    Fei

    Hi,
    You shouldn't need to go down the route of customizing planning, I would say only go down that route if all the options are not feasible.
    In theory you should be able to use ODI to retrieve and transform the data from a relational table, then load it directly into essbase.
    The planning form will query the data in essbase and present the data in the grid.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • TS4000 how do I get notifications from client's outlook to show up on my pc? They show up just fine on my ipad and iphone...

    I love my icloud but it frustrates me that when I get outlook invitations they show up on my ipad and iphone but not my pc - I need a simple, free fix for this please - can anyone offer advice?  Thanks!

    The circle indicates perhaps the download didn't complete.
    Are you sure the entire song is on iTunes in your computer?
    Have you synced your iPhone by plugging it in to iTunes and letting the sync complete?

  • I have imported a PDF form (created in adobe acrobat XI pro) into FormsCentral.  I now want to convert this document into a web form so I can embed it into my website.  HOW DO I DO THIS?

    I took a word document I had created and added fields to it in Adobe Acrobat XI Pro.  I then imported the PDF in Forms Central and now I am stuck.  All I am able to do with it in FormsCentral is add a submit button.  It will not allow me to edit the document in FormsCentral.  What I ultimately need to do is get this converted to a web form so that I can embed it into our company website.  Additionally, once it's converted, I need to add an option for the user to attach their resume with the file before submitting.  I have looked all over the web and I cannot find an answer as to whether or not I can convert PDFs to web forms in FormsCentral.  This will ultimately determine whether or not the company decides to purchase these programs after the trial version has ended in a few days.

    I tried that first, but FormsCentral does not have the capability to create tables.  The form I need to create is more advanced than what FormsCentral allows.  Do you know if there is a way to create or somehow import a table when creating a web based form on FormsCentral?

Maybe you are looking for