pdf to vector converter

How to convert PDF file to HPGL file on Windows 7 system?

Hi,

I am trying to test pdf2vec.exe but it doesn't finish conversion and stops. I'm run following command line on Win7 Pro SP1.

pdf2vec.exe V58200xx.pdf d:\draw.hpgl

What am I doing wrong?

Best Regards,
Customer

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

PDF to Vector Converter Command Line Home Page is,

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

Thanks for your message, PDF2Vector Command Line can't convert PDF file to HPGL format on Windows 7 system yet, PDF to HPGL conversion function is only work on Windows XP system.

However, you can by following steps to convert PDF file to HPGL format on Windows 7 system.

1. Click on the Windows Icon in the lower left corner of your screen and click on Control Panel to start the installation of the printer.

image

On the Control Panel screen, click on Hardware and Sound...

image

then click on Add a printer...

image

Click on Add a local printer...

image

Click on LPT1: (Printer Port) - a menu will pop up - and choose FILE: (Print to File) from the menu list and click Next...

image

Click "Windows Update" button, wait a few minutes for the update to refresh the list of printers, select HP for the manufacturer and the appropriate HGPL printer model. For the HGPL Printer, we can choose following models,

HP Designjet 4500 HP-GL/2
HP Designjet 4500mfp HP-GL/2
HP Designjet 4520 HPGL2
HP Designjet 4520mfp HPGL2

or any other printer models which contain HPGL or HPGL2 or HP-GL/2 keyword.

image

Set printer name to "VeryPDF HPGL Writer" and click Next...

Please notice:

In the PDF2Vector v3.0 and early versions, you need set printer name to "VeryPDF HP-GL/2 Writer",

In the PDF2Vector v4.0 and later versions, "VeryPDF HPGL Writer" and "VeryPDF HP-GL/2 Writer" two printer name are all work.

image

Your printer driver will not be installed...

image

Next select Do not share this printer and click Next to continue...

image

Make sure to turn OFF (no cross!) the option to set this printer as the default printer. Then click Finish.

image

The printer driver of the VeryPDF HPGL Writer is now installed.

You can run following command line to convert a PDF file to HPGL file now,

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

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

pdf2vec.exe -raster2 D:\test.pdf D:\out.hpgl

If you encounter any problem, please feel free contact us, we will assist you asap,

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

VN:F [1.9.20_1166]
Rating: 5.5/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
doc to any converter

How to use DLL Library to convert Office files (PPT/X, DOC/X, XLS/X) and PDFs to image format (JPG & PNG)?

Hello,

I am looking for a server based solution (library, DLL, JAR or similar) to run on Windows Server 2008 R2 which we can call from PHP or similar.

We need to convert Office files (PPT/X, DOC/X, XLS/X) and PDFs to image format (JPG & PNG).

Also, before converting a file, we need to be able to read the number of pages that each file contains and convert specific page ranges of each document (for example only convert pages 1-20 of a 200 page DOCX).

1) Do you have a solution for this?
2) If yes what is the name of the product we need to look at?
3) Does it require Office to be installed on the server?
4) How much is a single server license?

Regards,
Customer
---------------------------------------------------------
>>I am looking for a server based solution (library, DLL, JAR or similar) to run on Windows Server 2008 R2 which we can call from PHP or similar.
We need to convert Office files (PPT/X, DOC/X, XLS/X) and PDFs to image format (JPG & PNG).

Thanks for your message, you need following two products.

1. Use VeryDOC DOC to Any Converter Command Line to convert Office files (PPT/X, DOC/X, XLS/X) to image files,

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

2. Use VeryPDF PDF to Image Converter Command Line to convert PDF files to image files,

http://www.verypdf.com/app/pdf-to-image-converter/command-line.html

You can call them from your code to do the conversion easily.

>>Also, before converting a file, we need to be able to read the number of pages that each file contains and convert specific page ranges of each document (for example only convert pages 1-20 of a 200 page DOCX).
>>1) Do you have a solution for this?

VeryDOC DOC to Any Converter Command Line hasn't an option to read page count from Office files (PPT/X, DOC/X, XLS/X) and PDF files yet, however, we can add this function to you at additional cost, please feel free to let us know if you are interest in this solution.

>>2) If yes what is the name of the product we need to look at?

You can use VeryDOC DOC to Any Converter Command Line and VeryPDF PDF to Image Converter Command Line products to convert office files and PDF files to image files.

>>3) Does it require Office to be installed on the server?

No, our products are not require MS Office and OpenOffice to be installed on the server.

>>4) How much is a single server license?

DOC to Any Converter Command Line Server License USD$295

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

PDF to Image Converter Command Line Server License $299.95

http://www.verypdf.com/app/pdf-to-image-converter/try-and-buy.html

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
doc to any converter

How to convert MS-Office documents .docx, .xlsx to a PDF file from Classic ASP source code?

