2.80:Render (Activity): Difference between revisions
Dgreenwood (talk | contribs) No edit summary |
Dgreenwood (talk | contribs) No edit summary |
||
| Line 144: | Line 144: | ||
Next, you must Install an Activity Processing Service using the '''Tread Pool''' created in the previous step. Grooper Services are installed through the Grooper Config application. You must run Grooper Config as an administrator to install and edit services. | Next, you must Install an Activity Processing Service using the '''Tread Pool''' created in the previous step. Grooper Services are installed through the Grooper Config application. You must run Grooper Config as an administrator to install and edit services. | ||
{|cellpadding=20 | |||
|- | |||
| | |||
# Locate the Grooper Config application (seen here using the Windows Start menu). | # Locate the Grooper Config application (seen here using the Windows Start menu). | ||
# Right click Grooper Config and select "Run as administrator" to run the program with the administrator's rights. | # Right click Grooper Config and select "Run as administrator" to run the program with the administrator's rights. | ||
{|cellpadding="10" cellspacing="5" style="margin:auto" | |||
|-style="background-color:#f89420; color:white" | |||
|style="font-size:14pt"|'''!'''||You ''must'' run Grooper Config as an administrator to install or edit a Service. | |||
|} | |||
| | |||
[[File:Render Thread Pools 2-1.png|950px]] | |||
|- | |||
| | |||
#<li value="3"> In Grooper Config, select the "Services" tab. | |||
| | |||
[[File:Render Thread Pools 3-1.png|950px]] | |||
|- | |||
| | |||
#<li value="4"> Press the "Install..." button to add a new service. | |||
# In the "Install New Service" window, select "Activity Processing" | |||
# Press the "OK" button. This will take you to the configuration screen for this service. | |||
| | |||
[[File:Render Thread Pools 3-2.png|950px]] | |||
|} | |||
</tab> | |||
<tab name="Step 3" style="margin:20px"> | |||
==== Configure the Activity Processing Service ==== | |||
Next, you just need to configure the service's settings. In this case, we will just set the '''''Thread Pool''''' property to the '''Thread Pool''' created in Step 1. | |||
{|cellpadding=20 | |||
|- | |||
| | |||
# Select the '''''Thread Pool''''' property. Using the dropdown menu, select the '''Thread Pool''' created in Step 1 (Here, named "Render"). | |||
| | |||
[[File:Render Thread Pools 4-1.png]] | |||
|- | |||
| | |||
#<li value="2"> Ensure the '''''Number of Threads''''' property remains at ''1''. The '''Render''' activity must run single-threaded. | |||
# Enter the User Name and Password credentials for the administrator's account if not already present. | |||
# Press the "OK" button when finished. | |||
| | |||
[[File:Render Thread Pools 4-2.png]] | |||
|- | |||
| | |||
#<li value="5"> On the following screen, press the "Start" button to run the Activity Processing Service. | |||
| | |||
[[File:Render Thread Pools 3-3.png|950px]] | |||
|} | |||
</tab> | |||
<tab name="Step 4"> | |||
==== Set the Thread Pool in your Batch Process Step ==== | |||
Last, the '''Render''' step of your '''Batch Process''' must be told which '''Thread Pool''' to use. | |||
{|cellpadding=20 | |||
| | |||
# Select the '''Render''' step of your Batch Process (Here there is only one step in the Batch Process. Yours will likely have many.) | |||
# In the "Properties of Render Step" panel, select the '''''Thread Pool''''' property. Using the dropdown menu, change this from "Default" to the '''Thread Pool''' created in Step 1 (Here, named "Render"). | |||
| | |||
[[File:Render Thread Pools 5-1.png|950px]] | |||
|- | |||
</tabs> | </tabs> | ||
Revision as of 16:24, 1 June 2020
| WIP | This article is a work-in-progress and may abruptly stop in the middle of a section. |

The Render activity normalizes electronic document content from file formats Grooper cannot read innately (such as .docx Word documents and .xlsx Excel documents) to a PDF format. This allows Grooper to extract the text via the Recognize activity.
About
Render effectively "prints" the document as a PDF file, outputting a PDF document containing a scanned image of that document and any native text data. This is done using the Grooper Render Printer. In order to do this, four conditions must be met:
- The Grooper Render Printer must be installed on the machine running the Render activity. For information on how to install the Grooper Render Printer visit the How To section of this article.
- The Grooper Render Printer must be set as the default printer under for the user account running the Render activity.
- The native application for the file type must be installed on the machine running the Render activity. For example, Word must be installed in order for Render to render .docx files as PDFs.
- The native application must provide a shell print verb. In other words, when you right click the file in Windows File Explorer, a "Print" option is present.
Once the document is processed with the Render activity, you will be able to manipulate the document as if it is a PDF document in Grooper. You will be able to use other PDF related activities, such as Content Action to split out individual pages of multi-page PDFs and the native PDF text extraction functionality of the Recognize activity.
| Before rendering to PDF using Render | After rendering to PDF using Render |
Render and Batch Processing
For Batch Processing, the Render activity can only run on one individual machine at a time, using a single thread of processing resources. This means a Grooper Activity Processing service must be created using a Thread Pool with its Concurrency Mode set to PerMachine.
Thread Pools control how much of your system's resources are allocated to processing Activities. Most activities can take full advantage of your system's parallel processing resources and grab multiple threads at a time. Furthermore, multiple instances of an activity can generally run on multiple machines. For example, four workstations working in the same Grooper Repository could each run two instances of the Recognize activity as long as there are the threads available to process each task.
However, the Render activity is different. It can only run on one machine at a time, using a single thread. That means only one Render task can perform at a time on a single machine at a time. Each document rendered by the Render activity must be converted to a PDF one at a time, and if multiple machines are attempting to execute the Render activity, they have to wait their turn until the machine ahead of them is finished.
For more information on how to set this up, visit the How To section of this article.
How To
Install the Grooper Render Printer
Download the Grooper Render Printer Installer
First, download the Grooper Render Printer Installer from Grooper xChange. Click on the link below to download the installer files.
https://xchange.grooper.com/discussion/118/grooper-render-printer-installation
Extract the Installer Files and Run the Installer
Step Through the Installer Prompts
Set the Grooper Render Printer as the Default Printer
Set up Activity Processing for Render
Add a New Thread Pool
By default there is only a single Thread Pool in your Grooper Repository, aptly named "Default". In order to use the Render activity in a Batch Process, you will need to create a new Thread Pool.
|
|||
|
Set up the Activity Processing Service
Next, you must Install an Activity Processing Service using the Tread Pool created in the previous step. Grooper Services are installed through the Grooper Config application. You must run Grooper Config as an administrator to install and edit services.
|
|||
|
|||
|
Configure the Activity Processing Service
Next, you just need to configure the service's settings. In this case, we will just set the Thread Pool property to the Thread Pool created in Step 1.
|
|
|
|
|
<tab name="Step 4">
Set the Thread Pool in your Batch Process Step
Last, the Render step of your Batch Process must be told which Thread Pool to use.
|








