*quick PDF question*

Hello all....for my classes I converted the pages into printed PDF pages so I  can have the book as an ebook but when I try to do OCR recognition within PDF it  says "Acrobat could not perform recognition (OCR) on this page because: This  page has graphics other than images or text on it. It cannot be  captured"
To go around this; I want to do a "fake scan" or scan it from  the PDF files themselves rather than scan the pages on an actual scanner (since  I have the files already on PDF on my computer) so I can then do the OCR text  recognition. Does anyone know a way to do this?
Thanks for your help in  advance!

btw, to expound on it a little more...I want to have OCR text recognition! It won't let me do OCR text recognition  with the current format. I paid for the ebook via the publisher's site but the  publisher doesn't have it as PDF (makes you go on the website to view the book)  but I want to have a PDF copy of it to work with it offline away from the  publisher website (so I can do custom highlighting etc.) on my own copy of the  PDF. That is why I want to do a simulation scan so hopefully the error will go  away and then I can do OCR text recognition on it.

Similar Messages

  • Hi all .hope all is well ..A quick trim question

    Hi all
    Hope all is well ......
    I have a quick trim question I want to remove part of a string and I am finding it difficult to achieve what I need
    I set the this.setTitle(); with this
    String TitleName = "Epod Order For:    " + dlg.ShortFileName() +"    " + "Read Only";
        dlg.ShortFileName();
        this.setTitle(TitleName);
        setFieldsEditable(false);
    [/code]
    Now I what to use a jbutton to remove the read only part of the string. This is what I have so far
    [code]
      void EditjButton_actionPerformed(ActionEvent e) {
        String trim = this.getTitle();
          int stn;
          if ((stn = trim.lastIndexOf(' ')) != -2)
            trim = trim.substring(stn);
        this.setTitle(trim);
    [/code]
    Please can some one show me or tell me what I need to do. I am at a lose                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    there's several solutions:
    // 1 :
    //you do it twice because there's a space between "read" and "only"
    int stn;
    if ((stn = trim.lastIndexOf(' ')) != -1){
        trim = trim.substring(0,stn);
    if ((stn = trim.lastIndexOf(' ')) != -1){
          trim = trim.substring(0,stn);
    //2 :
    //if the string to remove is always "Read Only":
    if ((stn = trim.toUpperCase().lastIndexOf("READ ONLY")) != -1){
       trim = trim.substring(0,stn);
    //3: use StringTokenizer:
    StringTokenizer st=new StringTokenizer(trim," ");
        String result="";
        int count=st.countTokens();
        for(int i=0;i<count-2;i++){
          result+=st.nextToken()+" ";
        trim=result.trim();//remove the last spaceyou may find other solutions too...
    perhaps solution 2 is better, because you can put it in a separate method and remove the string you want to...
    somthing like:
    public String removeEnd(String str, String toRemove){
      int n;
      String result=str;
      if ((n = str.toUpperCase().lastIndexOf(toRemove.toUpperCase())) != -1){
       result= str.substring(0,stn);
      return result;
    }i haven't tried this method , but it may work...

  • Quick script question

    Hi all,
    Could anyone advise me if i can add anything within - header('Location: http://www.mysite.co.uk/thankyou.html'); in the script below so as the page
    re- directs back to the main index page after a few seconds ?
    Thankyou for any help.
    <?php
    $to = '[email protected]';
    $subject = 'Feedback form results';
    // prepare the message body
    $message = '' . $_POST['Name'] . "\n";
    $message .= '' . $_POST['E-mail'] . "\n";
    $message .= '' . $_POST['Phone'] . "\n";
    $message .= '' . $_POST['Message'];
    // send the email
    mail($to, $subject, $message, null, '');
    header('Location: http://www.mysite.co.uk/thankyou.html');
    ?>

    andy7719 wrote:
    Mr powers gave me that script so im rather confused at this point in time
    I don't think I "gave" you that script. I might have corrected a problem with it, but I certainly didn't write the original script.
    What you're using is far from perfect, but to suggest it would lay you open to MySQL injection attacks is ludicrous. For you to be prone to MySQL injection, you would need to be entering the data into a MySQL database, not sending it by email.
    There is a malicious attack known as email header injection, which is a serious problem with many PHP email processing scripts. However, to be prone to email header injection, you would need to use the fourth argument of mail() to insert form data into the email headers. Since your fourth argument is null, that danger doesn't exist.
    One thing that might be worth doing is checking that the email address doesn't contain a lot of illegal characters, because that's a common feature of header injection attacks. This is how I would tidy up your script:
    <?php
    $suspect = '/Content-Type:|Bcc:|Cc:/i';
    // send the message only if the E-mail field looks clean
    if (preg_match($suspect, $_POST['E-mail'])) {
      header('Location: http://www.example.com/sorry.html');
      exit;
    } else {
      $to = '[email protected]';
      $subject = 'Feedback form results';
      // prepare the message body
      $message = 'Name: ' . $_POST['Name'] . "\n";
      $message .= 'E-mail: ' . $_POST['E-mail'] . "\n";
      $message .= 'Phone: ' . $_POST['Phone'] . "\n";
      $message .= 'Message: ' . $_POST['Message'];
      // send the email
      mail($to, $subject, $message);
      header('Location: http://www.example.com/thankyou.html');
      exit;
    ?>
    Create a new page called sorry.html, with a message along the lines of "Sorry, there was an error sending your message". Don't put anything about illegal attacks. Just be neutral.
    By the way, when posting questions here, don't use meaningless subject lines, such as "Quick script question". If you're posting here, it's almost certain to be a question about a script. It doesn't matter whether it's quick. Use the subject line to tell people what it's about.

  • Quick Preview/PDF question......

    ...Hi All
    am baffled - i have successfully opened a PDF file/form to fill out.
    is it not possible to write to a PDF file in preview?
    Preview shows a text tool and the pdf should be able to be written to - I have full read/write /permissions, but no go. i can save to photoshop, and layer text but thats a drag.....
    i see the 'notes' option but thats no quite what i'm after.
    guess i'd just like to know how the text feature works in preview.
    if anyone can point out the obvious, i'd be most grateful - have search forums and googled, etc...
    many thnx in adv.
    John

    HI John,
    Try running Disk Utility and Repairing Disk Permissions first.
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select FirstAid, then click: Repair Disk Permissions. Quit DU when it's finished and reboot.
    Carolyn

  • Classic 'Flatten PDF' question

    So I have created a fairly complex fillable form in Acrobat Pro (10.1.8)... I have saved it for use by other users in Adobe Reader. (File>Save As>Reader Extended PDF>Enable Additional Features...)
    The users can open file in Adobe Reader just fine, all formulas work, all values display correctly, life is grand.
    Now all I want is for the user to save a 'flattened' version of the pdf to their machine, either to print or email at a later date. If the user saves the document from Reader all fields can still be edited on next use. If I use a "lock all field" button like this:
    for (var i=0; i<this.numFields; i++) {
        var f = this.getField(this.getNthFieldName(i));
        if (f!=null && f.type!="button")
            f.readonly = true;
    When I open the saved, field locked document, I lose all the formatting in my fields. (ie. no $ symbols, or commas in numbers, etc. )
    And of course, there is no "print to pdf" option when you try and go that route... which of course, would make life too easy, wouldn't it?
    So. Does anyone have a solution for what I can only imagine is a fairly common problem? I've searched high and low to no avail.

    I think I am now realizing the problem here. I wasn't real clear on the difference between Reader and Acrobat. I have always referred to them a Adobe Acrobat Pro and Adobe Acrobat Reader. I realize now that the term "Acrobat" refers to what I called Pro and Reader is actually Adobe Reader, not Acrobat Reader.
    So my question (or concern) is still, "Why did Adobe design a method of creating a file that could be changed by anyone along the line?" If I create an interactive form, send it to a client, he fills it out and sends it to someone else, they can change the data in the form. Not a very secure system if you ask me. Seems like there should be a way for the person filling out the form to "flatten" it so no one else can change the data.
    You mentioned something about a signature. I am not familiar with this function. If you can explain that quickly to me I would appreciate it. If not I will spend some time to figure it out. Although I find the help files in Acrobat very NON intuitive.

  • Urgent help with quick translation questions

    Hello,
    I am somewhat new to Java. I have a translation to hand in in a few hours (French to English). Argh! I have questions on how I worded some parts of the translation (and also if I understood it right). Could you, great developers, please take a look and see if what I wrote makes sense? I've put *** around the words I wasn't sure about. If it sounds strange or is just plain wrong, please let know. I also separated two terms with a slash, when I was in doubt of which one was the best.
    Many thanks in advance.
    1) Tips- Always ***derive*** the exceptions java.lang.Exception and java.lang.RuntimeException.
    Since these exceptions have an excessively broad meaning, ***the calling layers will not know how to
    distinguish the message sent from the other exceptions that may also be passed to them.***
    2) The use of the finally block does not require a catch block. Therefore, exceptions may be passed back to the
    calling layers, while effectively freeing resources ***attributed*** locally
    3) TIPS- Declare the order for SQL ***statements/elements*** in the constant declaration section (private static final).
    Although this recommendation slightly hinders reading, it can have a significant impact on performance. In fact, since
    the layers of access to data are ***low level access***, their optimization may be readily felt from the user’s
    perspective.
    4) Use “inlining.”
    Inlining is a technique used by the Java compiler. Whenever possible, during compilation, the compiler
    copies the body of a method in place of its call, rather than executing a ***memory jump to the method***.
    In the example below, the "inline" code will run twice as fast as the ***method call***
    5)tips - ***Reset the references to large objects such as arrays to null.***
    Null in Java represents a reference which has not been ***set/established.*** After using a variable with a
    large size, it must be ***reassigned a null value.*** This allows the garbage collector to quickly ***recycle the
    memory allocated*** for the variable
    6) TIPS Limit the indexed access to arrays.
    Access to an array element is costly in terms of performance because it is necessary to invoke a verification
    that ***the index was not exceeded.***
    7) tips- Avoid the use of the “Double-Checked Locking” mechanism.
    This code does not always work in a multi-threaded environment. The run-time behavior ***even depends on
    compilers.*** Thus, use the following ***singleton implementation:***
    8) Presumably, this implementation is less efficient than the previous one, since it seems to perform ***a prior
    initialization (as opposed to an initialization on demand)***. In fact, at runtime, the initialization block of a
    (static) class is called when the keyword MonSingleton appears, whether there is a call to getInstance() or
    not. However, since ***this is a singleton***, any occurrence of the keyword will be immediately followed by a
    call to getInstance(). ***Prior or on demand initializations*** are therefore equivalent.
    If, however, a more complex initialization must take place during the actual call to getInstance, ***a standard
    synchronization mechanism may be implemented, subsequently:***
    9) Use the min and max values defined in the java.lang package classes that encapsulate the
    primitive numeric types.
    To compare an attribute or variable of primitive type integer or real (byte, short, int, long, float or double) to
    ***an extreme value of this type***, use the predefined constants and not the values themselves.
    Vera

    1) Tips- Always ***derive*** the exceptions java.lang.Exception and java.lang.RuntimeException.***inherit from***
    ***the calling layers will not know how to
    distinguish the message sent from the other exceptions that may also be passed to them.***That's OK.
    while effectively freeing resources ***attributed*** locally***allocated*** locally.
    3) TIPS- Declare the order for SQL ***statements/elements*** in the constant declaration section (private static final).***statements***, but go back to the author. There is no such thing as a 'constant declaration section' in Java.
    Although this recommendation slightly hinders reading, it can have a significant impact on performance. In fact, since
    the layers of access to data are ***low level access***, their optimization may be readily felt from the user’s
    perspective.Again refer to the author. This isn't true. It will make hardly any difference to the performance. It is more important from a style perspective.
    4) Use “inlining.”
    Inlining is a technique used by the Java compiler. Whenever possible, during compilation, the compiler
    copies the body of a method in place of its call, rather than executing a ***memory jump to the method***.
    In the example below, the "inline" code will run twice as fast as the ***method call***Refer to the author. This entire paragraph is completely untrue. There is no such thing as 'inlining' in Java, or rather there is no way to obey the instruction given to 'use it'. The compiler will or won't inline of its own accord, nothing you can do about it.
    5)tips - ***Reset the references to large objects such as arrays to null.***Correct, but refer to the author. This is generally considered bad practice, not good.
    Null in Java represents a reference which has not been ***set/established.******Initialized***
    After using a variable with a
    large size, it must be ***reassigned a null value.*** This allows the garbage collector to quickly ***recycle the
    memory allocated*** for the variableAgain refer author. Correct scoping of variables is a much better solution than this.
    ***the index was not exceeded.******the index was not out of range***
    The run-time behavior ***even depends on compilers.***Probably a correct translation but the statement is incorrect. Refer to the author. It does not depend on the compiler. It depends on the version of the JVM specification that is being adhered to by the implementation.
    Thus, use the following ***singleton implementation:***Correct.
    it seems to perform ***a prior initialization (as opposed to an initialization on demand)***.I would change 'prior' to 'automatic pre-'.
    ***this is a singleton***That's OK.
    ***Prior or on demand initializations***Change 'prior' to 'automatic'.
    ***a standard
    synchronization mechanism may be implemented, subsequently:***I think this is nonsense. I would need to see the entire paragraph.
    ***an extreme value of this type******this type's minimum or maximum values***
    I would say your author is more in need of a technical reviewer than a translator at this stage. There are far too serious technical errors in this short sample for comfort. The text isn't publishable as is.

  • Print to PDF questions

    I have two questions. I have Acrobat 7 running on 10.5.2 on a new MBP.
    1. I can no longer successfully select the Adobe printer from the printer pop-u[p menu in the print dialog box. If I do, things seem to proceed, but the printer immediately goes to pause and will not resume. This is not a major problem, as the PDF button appears at the bottom left and that will save the file to PDF. But I am curious as to why the Adobe "virtual" printer no longer works.
    2. Previously, when using the PDF button, I could edit the menu and save PDFs to a folder of my choice. Now, when I select "edit the menu" and then hit the "+" button, I get the appropriate dialog box but cannot select a folder. I can open folders, but cannot select them as the "save to" folder. Any help here would be appreciated.

    BoySetsTheFire wrote:
    I have two questions. I have Acrobat 7 running on 10.5.2 on a new MBP.
    1. I can no longer successfully select the Adobe printer from the printer pop-u[p menu in the print dialog box. If I do, things seem to proceed, but the printer immediately goes to pause and will not resume. This is not a major problem, as the PDF button appears at the bottom left and that will save the file to PDF. But I am curious as to why the Adobe "virtual" printer no longer works.
    Some things that used to work in Tiger no longer work in Leopard. I suspect that Adobe did not rush to fix it because there is built-in way to generate PDF files already.
    2. Previously, when using the PDF button, I could edit the menu and save PDFs to a folder of my choice. Now, when I select "edit the menu" and then hit the "+" button, I get the appropriate dialog box but cannot select a folder. I can open folders, but cannot select them as the "save to" folder. Any help here would be appreciated.
    The Edit Menu feature is not designed to select a folder to save your PDF files into. It is so you can select an Automator workflow script to process your PDF file. That's how it handles such tasks as Mail PDF and Save PDF to iPhoto. You could create an Automator script to save a PDF to a particular folder, but in my experience, once you save a PDF to a folder, it becomes the default folder automatically until you select a different one.

  • Saving a pdf question

    Okay, I have a pdf I have created that has multiple fields that are set to hidden in the docReady command. Those fields are displayed only when certain events take place and are sometimes hidden again after another event takes place. The problem I am having (Or the question I am asking) is how would I keep the form from hiding those fields again when the completed form is opened later on as a reference in adobe reader.
    For example... My customer information field is set to hidden (To avoid clutter when filling out other fields) until I click a button at the end of the form to display that field. The problem I have noticed is that by putting the customer information into a subform set to hidden on the docready event, when the saved form containing my filled out form also HIDES that customer field when its opened in reader. I want the completed form to open with that customer field visible (and filled out) when the person reading the information I have put in the form opens the form. Thanks for your help and you time

    Hi,
    You could wrap the docReady script in an if statement.
    If the field(s) are null then set their presence to hidden, otherwise set their presence to visible.
    if (customerSubform.customerName == null)
         customerSubform.presence = "hidden";
    else
         customerSubform.presence = "visible";
    This is Javascript and would work in the docReady. You would need to adapt the object references.
    Hope that helps,
    Niall

  • XSL-FO PDF question

    Dear all,
    I am using Jdev. 10.1.3, and use FOP to print the reports.
    I want to ask is it possible to control the size and position of the pdf which show in the browser?
    i.e. I want show the pdf within a browser: left hand side show the fields and right hand side show the result (pdf).
    Regards.

    We do not support or answer questions on FOP .. get to XMLP and we'll help you out :o)
    regards, Tim

  • Quick NativeWindow questions.

    Hi,
    Two Quick Questions about native window actions (I am using AIR with HTML and JS):
    1. How do you "refer" to minimize button ? - So, when a user clicks minimize, it should do an action defined in javascript.
    2. How to define click event for System tray icon ? - So I can display something when my system tray icon is double-clicked.
    Thanks.

    1. Add an event listener to the window.nativeWindow object, listening for the NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING  or DISPLAY_STATE_CHANGE events.
    2. Add an event listener to your SystemTrayIcon object. You can listen for click, mouseUp or mouseDown events, but doubleClick events are not dispatched by this object.

  • Quick REGEXP_LIKE Question

    Hi everyone,
    Had a very quick question: so I need to retrieve all records that have values in this format "type:123;target_id:456". Note that the numeric value can be 1-6 digits long for either type or target_id.
    Can someone please help me with the regexp_like-ing this?
    Thank you,
    Edited by: vi2167 on May 27, 2009 2:06 PM
    Edited by: vi2167 on May 27, 2009 2:07 PM

    WHERE REGEXP_LIKE(val,'type:\d{1,6};target_id:\d{1,6}')SY.

  • Error in "Download a pdf" question

    Sorry. In haste my question said "download". I can download pdfs OK. It is when I try to COPY to Desktop that the refusal occurs because of space. I have 200G space on C:\. Please advise.

    Can you copy other items to the desktop?
    Can you just put a shortcut to the desktop?
    Assuming you are on Windows, what version?
    And what is the exact error message you are getting?

  • BarCode in PDF Question

    Hi, I try to make bar code in a PDF form. Question is, how can I make the value move from one field to another and bypassing something in between those field. For example:
    On the form on my end, I have Passport Number, Name, Exp. Date, DoB etc...the Customer would send in a form with Passport Number, Name, DoB (Bypassing the Exp.Date since this value is automatically calculated). The system is closed so I have to do with barcode. Any one please tell me how I can program the barcode so it can bypass the Exp.Date part.
    Thanks

    When you set up a bar code field, you can specify which fields you want to be included on the Value tab of the field properties dialog.

  • Export as PDF question

    Hello guys,
    I have just created business card. It is created in Photoshop, using 300 dpi and CMYK setting.
    My printshop requires PDF file, so I hit save as PDF, but it asks me more questions about additional export setting and I am not
    sure which to choose so I would end up with the best possible quality.
    Here are the choices to choose from:
    Encoding - ZIP or JPEG ? 
    Image interpolation - checked or unchecked ? 
    Include Vector Data - checked or unchecked ? 
    Could you please give me an idea, what choices to make so I would obtain the best possible picture quality PDF?
    Thank you so much for any advise.
    Paul

    Well as a prepress tech I can tell you 99% of the time the PDF/X settings are printer settings. That is what it is there for. Takes all the guess work out of it. Do one in PDF/X3 and one in PDF/X4 (if you have it, it is new). Let your printer decide; that will depend on their capabilities.
    ZIP and JPEG are forms of compression. Neither is needed for printing, it just makes the file smaller for sending. Zip is lossless and the best quality, JPEG looses quality but you get to decide how much to make the file size smaller. Choose none if file size is not an issue.
    Image interpolation has to do with color management and if you do not know what you are doing leave it at the default. If you do, check with your printer first.
    Printers rasterize all vector data in the ripping process. You can choose to do that before in the creation of your PDF if you do not want to leave it to your printers rip.
    These are all decisions having to do with the type of work you do and the confidence you have in your printer.

  • Printing to pdf question CS5.5 Windows

    I am on a PC - Windows 7 using CS5.5.
    - I have created a piece and printed to a pdf.
    - When the person on the other end prints out the margins are all off. I realize and pointed out they are using an office printer, not a high end printer. The print out seems to be proportionately reduced towards the middle\center.
    - They will have their job done at a Kinko's and I have assured them the Kinko's printer is probably all right and will adjust. I called Kinkos and asked if it needed a specific pdf profile and they said "No."
    - I have sent screen shots of the layout showing measure mark every 1/8 of an inch (placed viewable lines on the layout) so they could see how all is measured properly vis-a-vis InDesign.
    - I checked and there is zero bleed and gutter (guter doesn't apply in this case but made sure anyway).
    QUESTION - Is there anything else I can do\try or can it be the printers we are using.
    Thanks for any illumination you can give me.
    Respectfully,
    B

    Although you didn't ask about this specifically, your original post mentions that you printed to a PDF. My assumption is that you were saying that you created the PDF file by printing to the Adobe PDF PostScript printer driver instance.
    Be aware that Adobe absolutely recommends that PDF from InDesign be created by using the export function instead of the printing to the Adobe PDF PostScript printer driver instance or in any other way creating PDF via distillation of PostScript. Direct PDF export from InDesign (and the equivalent save as PDF from Illustrator and Photoshop) yields the most accurate and reliable PDF. The PostScript produced by Adobe applications is optimized for direct printing, not for PDF creation and is often very device dependent. Live transparency and color management is effectively lost and fonts are not optimized. There are other problems and issues as well. Please keep this in mind when creating PDF in the future.
    Adobe does provide PDF generation capabilities as part of Acrobat via the Adobe PDF PostScript printer driver instance as a “method of last resorts” to provide PDF creation services for applications for which there is no other or better way of PDF production.
              - Dov

Maybe you are looking for