Converting PDF to PCL by PDF to Vector Converter Command Line

PDF (Portable Document Format) is one of the most popular formats used for storing document files which include both text and graphics. As opposed to other formats with a similar function, PDFs can be easily transferred between different applications and different operating systems, and generally don't have a very large size. Moreover, they can offer decent image quality in a compressed format and can be secured with passwords or watermarks.

PCL (Printer Command Language) is a format associated with Hewlett-Packard printers, containing a standardized protocol that facilitates communication between computers and printers. PCL files contain commands related to features such as: drawing tools, font rendering, macros, Unicode symbols, raster areas etc.

image

So, how to change PDF into PCL?

The quick and simple way to handle your files is to get a quality piece of software, such as "PDF to Vector Converter Command Line" software. "PDF to Vector Converter Command Line" will help you avoid spending countless hours trying to figure out how to convert PDFs, you can use this software to convert from PDF files to PCL files easily.

PDF to Vector Converter Command Line can be downloaded from this web page,

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

after you download it, you can run following command line to convert your PDF files to PCL files,

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

pdf2vec.exe -printermargins D:\test.pdf D:\out.pcl

pdf2vec.exe -scalex 90 -scaley 90 -printermargins D:\test.pdf D:\out.pcl

Please notice, you need run a CMD window by administrator privilege, and then run above command line in this CMD window by manual, pdf2vec.exe will install a PCL Printer automatically during conversion, you will also get the output PCL file after a few seconds, everything will be done automatically, just run this one command line is enough.

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

How to compress the PDF files in a folder and and sub-folders recursively?

Hello,

I have the following directory,

C:\Electronic Invoice\B01\20170101\10.PDF
C:\Electronic Invoice\B01\20170102\11.PDF
C:\Electronic Invoice\B01\20170103\12.PDF
C:\Electronic Invoice\B01\20170103\13.PDF
C:\Electronic Invoice\B01\20170204\15.PDF
C:\Electronic Invoice\B01\20170209\16.PDF
C:\Electronic Invoice\B01\20170211\17.PDF
C:\Electronic Invoice\B02\20170103\01.PDF

Can I compress everything in a single command line?

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

You can download VeryDOC PDF Compressor Command Line from this web page,

http://www.verydoc.com/pdfcompressor.html

This can be done easily by VeryDOC PDF Compressor Command Line software, you can run following command line to compress all PDF files in "C:\Electronic Invoice" folder and sub-folders (recursion),

for /r "C:\Electronic Invoice" %F in (*.pdf) do pdfcompressor.exe -ci jpg -cidown -cidownres 50 -gi jpg -gidown -gidownres 50 -mi fax -midown -midownres 50 "%F" "%~dpnF-out.pdf"

VeryPDF
----------------------------------------------------
Thank you very much, two more things
How do I make the output file have the same name as the input file
How does this work for network drives?

Customer
----------------------------------------------------
>>How do I make the output file have the same name as the input file

Thanks for your message, if you want to keep the same filenames for input and output files, you can run following command line,

for /r "C:\Electronic Invoice" %F in (*.pdf) do pdfcompressor.exe -ci jpg -cidown -cidownres 50 -gi jpg -gidown -gidownres 50 -mi fax -midown -midownres 50 "%F" "%~dpnF.pdf"

>>How does this work for network drives?

Yes, it does support network mapped drives, you can map the network path to local drive first, then you can compress the PDF files on this network path 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)
Posted in PDF Compressor | Tagged , | Leave a comment

If I have vector EPS file and convert it with PS2PDF SDK do I get a vector PDF?

I already have bought the PS 2 Image SDK and am happy with it.

I now have a need to convert EPS 2 PDF (vector) and see that you have a PS2PDF SDK.

I have some questions:

  • If I have vector EPS file and convert it with PS2PDF SDK do I get a vector PDF?
  • Are all color information (possibly CMYK, ICC-profiles etc.) preserved during conversion?
  • Which PDF version will be the resulting file?
  • Does the conversion work properly if the EPS file contains raster and vector information mixed?
  • Is the SDK 32 Bit or 64 Bit?

Thank you in advance.

Best Regards
Customer
--------------------------------------------------------
>>· If I have vector EPS file and convert it with PS2PDF SDK do I get a vector PDF?

Yes, Postscript to PDF Converter SDK does convert from vector EPS files to vector PDF files.

>>· Are all color information (possibly CMYK, ICC-profiles etc.) preserved during conversion?

Yes.

>>· Which PDF version will be the resulting file?

The version of resultant PDF file is v1.4, the resultant PDF files can be viewed by any PDF Viewer applications.

>>· Does the conversion work properly if the EPS file contains raster and vector information mixed?

Yes, of course, our PS2PDF SDK does handle raster and vector mixed information properly.

>>· Is the SDK 32 Bit or 64 Bit?

The Postscript to PDF Converter SDK (ps2pdf.dll) is 32bit, we are also provide 64bit COM interface (ps2pdfcom.exe), you can call it from both 32bit and 64bit applications.

VeryDOC

School See Also:

How to use ps2pdfsdk from 64bit C# application?
http://www.verypdf.com/wordpress/201301/how-to-use-ps2pdfsdk-from-64bit-c-application-34100.html

How to use ps2pdfsdk and ps2pdfcom to convert Postscript, PS and EPS files to PDF files from 64bit C# application?
http://www.verypdf.com/wordpress/201501/how-to-use-ps2pdfsdk-and-ps2pdfcom-to-convert-postscript-ps-and-eps-files-to-pdf-files-from-64bit-c-application-41215.html

