I want get the text contents and positions from a PDF file

Hi,

I already have bought VeryPDF to Any Converter and I would like to evaluate pdf-extract-tool. I am interested in the text position functionality. I have downloaded it but can't get it to work.

Can someone help out.

Thanks
Customer
------------------------------------------
Thanks for your message, you can download and purchase "PDF Extract Tool Command Line" from this web page,

http://www.verypdf.com/app/pdf-extract-tool/try-and-buy.html#buy
http://www.verypdf.com/dl2.php/verypdf_pdf_extract_tool.zip
http://www.verypdf.com/order.php?order=soft&s=102518&p=102518-162084813&q=1&v=0&d=0

after you download it, you can run following command lines to extract text and position from PDF file and save to a text file,

pdfextract.exe -outfolder D:\out\ D:\in.pdf
pdfextract.exe -textpos D:\in.pdf D:\out.txt
pdfextract.exe -textpos -nopgbrk D:\in.pdf D:\out.txt
pdfextract.exe -$ "XXXXXXXXXXXXXXXX" -textpos test-form.pdf _test-form-pos.txt

the converted text file contains following information, you can write a script to parse the position for each word easily,

Page #1] *** initial words ***

word: x=242.30..293.90 y=49.94..61.93 base=59.50 fontSize=13.94 'Request'
word: x=298.62..315.08 y=49.94..61.93 base=59.50 fontSize=13.94 'for'
word: x=319.80..376.42 y=49.94..61.93 base=59.50 fontSize=13.94 'Taxpayer'
word: x=491.92..510.83 y=52.40..60.43 base=58.80 fontSize=8.96 'Give'
word: x=513.89..533.95 y=52.40..60.43 base=58.80 fontSize=8.96 'form'
word: x=537.01..545.64 y=52.40..60.43 base=58.80 fontSize=8.96 'to'
word: x=548.70..562.31 y=52.40..60.43 base=58.80 fontSize=8.96 'the'
word: x=46.85..63.02 y=55.78..62.13 base=60.75 fontSize=6.97 'Form'
word: x=70.22..108.70 y=42.83..65.27 base=60.75 fontSize=23.90 'W-9'
word: x=46.85..62.60 y=64.54..70.90 base=69.52 fontSize=6.97 '(Rev.'
word: x=64.95..97.37 y=64.54..70.90 base=69.52 fontSize=6.97 'November'
word: x=99.72..117.04 y=64.54..70.90 base=69.52 fontSize=6.97 '2005)'
word: x=491.92..535.55 y=62.36..70.39 base=68.76 fontSize=8.96 'requester.'
word: x=538.62..550.74 y=62.36..70.39 base=68.76 fontSize=8.96 'Do'
word: x=553.81..567.75 y=62.36..70.39 base=68.76 fontSize=8.96 'not'
word: x=187.09..269.66 y=64.87..76.86 base=74.44 fontSize=13.94 'Identification'
word: x=274.38..322.35 y=64.87..76.86 base=74.44 fontSize=13.94 'Number'
word: x=327.07..349.66 y=64.87..76.86 base=74.44 fontSize=13.94 'and'
word: x=354.38..431.65 y=64.87..76.86 base=74.44 fontSize=13.94 'Certification'
word: x=46.85..78.43 y=75.31..80.76 base=79.58 fontSize=5.98 'Department'
word: x=80.48..85.68 y=75.31..80.76 base=79.58 fontSize=5.98 'of'
word: x=87.74..96.15 y=75.31..80.76 base=79.58 fontSize=5.98 'the'
word: x=98.21..121.35 y=75.31..80.76 base=79.58 fontSize=5.98 'Treasury'
word: x=491.92..512.66 y=72.32..80.35 base=78.72 fontSize=8.96 'send'
word: x=515.72..524.35 y=72.32..80.35 base=78.72 fontSize=8.96 'to'
word: x=527.41..541.02 y=72.32..80.35 base=78.72 fontSize=8.96 'the'
word: x=544.08..561.49 y=72.32..80.35 base=78.72 fontSize=8.96 'IRS.'
word: x=46.85..66.68 y=82.28..87.73 base=86.55 fontSize=5.98 'Internal'
word: x=68.81..92.18 y=82.28..87.73 base=86.55 fontSize=5.98 'Revenue'
word: x=94.31..114.13 y=82.28..87.73 base=86.55 fontSize=5.98 'Service'
word: x=75.46..93.93 y=92.56..98.92 base=97.54 fontSize=6.97 'Name'
word: x=96.29..105.33 y=92.56..98.92 base=97.54 fontSize=6.97 '(as'
word: x=107.69..128.22 y=92.56..98.92 base=97.54 fontSize=6.97 'shown'
word: x=130.59..138.46 y=92.56..98.92 base=97.54 fontSize=6.97 'on'
word: x=140.83..154.52 y=92.56..98.92 base=97.54 fontSize=6.97 'your'
word: x=156.88..179.74 y=92.56..98.92 base=97.54 fontSize=6.97 'income'
word: x=182.11..191.66 y=92.56..98.92 base=97.54 fontSize=6.97 'tax'
word: x=194.02..214.17 y=92.56..98.92 base=97.54 fontSize=6.97 'return)'
word: x=75.46..103.74 y=116.57..122.93 base=121.55 fontSize=6.97 'Business'
word: x=106.15..125.41 y=116.57..122.93 base=121.55 fontSize=6.97 'name,'
word: x=127.82..131.43 y=116.57..122.93 base=121.55 fontSize=6.97 'if'
word: x=133.84..159.54 y=116.57..122.93 base=121.55 fontSize=6.97 'different'
word: x=161.95..176.28 y=116.57..122.93 base=121.55 fontSize=6.97 'from'
word: x=178.69..197.81 y=116.57..122.93 base=121.55 fontSize=6.97 'above'
word: x=168.85..200.85 y=143.08..149.44 base=148.06 fontSize=6.97 'Individual/'
word: x=391.93..396.91 y=146.08..152.55 base=150.81 fontSize=4.98 '?'
word: x=500.05..523.95 y=143.08..149.44 base=148.06 fontSize=6.97 'Exempt'
word: x=526.32..540.65 y=143.08..149.44 base=148.06 fontSize=6.97 'from'
word: x=543.02..566.28 y=143.08..149.44 base=148.06 fontSize=6.97 'backup'
word: x=248.05..285.14 y=147.33..153.68 base=152.30 fontSize=6.97 'Corporation'
word: x=312.85..348.68 y=147.20..153.55 base=152.17 fontSize=6.97 'Partnership'
word: x=370.45..387.95 y=147.33..153.68 base=152.30 fontSize=6.97 'Other'
word: x=75.46..95.48 y=151.05..157.41 base=156.03 fontSize=6.97 'Check'
word: x=97.84..133.87 y=151.05..157.41 base=156.03 fontSize=6.97 'appropriate'
word: x=136.23..149.91 y=151.05..157.41 base=156.03 fontSize=6.97 'box:'
word: x=168.85..182.67 y=151.05..157.41 base=156.03 fontSize=6.97 'Sole'
word: x=184.90..215.63 y=151.05..157.41 base=156.03 fontSize=6.97 'proprietor'