I'm looking for a command line utility to convert current MS-Office documents .docx, .xlsx to a PDF file.

Is this the https://www.verydoc.com/app/pdf-printer/index.html program?

Also does the MS Office application need to be loaded on the system converting the files or will the utility read the files?

I want to run this on an IIS server and have the application call the commend line program from a web page.

Thanks
Customer
-----------------------------------------------------------------

image
>>I'm looking for a command line utility to convert current MS-Office documents .docx, .xlsx to a PDF file.
>>Is this the
https://www.verydoc.com/app/pdf-printer/index.html program?

Yes, this PDF Printer does convert MS-Office documents .docx, .xlsx to a PDF file, but it is not a command line software.

We suggest you may download and purchase "DOC to Any Converter Command Line" from following web page, "DOC to Any Converter Command Line" is a professional command line software to convert office files to PDF files,

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

The more articles for "DOC to Any Converter Command Line" can be found at following web pages,

https://www.verydoc.com/blog/category/doc-to-any-converter
http://www.verypdf.com/wordpress/category/doc-to-any-converter

You will be able to found almost all questions around "DOC to Any Converter Command Line" product in our Knowledge Base.

>>Also does the MS Office application need to be loaded on the system converting the files or will the utility read the files?

With "DOC to Any Converter Command Line" software, it is not necessary to install MS Office application.

Please refer to "-nooffice" option from following web pages,

https://www.verydoc.com/blog/useoffice-and-nooffice-options-in-doc2any-exe-application-how-can-doc2any-exe-to-determine-ms-office-openoffice-and-without-office-automatically.html

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

https://www.verydoc.com/blog/how-to-convert-doc-docx-xls-xlsx-to-html-and-pdf-without-ms-office-installed.html

image

>>I want to run this on an IIS server and have the application call the commend line program from a web page.

Yes, you can call "DOC to Any Converter Command Line" (doc2any.exe) from your ASP code to convert office files to PDF files. You can call doc2any.exe from PHP code by VeryPDFComRunCmd COM Component,

https://www.verydoc.com/exeshell.html#VeryPDFComRunCmd_COM_Component

https://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)
doc to any converter

Disable Protected View In Office 2010

By default Office 2010 will open documents in protected mode that fail validation, have been downloaded from the internet, are located in potentially unsafe location and include attachments. Protected view opens the document in read-only mode thus minimizing the exposure to some potential security threat.

If you are an experienced user who is annoyed by the protected view, you can always disable it even though it is not recommended by Microsoft.

Open MS Word 2010, go to File Menu(Office Backstage) and select Options. Select Trust Center from the left sidebar and then click Trust Center Settings button in the main window. Now in Trust Center dialog window, select Protected View from the left sidebar and disable protected view for any desired option.

image

You can disable Protected View for files that failed validation, that have been downloaded from the internet, are located in unsafe locations, and/or contain attachments.

When done, hit OK. The above example is that of Word 2010, you will have to manually uncheck the options from Excel 2010, PowerPoint 2010, Outlook 2010, etc..

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

How to call PDF to Vector SDK from 64bit EXE applications? How to use pdf2vector_com.exe COM Component to convert PDF to Vector formats?

Hi,

My company was purchased a PDF to Vector SDK Server license from verydoc in June 2011 for Windows server 32 bit.

We are now upgrading to 64 bit server and were wanting to know if we can use the existing license.

Currently we are passing command line parameters and your License Key to VeryPDF_PDF2Vector() to convert form pdf to Emf.

This is working for 32 bit but not for 64 bit.

Please can you tell us if this same method will work for Windows 2008 R2 64 bit also.

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

image
Thanks for your message, the latest version of PDF to Vector SDK is contain a pdf2vector_com.exe file, this is a COM interface, pdf2vector_com.exe COM can be called from both 32bit and 64bit applications.

Please download latest version of VeryDOC PDF to Vector Converter SDK from following web page,

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

You can unzip pdf2vec_sdk.zip to a folder, run a CMD window with administrator privilege, and run following command line to register pdf2vector_com.exe into your system,

pdf2vector_com.exe /regserver

Before you remove pdf2vector_com.exe from your system, you can run following command line to uninstall it from your system,

pdf2vector_com.exe /unregserver

after you registered pdf2vector_com.exe with administrator privilege, you can use following C# source code to call PDF to Vector SDK function,

C# example source code to call PDF to Vector SDK/COM,

