ocr products, postscript to text/pdf/image

Question regarding postscript to ascii

When I try to run your software to convert a postscript to ASCII all I get is:

The trial version will only convert the first a few pages from a PS (postscript) file to a text file, if you need to convert more pages, please purchase it from 'www.verydoc.com' site.

Am I doing something wrong? I would send you the postscript but it contains medical records so I am unable to do so. I am trying to demo your software to convert postscripts from different systems.
==================================
We apologize for any inconvenience this may have caused to you, can you please email to us your sample postscript file and your Order ID (if you have)? after we checked your sample postscript file, we will figure out a solution to you shortly.

VeryPDF
==================================
Did you not read the email I sent?
==================================
Yes, we have read your email, can you please email us the sample PS file for test purpose?

VeryPDF
==================================
Here is a sample report that I am trying to convert to text. All I get is a blank document. I have not purchased your software yet because I have not been able to convert the attached document.
==================================
We notice your PDF file is contain embedded fonts only, so you can't extract text contents from this PS file directly, however, you can by following steps to convert your PS file to text file,

1. please download our PS to PDF Converter to convert your PS file to PDF file first,

http://www.verydoc.com/ps-to-pdf.html

you can run following command line to convert your PS file to PDF file,

ps2pdf.exe D:\temp\919064.ps D:\temp\919064.pdf

2. please use our PDF to Text OCR Converter Command Line to convert your PDF file to text file,

https://www.verypdf.com/pdf2txt/pdf-to-text-ocr-converter.htm

pdf2txtocr.exe -ocr D:\temp\919064.pdf

3. OK, you will get a text file from the PDF file, please refer to a sample text file in attachment, this text file was created from your PS file.

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)
pdf to image converter

PDF Extract TIFF problem submission – Wrong conversion : several horizontal images

Hello,
We have a problem during the transformation of a PDF in TIFF format. The resulting TIFF contains multiples small horizontal images per pages.
Product's name : PDF Extract TIFF COM Developer License
Operating System : Win7, 64bit
OrderID : XXXXXXXXX
Problem description :

When processing the attached PDF file (4 pages) with PDF Extract TIFF, the resulting multiple pages TIFF contains 28 images. Each of these images is 500 pixels height. Obviously we would expect a TIFF file with 4 images.
The PDF file was generated by converting a document through PDF Creator.
Do you see where the problem is ?
Thank you in advance,
Best regards.
===============================
This is because your original PDF file is contain lots of "band" images, they are not the entire images, you can use "AutoMergeStrips" option to merge these "band" images into an entire image, please refer to following sample code,

PDFExtractToTIFF_SetLicenseKey("XXXXXXXXXXXXXXXXXXX");
PDFExtractToTIFF_SetOptions("bQuickTIFFExtraction", "0");
PDFExtractToTIFF_SetDPI(300,300);
PDFExtractToTIFF_SetOptions("AutoInvertBWImage","0");
PDFExtractToTIFF_SetOptions("AutoMergeStrips","1");
PDFExtractToTIFF_SetOptions("RemoveThumbnail","1");
int pagecount = PDFExtractToTIFF("C:\\test.pdf","C:\\out.tif",0,NULL,NULL);

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)
html converter (htmltools)

How do I call html to pdf command line without DOS window?

as agreed at that time we made the purchase of the product,

As I have mentioned earlier would include the possibility of non-black (ms-dos) screen appears when running the program

or include a parameter for silent mode  ?
============================
You can use CreateProcess() and CreatePipe() functions to call html to PDF command line application and hide the DOS window, please look at the source code at blow,

http://support.microsoft.com/kb/190351

Sample code

/*++

Copyright (c) 1998  Microsoft Corporation

Module Name:

Redirect.c

Description:
This sample illustrates how to spawn a child console based
application with redirected standard handles.

The following import libraries are required:
user32.lib

Dave McPherson (davemm)   11-March-98

--*/

