pdf to vector converter

How to convert thousands of PDF to Postscript file in a specified folder?

Question:I've discovered multiple options for convert a few to several PDF into Postscript, but many are command-line programs with command-line limitations (this application lives on .NET). I need to run the conversion from ASP. And I must create the file first containing all 10,000 PDF and edit it in an additional pass, I'm OK with that, too. I should mention that speed is important. I need to print 10,000 at a time, but need to keep the printers busy 24-hours/day.Our application generates tens-of-thousands of PDFs that we need to send to a printer, except BEFORE the Postscript is printed we need to edit the Postscript to insert print command instructions (duplex, tray-pulls, highlight color, etc.) Is there a solution on VeryDOC?

Answer: When you need to convert thousands of PDF to postscript to postscript in a specified folder from ASP.net, maybe you can have a free trial of VeryDOC PDF to Vector Converter, by it you can convert PDF to postscript fast and accurately. When you need to output postscript in specified the output folder, simply use wild characters and write some bat files then you can solve this matter. By the SDK version of it, we can call it from Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. Using the COM object (or DLL Library, or Command Line), file conversions can be done consecutively or simultaneously.  In the following part, I will show you some example of how to call it.

Step 1. Free download PDF to Vector Converter SDK

  • There are two versions of the SDK for you to choose: developer version and server version. Please choose the proper version according to your needs.
  • When downloading finishes, please extract it to some folder then you can use it normally. This software is compressed to zip version for Windows.

Step 2. Convert thousands of PDF to postscript and specified output folder.

  • Here is the usage for your reference: pdf2vec.exe [options] [Options] <PDF Files>
  • Here are some command line examples for your reference:
  • pdf2vec.exe -psmode 0 C:\*.pdf C:\*.ps
    pdf2vec.exe -psmode 1 C:\in.pdf C:\out.ps
    pdf2vec.exe -psmode 2 C:\in.pdf C:\out.ps
    -psmode <int> : convert PDF file to vector Postscript file
       -psmode 0: convert PDF to Postscript via printer driver
       -psmode 1: convert PDF to Postscript via local interpreter 1
       -psmode 2: convert PDF to Postscript via local interpreter 2
    By those three parameters, we can print PDF file to local printers where you can edit it before processing according to your needs.

  • Here is an example of calling this software from ASP code, please have a check.
  • Please by following steps to call pdf2vec.exe inside a special user account,
    1. Please download and install EXEShell COM Library (freeware) from following URL first,
    https://www.verydoc.com/exeshell.html
    https://www.verydoc.com/download/exeshell.zip
    2. Please use following ASP code to run the conversion inside a special user account,
    ~~~~~~~~~~~~~~~~~
    <%
        Set comEXEShell = Server.CreateObject("exeshell.shell")
        RootPath = Server.MapPath(".") & "\"
        EXEFile = RootPath & "pdf2vec\pdf2vec.exe"
        PDFFile = RootPath & "test.pdf"
        SWFFile = RootPath & "out.swf"
        strCommandLine = EXEFile & " " & PDFFile & " " & SWFFile
        response.write strCommandLine & "<br>"
        comEXEShell.RunCommandLine "UserName", "Password", strCommandLine
        Set comEXEShell = Nothing
    %>
    ~~~~~~~~~~~~~~~~~
    Remark:
    You may encounter Error 1314 in some Windows systems when you switch between user accounts, this is caused by permission setting, please refer to the steps in #2 to solve the 1314 Error.

During the using, if you have any question, please contact us as soon as possible.

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

Run Office to PDF Converter or doc2any in unattended user account.

VeryDOC Office to PDF Converter I would like to know the system requirements for this to run. I would like also to know if this can be done using windows service running on the server. My purpose is to run this in unattended user.

Customer
-------------------------------------
Thanks for leaving a message for us.

It is GUI version. If you need to run this in unattended user, please choose Doc to Any Converter command line version.

VeryDOC
-------------------------------------
I tried using Command line version Doc to Any Converter and I tried it running under windows service but unfortunately, it hangs and the conversion fails. I believe the problem is when the program open the doc using WINWORD, the problem occurs because, I believe winword does not allowed unattended nor windows service.

Will you able to provide me solution for this to work under windows service?

Thanks in advance!
Customer
-------------------------------------
I would like also to know the system requirements of this tool.

Customer
-------------------------------------
You need set MS Word DCOM run inside an interactive user account, please refer to following web pages for more information,