private void PDF2VectorCOM_Click(object sender, EventArgs e)
{
    string strStartupPath = System.Windows.Forms.Application.StartupPath + "\\";

    System.Type pdf2vecName = Type.GetTypeFromProgID
                   ("PDF2VectorCom.pdf2vec");
    if (pdf2vecName != null)
    {
        object pdf2vec = Activator.CreateInstance(pdf2vecName);
        string strPDFFile = strStartupPath + "test.pdf";
        string strOutFile = strStartupPath + "test.swf";
        string strCmd = "pdf2vec -$ XXXXXXXXXXXXXXXXXXXX \""
                   + strPDFFile + "\" \"" + strOutFile + "\"";

        //MessageBox.Show(strCmd);
        object[] argn = new object[1];
        argn[0] = strCmd;
        int nRet = (int)pdf2vecName.InvokeMember(
              "com_PDF2Vector", BindingFlags.InvokeMethod, null, pdf2vec, argn);
        //int nRet = pdf2vec.com_PDF2Vector(strCmd);
        MessageBox.Show("Return Value is: " + string.Format("{0}", nRet));
    }
}

VBScript example source code to call PDF to Vector SDK/COM,

Set fso = CreateObject("Scripting.FileSystemObject")
strFolderDir = fso.GetParentFolderName(WScript.ScriptFullName)
strParentDir = fso.GetParentFolderName(strFolderDir)
strInFile = strParentDir & "\bin\test.pdf"
strOutFile = strFolderDir & "\_out.emf"
strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX"
strCmd = "pdf2vec " & strLicenseKey & " """ & strInFile & """ """ & strOutFile & """"

msgbox strCmd

set VeryPDFCom = CreateObject("PDF2VectorCom.pdf2vec")
strReturn = VeryPDFCom.com_PDF2Vector(strCmd)
msgbox "Conversion finished."

Classic ASP example source code to call PDF to Vector SDK/COM,

<%
        strInFile = "D:\test.pdf"
        strOutFile = "D:\_out.emf"
        strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX"
        strCmd = "pdf2vec " & strLicenseKey & " """ & strInFile & """ """ & strOutFile & """"

      Set VeryPDFCom = Server.CreateObject("PDF2VectorCom.pdf2vec")
        strReturn = VeryPDFCom.com_PDF2Vector(strCmd)
      Response.write "Conversion finished."
%>

VB.NET example source code to call PDF to Vector SDK/COM,

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    Dim strFolderDir As String = Application.StartupPath()
    Dim strInFile As String = strFolderDir & "\test.pdf"
    Dim strOutFile As String = strFolderDir & "\_test_out.emf"
    Dim strLicenseKey As String = "-$ XXXX-XXXX-XXXX-XXXX"
    Dim strCmd As String = "pdf2vec " & strLicenseKey & " """ & strInFile & """ """ & strOutFile & """"

    Dim VeryPDFCom As Object = CreateObject("PDF2VectorCom.pdf2vec")
    Dim strReturn As String = VeryPDFCom.com_PDF2Vector(strCmd)
    MsgBox("Conversion finished.")
End Sub

PHP example source code to call PDF to Vector SDK/COM,

<?php

$strFolderDir = dirname(__FILE__);
$strParentDir = dirname($strFolderDir);
$strInFile = $strParentDir . "\\bin\\test.pdf";
$strOutFile = $strFolderDir . "\\_out.emf";
$strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX";
$strCmd = "pdf2vec $strLicenseKey \"$strInFile\" \"$strOutFile\"";

echo $strCmd . "\n";
$VeryPDFComObject = new COM("PDF2VectorCom.pdf2vec");
$VeryPDFComObject->com_PDF2Vector($strCmd);
echo "Conversion finished.\n";

?>

Javascript example source code to call PDF to Vector SDK/COM,

<html>
<script type="text/javascript">

function PDFToVectorSDKConverter()
{
        strInPDF = "D:\\downloads\\a.pdf"
        strOutImage = "D:\\downloads\\_test_out.emf"
        strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX"
        strCmd = "pdf2vec " + strLicenseKey + " \"" + strInPDF + "\" \""
                          + strOutImage + "\""
       
       alert("Start converting,\n\n" + strCmd);
        try {
                var VeryPDFCom = new ActiveXObject("PDF2VectorCom.pdf2vec");
                VeryPDFCom.com_PDF2Vector(strCmd)
        } catch (error) {
            //  error handling code not shown...
            alert(error + '\n\nThis error occurred while\n'
                      'attempting to load VeryPDF.PDFtoImageCom.')
            return;
        }
        alert("Finished the converting.\n\n" + strCmd);
}

</script>

<body>
    <input type="button" value="Test VeryDOC PDF to Vector Converter COM/SDK Function" id="btn" onclick="PDFToVectorSDKConverter()">
</body>
</html>

You may refer to following web pages for more information about pdf2vector_com.exe COM interface,

http://www.verypdf.com/wordpress/201107/call-pdf-to-vector-converter-sdk-from-64bit-exe-application-1488.html

https://www.verydoc.com/blog/how-can-i-use-c-to-call-pdf2vec-com-control.html

https://www.verydoc.com/blog/64-bit-compatibility-for-ps2pdf-converter.html

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)