#include<windows.h>
#pragma comment(lib, "User32.lib")
void DisplayError(char *pszAPI);
void ReadAndHandleOutput(HANDLE hPipeRead);
void PrepAndLaunchRedirectedChild(HANDLE hChildStdOut,
HANDLE hChildStdIn,
HANDLE hChildStdErr);
DWORD WINAPI GetAndSendInputThread(LPVOID lpvThreadParam);

HANDLE hChildProcess = NULL;
HANDLE hStdIn = NULL; // Handle to parents std input.
BOOL bRunThread = TRUE;

void main ()
{
HANDLE hOutputReadTmp,hOutputRead,hOutputWrite;
HANDLE hInputWriteTmp,hInputRead,hInputWrite;
HANDLE hErrorWrite;
HANDLE hThread;
DWORD ThreadId;
SECURITY_ATTRIBUTES sa;

// Set up the security attributes struct.
sa.nLength= sizeof(SECURITY_ATTRIBUTES);
sa.lpSecurityDescriptor = NULL;
sa.bInheritHandle = TRUE;

// Create the child output pipe.
if (!CreatePipe(&hOutputReadTmp,&hOutputWrite,&sa,0))
DisplayError("CreatePipe");

// Create a duplicate of the output write handle for the std error
// write handle. This is necessary in case the child application
// closes one of its std output handles.
if (!DuplicateHandle(GetCurrentProcess(),hOutputWrite,
GetCurrentProcess(),&hErrorWrite,0,
TRUE,DUPLICATE_SAME_ACCESS))
DisplayError("DuplicateHandle");

// Create the child input pipe.
if (!CreatePipe(&hInputRead,&hInputWriteTmp,&sa,0))
DisplayError("CreatePipe");

// Create new output read handle and the input write handles. Set
// the Properties to FALSE. Otherwise, the child inherits the
// properties and, as a result, non-closeable handles to the pipes
// are created.
if (!DuplicateHandle(GetCurrentProcess(),hOutputReadTmp,
GetCurrentProcess(),
&hOutputRead, // Address of new handle.
0,FALSE, // Make it uninheritable.
DUPLICATE_SAME_ACCESS))
DisplayError("DupliateHandle");

if (!DuplicateHandle(GetCurrentProcess(),hInputWriteTmp,
GetCurrentProcess(),
&hInputWrite, // Address of new handle.
0,FALSE, // Make it uninheritable.
DUPLICATE_SAME_ACCESS))
DisplayError("DupliateHandle");

// Close inheritable copies of the handles you do not want to be
// inherited.
if (!CloseHandle(hOutputReadTmp)) DisplayError("CloseHandle");
if (!CloseHandle(hInputWriteTmp)) DisplayError("CloseHandle");

// Get std input handle so you can close it and force the ReadFile to
// fail when you want the input thread to exit.
if ( (hStdIn = GetStdHandle(STD_INPUT_HANDLE)) ==
INVALID_HANDLE_VALUE )
DisplayError("GetStdHandle");

PrepAndLaunchRedirectedChild(hOutputWrite,hInputRead,hErrorWrite);

// Close pipe handles (do not continue to modify the parent).
// You need to make sure that no handles to the write end of the
// output pipe are maintained in this process or else the pipe will
// not close when the child process exits and the ReadFile will hang.
if (!CloseHandle(hOutputWrite)) DisplayError("CloseHandle");
if (!CloseHandle(hInputRead )) DisplayError("CloseHandle");
if (!CloseHandle(hErrorWrite)) DisplayError("CloseHandle");

// Launch the thread that gets the input and sends it to the child.
hThread = CreateThread(NULL,0,GetAndSendInputThread,
(LPVOID)hInputWrite,0,&ThreadId);
if (hThread == NULL) DisplayError("CreateThread");

// Read the child's output.
ReadAndHandleOutput(hOutputRead);
// Redirection is complete

// Force the read on the input to return by closing the stdin handle.
if (!CloseHandle(hStdIn)) DisplayError("CloseHandle");

// Tell the thread to exit and wait for thread to die.
bRunThread = FALSE;

if (WaitForSingleObject(hThread,INFINITE) == WAIT_FAILED)
DisplayError("WaitForSingleObject");

if (!CloseHandle(hOutputRead)) DisplayError("CloseHandle");
if (!CloseHandle(hInputWrite)) DisplayError("CloseHandle");
}

///////////////////////////////////////////////////////////////////////
// PrepAndLaunchRedirectedChild
// Sets up STARTUPINFO structure, and launches redirected child.
///////////////////////////////////////////////////////////////////////
void PrepAndLaunchRedirectedChild(HANDLE hChildStdOut,
HANDLE hChildStdIn,
HANDLE hChildStdErr)
{
PROCESS_INFORMATION pi;
STARTUPINFO si;

// Set up the start up info struct.
ZeroMemory(&si,sizeof(STARTUPINFO));
si.cb = sizeof(STARTUPINFO);
si.dwFlags = STARTF_USESTDHANDLES;
si.hStdOutput = hChildStdOut;
si.hStdInput  = hChildStdIn;
si.hStdError  = hChildStdErr;
// Use this if you want to hide the child:
//     si.wShowWindow = SW_HIDE;
// Note that dwFlags must include STARTF_USESHOWWINDOW if you want to
// use the wShowWindow flags.

// Launch the process that you want to redirect (in this case,
// Child.exe). Make sure Child.exe is in the same directory as
// redirect.c launch redirect from a command line to prevent location
// confusion.
if (!CreateProcess(NULL,"Child.EXE",NULL,NULL,TRUE,
CREATE_NEW_CONSOLE,NULL,NULL,&si,&pi))
DisplayError("CreateProcess");

// Set global child process handle to cause threads to exit.
hChildProcess = pi.hProcess;

// Close any unnecessary handles.
if (!CloseHandle(pi.hThread)) DisplayError("CloseHandle");
}

///////////////////////////////////////////////////////////////////////
// ReadAndHandleOutput
// Monitors handle for input. Exits when child exits or pipe breaks.
///////////////////////////////////////////////////////////////////////
void ReadAndHandleOutput(HANDLE hPipeRead)
{
CHAR lpBuffer[256];
DWORD nBytesRead;
DWORD nCharsWritten;

while(TRUE)
{
if (!ReadFile(hPipeRead,lpBuffer,sizeof(lpBuffer),
&nBytesRead,NULL) || !nBytesRead)
{
if (GetLastError() == ERROR_BROKEN_PIPE)
break; // pipe done - normal exit path.
else
DisplayError("ReadFile"); // Something bad happened.
}

// Display the character read on the screen.
if (!WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),lpBuffer,
nBytesRead,&nCharsWritten,NULL))
DisplayError("WriteConsole");
}
}

///////////////////////////////////////////////////////////////////////
// GetAndSendInputThread
// Thread procedure that monitors the console for input and sends input
// to the child process through the input pipe.
// This thread ends when the child application exits.
///////////////////////////////////////////////////////////////////////
DWORD WINAPI GetAndSendInputThread(LPVOID lpvThreadParam)
{
CHAR read_buff[256];
DWORD nBytesRead,nBytesWrote;
HANDLE hPipeWrite = (HANDLE)lpvThreadParam;

// Get input from our console and send it to child through the pipe.
while (bRunThread)
{
if(!ReadConsole(hStdIn,read_buff,1,&nBytesRead,NULL))
DisplayError("ReadConsole");

read_buff[nBytesRead] = '\0'; // Follow input with a NULL.

if (!WriteFile(hPipeWrite,read_buff,nBytesRead,&nBytesWrote,NULL))
{
if (GetLastError() == ERROR_NO_DATA)
break; // Pipe was closed (normal exit path).
else
DisplayError("WriteFile");
}
}

return 1;
}

///////////////////////////////////////////////////////////////////////
// DisplayError
// Displays the error number and corresponding message.
///////////////////////////////////////////////////////////////////////
void DisplayError(char *pszAPI)
{
LPVOID lpvMessageBuffer;
CHAR szPrintBuffer[512];
DWORD nCharsWritten;

FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,
NULL, GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)&lpvMessageBuffer, 0, NULL);

wsprintf(szPrintBuffer,
"ERROR: API    = %s.\n   error code = %d.\n   message    = %s.\n",
pszAPI, GetLastError(), (char *)lpvMessageBuffer);

WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),szPrintBuffer,
lstrlen(szPrintBuffer),&nCharsWritten,NULL);

LocalFree(lpvMessageBuffer);
ExitProcess(GetLastError());
}

//////////////////////////////////////////////////////////////////////
// child.c
// Echoes all input to stdout. This will be redirected by the redirect
// sample. Compile and build child.c as a Win32 Console application and
// put it in the same directory as the redirect sample.
//
#include<windows.h>
#include<stdio.h>
#include<string.h>

void main ()
{
FILE*    fp;
CHAR     szInput[1024];

// Open the console. By doing this, you can send output directly to
// the console that will not be redirected.

fp = fopen("CON", "w");
if (!fp) {
printf("Error opening child console - perhaps there is none.\n");
fflush(NULL);
}
else
{

// Write a message direct to the console (will not be redirected).

fprintf(fp,"This data is being printed directly to the\n");
fprintf(fp,"console and will not be redirected.\n\n");
fprintf(fp,"Since the standard input and output have been\n");
fprintf(fp,"redirected data sent to and from those handles\n");
fprintf(fp,"will be redirected.\n\n");
fprintf(fp,"To send data to the std input of this process.\n");
fprintf(fp,"Click on the console window of the parent process\n");
fprintf(fp,"(redirect), and enter data from it's console\n\n");
fprintf(fp,"To exit this process send the string 'exit' to\n");
fprintf(fp,"it's standard input\n");
fflush(fp);
}

ZeroMemory(szInput,1024);
while (TRUE)
{
gets(szInput);
printf("Child echoing [%s]\n",szInput);
fflush(NULL);  // Must flush output buffers or else redirection
// will be problematic.
if (!_stricmp(szInput,"Exit") )
break;

ZeroMemory(szInput,strlen(szInput) );

}
}

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)
pdf to vector converter

convert a PCL file to pdf but the image did not convert

I downloaded your product for trial and tried to convert a PCL file to pdf but the image did not convert. Before I buy your product is it possible to convert images on a PCL format to pdf?

Attached is the file in a PCL format that needs to be converted to pdf then to word document.

Thank you for your help.
=========================
Please look at attached PDF file, this PDF file was created by our PCL to PDF Converter product, everything is fine in this PDF file.

Will this PDF file reach your requirement?

VeryPDF
=========================
Thank you for your reply, looks like maybe because I have a trial version.  Is it possible to convert a pdf back to PCL, does your software have this ability?
=========================
Yes, our PDF to Vector can convert from PDF file to PCL file, you can download PDF to Vector from following web page to try,

http://www.verydoc.com/pdf-to-vector.html

for example,

pdf2vec.exe C:\test.pdf C:\out.pcl

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)
pdf form filler, pdf split-merge, pdfcamp printer

How to use your software

Dear Sirs
I ordered a PDF package. The receipt is attached.
Only the Password  removal is available through the icon, in the work area.
The Icon of the Form Filler give access only to the operation instructions.
The others were installed, but I have no access neither via “to start” nor icons to be used.
Please send instructions for the installation- do you recommend uninstall all programs and start a new installation?
Rgds
==================================
For the VeryPDF Form Filler software, after you installed it, please run it, click "File"->"Open" menu to open a fillable PDF file, then you can fill the forms easily.

For the PDFcamp Printer (PDF Writer) application, after you installed it, you'll see a "PDFcamp Printer" in your printer&fax folder, please open a DOC file in MS Word application, print it to PDFcamp Printer, your word document will be converted to PDF file automatically.

For the PDF Split-Merge, after you installed it, you can simple run it from "Start"->"All Programs"->"VeryPDF PDF Split-Merge v3.0", then you can split and merge your PDF files easily.

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)