image

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in VeryPDF SDK & COM | Tagged , | Leave a comment

We need to convert excel pages into a flipbook and store centrally on our server

Dear Sir/Madam

We need to convert excel pages into a flipbook and store centrally on our server.

Can you please answer the following:

1. What package would we need?
2. Is the purchase a one off fee. For example once we purchased it can we use it as we wish?
3. Can you confirm there are no monthly/yearly subscriptions or hosting involved? for example would we able to use it on our server.
4. Once the flipbook is created, is it editable so we can update/change the information?
5. We have some members of staff that are field based, i.e. they travel on the road seeing customers. Would they be able to view the flipbook on their iPhone or android device. If so how can this be done.
6. Ideally we need stored on our pc's for all staff to access. Is this possible? and is there a limit to the number of users that can use it?

I look forward to hearing from you.

Kind regards
Customer
--------------------------------------------------

image
>>1. What package would we need?

You need to use "VeryPDF Flipbook Maker" software, you can download and purchase it from this web page,

http://www.verypdf.com/app/flipbook-maker/price.html
http://www.verypdf.com/order.php?order=db1&soft=order_flipbook_maker_lic0
http://www.verypdf.com/dl2.php/verypdf-flipbook-maker.exe

>>2. Is the purchase a one off fee. For example once we purchased it can we use it as we wish?

