Problem with scanning using OCX.

HI GUYS,
I AM USING ORACLE FORMS 6I,AND I HAVE A SCANNING
SCREEN THAT IMPLEMENTED USING ole PACKAGE&ocx ,NOW MY QUESTION IS IF CLICK THE SCAN BUTTON IT WILL SHOW ME THE SCANNED FILE IN THE ocx
BUT IF THERE IS NO PAPER IT WORK THE SAME.
NO MY QUESTION IS I NEED A CONDITION IN CASE IF THE SCANNER IWTH NO PAPER IT WILL NO WORK AND IT WILL GIVE A MESSAGE FROM THE ORACLE IS IT POSSIBLE ,
THIS IS MY CODE ON THE BUTTON:
declare
my_ole OLEOBJ;
dummy number;
begin
forms_ole.activate_server('SCAN');
my_ole := forms_ole.get_interface_pointer('SCAN');
if Imaging_DImgScan.ScannerAvailable(my_ole) <> 0 then
     --dummy := Imaging_DImgScan.ShowSelectScanner(my_ole);
     dummy := Imaging_DImgScan.StartScan(my_ole);
else
message('No Scanner Detected, Please Contact The Administrator !!!');
message('No Scanner Detected, Please Contact The Administrator !!!');
end if;
end;
Regards,

