在Web服务器上将HTML转换为PDF, DOC, TXT, TIFF, JPEG。无GUI。
Windows
2000/2003/Vista
7/8/10/11
and
2012/2016/2019/2022 Server
and
Docker/Citrix/Wine
Total HTML Converter X (SDK) 将 HTML 转换为 DOC、XLS、PDF、TIFF、JPG、RTF、TXTW 和文本,在网络服务器环境中运行。这个多用户版本的 Total HTML Converter 可以作为您本地网络中的客户端-服务器应用程序,或者作为在线用户的网络服务。安装在您的网络服务器上后,这个强大、灵活的工具允许多个用户同时进行文件转换。
具有 命令行访问和 ActiveX 功能,Total HTML Converter X (SDK) 包含多种酷选项,帮助您增强目标文件:
不必仅仅听我们的,亲自试试我们的免费 30 天试用版。今天就亲身体验 Total HTML Converter X 的省时优势!
寻找基于服务器的解决方案?发现一系列专为强大性能而设计的服务器产品,请访问 CoolUtils 服务器产品。
string src="C:\\test\\Source.HTML";
string dest="C:\\test\\Dest.PDF";
HTMLConverterX Cnv = new HTMLConverterX();
Cnv.Convert(src, dest, "-c PDF -log c:\\test\\HTML.log");
MessageBox.Show("转换完成!");
下载
.NET HTML 转换器示例
专为 ASP.net 设计的 C# 服务器示例
使用 C# 的 WinForms 客户端应用程序
dim C
Set C=CreateObject("HTMLConverter.HTMLConverterX")
C.Convert "c:\source.HTML", "c:\dest.JPG", "-cJPG -log c:\html.log"
C.Convert "https://www.coolutils.com/", "c:\URL Page.PDF", "-cPDF -log c:\html.log"
set C = nothing
dim C
Set C=CreateObject("HTMLConverter.HTMLConverterX")
Response.Clear
Response.AddHeader "Content-Type", "binary/octet-stream"
Rresponse.AddHeader "Content-Disposition", "attachment; filename=test.pdf"
Response.BinaryWrite
c.ConvertToStream("C:\www\ASP\Source.html", "C:\www\ASP", "-cpdf -log c:\html.log")
set C = nothing
示例 PHP:
$src="C:\\test\\test.html";
$dest="C:\\test\\test.pdf";
if (file_exists($dest)) unlink($dest);
$c= new COM("HTMLConverterPro.HTMLConverterX");
$c->convert($src,$dest, "-c pdf -log c:\\HTML.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;
require 'win32ole'
c = WIN32OLE.new('HTMLConverterPro.HTMLConverterX')
src="C:\\test\\test.html";
dest="C:\\test\\test.tiff";
c.convert(src,dest, "-c TIFF -log c:\\test\\HTML.log");
if not File.exist?(dest)
puts c.ErrorMessage
end
import win32com.client
import os.path
c = win32com.client.Dispatch("HTMLConverterPro.HTMLConverterX")
src="C:\\test\\test.eml";
dest="C:\\test\\test.tiff";
c.convert(src, dest, "-c TIFF -log c:\\test\\HTML.log");
if not os.path.exists(file_path):
print(c.ErrorMessage)
uses Dialogs, Vcl.OleAuto;
var
c: OleVariant;
begin
c:=CreateOleObject('HTMLConverterPro.HTMLConverterX');
C.Convert('c:\test\source.html', 'c:\test\dest.tiff', '-c TIFF -log c:\test\HTML.log');
IF c.ErrorMessage<> Then
ShowMessage(c.ErrorMessage);
end;
var c = new ActiveXObject("HTMLConverterPro.HTMLConverterX");
c.Convert("C:\\test\\source.html", "C:\\test\\dest.pdf", "-c PDF");
if (c.ErrorMessage!="")
alert(c.ErrorMessage)
use Win32::OLE; my $src="C:\\test\\test.html"; my $dest="C:\\test\\test.tiff"; my $c = CreateObject Win32::OLE 'HTMLConverterPro.HTMLConverterX'; $c->convert($src,$dest, "-c TIFF -log c:\\test\\HTML.log"); print $c->ErrorMessage if -e $dest;
"我选择了Total HTML ConverterX的原因。有几个原因。首先,你们能够提供我们需要的一些功能,而其他转换器则表示无法做到(包括在每页上使用相同的页眉和不在页面之间拆分行的能力)。
其次,即使我们尚未购买产品,你们对我们的请求也非常支持和响应迅速。"
"第三,在我们解释情况时,你们愿意就第二个免版税许可证进行价格调整(我们也对我们的客户进行了类似的调整,因此非常感谢这一点!)。
第四,你们似乎非常注重客户,我感觉一旦我们购买了产品,你们不会忽视我(我是对的——客户服务非常棒!)"
Andy Poulsen | www.asp-inno.com
Developers and IT teams that convert HTML to PDF, DOC, and images on web servers via ActiveX
Add HTML conversion to your web application via ActiveX
Web developers integrate Total HTML ConverterX into ASP, PHP, or .NET applications to convert user-submitted HTML files to PDF, DOC, or images on the server. Multiple users perform simultaneous conversions with no GUI interruptions — the converter runs silently and returns results automatically.
Convert HTML reports to PDF with digital signatures
Enterprise applications generate HTML reports on the server and use Total HTML ConverterX to convert them to PDF for delivery. Add digital signatures for document authenticity, apply custom watermarks, and auto-fit wide HTML tables to the chosen page size — all as part of the automated report pipeline.
Convert HTML content to standard formats for archival
Document management systems use Total HTML ConverterX to convert incoming HTML files, saved web pages, and email templates to PDF or TIFF for standardized storage. The converter recognizes all HTML tags and CSS styles, producing faithful output with headers, footers, and metadata extraction for database indexing.
Serve HTML conversion to all users on your local network
Organizations deploy Total HTML ConverterX as a client-server application on the local network. Employees across departments submit HTML files for conversion to PDF, XLS, or TIFF through a shared service — eliminating the need to install desktop converters on every workstation.
Batch-convert HTML files via command line on servers
IT teams run Total HTML ConverterX via command line in scheduled batch jobs and automated workflows. HTML output from web scrapers, CMS exports, or application logs is converted to PDF or images on arrival. Errors are saved to a log file for monitoring — no pop-ups or user interaction required.
|
|
|