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

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.

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.

DOC to Any Converter

How to convert Office to PCL by Doc to Any Converter?

Question:Hello,I am evaluating VeryDOC Doc2Any for possible use by a client who needs to convert DOC to PCL. I downloaded and unzipped your evaluation copy, and the commands to run seem very simple.However I am running into an issue where I get the following problems:I could not see any PCL writer install in the unzipped directory, nor could I find anything in your  knowledgebase. How can I get around this issue?   

Answer: When converting office to PCL by VeryDOC DOC to Any Converter, you do not need to install any PCL writer or others, the conversion could be done automatically and accurately. When you run the conversion from office to PCL, you need to install MS Office or Open Office or else the conversion can not be done. But there is one format Doc except, when converting doc to PCL, you do not need to install MS Office or others. By DOC to Any Converter, you can also run the conversion together with other applications like Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, 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 DOC to Any Converter Command Line

  • This software is command line version, so we have compressed it to zip file. Please extract it to folder then you can find elements.
  • Please download the proper version according to your needs, like server version, command line version or SDK version.

Step 2. Convert Office to PCL.

  • When extracting finishes, please go to its folder and check its usage in readme.txt. You do not need to find any elements, simply run the conversion according to usage, there should not have any error.
  • Here are some examples for your reference:
  • doc2any.exe C:\in.doc C:\out.pcl
    doc2any.exe C:\in.ppt C:\out.pcl
    doc2any.exe C:\in.xls C:\out.pcl
    doc2any.exe C:\in.docx C:\out.pcl
    doc2any.exe C:\in.pptx C:\out.pcl
    doc2any.exe C:\in.xlsx C:\out.pcl
    doc2any.exe C:\*.doc C:\*.pcl

  • Now I will run the conversion from MS Dos Windows, please have a check from the following snapshot.

MS Dos Operation

  • Checking from the above snapshot, we can deduce that the command line operation is quite simply. There is no complicated syntax. But the conversion could be done in a few seconds, and the result shows successfully.
  • Here are some parameters you may use:
  • -width <int>    : Set page width to PDF file
    -height <int>   : Set page height to PDF file
    -xres <int>     : Set X resolution to image file
    -yres <int>     : Set Y resolution to image file
    -bitcount <int> : Set color depth for image conversion

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

PDF to PDF/A Converter

How to convert PDF to PDF/A or PDF/X?

Question:Is there a way to convert PDF to PDF/A or PDF/X? I know some applications which can be used to convert PDF to images, but I don't know if it can be used to convert PDF/A. Is there any applications on VeryDOC to finish this task?

Answer:Even recently some applications in the market for generating PDF/X (standardized Prepress requirements) and PDF/A (standardized Archiving requirements) were released but quite misleading. After trying, some of them can not help you convert PDF to PDF/A or PDF/X. Based on those situation, VeryDOC developed PDF to PDF/A Converter, by which you can convert your existing PDF documents (normal or scanned) into ISO 19005-1 PDF/A-compliant achievable documents.PDF/A is an ISO standard for long-term preservation. These files are primarily used for archiving. PDF/A compliant files can contain text, raster images, vector graphics, as well as annotations, hyperlinks, or bookmarks. Based on full understanding of PDF/A format, this software was released. Now we do not have software which can be used to convert PDF to PDF/X. If you need it urgently, please contact us then we will customize one for you. 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 PDF/A Converter Command Line

  • This is command line version software, so we have compressed it to zip file and then upload it.
  • When you download it, you need to unzip it then you can call it from MS Dos Windows.

Step 2. Convert PDF to PDF/A by command line.

  • When you  use this software, please refer to the usage:pdftools [options] <pdf-file> [<out-pdf>]
  • Some parameters for reference:
  • -cl <int>           : set color space, 0 is RGB, 1 is CMYK, 2 is grayscale
          -cl 0 : use RGB  ICC profile for device-specific color spaces
          -cl 1 : use CMYK ICC profile for device-specific color spaces
          -cl 2 : use GRAY ICC profile for device-specific color spaces
      -quick              : convert PDF to PDF/A by quick mode
      -mode <int>         : convert PDF to PDF/A by various modes, e.g, 0, 1, 2
      -skip               : don't overwrite an output file if it already exists
      -producer <string>  : Set 'producer' to PDF file

  • This software have been updated recently. If you are old users, please update it then you will find more new functions.
  • In the latest version, two modes have been added.
  • default mode-mode 1, quick mode, this mode can be used to repair the existing PDF/A files, it can also convert scanned PDF files to PDF/A files quickly, but this mode can't embed the font data into PDF file, so it can't convert a PDF file which contain system fonts to PDF/A files properly.-mode 2, full conversion mode, this mode does analyze everything is PDF file, and process everything in PDF file to comply with PDF/A format carefully, if "-mode 0" fails, you can use "-mode 2" method to try again.

If you need to know more about this software, please contact us. During the using, if you have any question, please contact us as soon as possible.