I am using "VeryPDF_PSToPDF" API to convert PS (Postscript), EPS to PDF, the return code is -2?
http://www.verydoc.com/blog/i-am-using-verypdf_pstopdf-api-to-convert-ps-postscript-eps-to-pdf-the-return-code-is-2.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 Postscript to PDF Converter | Tagged | Leave a comment

How to run doc2pdf.exe from an non-administrator user account?

We use doc2pdf in a C# windows service to parse documents. Windows service requires to run under administrator user to run doc2pdf.

My question to you,

Is it really admin user require to run doc2pdf in windows server or can we remove admin user and set any other user instead?

Customer
--------------------------------------
You can run doc2pdf.exe from any user account even if this user account hasn't administrator privilege, because doc2pdf.exe is require MS Office to convert office documents to PDF files, so this user account must has enough privilege to run MS Office applications.

You can also download and try our DOC to Any Converter Command Line software, DOC to Any Converter Command Line has three methods to convert office files to PDF files,

1. Use MS Office,
2. Use OpenOffice,
3. Use VeryDOC's Office render engine,

We hope this software will work better for you,

http://www.verydoc.com/doc-to-any.html

Please look at following web pages for more information,

http://www.verydoc.com/blog/doc2any-command-line-and-sdk-supported-document-formats.html

http://www.verydoc.com/blog/verydoc-doc-to-any-converter-command-line-v3-5-release-notes-convert-word-to-pdf-without-office-and-openoffice.html

http://www.verydoc.com/blog/verydoc-release-notes-verydoc-releases-an-exe-com-of-verypdfcomruncmd-exe-today-verypdf-exe-com-does-allow-you-to-call-ms-office-and-any-exe-application-from-asp-php-c-net-etc-program-languag.html

http://www.verydoc.com/blog/how-to-call-doc2any-exe-from-php-source-code.html

btw, if you will run doc2pdf.exe from an non-administrator user account, please login this user account first, run doc2pdf.exe in CMD window to convert a doc file to pdf file, if you can get it work correctly, you should no problem to run doc2pdf.exe from Windows service to execute the conversion.

If you will use doc2any.exe application, you can use VeryPDFComRunCmd.exe to call doc2any.exe from Windows Service, please look at following web page for more information,

http://www.verydoc.com/blog/verydoc-release-notes-verydoc-releases-an-exe-com-of-verypdfcomruncmd-exe-today-verypdf-exe-com-does-allow-you-to-call-ms-office-and-any-exe-application-from-asp-php-c-net-etc-program-languag.html

VeryDOC

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 DOC to Any Converter | Tagged , , | Leave a comment

problem finding ReadInfo.dll library, an unhandled exception of type ‘System.DllNotFoundException’ error message

I am using the trial version of your Spool File Page Counter SDK to count color pages. I have requested that we purchase the product. The csharp sample you provided works perfectly. However, when I test within my own application I get the following error for the ReadInfo.dll file,

An unhandled exception of type 'System.DllNotFoundException'

Can you provide instructions on how to use the dll within a C# program? I have included the code I use,
-----------------------------
sing System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using SawgrassMutualShared;

namespace SawgrassMutualBL
{
    public class ColorCounter
    {
        [DllImport("ReadInfo.dll", EntryPoint = "ReadInfoFromPCLFile")]
        public static extern Int32 ReadInfoFromPCLFile(
        string fileName,
        Int32 bIsRenderToPDF,
        ref uint bwPageCount,
        ref uint colorPageCount,
        ref uint copyCount,
        ref double pagewidth,
        ref double pageheight,
        StringBuilder paperSizeName);
       
        [DllImport(@"ReadInfo.dll", EntryPoint = "ReadInfoSetCode")]
        public static extern void ReadInfoSetCode(string strCode);
       
        public SawgrassMutualShared.ColorCounts Count(string FileType)
        {
            var InputDir = Properties.Settings.Default.Input;
            var WorkDir = Path.Combine(InputDir, FileType);
            var files = Directory.GetFiles(WorkDir, "*.pdf");
            var cCounts = new ColorCounts();
            cCounts.FileType = FileType;
            foreach(var fileName in files)
            {
                int bIsRenderToPDF = 1;
                uint bwPageCount = 0;
                uint colorPageCount = 0;
                uint copyCount = 0;
                double nPageWidth = 0;
                double nPageHeight = 0;
                StringBuilder strPaperSizeName = new StringBuilder(300);
                ReadInfoSetCode("XXXXXXXXXXXXXXXXXX");
                ReadInfoFromPCLFile(fileName, bIsRenderToPDF, ref bwPageCount,
                       ref colorPageCount, ref copyCount, ref nPageWidth,
                       ref nPageHeight, strPaperSizeName);
                cCounts.ColorCount += (int)colorPageCount;
                cCounts.BWCount += (int)bwPageCount;
            }
            return cCounts;
        }
    }
}

Customer
-------------------------------------------
Please compile your C# code into an EXE file first, place this EXE and DLL files into same folder, run your EXE from this folder, your EXE will able to load necessary DLL files properly.

The folder should contain following files,

Your-EXE-File.exe
cimage.dll
cximagecrt.dll
Interop.FileInfoCOM.dll
pcl.dll
pcltool.dll
pdftoolsdk.dll
ReadInfo.dll
fonts\*.*

VeryDOC

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 PCL, PS, PDF Page Counter | Tagged , , | Leave a comment
Page 1 of 32612345...102030...Last »