Yes, the purchase is one time fee.

>>3. Can you confirm there are no monthly/yearly subscriptions or hosting involved? for example would we able to use it on our server.

Yes, there is no monthly/yearly subscription.

You can use "VeryPDF Flipbook Maker" software to create Flipbook files from PDF, Word, Excel, etc. documents first, and then upload the Flipbook files to your web host, your users will able to view these Flipbook files online directly.

>>4. Once the flipbook is created, is it editable so we can update/change the information?

"VeryPDF Flipbook Maker" software will create two type of Flipbook files, one is Flash SWF flipbook, another is HTML5 flipbook, you can't change the information in Flash SWF flipbook, but you can change the information in html5 flipbook.

>>5. We have some members of staff that are field based, i.e. they travel on the road seeing customers. Would they be able to view the flipbook on their iPhone or android device. If so how can this be done.

Yes, they can view the HTML5 Flipbooks on their iPhone or android device.

>>6. Ideally we need stored on our PCs for all staff to access. Is this possible? and is there a limit to the number of users that can use it?

Yes, this is possible, there is no limit to the number of users that can use it.

btw, you can also use our online version of HTML5 Flipbook Maker from this web page, the online version of HTML5 Flipbook Maker can be used easily,

http://www.verypdf.com/online/free-flipbook-maker-online.php

VeryPDF

VN:F [1.9.20_1166]
Rating: 9.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Flipbook Maker | Tagged , , | Leave a comment

VeryPDF PDF Converter Master is the Best solution for all your PDF conversion needs

VeryPDF PDF Converter Master is also named PDF to Any Converter software, it converts PDF to 16 output formats, including Office (Word, Excel, PowerPoint), iWork, EPUB, images and more! So you can view or edit files in your preferred format.

VeryPDF PDF Converter Master for iOS is the only PDF Converter app that lets you convert PDF files to Office, iWork and other document formats right on your iPhone, iPad, without the Internet connection.

View and download all apps from App Store,

https://itunes.apple.com/us/developer/lingwen-global/id932270523

Scan & Print - Document Scanner and Printer,
https://itunes.apple.com/us/app/scan-print-document-scanner-and-printer/id1101970476?mt=8

VeryPDF AnyFile Viewer,
https://itunes.apple.com/us/app/verypdf-anyfile-viewer/id937028892?mt=8

VeryPDF PDF to Word,
https://itunes.apple.com/us/app/verypdf-pdf-to-word/id959436075?mt=8

Paper Scanner - Scan, Print and Share Papers,
https://itunes.apple.com/us/app/paper-scanner-scan-print-and-share-papers/id1073012702?mt=8

VeryPDF Scan to PDF,
https://itunes.apple.com/us/app/verypdf-scan-to-pdf/id946795179?mt=8

VeryPDF PDF Converter Master for iOS key features:

  • 8 output formats including Office, iWork and more.
  • Accurate, preserve everything as the original PDF.
  • Support iCloud drive and other cloud services.
  • 100% secured, convert PDF locally.
  • Convert PDF to Word, Excel, Pages, Numbers and more on your iPhone, iPad.

Convert your PDF files into iWork, Office and more quickly and accurately anywhere, anytime. Work more effectively with PDF Converter Master iOS version. This is the only app that you can find which lets you convert PDF to Office and iWork locally on your iOS devices.

image

When we got a PDF file on our iPhone, iPad, you can quickly convert it to Pages, Word or other document formats for easier editing. So you can reuse, edit PDF content in Pages, Word apps directly on your iPhone or iPad.

Easy-to-use PDF Converter

Once installed, PDF Converter Master will appear in "Open in…" list on your iOS device, so you can add PDF files quickly. If you have set up the iCloud, dropbox, box or Google Drive app, you can also open files from the cloud services. It takes only 3 steps to convert a PDF file to the file format you need. After conversion, you can open the output file directly, share via email or save in cloud.

Convenient way to convert PDF files

