Logo
arrow1 File Converters
arrow1 TIFF and PDF apps
arrow1 Forensic
arrow1 Freeware

Convert DOC to PDF Via Command Line

 

Total Doc Converter X is a server based tool to convert Doc to PDF in batch. By installing Doc Converter X on a web server you can choose to make it accessible to the entire network or make part of your application via ASP.NET. Or if you prefer, it can be used as a stand-alone app.

Once you've installed the Total Doc Converter X you'll notice that it is GUI-free. Instead we provide users with a comprehensive list of commands that can be sent through the command line environment. Whether you're a server administrator or network user, setting job parameters and initiating the conversion process is quick and easy. You'll even be able to save project settings in .bat format for automation purposes later on.

Other options (when converting to PDF) include:

  • Add page numeration.
  • Customize the header & footer.
  • Include a custom watermark.
  • Secure target document with encryption.
  • Ensure document authenticity with a digital signature.
  • Combine multiple documents into a single, multi-page PDF file.
  • Preserve the properties of the original document(s).
  • Perform batch conversions.
  • Able to convert Doc to multiple formats.

By taking advantage of this feature, it's not necessary that your network users know how to convert Doc to PDF from Windows command line. Thanks to ActiveX support, Doc Converter X can be easily integrated into other apps through the Windows shell.

With so many built-in customization options, there's no need to struggle with multiple toolsets. Total Doc Converter X does it all! You'll soon discover that your output files are more useful than the corresponding originals.

Because this is a command line converter app, network users are able to perform quiet, behind the scenes conversions without any interrupting messages.

Give our app a try today by purchasing the full version. We offer several different licensing options specifically designed to accommodate both large and small servers. For enterprise licensing, contact us via this form.

Each license is life-time and includes all major upgrades for 12 months. You can keep the current license after that or purchase an upgrade with a 70% discount later. To learn more, check us out online at Facebook, Twitter and visit our blog.

Windows Vista/7/8/10/11


 

Download Now!

Updated Fri, 20 Sep 2024

Examples of Total Doc ConverterX

Convert Doc files With TotalDocConverterX and .NET

string src="C:\\test\\Source.Doc";
string dest="C:\\test\\Dest.PDF";

DocConverterX Cnv = new DocConverterX();
Cnv.Convert(src, dest, "-c PDF -log c:\\test\\Doc.log");

MessageBox.Show("Convert complete!");

Download .NET Doc Covnerter example

Convert Doc Files On Web Servers With Total Doc ConverterX

dim C
Set C=CreateObject("DocConverter.DocConverterX")
C.Convert "c:\source.DOC", "c:\dest.TIF", "-cTIF -log c:\doc.log"
Response.Write C.ErrorMessage
set C = nothing
Example2 ASP: directly stream the resulting PDF
dim C
Set C=CreateObject("DocConverter.DocConverterX")
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.doc", "C:\www\ASP", "-cpdf  -log c:\html.log")
set C = nothing
If you use ActiveX on a web-server, please, remember to register it in your web-server account. If you don't have MS Office or MS Word installed on your computer, please download this additional free office converter pack to convert doc files.

Some more samples in C# specifically for ASP.net. If you need examples on other languages please contact us. We will create any example specially for you.

Convert Doc Files On Web Servers With Total Doc ConverterX

$src="C:\test.doc";
$dest="C:\test.htm";
if (file_exists($dest)) unlink($dest);
$c= new COM("DocConverter.DocConverterX");
$c->convert($src,$dest, "-c htm  -log c:\doc.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;

Convert Doc Files With Total Doc ConverterX and Ruby

require 'win32ole'
c = WIN32OLE.new('DocConverter.DocConverterX')

src="C:\\test\\test.docx";
dest="C:\\test\\test.pdf";

c.convert(src,dest, "-c PDF -log c:\\test\\Doc.log");

if not File.exist?(dest)
  puts c.ErrorMessage
end

Convert Doc files With Total Doc ConverterX and Python

import win32com.client
import os.path

c = win32com.client.Dispatch("DocConverter.DocConverterX")

src="C:\\test\\test.docx";
dest="C:\\test\\test.pdf";

c.convert(src, dest, "-c PDF -log c:\\test\\Doc.log");

if not os.path.exists(file_path):
  print(c.ErrorMessage)

Convert Doc files With Pascal and Total Doc ConverterX

uses Dialogs, Vcl.OleAuto;

var
  c: OleVariant;
begin
  c:=CreateOleObject('DocConverter.DocConverterX');
  C.Convert('c:\test\source.docx', 'c:\test\dest.pdf', '-cPDF -log c:\test\Doc.log');
  IF c.ErrorMessage<> Then
    ShowMessage(c.ErrorMessage);
end;

Convert Doc Files On Web Servers With Total Doc ConverterX

var c = new ActiveXObject("DocConverter.DocConverterX");
c.Convert("C:\\test\\source.docx", "C:\\test\\dest.pdf", "-c PDF");
if (c.ErrorMessage!="")
  alert(c.ErrorMessage)

Convert Doc files With Total Doc ConverterX and Perl

use Win32::OLE;

my $src="C:\\test\\test.docx";
my $dest="C:\\test\\test.pdf";

my $c = CreateObject Win32::OLE 'DocConverter.DocConverterX';
$c->convert($src,$dest, "-c pdf  -log c:\\test\\Doc.log");
print $c->ErrorMessage if -e $dest;
Support
Get all CoolUtils products
for $99 only
read more

  (you save up to $500)


Total Doc Converter X Preview1

Latest News

Newsletter Subscribe

No worries, we don't spam.


© 2024. All rights reserved. CoolUtils File Converters

Cards