AcroPDF in VB6 - text to search in the PDF and print this page.

Okay, so I'm sure this question has been asked and answered 100 times, but for some reason that my Googling skills are seriously miss you today...

I have a legacy application built in Visual Basic 6 that generates a special form letter PDF documents.  Each PDF contains all letters that were printed so far.  I really it work all rather decently, but something came earlier that put me on programming new obsession.  I want to activate the following features of my application:

  1. The user provides a text string that must be unique among all pages of all PDF (customer ID).
  2. The application then finds the PDF containing this text string that identifies which number of the page containing this text string.
  3. Finally, send only this page to the printer.

I can now easily create, view, and print the PDF of my application.  While the creation of the document is made in a third of the reports system, display and printing functions are essentially managed using AcroPDF.dll.  Through the properties and methods available for AcroPDF object, I see that I can tell it to print only the specified pages, which gives me the last part of my needs, and I have the part of the user input down pat.  I'm just totally puzzled to find a solution to the 'step 2 '.

Suggestions, ideas or comments would be greatly appreciated.  I'm a little tired of banging my head against a wall.  Thank you for your time.

If you are only using Adobe Reader, then this feature is available.

If you have Adobe Acrobat, then you have a few options.

From: Adobe Forums [email protected]<>[email protected]>

Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

Date: Wednesday, October 26, 2011 08:15:12-0700

To: Leonard Rosenthol [email protected]<>[email protected]>

Subject: AcroPDF in VB6 - text to search in the PDF and print this page.

AcroPDF in VB6 - text to search in the PDF and print this page.

created by GHosaPhathttp://forums.adobe.com/people/GHosaPhat> in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/3991293#3991293

Tags: Acrobat

