WEBSITE

PowerShell for SharePoint 2013 : Word Automation Services - Disable Word 97–2003 Document Scanning , Disable Embedded Fonts in Conversions

10/18/2013 7:15:17 PM

1. Disable Word 97–2003 Document Scanning


Scenario/Problem: You want to disable extra checks on Word 97–2003 documents loaded by Word Services.


Solution: Use the DisableBinaryFileScan parameter with the Set-SPWordConversionServiceApplication cmdlet.

DisableBinaryFileScan is a switch parameter. By default, it is false, and Word Services performs additional checks on legacy Word documents (Word 97–2003). If you trust all sources of Word documents, you can disable this additional scanning by using Set-SPWordConversionServiceApplication with the DisableBinaryFileScan switch parameter, as shown in Listing 1.

Listing 1. Disabling the Scanning of Word 97–2003 Documents


Set-SPWordConversionServiceApplication
-Identity "Word Automation Services" -DisableBinaryFileScan


As long as all sources are trusted, it is a good idea to disable scanning to improve performance of Word Services against those documents. To enable scanning, use the same parameter with a $false value, as shown in Listing 2.

Listing 2. Enabling the Scanning of Word 97–2003 Documents


Set-SPWordConversionServiceApplication
-Identity "Word Automation Services" -DisableBinaryFileScan:$false

2. Disable Embedded Fonts in Conversions


Scenario/Problem: You want to disable the use of embedded fonts within Word document conversions.


Solution: Use the DisableEmbeddedFonts parameter with the Set-SPWordConversionServiceApplication cmdlet.

DisableEmbeddedFonts is a switch parameter. By default, it is false, and Word Services supports the conversion of embedded fonts within Word documents. You can disable this support by using Set-SPWordConversionServiceApplication with the DisableEmbeddedFonts switch parameter, as shown in Listing 3.

Listing 3. Disabling Embedded Font Support


Set-SPWordConversionServiceApplication
-Identity "Word Automation Services" -DisableEmbeddedFonts


Unless you are experiencing issues with embedded fonts, you should be able to keep this setting enabled. To enable embedded font support, use the same parameter with a $false value, as shown in Listing 4.

Listing 4. Enabling Embedded Font Support


Set-SPWordConversionServiceApplication
-Identity "Word Automation Services" -DisableEmbeddedFonts:$false

3. Modify the Recycle Threshold


Scenario/Problem: You need to modify the recycle threshold of the conversion processes in Word Services.


Solution: Use the RecycleProcessThreshold parameter with the Set-SPWordConversionServiceApplication cmdlet.

The RecycleProcessThreshold parameter enables you to specify the number of documents each conversion process can convert before the process is recycled. The default value is 100 (documents), whereas the valid range of values is 1 to 1000. Listing 5 shows a sample threshold modification.

Listing 5. Changing the Recycle Threshold


Set-SPWordConversionServiceApplication
-Identity "Word Automation Services" -RecycleProcessThreshold 200


Other  
  •  PowerShell for SharePoint 2013 : Word Automation Services - Modify Job Monitoring, Modify Conversion Timeouts
  •  PowerShell for SharePoint 2013 : Word Automation Services - Configure Supported Document Formats for Conversion, Modify Database Information
  •  PowerShell for SharePoint 2013 : Word Automation Services - Configure the Conversion Processes, Configure Conversion Throughput
  •  ASP.NET 4 : Error Handling, Logging, and Tracing - Throwing Your Own Exceptions
  •  ASP.NET 4 : Error Handling, Logging, and Tracing - Handling Exceptions
  •  ASP.NET 4 : Error Handling, Logging, and Tracing - Exception Handling
  •  ASP.NET 4 : Error Handling, Logging, and Tracing - Common Errors
  •  Sharepoint 2010 : Designing a Workflow Using Visio 2010 (part 3) - Using Visio Services to Visualize Workflow State
  •  Sharepoint 2010 : Designing a Workflow Using Visio 2010 (part 2) - Implementing a Visio Workflow Using SharePoint Designer
  •  Sharepoint 2010 : Designing a Workflow Using Visio 2010 (part 1) - Using the Microsoft SharePoint Workflow Template
  •  
    Top 10
    Review : Sigma 24mm f/1.4 DG HSM Art
    Review : Canon EF11-24mm f/4L USM
    Review : Creative Sound Blaster Roar 2
    Review : Philips Fidelio M2L
    Review : Alienware 17 - Dell's Alienware laptops
    Review Smartwatch : Wellograph
    Review : Xiaomi Redmi 2
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8