Document Conversion Service box shot

Controlling PowerPoint Conversion in Document Conversion Service


PEERNET Document Conversion Service is an off the shelf high volume solution for converting documents to high quality TIFF, JPEG, Adobe PDF, and other image formats. The Peernet Document Conversion Service Product is a very flexible, easy to navigate and robust solution for converting your files.

This article continues a series of articles highlighting the individual conversion options of each of the converters included with Document Conversion Service. A list of the previously posted articles is available at the end of this article.

Controlling the PowerPoint Converter

The PowerPoint converter includes options to control the orientation of the slides and notes in the presentation and to configure the size of the slides.

You can also control if the slides or both slides and notes in the presentation, are converted. Showing hidden slides and comments as well as how the slides and notes are displayed on each page are some of the other options available.

The tables below show a few of the available for PowerPoint conversion. A complete list of available settings can be found here.

Printing Options

Setting NameValues
Microsoft.PowerPoint.PrintOptions.FrameSlidesTrue
False
Microsoft.PowerPoint.PrintOptions.FitToPageTrue
False
Microsoft.PowerPoint.PrintOptions.OutputTypePrintOutputSlides
PrintOutputNotesPages
PrintOutputOutline
PrintOutputBuildSlides
PrintOutputOneSlideHandouts
PrintOutputTwoSlideHandouts
PrintOutputThreeSlideHandouts
PrintOutputFourSlideHandouts
PrintOutputSixSlideHandouts
PrintOutputNineSlideHandouts
Microsoft.PowerPoint.PrintOptions.PrintColorTypePrintColor
PrintBlackAndWhite
PrintPureBlackAndWhite
Microsoft.PowerPoint.PrintOptions.PrintCommentsTrue
False
Microsoft.PowerPoint.PrintOptions.PrintHiddenSlidesTrue
False

Page Setup Options

Setting NameValues
Microsoft.PowerPoint.PageSetup.SlideOrientationOrientationHorizontal
OrientationVertical
OrientationMixed
Microsoft.PowerPoint.PageSetup.SlideSizeSlideSizeOnScreen
SlideSizeLetterPaper
SlideSizeA4Paper
SlideSize35MM
SlideSizeOverhead
SlideSizeBanner
SlideSizeCustom
SlideSizeLedgerPaper
SlideSizeA3Paper
SlideSizeB4ISOPaper
SlideSizeB5ISOPaper
SlideSizeB4JISPaper
SlideSizeB5JISPaper
SlideSizeHagakiCard

Telling Document Conversion Service about the Setting

How this setting is passed to Document Conversion Service depends on how you are using the service and its included conversion tools.

When using the settings below, PowerPoint presentations will be converted with:

  • all slides, including hidden slides, fit to a Letter-sized page
  • a thin frame around the border of each slide
  • notes and comments included with the slides

For the command line tools and the PEERNET.ConvertUtility .NET library, the conversion settings are normally passed into the commands by supplying the name of a conversion profile file. This file is a simple XML file stored on your computer.

Sample Profile – PowerPoint with Notes, Comments and Hidden Slides.

<?xml version="1.0" encoding="utf-8"?>
<Profile Type="0"
            DisplayName="TIFF 200dpi Optimized Color"
            Description ="PowerPoint with Notes, Comments and Hidden Slides">
  <Settings>

    <!--PowerPoint Specific options -->
    <add Name="Microsoft.PowerPoint.PageSetup.SlideSize" Value="SlideSizeLetterPaper"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.FitToPage" Value="True"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.FrameSlides" Value="True"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.PrintComments" Value="True"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.OutputType"
         Value="PrintOutputNotesPages"/>

    <!-- Output file options -->
    <add Name="Devmode settings;Resolution" Value="200"/>
    <add Name="Save;Output File Format" Value="TIFF Multipaged"/>
    <add Name="Save;Append" Value="0"/>
    <add Name="Save;Color reduction" Value="Optimal"/>
    <add Name="Save;Dithering method" Value="Halftone"/>

    <!-- TIFF Compression Options -->
    <add Name="TIFF File Format;BW compression" Value="Group4"/>
    <add Name="TIFF File Format;Color compression" Value="LZW RGB"/>
    <add Name="TIFF File Format;Indexed compression" Value="LZW"/>
    <add Name="TIFF File Format;Greyscale compression" Value="LZW"/>
    <add Name="JPEG File Format;Color compression" Value="Medium Quality"/>
    <add Name="JPEG File Format;Greyscale compression" Value="High Quality"/>
    <add Name="Image Options;Fax" Value="0"/>

  </Settings>