Similar Questions

  • How to search for text in all of the PDF files on a mobile device?

    How to search for text in all of the PDF files on a mobile device?

    Not possible on mobile devices.

  • I want to print the username in each page using the network printer. To identify which print this page.

    Print the computer name on each page using a network printing

    Dear all,
    Help on this issue. I want to print the username in each page using the network printer. To identify which print this page.

    As much as I know that you can't do this with every printed page, but you can use the separation pages (* .sep) and have this printed on a single page at the beginning of each print job.

    Tip: Put the separator page in the folder % WINDIR%\System32.

    See here: http://support.microsoft.com/kb/102712

    .Sep file is just a text document, the following prints only the user name:

    Name $LUser $N
    $E

    John

  • Create a CD next to the cover and printing

    Hey guys. Not sure if I'm in the right place to ask this question, but I'm having problems with my CD Cover printing. I initially created it in Photoshop, and then when I printed, the result was very poor quality. Is this something to do with the software I am using (Photoshop) or my printer/printer settings? Maybe I should use Illustrator rather conceive my CD Cover? Any help would be appreciated please. The printer I use is a Lexmark X 4650.

    Thank you.

    You're welcome, SASavva.

    Apart from the help file, you can search (if you know the words of what you are willing to work on/with, or even general search) in the Adobe help, as this research,

    Director https://www.adobe.com/cfusion/Search/index.cfm?Loc=en_US&term=Tools&Cat=support&Product=il & auto = 1

    and there are countless tutorials out there and books and videos, some of which may be better than others.

  • I just paid almost $10 to create a PDF from a jpg file, but I did it so that I can change it. Now I find that I needed another Adobe package that would create the pdf AND I would change it. What should I do now?

    I just paid almost $10 to create a PDF from a jpg file, but I did it so that I can change it. Now I find that I needed another Adobe package that would create the pdf AND I would change it. What should I do now?

    If you create a PDF file from an image, it is always a picture, and you cannot change it.

    If the image contains text, then you need to perform the text recognition (OCR) before you can actually change the text.  Acrobat can do that.

  • What are the security settings to lock a form with fields to fill and still allow someone drive to fill in the fields as as to save the form and print it?

    What are the security settings to lock a form with fields to fill and still allow someone drive to fill in the fields as as to save the form and print it?

    You want to allow someone to open your document and fill in the form (the fields that you have created), but not change or edit the form, right? Here is the answer - assuming you use Acrobat Pro and someone will open the PDF with the Acrobat Reader 9 minimum and more:

    Tools > Protection > encrypt< encrypt="" with="">

    Select YES to change security.

    Opens in a new window:

    Do not select NOT open the Document (or will require a password to open the document.)

    SELECT: Permissions (check the box next to ' Restrict editing and printing of the document. ")

    Change the following 2 settings in the drop-down list box:

    Printing allowed: select high resolution

    Changes allowed: select commenting on, fill in the fields on the form and signature of signature fields
    Selected leave: "enable access text for playback devices to screen for people with visual impairments.

    Change password Permissions (insert a password)

    Leave all the other settings alone in 'Options '.

    OK - OK

    Again enter the Permissions password (the one you entered above)

    OK - OK

    Save the PDF file to apply security [notice that (SECURED0 will appear after the title of the document]

  • Out problems with the purpose of transparency on the PDF and JPG - CS4

    I have a problem, save PDF to a file that has a square of 100% black CMYK with blur effect and it has an effect of multiplication on a gray white/blue rectangle. I wanted a simulation of the simple, similar shade that I use sometimes with white gradient / black + multiply.

    But, as I saw it in many other versions of this ad, that I'm working on them objects of white or white/gray gradient (rectangles, text) simply disappear on the PDF output. Sometimes it disappears entirely, other they appear incomplete by the measurement of the object "multiplied" above him.

    I have this problem also sometimes in transparency the value multiply on back/white gradient in a light background.

    -Pixelate effects are set at 300 DPI

    -Document color setings are CMYK

    -All the black or white in this case are 100 %K or 0 %K on CMYK

    -Illustrator CS4

    Here's a curios thing: when a white game on CMYK not 0.0.0.0, but 1.1.1.1 the problem disappear! As it does if my black is 100.100.100.100.

    But, of course, I have my file to an output log and want to go to the right, with my 100% black for the record on the right.

    I tried:

    -All mentioned pixelation in Illustrator and then saving a PDF file

    -Export directly from Illustrator

    -Flatten the layers and save as PDF

    -Record in EPS (CS2) and then the distillation on PDF 6.0

    -Import of AI on Photoshop and then saving a JPG file - it worked, but I want a PDF file for a better quality of text

    Anyone?

    Try to turn on/off the preview overprinting mode > overview of overprinting in the illustrator file. The Illustrator file looks like the PDF file when you turn on preview overprinting? If this is the case, you will need to correct overprinting objects so that they will knock out.

  • I can't find the icon 'stop loading this page' on Firefox 4.

    I can't find the icon 'stop loading this page' on Firefox 4.

    (heavily) I found the reload icon page. In general, I find places icon Firefox 4 less "intuitive" than its predecessors.

    I think it's the same button, actually. Loading a page it display an 'X' and after that it loads, it displays the circular arrow of reloading.

    For other reading, I refer at the end of the box that contains the URL. From left to right:

    site info | URL | Bookmark-star | history-drop-arrow | Stop-reload

  • How can I make Foxfire quit gives me the message Firefox prevented this page from automatically redirecting to another page?

    When I'm on some sites Firefox gives me the message Firefox prevented this page from automatically redirecting to another page? and then I have to click on allow. This happens on every page on some sites. How can I make this stop all together?

    Tools-> options-> advanced-> general, then uncheck the warn me when websites try to redirect or reload the page

  • I am able to scan from the scanner and printer, but can't seem to scan onto computor

    I am able to scan from the scanner and printer, but can't seem to scan on computor, what I have to do.

    Hello

    I suggest you to update the latest drivers for the scanner\printer and check if it helps:
    http://support.Microsoft.com/kb/283658

    Also check out this link:
    http://support.Microsoft.com/kb/323166

    It will be useful.

  • BB10 - Download the Pdf and view Pdf

    Hi all. I have trouble trying to download the pdf, and then try to view the downloaded pdf file.

    function openLink(urlLink)
    {
      blackberry.invoke.invoke({target: "sys.browser", uri:urlLink}, onInvokeSuccess, onInvokeError);
    }
    

    When the user clicks on a link, the link will be felt openLink function to download the pdf file using the BB browser. This will take the user to download screen to save in pdf format. But when I click on the downloaded pdf file it says

    «The document is empty (size 0 KB)»

    I use the wrong function to download the PDF of the app? If so, how can I download the pdf and allow users to display?

     

     

    Hello

    I don't know why your PDF is coming as 0 k, but what about the download process, and then view, I think that it is perhaps the best solution.

    Use the file transfer API to download the file. As a reminder of the success of the API call, you can then call the PDF Viewer to view the file you just downloaded. Very friendly for the user in my opinion.

    Here are some tools for learning

    API file transfer: https://developer.blackberry.com/html5/apis/blackberry.io.filetransfer.html

    Sample application: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/fileTransfer/app

    Call: https://developer.blackberry.com/html5/apis/blackberry.invoke.html

    Sample application: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/fileTransfer/app

    Appeal of basic Applications: https://developer.blackberry.com/html5/documentation/invoking_core_apps.html

  • I can't get the screenshot of Windows to function at work. I try to push the Windows and print screen key, but it does nothing.

    When I used Windows 8 Developer Preview screenshot function worked fine. The screen flashed and saved my screenshots. I pushed the Windows and print screen key. Now that I've updated, I can no longer do this. I am of ideas what is wrong. Any help would be great!

    P.S. - This is the account I want to use! So I thought to it. In the case of my laptop (HP HDX 16 t) I have to press FN + WINDOWS KEY + print SCREEN. If anyone has the same problem, they should try it.

  • I bought photoshop in 2012 and installed on the mac, I had then. I lost the disc and need this computer. How do I install it on my new computer. Any help would be greatly appreciated. Thank you. Josh.

    I bought photoshop in 2012 and installed on the mac, I had then.  I lost the disc and need this computer. How do I install it on my new computer. Any help would be greatly appreciated. Thank you. Josh

    I hope you find the serial number... but if not, it may be worth mentioning that you can use Photoshop and Lightroom for $9.99 / month. It's a big dea; : Lightroom and Photoshop | Plan of creative photography of cloud to Adobe .

  • Is there a plug-in for the LR6 for the design and printing of greeting cards

    Is there a plug-in for the LR6 for the design and printing of greeting cards

    Jim

    Plug-Ins? They may be out there!

    Ideally, Photoshop is the best answer.

    But if you can save the PNG files with transparency you can easily design your own designs 'simple '.

    Design any style 'Overlay' with transparency (Roses in my video screen), this applies to any print in the print as a graphical identity plate module.

  • Google search, close the tab back to results page, he left Firefox

    When you use Internet Explorer, I do a Google search, select a result and the selection opens in a new tab. I close this selection and it goes back to the Google results page, so I can choose another result. Or, I can leave this open selection, click on the results tab and have several selections open simultaneously, each on its own tab.

    With Firefox, when I close the selection, he leaves Firefox. I have to reload Firefox and do a new search over and over again. He warns that I close the 2 tabs but there is only one.

    I jumped the last sentence. You can have several groups of tabs. You can press Ctrl + Shift + e to display the groups of tabs in the current window and consolidate the tabs that have been separated. However, normally, you don't expect a tab to open in a separate group on its own...

Maybe you are looking for