Hi,
Can you open other pdf files ? Do you have Adobe Reader in your computer ? Please download and install it on your machine then try to open file(s) again:
   http://get.adobe.com/reader/
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Similar Messages

  • Problem with scanning - printer display shows "Server connection error"

    My printer has been working great and I have had no problems with scanning.  But two days ago, all of a succen I rec'd message "server connection error".  I tried to send to email as well as computer.  Got the same message.  As usual, I don't recall any action on my part that could have caused this problem.    The copying and printing functions work fine. Detailed advice to someone technically challenged will be much appreciated.  Thank you.

    Ran
    into a problem with connecting to the DB on the SQL server from the IPAM server.  The Dba and I checked the target SQL instance was enabled TCP and listening on a valid TCP port.  SQL server was set to use port 1443 for incoming connections. 
    IPAM was set by default to use 1433. 
    Also used
    netstat-n to identify issue and verified 1443 on SQL server was
    being used.  Made the correction under the IPAM provisioning wizard and connected to the database.  Fixed. 
    Important note I was able to connect to the database with a .udlfile
    without any issues
    Also note that 2012 R2 IPAM only supports 2012 SQL Enterprise.  Why?

  • Problem with scanning in Photoshop CS6 after upgrading to Mountain Lion

    After upgrading to latest version of Mountain Lion i've got a problem with scanning directly into Photoshop CS6.
    on the previous Lion version when I wanted to scan something, i just opened Photoshop -> File -> Import -> images from device
    then a new window opened up the ImageCapture app where I could choose the device I wanted to use, and then I selected the scanner (Canon CanoScan 8400F) and I could scan directly into photoshop.
    Now with Mountain Lion when I do the exact same thing, it opens a window, but it's impossible to select any device, as the new window is just a plain white window, with 2 buttons on top to rotate something that isn't there. (text is in dutch, cause I'm from the Netherlands)
    hope someone can help me out.
    I can scan with the use of the ImageCapture app without problems and then save that picture and open it in Photoshop, but it has worked before, so am I doing something wrong? or is this just a little bug
    thnx in advance for the help

    I’m having the same problem with my Epson Perfection 3200 Photo scanner and Adobe Photoshop CS6. It does the initial overview scan then I get the same blank window as BigNoud shows above. I've done a Software Update and have also updated OSX to 10.8.1.
    I know for the Epson you can get a Mountain Lion compatible scan software from SilverFast for about $35.00 as an upgrade here.
    I haven't gone that route yet as I don't want to give up any more money for my Apple/Adobe experience.
    Any help would be appreciated.

  • Problem with scanning document in PDF format to computer

    has anyone had a problem with scanning to the computer a document in pdf format from hp Photosmart 7525  e-All-in-One series wireless printer? The document appears in My Documents but when I try and open the document I get an error message that says the document cannot be opened. I can scan and open the document in TIF format. I am running Windows 7 Home Premium and I just installed the Photosmart 7525 printer. I've uninstalled and reinstalled the printer using the CD download.
    This question was solved.
    View Solution.

    Hi,
    Can you open other pdf files ? Do you have Adobe Reader in your computer ? Please download and install it on your machine then try to open file(s) again:
       http://get.adobe.com/reader/
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Hp 8600 All in one printer problem with scanning through wired network its very slow!

    Hi
        i have problem with scanning thru network which takes almost more than 2minutes very slow compared to scanning when printer connected locally with USB.  i need some solution to fix this issue. Plz advise me what needs to be done prior to scanning? 

    Welcome to the community @Larrypat 
    I understand your printer is not connecting wireless and only connecting USB. I have some questions and ideas for you that should help. Let's get to it!
    Could you please remove the USB cable, run the Print and Scan Doctor again and send me a screen shot of the results from running the diagnostic tool?
    Also let me know which model from the C7200 series you have:
    HP Photosmart C7250 All-in-One Printer
     HP Photosmart C7280 All-in-One Printer
     HP Photosmart C7288 All-in-One Printer
    Try power cycling the network devices:
    Turn off the printer and computer and unplug the router for 1 minute (do not press any buttons on the router).
    Plug the router back in and wait another minute, next turn on the printer and computer. Run the Print and Scan Doctor afterwards and try printing.
    Let me know how it goes and the results
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • ?I am getting an error when installing on my dell inspiron with latest updates for drivers.  Error 1406.  I have the problem with Scan Snap software and a full version of reader.

    ?I am getting an error when installing on my dell inspiron with latest updates for drivers.  Error 1406.  I have the problem with Scan Snap software and a full version of reader.

    Error 1402 | Error 1406 | Acrobat, Reader

  • Problem with BAPI_CUSTOMER_CREATEFROMDATA1 using JCo on IDES

    sorry, wrong board - i opened a new post
    Problem with BAPI_CUSTOMER_CREATEFROMDATA1 using JCo on IDES
    Hello everyone,
    we are working on a student project and would like to create customers (debtors) in an SAP IDES system.
    Using the ref-customer to copy from, and some personal-data below, we get the error message
    'Internal error: External no.assignment for reference customer/customer'
    We also tried with BAPI_CUSTOMER_GETINTNUMBER, and ACCOUNTGROUP ZINT (New Internet Customer, others won't work?). But CREATEFROMDATA1 takes no CustomerNo created this way, nor it wants to create one 'internal'?
    Any suggestions? Thanks a lot for your help,
    Greetings,
    Tobias Schmidbauer
              inParams = function.getImportParameterList().getStructure(
                   "PI_COPYREFERENCE");
              inParams.setValue("0000001000", "REF_CUSTMR");
              inParams.setValue("1000", "SALESORG");
              inParams.setValue("10", "DISTR_CHAN");
              inParams.setValue("00", "DIVISION");
              inParams =function.getImportParameterList().getStructure(
                   "PI_PERSONALDATA");
              inParams.setValue("Simpson", "LASTNAME");
              inParams.setValue("Homer", "FIRSTNAME");
              inParams.setValue("Jay","MIDDLENAME");
              inParams.setValue("Springfield", "CITY");
              inParams.setValue("DE", "LANGU_P");
              inParams.setValue("DE", "LANGUP_ISO");
              inParams.setValue("DE", "COUNTRY");
              inParams.setValue("EUR", "CURRENCY");
              inParams.setValue("12345", "POSTL_COD1");
    Message was edited by: Tobias Schmidbauer

    Hello Brian,
    Thanks for your pointer. Actually The customer's reference number i was providing in the PI_COPYREFERENCE structure was a sold-to party customer and it uses external customer number assignment. When i used "New Internet Customer" (that doesnt use external assignment by default) as customer's account group, the customer was created successfully and assigned customer number was returned.
    I want to ask now how could we give a customer number in the BAPI as i am unable to find any such column in any of the tables. (Customer number is an "out" parameter so it can only return the number of created customer). Secondly, how to chnage the external assignment property of a particular account group (like sold-to party). i.e, how could we change the account group configurations through SAP GUI??
    - Umair

  • Problem with scanning and memory usage

    I'm running PS CS3 on Vista Home Premium, 1.86Ghz Intel core 2 processor, and 4GB RAM.
    I realise Vista only sees 3.3GB of this RAM, and I know Vista uses about 1GB all the time.
    Question:
    While running PS, and only PS, with no files open, I have 2GB of RAM, why will PS not let me scan a file that it says will take up 300Mb?
    200Mb is about the limit that it will let me scan, but even then, the actual end product ends up being less than 100Mb. (around 70mb in most cases)I'm using a Dell AIO A920, latest drivers etc, and PS is set to use all avaliable RAM.
    Not only will it not let me scan, once a file I've opened has used up "x" amount of RAM, even if I then close that file, "x" amount of RAM will STILL be unavaliable. This means if I scan something, I have to save it, close PS, then open it again before I can scan anything else.
    Surely this isn't normal. Or am I being stupid and missing something obvious?
    I've also monitored the memory usage during scanning using task manager and various other things, it hardly goes up at all, then shoots up to 70-80% once the 70ishMb file is loaded. Something is up because if that were true, I'd actually only have 1Gb of RAM, and running Vista would be nearly impossible.
    It's not a Vista thing either as I had this problem when I had XP. In fact it was worse then, I could hardly scan anything, had to be very low resolution.
    Thanks in advance for any help

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • Problem with scanning channels

    We are trying to use BB 1.2 with a PCI-1200 card and the NI-DAQ that is included on the BB1.2 CD.
    The real problem comes when the program is opened and we've configured the channels to have more than one channel scanning and the others disconnected. (The following does not occur with only one connected channel.) The first sign of troubles comes after calibration when we try to change the vertical scale. The software gives the same number for max and min (usually 25 one channel and 0 on the other). When I attempt to change these, the computer gives two consecutive errors: the first saying that the max cannot be greater than 25 (for example) and the second saying that the min cannot be less than 25 (always the same number as the max).
    I've only gone as far as to try the scale for two channels.
    Accepting the unacceptable settings on the vertical scale, I press the go button. At this point, I get Error -10007 (my old LabVIEW nemisis). If I select only one channel on the scan list, this does not happen. I should note that I have had this problem with the PCI-1200 on two different computers. One brand new Dell and one that already has a PCI-6034E installed. I cannot cause the error with the 6034E, which tells
    me that it cannot be my computer settings. (If I acquire a few seconds of data with the 6034E, press stop, select the other card in the Channels window, and press GO, the same old problems arise.) When I use the test panels in MAX, the channels all work fine.
    Travis Bendele
    Manager of R&D
    Millar Instruments

    The patch mentioned above is attached to this comment.
    Wilbur Shen
    National Instruments
    Attachments:
    BioBench12P.exe ‏9058 KB

  • Sudden printing problems with scanned pdf documents

    Hi, I suddenly experience problems when I want to print scanned pdf documents.
    Since 2 years, I am using an iMac with a Fujitsu ScanSnap S1500M and a Samsung ML-2525W. I also use Acrobat Pro 9.0 provided with the scanner. I scan documents, save them as pdfs and print them. Worked fine until just recently. If I print scanned pdf documents, the printer give white pages. Other pdf documents get printed without problems.
    I use OS X Yosemite (10.10.1) and ScanSnap Manager 3.2.L63.
    Any advice is highly appreciated

    Hi Roger - the problem was going from 10.6.7 to 10.6.8. That is when all of the printing problems began, as well as the wifi getting flaky. I was able to get the iMac speaking politely to the printer by installing Repair 10.6.8 and re-adding the Canon printer (see below):
    Printer “failure”
    Probably the single most common 10.6.8 problem, at least as evidenced by a massive 17 page thread in Apple Support Communities, is a failure to print. The typical symptom is that the printer driver software pauses, displaying a message that states something like: “printer-state-message="/usr/libexec/cups/backend/lpd failed" or “/usr/libexec/cups/backend/dnssd failed.” Not all printers have this problem, but users report seeing the symptom in a variety of different printers.
    As is often the case with update-related problems, reinstalling 10.6.8 from the combo updater may eradicate the symptom. Another possible solution is modifying a printer file in the /etc/cups/ppd directory (as detailed in the above-linked thread).
    Unfortunately, none of these solutions are guaranteed to work. What does reliably fix the problem is to downgrade back to 10.6.7. If you’d rather stick with 10.6.8, you can instead downgrade just the quartet of printer-related files that appear to be the root cause of the symptom. These are the socket, dnssd, lpd and ipp files, located in the /usr/libexec/cups/backend directory.
    A Mac user wrote an application, Repair10.6.8 (direct download link), that automatically downgrades these four files for you. Several users report success with this program. After running the Repair app, you may also need to “reset printing system” by selecting the command from the contextual menu for the printer name in the Print & Fax System Preferences pane.
    from MacUser 10.6.8. workaround articlehttp://www.macworld.com/article/160993/2011/07/1068_bugs.html#lsrc.nl_mwweek_t_c bstories

  • HP LaserJet Pro MFP M125nw problem with scanning on samsung tablet

    Hi
    I have a problem with scaning on wireless hp app on samsung galaxy tab3. HP is online, when I tap 'scan' buttom, I can see black screen only with two buttons, preview and scan. Both of them does not work, when I tap them, there is short information - preparing scan, and -- a black screen, scanner does not move.
    When I switch off HP printer, app indicates that it is not connected.
    thank you
    Martin

    Hi,
    Please touch Preview to check
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Having a problem with creating/using a primary key on a view

    I have a problem with a primary key on a view
    I created the view and primary key as follows:
    CREATE OR REPLACE FORCE VIEW "MDD"."ROCK_LU" ("DESCRIPTION",
         UNIQUE ("DESCRIPTION") RELY DISABLE,
         CONSTRAINT "ROCK_LU_PK" PRIMARY KEY ("DESCRIPTION") RELY DISABLE) AS
    SELECT DESCRIPTION
    FROM MRMC_LU
    WHERE ROCK = 'T';
    The view with the primary key appears to have been created as there were no error messages. (The above was from the sql tab in sql developer.)
    When I try to create the foreign key on my mdd_hr table - I get an error
    /* hr_name - foreign key */
    ALTER TABLE mdd_hr add CONSTRAINT hr_name_fk FOREIGN KEY (hr_name) REFERENCES rock_lu(description);
    Error report:
    SQL Error: ORA-02270: no matching unique or primary key for this column-list.
    When I lookup the index in sql developer, rock_lu_pk is not there.
    All my other foreign keys work - but I don't understand what I am doing wrong with this one. Please help.
    glenn
    Background - as to why I want to use a view as a lookup table.
    The MRMC_LU table that the view is created from is structured like:
    DESCRIPTION - MINERAL - ROCK - MODIFIER - COMMODITY
    ANHYDRITE - T - T - T
    APLITE - T - - T
    GRAPHITE - T - - - T
    GREYWACKE - - T
    DESCRIPTION is a list of all names of minerals, rocks, modifiers and commodities. T is entered in each valid field. Often a description name is used for both a mineral and a rock or a mineral and a commodity or any other combination. Because this database is just starting up, it was more efficient to create one table that could be updated (and thereby automatically update the MINERAL_LU, ROCK_LU, MODIFIER_LY, COMMODITY_LU views) rather than create and maintain four separate but similar tables. A primary key cannot be generated for the MRMC_LU table as there are nulls in each column
    except DESCRIPTION.
    Perhaps there is a smarter way to do this?

    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_85a.htm#2065512
    You can specify constraints on views and object views. You define the constraint at the view level using the out_of_line_constraint clause. You define the constraint as part of column or attribute specification using the inline_constraint clause after the appropriate alias.
    Oracle does not enforce view constraints. However, operations on views are subject to the integrity constraints defined on the underlying base tables. This means that you can enforce constraints on views through constraints on base tables.
    Restrictions on View Constraints
    View constraints are a subset of table constraints and are subject to the following restrictions:
    You can specify only unique, primary key, and foreign key constraints on views. However, you can define the view using the WITH CHECK OPTION clause, which is equivalent to specifying a check constraint for the view.
    Because view constraints are not enforced directly, you cannot specify INITIALLY DEFERRED or DEFERRABLE.
    View constraints are supported only in DISABLE NOVALIDATE mode. You must specify the keywords DISABLE NOVALIDATE when you declare the view constraint, and you cannot specify any other mode.
    You cannot specify the using_index_clause, the exceptions_clause clause, or the ON DELETE clause of the references_clause.
    You cannot define view constraints on attributes of an object column.
    Rgds.

  • Problem with sendRedirect using relative URL in WebLogic 5.1 with SP7 & 8

    I patched to SP 7 (and also 8), and the request.sendRedirect() with relative
              URL failed. The browser simply displayed "404 - Page not found".
              This problem only happens in a cluster environment attached to a web server.
              SP6 or earlier does not have such problem.
              I noticed that the latest SP always formats the URL and returns it as a full
              absolute URL to the browser. The problem is it uses the Weblogic Server host
              URL where the request is processed (not the Web Server host URL) which is
              not visible to the internet.
              Is it possibly a bug in SP?
              

    I patched to SP 7 (and also 8), and the request.sendRedirect() with relative
              URL failed. The browser simply displayed "404 - Page not found".
              This problem only happens in a cluster environment attached to a web server.
              SP6 or earlier does not have such problem.
              I noticed that the latest SP always formats the URL and returns it as a full
              absolute URL to the browser. The problem is it uses the Weblogic Server host
              URL where the request is processed (not the Web Server host URL) which is
              not visible to the internet.
              Is it possibly a bug in SP?
              

  • Problems with text using Photoshop CC on Windows 8.1

    I am using Photoshop CC on Windows 8.1.  I get  flickering on the screen as described by others.  My main problem, however,  is that when I try to use the text tool the layer goes completely black and I cannot see what I am typing or edit the text.  I have tried updating my video card driver and my monitor driver.  I have deleted the font cache file, I have tried using Photoshop without plug ins (I use Nic plug ins).  The only thing that has worked is resetting the preferences by holding down alt+control+shift keys when starting photoshop.  This allows me to enter text normally on one photograph and one only.  Once I have completed that first photograph and load another I get the black layer.  I desperately need help.  If this continues I will have to cancel my membership as I was much better off using my Photoshop Elements 11 disc.
    Any help will be very gratefully appreciated...............help seems to be very difficult to come by Adobe you make it very difficult for your customers!

    Ok,I can appreciate that I may not have given enough information.  You state that without proper system information nobody can help, but I need to know what information is needed.  You also state that I should simply turn off hardware acceleration in the perfs.  What does that mean?  How do I do that? I have tried changing the GPU Drawing Mode to basic and it didn't work.  Is this what you mean?  You may be assuming a level of knowledge I do not have. From research I have done this seems to be a problem with windows 8.1 that Adobe have been aware of for about a year.  I have followed all the online advice I have been able to find but nothing seems to be working.
    Siren2110

  • Problems with navigation using JSF 1.0 RI

    I have a problem with faces in that navigation simply stops working. I have a page which have prev/next buttons on it, and a cancel button. Each button is of the form
    <h:form id="viewxxx">
    <h:commandButton value="XXX" styleClass="buttonInput" action="#{somebean.doSomeAction}"/>
    </h:form>
    The code behind the next/prev button action returns "success", the cancel returns an action string which returns the user to the previous screen.
    After clicking on prev/next a few times one of two possible things happen:-
    (1) the navigation stops working (all buttons do nothing)
    (2) or after pressing a button a few times the navigation starts to work.
    I tried to simplify things to find out if my backing code was causing the problem. I included a very simple button:-
    <h:form id="view_c_getridofme">
         <h:commandButton value="Test" styleClass="buttonInput" action="success"/>
    </h:form>
    and after clicking this a few time it also breaks the navigation. So I suspect something strange is going on inside the Faces implementation.
    I checked the faces-config.xml and this is correct:
    <!-- Stay on View for page next/prev -->
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/viewcorr.jsp</to-view-id>
    <redirect />
    </navigation-case>
    I tried (albeit briefly) MyFaces 1.0.3 and the navigation does not break although it does present some other issues for me. My preference would be to use Sun's JavaFaces implementation if possible.
    Can anyone shed light on this - why this may be happening?

    I experienced the same problem while re-submitting to the same page about 15 times via a command button (a list page that would get updated with every new submit).
    After having turned JSF logging on I discovered that my stylesheet (!) was interpreted by JSF as a Faces view (because of the /faces/-mapping before it) and that this caused the list page to be (incorrectly) added up towards the maximum of 15 views in the session. After 15 reloads JSF would remove the list page from view, re-create it, and I experienced the same problems as you described in the top post - no navigation worked.
    My stylesheet used to be:
    <link rel="STYLESHEET" type="text/css" href="../../css/foo.css">
    ... which kept the /faces/ mapping from the page containing the css reference, and made it look like a faces view to JSF.
    When I switched to:
    <link rel="STYLESHEET" type="text/css" href="/css/foo.css">
    ... the problem disappeared.
    Hope that helps all of you that have this problem. It certainly took me quite a while to figure it out!
    Mattias L

Maybe you are looking for

  • Digital Signatures with Adobe Reader

    So i created an adobe form with acrobat 9 and sent it out for all to digitally sign.  about half are getting an error when they try to sign it.  "The credential selected for signature is invalid" We are a government agency and use Common Access Cards

  • Trying to implement jquery clock and i have some doubts..

    First do i need to install the jquery library in apex 4... I thought jquery library already present in apex 4.. What are the new jquery features in apex 4... I am comparing it with apex 3.. I thought jquery is inbuilt in apex 4... Seeing the example

  • Custom lookup

    hello every body I just begin siebel CRM ondemand and i don't know a lot about it. I want to create custom lookup functionality to populate custom fields on an On demand page. For example Lookup a Partner Account to the Opportunity Detail Page using

  • Acrobat X Pro suddently stops working

    Periodically Acrobat X Pro just stops working; it won't open, either by trying to launch the program directly or opening a PDF. If I remove/reinstall it, it works fine for about a month, then stops again. I can't connect its failure to anything else

  • Peaks of a graph.

    I have a code for finding peaks of a graph given by someone in the forum and I have also changed it to suit my requirements. But it fails to distinguish between different peaks and also the period between two consecutive similar peaks. I am including