http://www.verypdf.com/wordpress/201109/doc2any-sdk-dll-does-work-on-localhost-but-not-work-on-internet-2333.html
https://www.verydoc.com/blog/how-to-call-doc2any-exe-from-asp-code.html
https://www.verydoc.com/blog/running-doc2any-as-a-scheduled-task.html
https://www.verydoc.com/others/configure-word-and-excel.htm
https://www.verydoc.com/blog/failed-to-call-doc2any-exe-from-c-or-vb-net-source-code.html
https://www.verydoc.com/blog/cannot-test-doc2any-on-net.html
https://www.verydoc.com/blog/failed-to-call-doc2any-exe-from-java-application-to-convert-pptx-and-docx-files-to-pdf-files.html
https://www.verydoc.com/blog/run-doc2any-on-windows-2003-or-windows-2008-system.html

If you still can't get it work, please feel free to let us know.

>>I would like also to know the system requirements of this tool.

doc2any is support all version of Windows systems, from Windows 2000 to Windows 8, both 32bit and 64bit systems. It is support all versions of MS Office application.

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

Conversion of HTML with custom fonts to PS and PDF documents

Hello,

I am looking for tool that helps me to convert HTML pages to PS and PDF
formats. Our site has custom fonts (woff) and I am wondering if your tool
can use these fonts for generating PS and PDF documents. I downloaded trial
version of your application and it works fine but instead of fonts from
site it uses Arial and ArialBold. Can you explain if this feature is
supported and if yes then provide me with advice how my goal can be reached.

--
Best Regards,
Customer
--------------------------------------

Thanks for leaving a message for us.

According to your needs, maybe you can have a free trial of this software: VeryDOC HTMLPrint to Any Converter,

https://www.verydoc.com/htmlprint2any_cmd.zip
https://www.verydoc.com/htmlprint-to-any.html

During the using, if you have any question, please contact us as soon as possible.

VeryDOC
--------------------------------------
Hi

Tool that you suggested does not fit to us. We need this on server side without any UI so we are looking for command line tool or library that can be used on .Net web pages.

Finally we installed necessary font on server that we are using for generating PS file from HTML and your tool works fine when we run it from command line. It generates PS file with all required fonts. However when we execute your script from webpage on the same server instead of this custom font described in CSS it uses standard Arial and Tahoma fonts. Here is how we call your tool from code:

using (var process = new Process())
{
        process.StartInfo = new ProcessStartInfo
        {
                FileName = Setting.HtmlToolsPath(),
                Arguments = arguments,
                WorkingDirectory = workDir.FullName,
                UseShellExecute = false,
                RedirectStandardError = true,
                RedirectStandardOutput = true
        };
        process.Start();
}

I have no glue why there is a difference between launching your tool form command line and as process from IIS. Possible it is connected with security but I played with permissions - tried to grant it to everything without any success.

Please advice what can be a reason and how we can solve this problem.

Customer
--------------------------------------
Thanks for your message, if your generated PS file contains all necessary fonts, you can use our Postscript to PDF Converter Command Line to convert this PS file to PDF file,

https://www.verydoc.com/ps-to-pdf.html
https://www.verydoc.com/ps2pdf.zip

Postscript to PDF Converter Command Line is a command line application, it can be called from your server and without any dialogs.

We hoping Postscript to PDF Converter Command Line software will useful to you, you may download it to try.

For the security issue, you may arrange your C# or ASP.NET application run inside an interactive user account instead of default SYSTEM or LocalSystem user account, the permission restriction problem should be solved.

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

Batch Converting PDF to XPS from C#

Question:I'm looking for an inexpensive way of batch converting 1300 PDF documents to XPS documents. I know that I can simply print them in that format, but that would take a very long time. Is there a way to do this programmatically in C#? Is there a method on VeryDOC website?

Answer: When you need to convert PDF to XPS in batch from C#, maybe you can have a free trial of this software:VeryDOC PDF to Vector Converter, by which you can convert PDF to XPS also from programming languages like  Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. Using the COM object (or DLL Library, or Command Line), file conversions can be done consecutively or simultaneously. This software also can help you convert PDF to other file formats like WMF, SVG, Postscript (PS), EPS, SWF (Flash), HPGL, PCL etc. Please check more information of this software on homepage, in the following part, I will show you how to use this software.