</Profile>

If you are using the Watch Folder service included with Document Conversion Service, the collection of settings is passed as part of the definition for each input folder and is used for every file dropped into that folder.

By adding the following highlighted lines into the settings for the desired input folder, any Word documents dropped into that folder will use these settings when they are converted.

Sample Watch Folder Configuration – PowerPoint with Notes, Comments and Hidden Slides

<WatchFolder Name="PowerPoint with Notes, Comments and Hidden Slides">
  <Settings>
    <!-- Folder options -->
    <add Name="InputFolder" Value="C:PEERNETWatchFolderInput"/>
    <add Name="SearchFilter" Value="*.*"/>
    <add Name="IncludeSubFolders" Value="True"/>
    <add Name="DeleteInputSubFolders" Value="True"/>
    <add Name="StagingFolder" Value="C:PEERNETWatchFolderStaging"/>
    <add Name="WorkingFolder" Value="C:PEERNET WatchFolderWorking"/>
    <add Name="FailedFolder" Value="C:PEERNETWatchFolderFailed"/>
    <add Name="CompletedFolder" Value="C:PEERNETWatchFolderCompleted"/>
    <add Name="OutputFolder" Value="C:PEERNETWatchFolderOutput"/>
    <add Name="PollingInterval" Value="15000"/>
    <add Name="DCOMComputerName" Value="localhost"/>
    <add Name="TestMode" Value="false"/>
    <add Name="NormalizeFilenames" Value="false"/>

    <!--PowerPoint Specific options -->
    <add Name="Microsoft.PowerPoint.PageSetup.SlideSize" Value="SlideSizeLetterPaper"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.FitToPage" Value="True"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.FrameSlides" Value="True"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.PrintComments" Value="True"/>
    <add Name="Microsoft.PowerPoint.PrintOptions.OutputType"
         Value="PrintOutputNotesPages"/>

    <!-- Output file options -->
    <add Name="Devmode settings;Resolution" Value="300"/>
    <add Name="Save;Output File Format" Value="TIFF Multipaged"/>
    <add Name="Save;Append" Value="0"/>
    <add Name="Save;Color reduction" Value="Optimal"/>
    <add Name="Save;Dithering method" Value="Halftone"/>
    <add Name="Save;Remove filename extension" Value="0" />
    <add Name="TIFF File Format;BW compression" Value="Group4"/>
    <add Name="TIFF File Format;Color compression" Value="LZW RGB"/>
    <add Name="TIFF File Format;Indexed compression" Value="LZW"/>
    <add Name="TIFF File Format;Greyscale compression" Value="LZW"/>
    <add Name="JPEG File Format;Color compression" Value="Medium Quality"/>
    <add Name="JPEG File Format;Greyscale compression" Value="High Quality"/>
    <add Name="Image Options;Fill order" Value="MSB2LSB"/>
    <add Name="Image Options;Fax" Value="0"/>
    <add Name="Image Options;Fax Profile" Value="0"/>
    <add Name="Image Options;Fax Resolution" Value="4"/>
    <add Name="Processing;Rotate landscape" Value="0"/>
  </Settings>
</WatchFolder>  

Previous article in this series:
Controlling Excel Conversion in Document Conversion Service
Controlling Word Conversion in Document Conversion Service
Controlling PDF Conversion in Document Conversion Service

You can read more about conversion settings in the previous blog entry Setting Conversion Settings in Document Conversion Service.