You can open PDF files received from email, open PDFs from any other apps with PDF Converter Master, open and convert PDF files from iCloud, Dropbox, import files to your iPhone, iPad via iTunes. So you can convert PDF files easily right on your iPhone, iPad.

8 Output formats

8 output formats meet all your conversion needs, including Office (docx, xlsx, pptx), iWork (pages, numbers, key), rtf, and txt. So you can easily make change or reuse PDF content.

Great formatting preservation

Accuracy is the key for PDF conversion. PDF and other document formats are totally different, thanks to the advance algorithm, it can keep the original formatting and content well in Office and iWork, so you don’t need to spend extra time to modify the content and formatting. It can handle the most complex document.

Safe and quick

PDF Converter Master convert PDF files 100% locally on your iOS device. Unlike other converters which send your document online and let you download the output file. So the confidentiality of your data is safe. Convert large PDF files in a few seconds, and no file size limitations.

System Requirements

Requires iOS 7.0 or later. Compatible with iPhone, iPad, and iPod touch. This app is optimized for iPhone 6 & 6 Plus.
Localized into following languages: English, French, German, Italian, Portuguese, Spanish, Simplified Chinese, Traditional Chinese.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF to Any Converter | Tagged , , , , , , , | Leave a comment

Need to capture a print job. How to capture a print job from Windows Print Spooler system?

Dear Sir or Madam,

We need to capture a print job sent from a medical device. The medical device only has a PS driver for an HP printer.

The idea is to point the device to my computer IP address and to have some software therein capture the print job (as if it was a printer) and then convert the print job to pdf.

Can your software do that? If yes, could you educate me on how to accomplish this? Which software modules/programs do I need to purchase?

I would like to test your solution prior to purchasing it.

Looking forward to hearing from you, I thank you in advance.

Medical Device Security
Clinical Engineering Dept.
---------------------------------------------------------------
Thanks for your message, we have more types of Printer Capturer software, you can use them to capture print jobs, you can download and test all of them from following URLs,

Solution 1. VeryPDF HookPrinter SDK

With VeryPDF HookPrinter SDK software, you can capture printer output that would normally go to a communications port such as LPT1. Useful for second stage processing such as creating PDF files, ripping, or distribution of printer output.

You can download and test VeryPDF HookPrinter SDK from following web page,

http://www.verypdf.com/app/hookprinter/index.html
http://www.verypdf.com/dl2.php/HookPrinter.zip

Please refer to user manual of VeryPDF HookPrinter SDK from this web page,

http://www.verypdf.com/app/hookprinter/user-guide.html

Solution 2. VeryPDF docPrint Printer Capturer

A HookPrinter function has been integrated into docPrint Pro v7.0 software, named VeryPDF docPrint Printer Capturer Version. VeryPDF docPrint Printer Capturer is a special version of docPrint which contain two virtual printers and a Printer Capturer module, after you install it, you will see two virtual printers appear in the Printer&Fax folder, after you enable Printer Capturer Module and print a document to any Windows Printer (except for docPrint), docPrint Printer Capturer will work by following steps,

  1. You enables Printer Capturer Module and print a document to "HP LaserJet Professional P1108" or other printers,
  2. Printer Capturer Module (HookPrinter) will capture this print job, redirect it to docPrint virtual printer,
  3. docPrint virtual printer will convert this print job to PDF, PS, EPS, TIF, JPG, PNG, BMP, GIF, etc. formats first, and then forward original print job to original printer ("HP LaserJet Professional P1108" or other printers) for printing continue,
  4. OK, the original printing process will continue and without any interruption, at same time, you will get PDF, PS, EPS, TIF, JPG, PNG, BMP, GIF, etc. formats in the predefined folder.

docPrint Pro v7.0 software can be downloaded from this web page,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro

Please by following steps to test "-hookprinter" option,

1. Download and install docPrint Pro v7.0 version,

http://www.verypdf.com/artprint/docprint_pro_setup.exe

2. Run following application to set Printer Capturer options,

"C:\Program Files (x86)\docPrint Pro v7.0\artprint.exe" -hookprinter

image

  1. Please click "Install HookPrinter" button to install Hook first.
  2. Please click "Apply" and "Save&Close" buttons before you print a document to any Windows printer.
  3. OK, HookPrinter will capture printed documents automatically.
    *Note: You MUST close this dialog before print any document.

