• Contact
  • Company
  • Login / My Account
  • Shopping Cart (0)
Document Conversion Made Easy!
Peernet Menu
  • Products
      • Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG, etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • enterprise-licensingEnterprise Licensing for your Corporation
      • discounts-multiple-licensesDiscounts for Purchasing Multiple Licenses
      • distribute-bundle-peernet-softwareDistribute PEERNET Software Bundled with your Product
  • Purchase
      • Purchase Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • Purchase PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Purchase Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Purchase Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • peernet-online-store-purchase-optionsPurchase Options
      • peernet-software-license-levelsLicense Levels
      • peernet-software-purchase-resellerFind Resellers
      • peernet-software-sales-faqsSales FAQ
  • Learn & Support
        • peernet-help-centerTutorials
          • Learn the Basics or Go Beyond with Video Tutorials, FAQs and Guides

            At PEERNET we pride ourselves on providing the best support and the fastest response times in the industry.
          • Select Software Tutorials:
              • tiff-image-printer-iconTIFF Image Printer
              • raster-image-printer-iconRaster Image Printer
              • pdf-image-printer-iconPDF Image Printer
              • pdf-creator-plus-iconPDF Creator Plus
              • document-conversion-service-iconDocument Conversion Service
              • file-conversion-center-iconFile Conversion Center
              • peernet-reports-iconPEERNET Reports
        • peernet-software-faqsSales FAQ
          • Popular Topics

            Find all the answers you need to our most frequently asked questions.
              • Download & Install
                • How do I download software I already purchased?
              • Purchasing & Renewing
                • How do I purchase PEERNET software?
                • What license level do I need?
                • How do I add licenses to an existing serial number?
                • How do I renew my annual subscription?
              • Licensing & Operating
                • How do I activate my new PEERNET software?
                • How do I activate my software without an internet connection?
                • Where do I find my serial number?
                • How do I move my software to a new computer?
                • How do I update/upgrade my software to the latest release?
            • Read all Sales FAQs
  • Blog
  • Menu Menu
Document Conversion Service box shot

Controlling Excel Conversion in Document Conversion Service

October 1, 2013/by Robert Massart

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 conversion solution.

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 Excel Converter

The Excel converter has options to control the printing order of worksheets and charts, what data is shown, and what printing area, if any, is used.

You can control how the workbook is printed, including grid lines, comments and notes, margins, and headers and footers. You can also provide passwords to handle protected documents. A useful feature for e-Discovery applications is the ability to control what is printed in any auto date, time and file name fields in the document. A small sample of some of the available settings is listed below. A complete list of available settings can be found here.

Printing Options

Setting NameValues
Microsoft.Excel.PrintOutPrintOutWorkbookOnly(default) PrintOutChartsOnly PrintOutChartsThenWorkbook PrintOutWorkbookThenCharts
Microsoft.Excel.Worksheet.ShowAllDataFalse(default) True
Microsoft.Excel.PageSetup.OrderDownThenOver OverThenDown
Microsoft.Excel.PageSetup.PrintCommentsPrintNoComments(default) PrintSheetEnd PrintInPlace
Microsoft.Excel.PageSetup.PrintGridlinesTrue False

Document Protection

Setting NameValues
Microsoft.Excel.UnprotectPasswordA string value containing the password to use to unprotect the Excel document.
Microsof.Excel.OpenPasswordA string value containing the password to use to open a password-protected Excel document.
Microsoft.Excel.WritePasswordA string value containing the password to use to allow saving changes to the Excel document.

Field Replacement

Setting NameValues
Microsoft.Excel.ReplaceFieldDateWithThe string value to place in the field.
Microsoft.Excel.ReplaceFieldTimeWithThe string value to place in the field.
Microsoft.Excel.ReplaceFieldFileNameWithA string value to replace the auto file name field.

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. The samples shown below will configure Excel spreadsheets to be printed with:

  • the charts first, then the spreadsheet with any comments visible,
  • gridlines displayed on the spreadsheet,
  • and all date fields replaced with the string “***DATE***”.

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 – Excel Charts then Sheets, Show Gridlines, Comments, and Date Replacement.

