Enabling PrintAnywhere to permit print jobs from a remote CPS server
If you have a PrinterOn deployment in which the PrintAnywhere Server and the CPS are on different servers, you need to modify Apache Tomcat to allow PrintAnywhere to accept requests from the CPS server.
📘 Instructions
To allow PrintAnywhere to receive jobs from a remote CPS server:
From the server hosting PrinterOn, stop the CPS Apache Tomcat service.
Navigate to C:\Program Files (x86)\PrinterOn Corporation\Apache Tomcat\Conf.
Open the server.xml file in any text editor.
Locate the following section:
<Context path="/PasServlet">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.0\.0\.1"/>
</Context>
The allow parameter specifies the IP address of the server(s) from which Tomcat accepts requests.
Modify the value of the allow parameter to the IP address of the server hosting CPS. For example:
CODEallow="172\.16\.39\.52" OR allow="172.16.39.52"
Note: If you have enabled email printing, or you have multiple CPS servers, you can enter multiple IP addresses by separating with a pipe character (|). For example:
allow="127.0.0.1|172.16.39.52"
Save the changes to server.xml.
Start the Apache Tomcat service.