verypdf blog

Question regarding capability of PCL to PDF Conversion

Greetings.

I'm curious to know if your PCL To PDF Converter software is capable of converting captured printer port data (ordinarily destined for a LaserJet 5 on LPT1) and convert it to a viewable PDF file. The captured data is being created outside of the Windows environment (not a typical Windows printer capture file).

I have a custom written DOS program (not my creation) that has the HP PCL language hard coded into it (doesn't use an outboard printer driver), and it only spits out paper hard copies.  In other words, it requires a LaserJet printer on LPT1.  The output is a mixture of text and vector graphics.

I'm looking for a way to turn these paper copies into PDFs without having to manually scan them (lossy).

I've attached some files to serve as examples of what I am working with, and I'll refer to them in my explanation.

I found a DOS program that is capable of accurately capturing the printer port data and writing it to a file. The file "P166.pcl" is one such capture file, which is raw binary data.  I put the ".PCL" extension on it myself (seemed appropriate to me).

This one file is the data that creates a 6 page printout.  I know the data to be accurate because I can use it to print outside the original program with the following DOS command...

COPY P166.PCL LPT1

Of course, this only works on a PC with a LaserJet connected to LPT1.

The .JPG images are photos of the 6 pages printed with this command, which are exact duplicates of the 6 pages that come straight from the program.

I'd like to find a conversion program that I know will (for sure) work before actually purchasing.

Thank you for your time,
==================================
Please look at attached PDF file, this PDF file was created by our another version of PCL to PDF Converter product, we hoping this PDF file will reach your requirement.

After you purchased PCL Converter product from our website, please email to us your Order ID, we will send the latest version to you shortly, the latest version of PCL to PDF Converter will convert your PCL file to PDF file like attachment.

VeryPDF
==================================
Thank you so much.  This looks like exactly what I need.
If all else fails, I'll purchase this software out of my own pocket, but first, I'm going to try to get this purchased with some of my project funding.
Thanks again.
==================================
Hello again,
It turns out, I do have another question...
Does the software have something like a command line switch or some other way of choosing paper size?
I noticed that PDF you sent me was for "A4" paper.  When I try to print it without scaling, the print at the top of the page is cut off.
Here in the U.S., our standard paper size is called "letter", which is about 21.59cm x 27.94cm.  Is the PCL to PDF Converter able to support the page size?
==================================
Thanks for your message, you can run following command line to convert your PCL file to PDF file at Letter paper size,

"C:\Program Files\VeryPDF PCL Converter v2.0\pcltool.exe" -pclcmd "\"-J@PJL SET PAPER=Letter\"" C:\in.pcl C:\out.pdf

VeryPDF
===================================
Does only the newest version support the -pclcmd option you mentioned before?  I tried to paste the command line options you listed below into the downloadable trial version, and it doesn't seem to accept it.  It just displays the usage info and then exits.

It will be a couple weeks until my request gets approved to purchase the registration.  I'm not in a hurry.  I was just trying to determine if I was doing something wrong.
=======================
I'm using the pcltools.exe which date is 2009-08-26, this version does support -pclcmd option, if you are using an old version of PCL Converter application, you may download the latest version of PCL Converter from our website to try again,

https://www.verypdf.com/pcltools/index.html

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

I would like to use Image2PDF OCR on a website to convert uploaded image files to SEARCHABLE PDFs

I would like to use Image2PDF OCR on a website to convert uploaded image files to SEARCHABLE PDFs.
Using the downloaded demo…
Though, a VB standalone app on a workstation works fine.
The website baulks at the use.
I think it has to do with the command window being shown.
But, not sure.

Any way to run “silent”?
Or any better ideas?

Thank you.
======================
Please download PDF OCR Compressor Toolkit (SDK) from following web page to try,

http://www.imagepdf.com/pdf-ocr-compressor-sdk.htm

you can call PDF OCR Compressor Toolkit (SDK) from your VB code to convert image files to searchable PDF files without any problem, after you purchased it, we will send a new version of PDF OCR Compressor Toolkit (SDK) to you free, the new version does include ASP, PHP examples, you can call PDF OCR Compressor Toolkit (SDK) from ASP and PHP script, then you can convert uploaded image files to searchable PDF files from server side 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)
docprint pro

