English

How To: Restore the default PrintingTools service in ArcGIS Server Manager

Summary

ArcGIS Server Manager includes a preconfigured geoprocessing service in the Utilities folder, called PrintingTools, that allows printing a map from a web application.

The instructions provided below describe how to restore the default PrintingTools service for ArcGIS Server Manager, if it is missing due to hardware failure, human error, or other problems.

Procedure

Follow the steps below to restore the default PrintingTools service.

  1. In a web browser, open the Administrator Directory and log in. The URL is formatted:
    http://gisserver.domain.com:6080/arcgis/admin
  2. In the Administrator Directory, click Services.
  3. In the Folders list, select the destination folder for the PrintingTools service.
    Note:
    If an appropriate folder does not exist, create one by clicking createFolder and create a folder (named, for example, PrintingTools).
    

    [O-Image]
     
  4. Click createService.

    Click createService
     
  5. On the Create Service page, paste the following JavaScript Object Notation (JSON) into the Service Properties text box:

    [O-Image]

    Code for ArcGIS Server (versions 10.1-10.5.1):
    {
      "serviceName": "PrintingTools",
      "type": "GPServer",
      "description": "The PrintingTools service is used by web application developers
    to export the contents of a webmap to pdf, jpeg, png or other formats. 
    This service is generally used in the context of providing applications 
    with printing functionality.",
      "capabilities": "null",
      "clusterName": "default",
      "minInstancesPerNode": 1,
      "maxInstancesPerNode": 2,
      "instancesPerContainer": 1,
      "maxWaitTime": 60,
      "maxStartupTime": 300,
      "maxIdleTime": 1800,
      "maxUsageTime": 600,
      "loadBalancing": "ROUND_ROBIN",
      "isolationLevel": "HIGH",
      "configuredState": "STOPPED",
      "recycleInterval": 24,
      "recycleStartTime": "00:00",
      "keepAliveInterval": -1,
      "private": false,
      "isDefault": false,
      "maxUploadFileSize": 0,
      "allowedUploadFileTypes": "",
      "properties": {
        "virtualOutputDir": "/rest/directories/arcgisoutput",
        "outputDir": "C:\\arcgisserver\\directories\\arcgisoutput",
        "showMessages": "Error",
        "toolbox": "${AGSSERVER}/ArcToolBox/Services/Printing Tools.tbx",
        "jobsDirectory": "C:\\arcgisserver\\directories\\arcgisjobs",
        "executionType": "Synchronous",
        "jobsVirtualDirectory": "/rest/directories/arcgisjobs",
        "maximumRecords": "1000"
      },
      "extensions": [],
      "datasets": []
    }
    Code for ArcGIS Server (versions 10.6 or newer):
    {
     "serviceName": "PrintingTools",
     "type": "GPServer",
     "description": "The PrintingTools service is used by web application developers to export the contents of a webmap to pdf, jpeg, png or other formats. This service is generally used in the context of providing applications with printing functionality.",
     "capabilities": "",
     "provider": "ArcObjects11",
     "clusterName": "default",
     "minInstancesPerNode": 1,
     "maxInstancesPerNode": 1,
     "instancesPerContainer": 1,
     "maxWaitTime": 60,
     "maxStartupTime": 300,
     "maxIdleTime": 1800,
     "maxUsageTime": 600,
     "loadBalancing": "ROUND_ROBIN",
     "isolationLevel": "HIGH",
     "configuredState": "STARTED",
     "recycleInterval": 24,
     "recycleStartTime": "20:00",
     "keepAliveInterval": -1,
     "private": false,
     "isDefault": false,
     "maxUploadFileSize": 0,
     "allowedUploadFileTypes": "",
     "properties": {
      "virtualOutputDir": "/rest/directories/arcgisoutput",
      "maximumRecords": "1000",
      "outputDir": "C:\\arcgisserver\\directories\\arcgisoutput",
      "jobsDirectory": "C:\\arcgisserver\\directories\\arcgisjobs",
      "showMessages": "Error",
      "executionType": "Synchronous",
      "toolbox": "${AGSSERVER}/ArcToolBox/Services/Printing Tools.tbx",
      "jobsVirtualDirectory": "/rest/directories/arcgisjobs",
      "resultMapServer": "false"
     },
     "extensions": [],
     "frameworkProperties": {},
     "datasets": []
    }
    Warning:
    Do not change the value for serviceName.
  6. Click Create. The PrintingTools service is created and appears in the Services list.

Related Information