Step 1. Free download PDF to Vector Converter Command Line

  • This software is command line version, when downloading finishes, there will be a zip file. Please extract it to some folder then you can find the executable file.
  • If you download SDK version, in the extracted folder, there will be many code templates of calling this software from other languages.

Step 2. Converting PDF to XPS in batch from C#

  • When you use this software, please refer to usage and example.
  • When converting PDF to XPS, you many use the following parameters and command line templates:
  • -firstpage <int> : first page to print, from 1 to max page.
    -lastpage <int>  : last page to print, from 1 to max page.
    -scale <int> : specify the factor by which the printed output is to be scaled, The apparent page size is scaled from the physical page size by a factor of scale/100,  this option is available for PCL, HPGL, XPS, PS and EPS formats.
    pdf2vec.exe C:\in.pdf C:\out.xps
    pdf2vec.exe C:\*.pdf C:\*.xps

  • When you need to call this software from C#, please refer to the following code templates:
  • Make use of the PROCESS class available in SYSTEM.DIOGNOSTICS namaspace, use the following piece of code to execute the pdf2vec.exe file,
    ~~~~~~~~~~~~~~~~~
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;

    namespace ConsoleApplication1
    {
        class Program
    {
    static void Main(string[] args)
    {
    Process proc = new Process();
    proc.StartInfo.FileName = @"C:\\pdf2vec.exe";
    string strArguments = "";
    strArguments += "--scale";
    strArguments += " D:\\temp\\sample.pdf D:\\temp\\out.xps";
    Console.WriteLine(strArguments);
    proc.StartInfo.Arguments = @strArguments;
    proc.Start();
    proc.WaitForExit();
    }
    }
    }
    ~~~~~~~~~~~~~~~~~

If you need to check more information on homepage. During the using, if you have any question, please contact us as soon as possible.

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

How to run conversion of HTML with custom fonts to PS and PDF documents?

Question:Hello, I am looking for tool that helps me to convert HTML pages to PS and PDF formats. Our site has custom fonts (woff) and I am wondering if your tool can use these fonts for generating PS and PDF documents. I downloaded trial version of your application and it works fine but instead of fonts from site it uses Arial and ArialBold. Can you explain if this feature is
supported and if yes then provide me with advice how my goal can be reached. Hoping there is a solution on VeryDOC?

Answer: According to your needs, I guess software VeryDOC HTMLPrint to Any Converter is better for you. I do not know which software have you tried but this software can satisfy your conversion needs like converting HTML to Postscript , HTML to PDF. This software will print HTML to Postscript or PDF using system fonts, so you do not need to worry that the embedded fonts of HTML file can not be converted normally. Please check more information of this software on homepage,in the following part, I will show you how to convert HTML with custom fonts to PS or PDF documents without any errors.

Step 1. Free download HTMLPrint to Any Converter Command Line

  • This is command line version software, when downloading finishes,it is a zip file. You need to unzip it then you can use it normally.
  • This software depends on MS Internet Explorer to render HTML pages, so it is support all features which supported by MS Internet Explorer application.

Step 2. Convert HTML Postscript , HTML to PDF.

  • Here is the usage of this software, please have a check:html2any.exe [options] <HTML/MHTML file or URL>
  • When converting HTML to Postscript , HTML to PDF, please refer to the following command line templates:
  • html2any.exe -printtops C:\out.ps http://www.verypdf.com
    html2any.exe -printtopdf C:\out.pdf http://www.verypdf.com
    html2any.exe -printtopdf C:\out.pdf -ps2pdfopt "-ownerpwd owner -keylen 2 -encryption 3900" http://www.verypdf.com
    Please ignore the embedded fonts problem as this software can help you process it automatically.

  • Here are some parameters you may need:
  • -printtops  <string> : print HTML document to Postscript file.
    -printtopdf <string> : print HTML document to PDF file, this function is depend on PS to PDF Converter Command Line.
    -ps2pdfopt  <string>   : set options to ps2pdf.exe application.
    -marginleft <int>   : set left margin when print HTML file, unit is point
    -margintop <int>    : set top margin when print HTML file, unit is point
    -marginright <int>  : set right margin when print HTML file, unit is point
    -marginbottom <int> : set bottom margin when print HTML file, unit is point
    -hfflag <string>    : set HTML header/footer to off or on
    -header <string>    : set HTML header text
    -footer <string>    : set HTML footer text
    -postdata <string>  : set postdata when print HTML file

Please check more parameters and functions on homepage. During the using, if you have any question, please contact us as soon as possible.

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