You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A command line tool to convert Microsoft Office documents to PDFs
Notifications You must be signed in to change notification settings
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go to fileCognidox would not exist without the help of many open source projects. Perl, Apache and Solr are just a few of the excellent open source packages that help make CogniDox a leading document management system. So, to show our appreciation, we've released a couple of open source projects such as OfficeToPDF to help others.
If you are using Office 2007, you will also need:
It is distributed under the Apache 2.0 license.
The following file types can be converted:
Conversion of Visio, Publisher and Project files require that the Visio, Publisher and Project applications are installed. These are not included in the Office standard package.
In order to use the tool, download the officetopdf.exe file and, from the command line, run officetopdf.exe with two arguments - the source Office document and the destination PDF document. e.g.
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\test> officetopdf.exe somefile.docx somefile.pdf
The following optional switches can be used:
The following error codes are returned by OfficeToPDF. Note that multiple errors are returned as a bitmask, so bitwise operations can test for multiple errors.
0 - Success 1 - Failure 2 - Unknown Error 4 - File protected by password 8 - Invalid arguments 16 - Unable to open the source file 32 - Unsupported file format 64 - Source file not found 128 - Output directory not found 256 - The requested worksheet was not found 512 - Unable to use an empty worksheet 1024 - Unable to modify or open a protected PDF 2048 - Raised when there is a problem calling an Office application 4096 - There are no printers installed, so Office conversion can not proceed
CogniDox is a web-based, document management software tool aimed primarily at supporting high-tech product development. It enables better product lifecycle management and knowledge transfer from developers to partners, clients and customers.
We provide highly-integrated support for system engineering workflows and the product lifecycle. Plug-ins are provided for CMS products, software SCM tools, EDA tools, CRM systems, CAD tools and Help Desk applications. Our "Xtranet" solution enables companies to add a secure self-service customer portal onto their public web sites.