Computers

Converting Word to PDF

The PDF file format, also known as the Portable Document Format, is developed by the Adobe Corporation. Its main use is transferring of documents through the internet. All PDF files contain all the elements of the original presentation and hence avoiding problems like broken layouts or missing fonts and these files are protected from changes. To view these PDF files one has to download the Adobe Acrobat Reader which is supported by all operating systems.

Conversion of word documents into PDF –

Many people prefer to convert their word files into PDF for varied number of reasons a few being that it becomes easier to send a single uniform file to many people, getting the print outs of your file from computer shops is easier and there is no problem in transferring your file from one operating system to another. Word to PDF converter, OpenOffice, Adobe Acrobat are some of the software’s that could be used to convert and view Excel, Word and Powerpoint files into PDF.

Word files can also be converted into PDF files without downloading any programs by using online sites like ExpressPDF and doc2pdf etc. Files can be converted within minutes online by just uploading them to the site.

Conversion of word to PDF using a document converter –

Making the choice of a document converter as your printer is the main step for converting your word files into PDF. The document converter can be set as your default printer by following these steps –

Go to Start > Control Panel > Printers and faxes > right click on the document converter > select Set as Default.

To convert your documents follow these steps –

1) Open your word document.

2) Select Print.

3) Select the document converter (Universal Document Converter or Adobe PDF converter).

4) If you have the Universal Document Converter, then click properties and select the option Document to PDF. Select OK and then Print. If you have the Adobe PDF Printer, you can directly specify the location and name of the PDF file and then click OK and save it.

Conversion of word to PDF using OpenOffice –

If you are a Linux user, or you have OpenOffice installed on your computer, then converting of your documents can be done by using Macro. Follow these steps to use Macro –

1) Select Tools > Macros > Macro; in OpenOffice.

2) Select Organizer and then go to the Libraries tab.

3) Name your library by clicking new and set the Application/Document to soffice.

4) Go to the modules tab, on selecting your library click New Module. Give the module the name of Conversion.

5) On a new window popping up, paste the entire code given below –

Sub ConvertWordToPDF(cFile) cURL = ConvertToURL(cFile)

‘ Open the document.

‘ Just blindly assume that the document is of a type that OOo will

correctly recognize and open — without specifying an import filter.

oDoc = StarDesktop.loadComponentFromURL(cURL, “_blank”, 0, Array(MakePropertyValue(“Hidden”, True), ))

cFile = Left(cFile, Len(cFile) – 4) + “.pdf”

cURL = ConvertToURL(cFile)

‘ Save the document using a filter.

oDoc.storeToURL(cURL, Array(MakePropertyValue(“FilterName”, “writer_pdf_Export”), ))

oDoc.close(True)

End Sub

Function MakePropertyValue( Optional cName As String, Optional uValue ) As com.sun.star.beans.PropertyValue

Dim oPropertyValue As New com.sun.star.beans.PropertyValue

If Not IsMissing( cName ) Then

oPropertyValue.Name = cName

EndIf

If Not IsMissing( uValue ) Then

oPropertyValue.Value = uValue

EndIf

MakePropertyValue() = oPropertyValue

End Function

6) Exit OpenOffice after saving.

Using OpenOffice Macro on Linux for converting Word to PDF –

Create the following shell script in the directory /usr/local/bin/:

#!/bin/sh

DIR=$(pwd)

DOC=$DIR/$1

/user/bin/oowriter-invisible

“macro://Standard.Module1.ConvertWordToPDF($DOC)”

On the Word document file, run this shell script, and a PDF file will be created.

Using OpenOffice Macro on Windows for converting Word to PDF –

Open the file after closing OpenOffice and type the following command –

@ECHO OFF

“c:\program files\OpenOffice.org1.1.0\program\soffice”-invisible

“macro:////NameofyourLibrary.Conversion.ConvertWordToPDF(%1)”

Rem “c:\program files\OpenOffice.org1.1.0\program\soffice” -invisible

“macro:////NameofyourLibrary.Conversion.test(%1)”

Type, “convert c:\docu9.doc”, from the command line. The file docu9.pdf, will be present in the C:\ folder.

Convert Word to PDF on a Mac –

In Mac OS X, the process of converting word documents into PDF files is nearly the same as it is in Windows. But a document converter is not required in case of Mac OS X to convert Word into PDF. Follow these steps for conversion of your file in Mac OS X –

1) Open the file in the text editor.

2) Select the File menu and then click on Print.

3) A new window will open. Select the PDF button present on the bottom-left of the window and then click the “Save as PDF” option.

4) Rename your file, choose a location for it and then save the file.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon

Related articles:

  1. How to View Docx Files Receiving a file with the extension docx means that a...
  2. iTunes to MP3 Conversion The files that are bought from an iTunes store are...
  3. How do I Convert MP3 from MP4? It really is a lot easy task to covert MP4...
  4. Video Conversion AVI to DVD Conversion The conversion of a video file...
  5. How can you Delete the Internet History? How can one delete the Internet History? Deleting one’s Internet...

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>