Type %appdata%\Roaming\NPrinting\ODS into the address bar
Open the ods.config file using a text editor
Change the key values as you prefer in your environment.
WsEnabled and HttpEnabled enable or disable the WS and HTTP endpoints respectively.
WsHostname and HttpHostname are the DNS hostnames of the WS and HTTP interfaces respectively as they appear to clients. If you enable SSL, these names must be the same as indicated in the SSL certificate.
WsPort and HttpPort are the TCP ports used for the WS and HTTP interfaces respectively. If both endpoints are enabled these ports must be different.
WsEnableSSL and HttpEnableSSL enable or disable the SSL protocol in the respective interface. See section below for further detail about SSL configuration.
Save the file
Check that your firewall settings are compliant with the new settings (see section “Firewall settings” above)
Restart the service
Check if configuration has been applied correctly by opening the log file %appdata%\NPrinting\ODS\internal.log using a text editor
Ports reservation Ports reservation is done automatically at service startup in NPrinting 126.96.36.199 or higher releases. In this case skip this section. In some installations you must reserve TCP ports listening for On-Demand service process. Open a command prompt as administrator:
If SSL is disabled type: netsh http add urlacl url=http://+:9000/ user=DOMAIN\user netsh http add urlacl url=http://+:9001/ user=DOMAIN\user (replace 9000 and 9001 with your TCP ports and DOMAIN\user with user you use to launch NPrinting service)
If SSL is enabled type: netsh http add urlacl url=https://+:9000/ user=DOMAIN\user netsh http add urlacl url=https://+:9001/ user=DOMAIN\user (replace 9000 and 9001 with your TCP ports and DOMAIN\user with user you use to launch NPrinting service)
If a port is reserved by other process and you are sure you can use it in On-Demand remove the reservation before enabling it typing netsh http delete urlacl url=http://+:9000/ (replace 9000 with target TCP port and http with https if SSL is enabled)
Important: When SSL is enabled, the HTTP channel is disabled and the HTTPS channel is enabled. So all Extensions and/or Custom Objects must be configured with the UseSSL flag set to true. Conversely, if SSL is disabled, all extensions must be configured with the UseSSL flag set to false.
Important: If QlikView Access Point is configure with SSL, On-Demand service must be configured in SSL too, else NPrinting On-Demand extensions show an "NPrinting service is unreachable" error. This is a restriction due to browser's Same Origin Policy mechanism.
NPrinting On-Demand service records two types of log information: internal log and auditing log.
Log files can be found in the %appdata%\NPrinting\ODS folder.
auditing.log registers all client calls to the service and all server responses to the client. 1 log per-day and 30-days retention policy is enforced.
internal.log file contains internal logging details such as startup and shutdown events, setting and error details. Before contacting support, it is good practice to take a look at internal.log to gather more information about the issue.
Common errors that occur in the NPrinting engine are mapped with the following codes:
Unexpected error occured during On-Demand request processing
Unsupported settings specified in On-Demand request
On-Demand license not activated
Specified NPrinting file in On-Demand request not found
Specified report in On-Demand request not found
Specified task in On-Demand request not found
Specified filter in On-Demand request not found
Specified recipient in On-Demand request not found
Specified connection in On-Demand request not found or incompatible
Unexpected error occured during On-Demand request generation
Unexpected error occured during On-Demand request execution