Also:

  • You need select a folder for "Save Captured Documents to" option to save the captured documents.
  • You need click "Install HookPrinter" button to install Printer Capturer.
  • You need click "Save&Close" button to close this dialog.
  • When you print a document to an arbitrary Windows Printer, you will get the captured documents appear in predefined folder automatically.

"-hookprinter" option will capture everything that you sent to any Windows Printer (except for docPrint printer). If you want just print a document to docPrint first, and then forward to other printers, you can use "-forward-options" option to do the Printer Redirection, for example,

"C:\Program Files (x86)\docPrint Pro v7.0\artprint.exe" -forward-options

You will see following dialog, you can build a "Printer Redirection Relationship" between docPrint and target printer,

image

After you set the necessary options, click "Save&Close" button to close this dialog, you can print a document to docPrint, docPrint will redirect the print job to predefined printer automatically.

"-hookprinter" and "-forward-options" are two different printer capture and forwarding methods, you can choose either one according to your requirements.

Solution 3. Print a document to docPrint or docPrint PDF Driver and save to a new PDF or image or other formats.

This solution is simple, after you install the docPrint Pro software, you will see two printers appear in the Printer&Fax folder, docPrint and docPrint PDF Driver. You can simple print a document to docPrint or docPrint PDF Driver and save to a new PDF or image or other formats easily.

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in docPrint Pro | Tagged , , , , | 2 Comments

C# syntax for encrypt.dll, an attempt was made to load a program with the incorrect format

my syntax is as follows,

[DllImport("encryptpdf.dll", EntryPoint = "veryEncryptPDF")]
public static extern long EncryptPDF(string inFileName, string outFileName, long EncryptLen, long permission, string OWNER, string user);

however when I try to use it i get an error 'An attempt was made to load a program with the incorrect format'.

I assume the problem is in my declaration syntax. Please provide a correction.

Customer
-------------------------------------------
I changed my declaration to,

[DllImport("encryptpdf.dll", EntryPoint = "veryEncryptPDF")]
public static extern long VeryEncryptPDF(string inFileName, string outFileName,long EnctyLen,long permission, string OwnerPassword, string UserPassword);

and still get the same error, but if I change the target platform to x86 from AnyCPU, I get this error,

System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Strangely, it feels like progress, but it would be nice if you had more support examples on how your dll works. 

Customer
-------------------------------------------

image
We have created a C# project for you, please test the C# project in attachment.

btw, you can change from "long" to "int" or "integer" in the declaration, you will get it work properly, for example,

[DllImport("encryptpdf.dll", EntryPoint = "veryEncryptPDF")]
public static extern int VeryEncryptPDF(string inFileName, string outFileName,int EnctyLen,int permission, string OwnerPassword, string UserPassword);

below is the full C# example,

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using System.Runtime.InteropServices;

using System.IO;

 

namespace example_CSharp

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

 

        [DllImport("encryptpdf.dll", EntryPoint = "veryEncryptPDF")]

        public static extern int EncryptPDF(string strInFileName, string strOutFileName,
         
int nEncryptLen, int nPermission, string
strOwnerPassword,
         
string strUserPassword);

 

        int GetPermission(bool Print, bool Copy, bool Modify, bool EnableAcroFormFields)

        {

            int permission = 0;

 

            if (Print)

                permission |= 0x04;

            if (Copy)

                permission |= 0x10;

            if (Modify)

                permission |= 0x08;

            if (EnableAcroFormFields)

                permission |= 0x20;

 

            return permission;

        }

 

        private void button1_Click(object sender, EventArgs e)

        {

            string appPath = Path.GetDirectoryName(Application.ExecutablePath);

            string strInPDFFile = appPath + "\\test1.pdf";

            string strOutPDFFile = appPath + "\\_test1_encrypted.pdf";

            int nEncyptLevel = 128;

            int nPermission = GetPermission(true, true, true, true);

            EncryptPDF(strInPDFFile, strOutPDFFile, nEncyptLevel, nEncyptLevel,
            "123", "456");

        }

    }

}

 

 

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Security | Tagged , | Leave a comment
Page 20 of 1,400« First...10...1819202122...304050...Last »