How to convert Office files and PDF files to PCL and Postscript files?

To whom it may concern,
I have one technical question and one sales question.

First, I am looking to build a batch solution that I assume will run in an automated fashion on a Windows server. This solution will receive a list of PDF files to be printed, which in our case will mean converting to PCL so we can combine with other PCL resources. I have downloaded a trial of the docPrint SDK and I have downloaded and installed the docPrint Pro. I had a simple program working to convert a single PDF to a .pcl file, and after testing I was sidetracked for a week or two. Now that I am back working on it, the same code which once worked is now prompting me for an output file name when DocumentConverterEx is called and I can find no explanation for this. I realize this is a trial, but is there any guidance that can be provided?

DOCPRINTCOMLib.docPrint docPrintObj = new DOCPRINTCOMLib.docPrint();
docPrintObj.docPrintCOM_Register("XXXXXXXXXXXXXXX", "VeryPDF.com Company");
docPrintObj.docPrintCOM_DocumentConverterEx("", "", "\\SKTEST00.pdf", "\\pdffile2.pcl", "-* XXXXXXXXXXXXXXX -d");
docPrintObj = null;

My sales question is this - as I will be the sole developer for this application, and it will only run on a single internal server, what product/license do I require ? I see that there are both developer and server licenses, and I am thinking that a production server license is sufficient. I also there is another product listed in your knowledge base called "Auto-Print SDK", and another called "VeryDoc PDF to Vector Converter".

Sincerely,
Customer

-----------------------------------------------------------------------

image
>>Now that I am back working on it, the same code which once worked is now prompting me for an output file name when DocumentConverterEx is called and I can find no explanation for this. I realize this is a trial, but is there any guidance that can be provided?

Thanks for your message, you can use following command lines to convert DOC or DOCX file to PCL file,

"C:\Program Files (x86)\docPrint Pro v7.0\doc2pdf.exe" -i D:\downloads\file.doc -o D:\downloads\_out.pcl -s redirectprint=1

"C:\Program Files (x86)\docPrint Pro v7.0\doc2pdf.exe" -i D:\downloads\file.docx -o D:\downloads\_out.pcl -s redirectprint=1

"redirectprint=1" option will redirect the print job to PCL or Postscript printers via docPrint application.

You can also create Postscript files by "redirectprint=1" option, for example,

"C:\Program Files (x86)\docPrint Pro v7.0\doc2pdf.exe" -i D:\downloads\file.doc -o D:\downloads\_out.ps -s redirectprint=1

"C:\Program Files (x86)\docPrint Pro v7.0\doc2pdf.exe" -i D:\downloads\file.docx -o D:\downloads\_out.ps -s redirectprint=1

If you are using docPrint SDK, you can use following sample code to convert DOC or DOCX files to PCL or PS files,

DOCPRINTCOMLib.docPrint docPrintObj = new DOCPRINTCOMLib.docPrint();
docPrintObj.docPrintCOM_Register("XXXXXXXXXXXXXXX", "VeryPDF.comCompany");
docPrintObj.docPrintCOM_DocumentConverterEx("", "", "\\SKTEST00.doc", "\\pdffile2.pcl", "-* XXXXXXXXXXXXXXX -d -s redirectprint=1");
docPrintObj.docPrintCOM_DocumentConverterEx("", "", "\\SKTEST00.docx", "\\pdffile2.pcl", "-* XXXXXXXXXXXXXXX -d -s redirectprint=1");
docPrintObj.docPrintCOM_DocumentConverterEx("", "", "\\SKTEST00.doc", "\\pdffile2.ps", "-* XXXXXXXXXXXXXXX -d -s redirectprint=1");
docPrintObj.docPrintCOM_DocumentConverterEx("", "", "\\SKTEST00.docx", "\\pdffile2.ps", "-* XXXXXXXXXXXXXXX -d -s redirectprint=1");
docPrintObj = null;

If you wish convert a PDF file to PCL or PS file, you can download "PDF to Vector Converter Command Line" or "PDF to Vector Converter SDK" from this web page, you can use PDF to Vector to convert from PDF files to PCL or Postscript files easily,

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

Please feel free to let us know if you encounter any problem with above solutions.

>>My sales question is this - as I will be the sole developer for this application, and it will only run on a single internal server, what product/license do I require ? I see that there are both developer and server licenses, and I am thinking that a production server license is sufficient. I also there is another product listed in your knowledge base called "Auto-Print SDK", and another called "VeryDoc PDF to Vector Converter".

Thanks for your message, if you will run the software on a single server only, a server license will sufficient to you. If you will run the software on more systems or integrate it into your application for redistribution, you will need to purchase a developer license.

We haven't a "Auto-Print SDK" software, do you meaning the "docPrint SDK" or "PDFPrint SDK"?

For the PDFPrint SDK, you can download it from this web page, you can use PDFPrint SDK to print the PDF file to PCL or Postscript file also,

http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html#buy-sdk
http://www.verypdf.com/pdfprint/pdfprint_sdk.zip

You can use "-printtofile" option to print a PDF file to a spool file,

-printtofile <string>        : save print spooling data to a disk file

for example,

pdfprint.exe -printtofile C:\out.pcl -printer "VeryPDF PCL Printer" C:\input.pdf

pdfprint.exe -printtofile C:\out.ps -printer "VeryPDF Postscript Printer" C:\input.pdf

Yes, we have a "VeryDoc PDF to Vector Converter" software, this is a professional software which can convert from PDF file to EMF, WMF, SVG, Postscript (PS), EPS, SWF (Flash), XPS, HPGL, PCL etc. vector formats, you can download it from this web page to try,

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

btw, VeryPDF has more products which can capture the print jobs and save to disk files, please refer to following web pages for more information,

http://www.verydoc.com/blog/how-to-intercept-and-capture-a-print-job-and-convert-it-to-pdf-plain-text-image-files-and-then-print.html

http://www.verypdf.com/wordpress/201704/need-to-capture-a-print-job-how-to-capture-a-print-job-from-windows-print-spooler-system-43392.html

http://www.verypdf.com/wordpress/201607/capture-data-from-printer-port-and-save-to-file-excelpdf-with-verypdf-document-capture-42712.html

http://www.verypdf.com/wordpress/201612/how-to-install-and-use-verypdf-hookprinter-to-capture-print-jobs-43143.html

http://www.verypdf.com/wordpress/201607/how-to-capture-printer-spooler-file-when-printing-and-then-view-andor-print-that-spooler-file-again-42708.html

http://www.verypdf.com/wordpress/201608/saving-a-pending-print-job-as-pdf-save-print-job-in-queue-as-pdf-save-all-print-jobs-as-pdf-convert-spool-request-to-pdf-and-send-as-e-mail-converting-print-spool-output-in-to-a-pdf-convert-spool-42957.html

http://www.verypdf.com/wordpress/201608/how-do-i-capture-a-spool-file-from-a-windows-print-queue-43002.html

http://www.verypdf.com/wordpress/201701/how-to-get-verypdf-printer-capturer-43213.html

http://www.verypdf.com/app/hookprinter/index.html

http://www.verypdf.com/wordpress/201608/hook-windows-printer-capture-printed-documents-and-save-them-to-pdf-ps-eps-tiff-jpg-excel-xls-etc-formats-printer-capture-intercept-and-capture-everything-that-you-send-to-windows-printer-42943.html

http://www.verydoc.com/blog/how-to-intercept-and-capture-a-print-job-and-convert-it-to-pdf-plain-text-image-files-and-then-print.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)

Related Posts

This entry was posted in docPrint Pro, PDF to Vector Converter and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!