Regarding document printer v5.0 docpribt sdk

Hi,
I tried using docprint sdk. With docprint i m unable to convert doc,docx,rtf, txt ppt (ms office document) but it was able to convert  pdf,html etc with same command. Also when I open these document and print it with virtual prinert named docprintinstalled with docprint PDF driver it shows me document to print with registration message so why it is not printing from sdk

Also it gives me message of tries left and  i have very few tries left and i m still testing.
I'm using visual studio 2008 and I have open office installed not microsoft office.

Please treat it sa urgent
=========================
docPrint SDK product is depend on MS Office application to convert DOC, DOCX, RTF, PPT, PPTX, XLS, XLSX, etc. office documents to PDF and TIFF files, if your system hasn't MS Office installed, docPrint SDK will fail.

However, docPrint SDK product is able to convert HTML, MHTML PDF files to TIFF files without MS Office application installed.

Doc2any.exe is able to convert DOC, DOCX, RTF, PPT, PPTX, XLS, XLSX, etc. office documents to PDF files with OpenOffice application.

Please understand the difference between DOC to Any Converter and docPrint SDK products.

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)
powerpoint to flash

pptconv.exe C:\in.ppt C:\out.jpg with php failed

Dear Sir and Madam,

we have buy 1 Server License yestorday. we want use the command "pptconv.exe C:\in.ppt C:\out.jpg" in PHP Code.

we use VeryDOC PowerPoint Converter v3.0 for converting ppt to jpg.
we write command following command to convert jpg on command prompt,

"C:\Program Files (x86)\VeryDOC PowerPoint Converter v3.0\pptconv.exe" C:\pptx\test_2\test.pptx C:\pptx\test_2\test_jpg\test_2.jpg -width 800 -height 600 -$ XXXXXXXXXXXXXXX

it will working on command prompt but when we write that code in php like,

$pid=exec('"C:\Program Files (x86)\VeryDOC PowerPoint Converter v3.0\pptconv.exe" C:\pptx\test_2\test.pptx C:\pptx\test_2\test_jpg\test_2.jpg -width 800 -height 600 -$ XXXXXXXXXXXXXXX); echo $pid;

then no output, the error is "Conversion Finished! Result value = -2 ".

we can cache the error message in php

[0] => Thank you for choosing our product.
[1] => Loading "C:\xampp\htdocs\pptx\tmp\4e7851ab27497_in\test.pptx" file...[20%] [2] => Shutdown PowerPoint Application...[60%] [3] => Conversion Finished! Result value = -2

could you help me, what can we do for that.
our system is windows 2008.

2011-09-20
=================================
This problem can be solved easily, please refer to more solutions about this problem at following web pages,

https://www.verypdf.com/ppt-converter/convert-ppt-to-flash.htm

Call PowerPoint to SWF Converter from PHP code

PowerPoint Converter pptconv.exe return error value -3

call pptconv.exe from C# code

you can also find more article about how to use pptconv.exe from server side application from following web page,

https://www.verypdf.com/wordpress/category/powerpoint-to-flash-converter

VeryPDF
==============================
Our system is windows 2008(64 bit) and MS Office 2010.

we  try to install exeshell, and use the exeshell in php, but there is an error message.

Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `exeshell.shell': Klasse nicht registriert ' in C:\xampp\htdocs\pptx\test.php:2 Stack trace: #0 C:\xampp\htdocs\pptx\test.php(2): com->com('exeshell.shell') #1 {main} thrown in C:\htdocs\pptx\test.php

<?php
$PdfCreator =new COM("exeshell.shell") or die("Cannot start PdfCreator");
$PdfCreator->RunCommandLine("Administrator", "123456", "C:\pptconv.exe -$ XXXXXXXXXXXXXXXXXXX C:\in.ppt C:\out.swf");
$PdfCreator = null;
?>

we have test it in windows xp and office 2003, all fine.
windows xp and office 2010, all fine.
windows 2003 and office 2007, all fine.
windows 2008(64 bit) and MS Office 2010, failed.

what is the reason, don't support windows 2008(64 bit)system?
===================================
"exeshell.shell" COM is a 32bit COM, so you can’t call it from 64bit application directly.

We suggest you may by following steps to "Enable 32-bit Applications" for IIS service,

1. Create a new application pool for the helpdesk application.
2. In the new pool's advanced settings, set "Enable 32-bit Applications" to true.
3. Right-click the helpdesk application's virtual directory in IIS manager,
make sure it has been converted to application. This makes it be a separate
web application which is independent to the parent site.
4. In the virtual directory's Basic settings, change it to use the new application pool.

You can also change the settings to your original Application Pool, please go to the Application Pool tied to the web application, Advanced Properties... and setting "Enable 32-bit Applications" to True, then your ASP code can call 32bit pdfout.dll correctly.

You can also refer to more information from following web pages,

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/405f5bb5-87a3-43d2-8138-54b75db73aa1.mspx?mfr=true

http://www.eggheadcafe.com/software/aspnet/33931176/iis-7-running-32-bit-app-in-64bit-server.aspx

after you set "Enable 32-bit Applications" to true in IIS Server, you can call "exeshell.shell" COM from your application properly.

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 print

the printer is blocked until the print job is manually deleted from the printer

Hello,

we are interested in your PDFPrint Command Line tool (or even the SDK) to ship it with our software (DEV Licence).

So we downloaded the Free Download and tried to send two different PDFs to our LAN printer.

Everything looks fine, and the document reaches the printer (a Lexmark T632 PS3): the printer displays the pdf name on its display, the acitvity led is flashing, the printer makes sounds as it would start printing - but then there happens nothing more -> no paper comes out of the printer (and the printer is blocked until the print job is manually deleted from the printer).
I tried several options like setting the printer manually (-printer ".."), -mergeprintjobs, -scale 100, -scalex 100 -scaley 100, -useunicode 0/1, -prompt, .... the result was always the same ...

If the same pdfs were printed using the -shell option (printing via Adobe Reader) the document is printed like a charm.

Are there any more hints or tipps you can give us to get the printing working?

Kind Regards,
===============================
We suggest you may add -raster2 parameter to try again,

Pdfprint.exe -raster2 C:\test.pdf

We hoping -raster2 parameter will work better for you.

VeryPDF
================================
thank you very much for your quick reply.
Unfortunately, neither the -raster2 nor the -raster parameter are improving the situation.
(Even more we noticed that with the -raster2 parameter the "-prompt" paramerter is ignored/has no effect.)

Is it possible you have any other suggestions?
==========================
Can you please email to us your sample PDF file for checking? after we checked your sample PDF file, we will figure out a solution to you shortly.

VeryPDF
==========================
Hello,

we tried it with the readme.pdf deployed with your printpdf commandline tool and some other manual:

(See attached file: readme.pdf)(See attached file: MindManager_Viewer_Guide.pdf)

Both work fine if printed via Adobe Reader.
======================
Hi,

I have tried to print your PDF file in my system, everything is fine.

We suggest you may by following steps to try again,

1. please download and install docPrint Pro v5.0 from following web page,

https://www.verypdf.com/artprint/index.html#dl

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

after you installed it, please set "docPrint" to default printer.

2. run following command line to print your PDF file to default printer,

pdfprint.exe D:\temp\MindManager_Viewer_Guide.pdf

you can also specify target printer by following command line,

pdfprint.exe -printer "docPrint" D:\temp\MindManager_Viewer_Guide.pdf

Can you print your PDF file correctly by docPrint virtual printer?

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)