<?xml version="1.0" encoding="utf-8"?>
<Profile Type="0"
         DisplayName="TIFF 200dpi Optimized Color"
         Description ="Excel Charts First with Gridlines, Comments, Date Replacement.">

  <Settings>

    <!--Excel Specific options -->
    <add Name="Microsoft.Excel.PrintOut" Value="PrintOutChartsThenWorkbook"/>
    <add Name="Microsoft.Excel.PageSetup.PrintGridlines" Value="True"/>
    <add Name="Microsoft.Excel.PageSetup.PrintComments" Value="PrintInPlace"/>
    <add Name="Microsoft.Excel.ReplaceFieldDateWith" Value="***DATE***"/>

    <!-- 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 – Excel Charts then Sheets, Gridlines, Comments, with Date Replacement

<WatchFolder Name="Excel Charts First with Gridlines, Comments, Date Replacement">
  <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"/>

    <!--Excel Specific options -->
    <add Name="Microsoft.Excel.PrintOut" Value="PrintOutChartsThenWorkbook"/>
    <add Name="Microsoft.Excel.PageSetup.PrintGridlines" Value="True"/>
    <add Name="Microsoft.Excel.PageSetup.PrintComments" Value="PrintInPlace"/>
    <add Name="Microsoft.Excel.ReplaceFieldDateWith" Value="***DATE***"/>

    <!-- 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 Word Conversion in Document Conversion Service
  • Controlling PDF Conversion in Document Conversion Service

Read more about conversion settings in the previous blog entry Setting Conversion Settings in Document Conversion Service for an overview on conversion settings.

https://www.peernet.com/wp-content/uploads/DCSBox-for-blog.jpg 450 1516 Robert Massart https://www.peernet.com/wp-content/uploads/peernet-logo.png Robert Massart2013-10-01 08:00:402019-07-16 14:56:14Controlling Excel Conversion in Document Conversion Service
  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports
Search Search

Recent Posts

  • PNSrv11Lib to PNSrv12Lib: Migration Made Easy
  • Migrating to Version 12: Compatibility Mode Quick Start Guide
  • Well Logs: Stitch PDF Pages into a Continuous TIFF Image
  • Dynamic Stamp Content
  • Convert to PDF: The Power of On-Premise PDF Creation

INTERESTING LINKS

Below are some interesting links for you! Enjoy your stay :)

RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

OUR PRODUCTS

  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports

LATEST NEWS

  • PNSrv11Lib to PNSrv12Lib: Migration Made EasyMarch 14, 2025 - 2:10 pm
  • Migrating to Version 12: Compatibility Mode Quick Start GuideMarch 14, 2025 - 2:09 pm
  • Well Logs: Stitch PDF Pages into a Continuous TIFF ImageMarch 14, 2025 - 2:08 pm
  • Dynamic Stamp ContentNovember 4, 2024 - 4:47 pm

BUSINESS INFORMATION

Toll Free: 1-800-883-7980 North America

Tel: 1-613-224-6894

Our office hours are Monday to Friday, from 0900 hrs to 1700 hrs, Eastern Standard Time.

Email Address: [email protected]
Copyright © 1997-2026. All rights reserved. Terms and Conditions | Disclaimer | Privacy Policy | Trademarks.
PEERNET® is a registered trademark of PEERNET Inc.
  • Link to Youtube
  • Link to Rss this site
  • Products
  • Purchase
  • Company
  • Contact
Link to: Adding Custom Text Watermark To PDF Files Link to: Adding Custom Text Watermark To PDF Files Adding Custom Text Watermark To PDF FilesConvert to PDF box shot Link to: Info-graphic on Leaked Documents Scandal Link to: Info-graphic on Leaked Documents Scandal Info-graphic on Leaked Documents Scandal
Scroll to top Scroll to top Scroll to top