Follow

How do the various parts of Print Manager Plus communicate between the Primary Printing Service and SQL database?

Print Client for User Interaction:
The windows print client has two listening functions. One using named pipes, on port 445, the other using TCP/IP Sockets on port 48102

Upon receiving user interaction, the client may simply show a message, or require the user to respond in some way. When a response is sent back, this is done either via the same TCP/IP or Pipe Connection setup by the server, or by creating a new connection to the server using Port 48101 for TCP/IP, or Port 445 for named pipes.


Print Manager Plus Tracking Service:
The following covers the common network communications from the tracking service.

SQL Connection:
This service access the Print Manager Plus database directly using Windows OLEDB/ODBC SQL Drivers. The ports used are either (A) TCP/IP and is typically Dynamic and Randomly setup by the SQL Server, or (B) Using Named Pipes on Port 445. Our software remembers which protocol was successful, and requests the driver use that one automatically for future connections.

SQL Logon:
By default, the service account that the service is running as within Windows, will be used to authenticate against the MS SQL Server, and attempt to gain access to the database using the Trusted Connection.


Alternatively, during install SQL Authentication can be selected instead if it has been enabled in your SQL Server. In this situation the service will run as Local System Account.


Windows Communications.
In addition to contacting the SQL Server, the service may use various Windows APIs for accessing and verifying user information. For further information on protocols used by these APIs, please consult Microsoft Developer Network documentation. Below are some of our more commonly used APIs.

ADSI Functions:
https://msdn.microsoft.com/en-us/library/aa772201(v=vs.85).aspx

Logon User Functions:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa378184%28v=vs.85%29.aspx

Service Functions:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms685942%28v=vs.85%29.aspx


Print Manager Plus Printing Service (Premium Edition with WebPrinting Enabled):

This service listens on Port 48115 using WCF and provides information on status of printers, and handles web prints from the Web Portal. For security it requires Administrative rights on the local machine to interact with the service locally or remotely.

Click Here to read the related article: What firewall ports does Print Manager Plus 9.0 open and use?

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk