In VeryPDF PDF Extract Tool Command Line software, may I know if the X and Y coordinates represent in points and can I apply a standard factor to convert it to cm?

If I buy the developer license, do I need to integrated the coding of pdf extract in my software or just distribute it together with my software.

Actually I prefer not to touch the integration of coding in order to save my time.

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

PDF Extract Tool Command Line can be downloaded from this web page,

http://www.verypdf.com/app/pdf-extract-tool/index.html

image

After you purchase the developer license, you need only integrate the DLL or Command Line into your software, then you can redistribute it along with your software to your customers, this can be done easily.

VeryPDF
-----------------------------------------------------
May I know if the X and Y coordinates represent in points and can I apply a standard factor to convert it to cm ?

Or the factor for conversation to cm is a variance?

Customer
-----------------------------------------------------
Yes, the X and Y coordinator are represent in points, you can convert from POINT to CM easily, please look at the details at below,

const float MM2INCH = 0.03937007874015748031496062992126f; // (1 / 25.4f)
const float MM2POINT = 2.8346456692913385826771653543307f; // (1 / 25.4f) * 72

const float INCH2MM = 25.4f;
const float POINT2MM = (25.4f / 72.0f);

The unit is point, you can convert from inch or mm to point by yourself,

For Example, Set page width to 800 pixel and page height to 600 pixel,
pageWidth = 800;
pageHeight= 600;

For Example, Set page width to 8.5 inch and page height to 11 inch,
pageWidth = 8.5 * 72;
pageHeight= 11 * 72;

For Example, Set page width to 210 mm and page height to 297 mm,
pageWidth = 210 / 25.4 * 72;
pageHeight= 297 / 25.4 * 72;

You can convert your inch or mm to point to try again.

VeryPDF
-----------------------------------------------------
May I know the command for just to extract text only to the output file.

I don't need any other information I. The output.

Customer
-----------------------------------------------------
You can run following command lines to extract only text and coordinates from PDF file to text file,

pdfextract.exe -textpos D:\in.pdf D:\out.txt
pdfextract.exe -textpos -nopgbrk D:\in.pdf D:\out.txt

If you needn't coordinates, you can use "PDF to Text OCR Converter Command Line" software to instead of "PDF Extract Command Line" software, "PDF to Text OCR Converter Command Line" does extract text contents only and ignore coordinates,

http://www.verypdf.com/app/pdf-to-text-ocr-converter/try-and-buy.html#buy
http://www.verypdf.com/pdf2txt/pdf2txtocrcmd.zip

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

How to Build a Powerful Mobile Document Scanner in Just 5 Minutes? Mobile Capture SDK turns smartphones and tablets into scanners — Mobile Scanning Solution

VeryPDF released a Mobile Scanner Framework for iOS (PDF Scanner SDK for iOS) today, you can download and purchase it from this web page,

http://www.verypdf.com/app/mobile-pdf-scanner-sdk/index.html
http://www.verypdf.com/app/mobile-pdf-scanner-sdk/try-and-buy.html#buy
http://www.verypdf.com/dl2.php/PDFScannerSDK-iOS.zip

VeryPDF PDF Scanner SDK for iOS (Mobile Scanner Framework) turns your iPhone into a full-featured and powerful scanner for documents, receipts, books, photos, whiteboards, and other text. Using just your iPhone or iPad, you can quickly scan your multipage documents in high quality PDFs, edit, store and send them anywhere.

image

VeryPDF PDF Scanner SDK for iOS (Mobile Scanner Framework) uses advanced fast algorithms to accurately auto-detect document edges, straighten the documents (correct perspective), eliminate shadows and set a perfect contrast for text - black on white.

VeryPDF PDF Scanner SDK for iOS (Mobile Scanner Framework) boasts a powerful yet easy to use interface. Get instant one-tap brightness, rotation and color controls all on one screen!

Our scanner technology includes smart page detection, perspective correction and image enhancement. The batch scanning lets you scan dozens of pages in a matter of seconds.

All processing happens on your iPhone, and the confidentiality of your data is never compromised (no Internet connection needed.)

VeryPDF PDF Scanner SDK for iOS enables your application to automatically detect page borders and smartly remove background.

image

VeryPDF PDF Scanner SDK for iOS enables your application to enhance your image with up to more modes to make the contents clearer and more readable.

image

In VeryPDF PDF Scanner SDK, the scanning a document will be broken down into three simple steps:

Step 1: Detect edges.
Step 2: Use the edges in the image to find the contour (outline) representing the piece of paper being scanned.
Step 3: Apply a perspective transform to obtain the top-down view of the document.

VeryPDF Mobile Scanner Framework has done all works for you. You just need a few code lines to call it from your Xcode project, this can be done within 5 minutes,

With our mobile scanning solution you can scan any desired document with your mobile phone. With our mobile scanning solution, we turn your mobile phone into an office tool that you can use to scan documents.

image

We suggest you may download the trial version to try first,

http://www.verypdf.com/app/mobile-pdf-scanner-sdk/index.html
http://www.verypdf.com/app/mobile-pdf-scanner-sdk/try-and-buy.html#buy
http://www.verypdf.com/dl2.php/PDFScannerSDK-iOS.zip

If you encounter any problem with VeryPDF Mobile Scanner SDK, please feel free to let us know, we will assist you asap,

http://support.verypdf.com/open.php

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 iOS & iPhone & iPad, VeryPDF SDK & COM | Tagged , , , | Leave a comment

Printing PDF Files on Mac OS X and Linux

Mac OS X includes built-in support for printing PDF files. Modern versions of Linux (with CUPS) also include PDF printing support. This page provides sample code for printing PDF files on these two systems.

For Windows (which does not have built-in PDF support), we recommend our PDFPrint Command Line software.

School Printing PDF files on Mac OS X

The following code uses Core Printing and CGPDFDocument (from Core Graphics) to print PDF files. It uses all of the default settings for the specified printer, and prints all pages of the PDF file.

#include <CoreFoundation/CoreFoundation.h>
#include <ApplicationServices/ApplicationServices.h>

bool printPDF(const char *pdfFileName, const char *printerName) {
  CFStringRef s;
  CFURLRef url;
  CGPDFDocumentRef pdfDoc;
  CGPDFPageRef pdfPage;
  PMPrintSession session;
  PMPrintSettings printSettings;
  CFArrayRef printerList;
  PMPrinter printer;
  char prtName[512];
  PMPageFormat pageFormat;
  CGContextRef ctx;
  int nPages, pg, i;

  //--- load the PDF file
  s = CFStringCreateWithCString(NULL, pdfFileName, kCFStringEncodingUTF8);
  url = CFURLCreateWithFileSystemPath(NULL, s, kCFURLPOSIXPathStyle, false);
  CFRelease(s);
  pdfDoc = CGPDFDocumentCreateWithURL(url);
  CFRelease(url);
  if (!pdfDoc) {
    return false;
  }

  //--- create the Session and PrintSettings
  if (PMCreateSession(&session)) {
    CFRelease(pdfDoc);
    return false;
  }
  if (PMCreatePrintSettings(&printSettings)) {
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  if (PMSessionDefaultPrintSettings(session, printSettings)) {
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  s = CFStringCreateWithCString(NULL, pdfFileName, kCFStringEncodingUTF8);
  PMPrintSettingsSetJobName(printSettings, s);
  CFRelease(s);

  //--- set the printer
  if (PMServerCreatePrinterList(kPMServerLocal, &printerList)) {
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  printer = NULL;
  for (i = 0; i < CFArrayGetCount(printerList); ++i) {
    printer = (PMPrinter)CFArrayGetValueAtIndex(printerList, i);
    s = PMPrinterGetName(printer);
    if (CFStringGetCString(s, prtName, sizeof(prtName),
                           kCFStringEncodingUTF8)) {
      if (!strcmp(prtName, printerName)) {
        break;
      }
    }
  }
  if (i >= CFArrayGetCount(printerList)) {
    CFRelease(printerList);
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  if (PMSessionSetCurrentPMPrinter(session, printer)) {
    CFRelease(printerList);
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  CFRelease(printerList);

  //--- get the PageFormat
  if (PMCreatePageFormat(&pageFormat)) {
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  if (PMSessionDefaultPageFormat(session, pageFormat)) {
    PMRelease(pageFormat);
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }

  //--- print
  nPages = CGPDFDocumentGetNumberOfPages(pdfDoc);
  if (PMSetPageRange(printSettings, 1, nPages)) {
    PMRelease(pageFormat);
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  if (PMSessionBeginCGDocumentNoDialog(session, printSettings, pageFormat)) {
    PMRelease(pageFormat);
    PMRelease(printSettings);
    PMRelease(session);
    CFRelease(pdfDoc);
    return false;
  }
  for (pg = 1; pg <= nPages; ++pg) {
    if (PMSessionBeginPageNoDialog(session, pageFormat, NULL) ||
    PMSessionGetCGGraphicsContext(session, &ctx) ||
    !(pdfPage = CGPDFDocumentGetPage(pdfDoc, pg))) {
      PMSessionEndDocumentNoDialog(session);
      PMRelease(pageFormat);
      PMRelease(printSettings);
      PMRelease(session);
      CFRelease(pdfDoc);
      return false;
    }
    CGContextDrawPDFPage(ctx, pdfPage);
    if (PMSessionEndPageNoDialog(session)) {
      PMSessionEndDocumentNoDialog(session);
      PMRelease(pageFormat);
      PMRelease(printSettings);
      PMRelease(session);
      CFRelease(pdfDoc);
      return false;
    }
  }

  PMSessionEndDocumentNoDialog(session);
  PMRelease(pageFormat);
  PMRelease(printSettings);
  PMRelease(session);
  CFRelease(pdfDoc);
  return true;
}

School Printing PDF files on Linux

The following code uses the CUPS API to print PDF files. It uses all of the default settings for the specified printer, and prints all pages of the PDF file.

#include <cups/cups.h>

bool printPDF(const char *pdfFileName, const char *printerName)
{
  return cupsPrintFile(printerName, pdfFileName, pdfFileName, 0, NULL) != 0;
}

School Printing PDF files on Windows

On the Windows system, you can print the PDF files using VeryPDF PDFPrint Command Line application,

http://www.verypdf.com/app/pdf-print-cmd/index.html

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 Print | Tagged , | Leave a comment

How to batch print PDF files from command line? PDFPrint Command Line does support batch printing, you can run this command line to batch print all PDF files in a folder at one time

I want to buy pdf-print-cmd license and have following questions:

1. What's different with Developer License and Server License?
2. How many machines can be used per one License?

Thanks,
Customer
----------------------------------------------------

image

http://www.verypdf.com/app/pdf-print-cmd/index.html
http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html#buy

>>1. what's different with Developer License and Server License?

Please refer to following information to understand the different licenses,

Server License: It can be run on one server/computer with any number of users, it is licensed by per production server/computer (you needn't pay for development/test and backup servers), you will need to purchase a server license for each production server/computer you wish to run Server License on. Server License can be run Windows NT Server, Windows 2000 Server, Windows 2003 Server, Windows 2008 Server etc. server systems. After you purchase a server license for a server, all users on this server will able to use this product without any restrictions.

Please notice: Server License is can only be accessed by all users or applications which reside in this server, you can't place the exe file on a shared folder and use it from several clients. If you wish to use it by this method, you will need to purchase a developer license or purchase a license for each client, and register the software from each client, then each client will able to use the software without any license problem.

Developer License (Royalty Free License): It can be run on any number of servers or computers with any number of users, it is licensed by per developer. Developer License is royalty free for runtime desktop redistribution. Developer License does cover the Server License.

If you wish run our product (command line or SDK or COM) on lots of computers, you need purchase Developer License (Royalty Free License), once you purchase the Developer License, you can run our product on any number of computers, you can also integrate our product with your application and distribute it with your own application royalty free.

However, if you will run our product on one server only, the one server license will enough to you, you may choose proper license according to how many computers that you will run our product on.

You may look at full license agreement from following page,

http://www.verypdf.com/custom/license_agreement.htm

If you need Maintenance Service, please refer to our support options from following web page,

http://www.verypdf.com/custom/maintenance.htm

>>2. How many machines can be used per one License?

Thanks for your message, One Server License can be used on one machine only, the Developer License can be used on more machines.

VeryPDF
----------------------------------------------------
It means Developer License can run any computers without any limitation, does it?

Customer
----------------------------------------------------
>>It means Developer License can run any computers without any limitation, does it?

Yes, the Developer License can be run on any computers without any limitation.

VeryPDF
----------------------------------------------------
Thanks for update.

One more question:

Does pdf-print-cmd support batch printing? i.e., print multiple pdf files at the same time.

Customer
----------------------------------------------------
Yes, PDFPrint Command Line does support batch printing, you can run following command line to batch print all PDF files in a folder easily,

for %F in (D:\temp\*.pdf) do pdfprint.exe "%F"

//You can use following one command line to batch convert all of your files at one time easily,

#1: Print all PDF files in D:\temp folder,

for %F in (D:\temp\*.pdf) do "C:\VeryPDF\pdfprint.exe" "%F"

#2: Print all PDF files in D:\temp folder and sub-folders (recursion),

for /r D:\temp %F in (*.pdf) do "C:\VeryPDF\pdfprint.exe" "%F"

//You can do same thing in .bat file, but you need use "%%" to instead of "%" in .bat file,

for %%F in ("D:\temp\*.pdf") do "C:\VeryPDF\pdfprint.exe" "%%F"

for %%F in ("%CD%\*.pdf") do "C:\VeryPDF\pdfprint.exe" "%%F"

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 Print | Tagged , | Leave a comment

[VeryPDF Release Notes] VeryPDF Released a new version of PDF Form Filler SDK (with Barcode Form Filler feature) today

VeryPDF Released a new version of PDF Form Filler SDK today, the new version does support "fill barcodes into rotated form fields", just like the following screenshots,

image

The following screenshot is filled by rotated barcodes,

image

PDF Form Filler SDK (with Barcode Form Filler feature) can be downloaded from this web page,

http://www.verypdf.com/app/pdf-form-filler/try-and-buy.html#buy-sdk
http://www.verypdf.com/pdfform/pdfformsdk.zip

PDF Form Filler SDK (with Barcode Form Filler feature) has following features,

  • Fast, accurate, and reliable barcode creation, writing in PDF for use in any .NET application or environment.
  • Support popular 2D barcodes types: QR Code, Data Matrix, PDF417 and Aztec Code.
  • Support commonly used 1D barcodes symbologies: Code 128, Code 39, UPC-A, EAN-13, etc..
  • Supports color and bitonal (black and white) barcode images painted on PDF document.
  • Captions or comments can be added to the barcode programmatically by PDF graphics render.
  • Barcode encoded in PDF will compute check digits automatically.
  • Batch barcode generating in PDF pages with various of positions and rotations.
  • This SDK is completely written in C++, it can be called from C++, Delphi, C#, .NET, etc. program languages.
  • Compatible with .NET 4.0+. AnyCPU, x86 and x64 mode support.
  • Multi-threaded support for generating barcode into PDF page in high-performance, server-based applications
  • Easy to integrate .NET PDF Barcode components with various Visual Studio .NET developments.

image

 

image

You may download the free trial version of PDF Form Filler SDK (with Barcode Form Filler feature) from VeryPDF website to try, if you encounter any problem, please feel free to let us know, we will assist you asap,

http://support.verypdf.com/open.php

School See Also:

Barcode Recognition SDK/COM,
http://www.verypdf.com/app/barcode/barcode-recognition.html

Barcode Generator COM/SDK,
http://www.verypdf.com/app/barcode/index.html

PDF Form Filler SDK (with Barcode Form Filler feature),
http://www.verypdf.com/app/pdf-form-filler/try-and-buy.html#buy-sdk

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 Form Filler | Tagged , | Leave a comment
Page 2 of 1,38312345...102030...Last »