PDF for Business

How To Control PDF Conversion in Document Conversion Service


PDF documents can contain a markup. Markup consists of comments and annotations, and stamps that have been added to any of the pages in the PDF file. The default setting for Document Conversion Service is to print the document including any markup and stamps.

If you need to change this; perhaps to print the document without displaying any markup, there is a conversion setting to control this.

You can configure this control or other PDF Conversion options in a Conversion Profile, if you are calling the Command Line or .NET library from your code or the Watch Folder service.

When using the setting in the steps below, PDF file will be printed with:

  • only document, do not include markups, comments and stamps.

Steps For Controlling PDF Conversion using Watch Folder

  1. Stop Watch Folder Service. (Start – Programs – Document Conversion Service 3.0 – Watch Folder – Stop Watch Folder Service)
  2. Open Watch Folder configuration file. (Start – Programs – Document Conversion Service 3.0 – Watch Folder – Configure Watch Folder Settings)
  3. Add the following line in the ConvertToTIFF section:
    • <add Name=” Adobe.PDF.PrintOptions.CommentsAndForms” Value=”Documents”/>
    • For a complete list of settings and values, see Adobe Reader Options in the User Guide.
    <WatchFolder Name="ConvertToTIFF Watch Folder">
      <Settings>
        <!-- Folder options -->
        <add Name="InputFolder" Value="C:\PEERNET\WatchFolders\ConvertToTIFF\Input"/>
        <add Name="SearchFilter" Value="*.*"/>
        <add Name="IncludeSubFolders" Value="True"/>
        <add Name="DeleteInputSubFolders" Value="True"/>
        <add Name="StagingFolder" Value="C:\PEERNET\WatchFolders\ConvertToTIFF\Staging"/>
        <add Name="WorkingFolder" Value="C:\PEERNET\WatchFolders\ConvertToTIFF\Working"/>
        <add Name="FailedFolder" Value="C:\PEERNET\WatchFolders\ConvertToTIFF\Failed"/>
        <add Name="CompletedFolder" Value="C:\PEERNET\WatchFolders\ConvertToTIFF\Completed"/>
        <add Name="OutputFolder" Value="C:\PEERNET\WatchFolders\ConvertToTIFF\Output"/>
        <add Name="PollingInterval" Value="15000"/>
        <add Name="DCOMComputerName" Value="localhost"/>
        <add Name="TestMode" Value="false"/>
        <add Name="NormalizeFilenames" Value="false"/>
        <add Name="CopyInstructionsFromResources" Value="ReadMe_ConvertToTIFF"/>
    
        <!-- 0 means no limit -->
        <add Name="Polling.MaxFilesToProcessAtATime" Value="0" />
        <add Name="Polling.SynchronousFilePickup" Value="false" />
        <add Name="UseTimeDateSubFoldersInCompletedFolder" Value="true" />
        <add Name="UseTimeDateSubFoldersInFailedFolder" Value="true" />
    
        <!—PDF Specific  options -->
        <add Name=" Adobe.PDF.PrintOptions.CommentsAndForms" Value="Documents"/>
    
        <!-- Output file options -->
        <add Name="Devmode settings;Resolution" Value="300"/>
    
        <add Name="Save;Output File Format" Value="TIFF Multipaged"/>
        <!-- Replace the above with this to create serialized images. -->
        <!-- <add Name="Save;Output File Format" Value="TIFF Serialized"/> -->
    
        <add Name="Save;Append" Value="0"/>
        <add Name="Save;Color reduction" Value="Optimal"/>
        <add Name="Save;Dithering method" Value="Halftone"/>
    
        <!-- This creates file.ext.tif, change to 1 to create file.tif-->
        <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"/>
      </Settings>
    </WatchFolder>  
  4. Save the Watch Folder configuration file.
  5. Start the Watch Folder Service. (Start – Programs – Document Conversion Service 3.0 – Watch Folder – Start Watch Folder Service)

Steps For Controlling PDF Conversion Using a Conversion Profile

  1. Stop your application.
  2. Open Profiles folder. (Start – Programs – Document Conversion Service 3.0 – Open Conversion Profiles Folder)
  3. Edit the profile you are using in the Command Line or .NET library call.
  4. Add the following line :
    • <add Name=” Adobe.PDF.PrintOptions.CommentsAndForms” Value=”Documents”/>
    • For a complete list of settings and values, see Adobe Reader Options in the User Guide.
    <?xml version="1.0" encoding="utf-8"?>
    <Profile Type="0"
             DisplayName="TIFF 200dpi OptimizedColor PDF No Markup"
             Description ="TIFF image 200dpi, color, no markup for PDF">
    
      <Settings>
    
        <!—PDF Specific  options -->
        <add Name=" Adobe.PDF.PrintOptions.CommentsAndForms" Value="Documents"/>
    
        <!-- 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>
  5. Save the profile.

Watch Document Conversion Service Tutorials