This example shows how to configure an application server and a central print server for printing with Connection Service in Windows.
On the client side, the example describes a workstation running Windows (a local print server could be used instead); information for other operating systems and devices is found in the online documentation of ThinPrint Hub, ThinPrint Client Linux and ThinPrint Client Mac.
The components required for this example are:
- 1 application server (e. g. a Citrix XenApp server in the domain)
- 1 central Windows print server (in the domain) with ThinPrint Engine installed
- 1 Windows server with Connection Service installed
- 1 ThinPrint License Server (can be installed on any server of the domain)
- 1 NAT router
- 1 Windows workstation with ThinPrint Client Windows installed
- 1 network printer with an internal or external print server (without embedded ThinPrint Client)
- The ThinPrint Connection Service only works with TCP/IP.
- Installation of the ThinPrint Engine on a central print server is not described in depth here. For the installation procedure, see Installing ThinPrint Engine on the print server.
|Installed on …||Component||IP address (computer name)|
|Central print server||ThinPrint Engine||192.168.149.114 (cps47.ourdomain.local)|
|Additional Windows server||ThinPrint Connection Service||192.168.149.23 (tp-proxy-04)|
|Application server (e. g. XenApp)||ThinPrint Engine||192.168.149.200 (ts074.ourdomain.local)|
(or local print server)
|ThinPrint Client||192.168.1.150 (client701)|
Provide an application server; e. g., a Citrix XenApp server or a Microsoft Remote Desktop Session host (or terminal server).
Install ThinPrint Engine on a central print server. Please see ThinPrint Engine on print servers.
Install a ThinPrint Client on a Windows workstation (or on a local Windows print server). See ThinPrint Client Windows.
Install ThinPrint License Server on any Windows server. Enable at least one user for ThinPrint. See License Server.
Assign all computers and devices involved IP addresses in the headquarters’ subnet (192.168.149.0 / 24) and in the local, masked subnet (192.168.1.0 / 24); for example:
- For the application server: 192.168.149.200
- For the central print server: 192.168.149.114
- For the server with Connection Service: 192.168.149.23
- For the local print server: 192.168.1.150
- For the network printer: 192.168.1.50
If you are running non-Windows servers as host systems (application servers) but the central print server is nevertheless a Windows server, please activate the server role LPD Service on the central print server (Server Roles→ Print and Document Services→ LPD Service) or else install alternative software such as SAPSprint.
On the workstations1 you can use Windows or a non-Windows operation system. The only requirement is that the ThinPrint Client to be installed supports the Connection Service; the following are appropriate:
- ThinPrint Client Windows
- ThinPrint Client Service Windows
- ThinPrint Client Linux
- ThinPrint Client Mac
- All print server devices and appliances with embedded ThinPrint Client
If you want to use Driver Free Printing to send print data from the central print server to the workstations, you must use Windows machines for all participating computers – application servers, ThinPrint Servers, workstations. If only the application servers and the central print server have a Windows operating system, then you can use V-Layer (see V-Layer).
The following shows an example of how a Windows computer can be configured with the ThinPrint Client Service Windows as local print server. For information on Linux or Mac, refer to the ThinPrint Client Linux or ThinPrint Client Mac manual. For print server devices and appliances see the SEH TPG120 as a ThinPrint Client Gateway and SEH ISD400 as a ThinPrint Client Gateway documentation (www.thinprint.com).
Create two printers (printer objects) on the workstation for:
- the network printer HP Color LaserJet 3600
- the network printer Lexmark T644
For this create new Standard TCP/IP ports.
ThinPrint Client Service Windows
Install ThinPrint Client as described in ThinPrint Client Windows.
- Start the ThinPrint Client Manager (via Start menu).
- Find the printer IDs for the HP Color LaserJet 3600 and the Lexmark T644 under Assignment – here, 1 and 2, respectively.
- Enable Use Connection Service on the Advanced tab.
- In the Connection Service tab, enter the following:
- Connection server address: 192.168.149.23
- TCP port: 4001
- Client ID: 99 (here as example)
- Authentication key: 111 (here as example)
- Connection retry interval (s) : 300 (here as example)
- Keep alive interval: 60 (if displayed)
- Close ThinPrint Client Manager with OK.
- Restart the ThinPrint Client Service in the Windows Services folder.
Central print server under Windows
- Open the ThinPrint Engine port configuration.
- Create a new printer port of the type ThinPrint Connection Service Port.
- In the next window, enter a port name.
Open the properties (in context menu) of the new printer port and enter the following:
- Connection Server address: tp-proxy-04
- Connection Server address: 192.168.149.23
For print jobs to travel from the Connection Service to the workstation and from there to the correct printer, the address information needs to be entered into the printer names. This can be done manually or with Management Center or Management Services.
The resulting printers then have the following syntax:
with hash mark (#) between the printer name and client ID
and with a colon (:) between client ID and printer ID.
Select the appropriate naming convention in the properties of the new ThinPrint port. Confirm with OK.
Windows server with Connection Service
1. Start the Connection Service configuration.
2. To set up the server, select Edit Settings (lower arrow in following Illus.).
3. Select Add to specify the addresses of the print servers that can communicate with the Connection Service (right arrow in following Illus.), or disable the Limit access to the following print servers option (left arrow). Here, as an example, the address 192.168.149.114 is specified. Click on OK and conclude by restarting TP Connection Service, or select the option Restart Service.
Note! If this option is enabled and other ThinPrint components such as Management Center or Management Services Agent are being used, then their addresses must be specified here.
4. Under TCP Ports, you can configure over which ports ThinPrint Clients and ThinPrint Engines (or Management Center or Management Services Agent) should connect with Connection Service. The port numbers must match those of the connection partners.
5. To set up the clients, select Configure Connections.
6. Enter the client ID and the authentication key for ThinPrint Client. You get this from the ThinPrint Client Manager. Connection Service enters the client address automatically, as soon as ThinPrint Client has connected. If the connection is not made automatically, then restart ThinPrint Client; with ThinPrint Client as a Windows service, restart the TP Client Service Windows.
7. The console then displays the established and, where applicable, connected ThinPrint Clients.
Creating printers on the central print server
You can use Management Center (which is a part of the ThinPrint Engine license) or Management Services for automatic printer creation. It simplifies the creation of printers and allows the transfer of finishing options to the created printers.
If Management Center or Management Services are not available create the printers as follows:
1. Create printers with the following syntax:
HP Color LaserJet 3600#99:1
Lexmark T 644#99:2,
where, 99 represents the client ID and 1 (or2) is the printer ID in ThinPrint Client Manager. Note the syntax, using the hash key (#) and colon (:).
2. Connect the printers with a Connection Service port (CS_1:, in this example) that you created previously (see section Creating printer ports).
The result is shown here:
Note! From Windows 2012 R2 type-4 drivers can’t be connected to third-party printer ports. Consequently type-3 drivers are used with ThinPrint Connection Service ports – e. g. TP Output Gateway.
Application server / host system
The application servers send their print jobs to printers installed on a central print server. To print to these shares in a pure Windows environment, the terminal servers (or desktops) only need to establish a connection to these shares. In contrast, for all constellations using non-Windows servers, you use the LPR / LPD print protocol.
AutoConnect can automate the process whereby of printers are created when a session is open on a Windows machine. In doing so, AutoConnect automatically creates printer connections to the printers on the central print server for the duration of the session.
To achieve this, AutoConnect must be installed on each participating machine, such as terminal servers, for example. Use ThinPrint Engine for the installation of AutoConnect on Remote Desktops. This extension is an option in the Engine installation wizard.
Then enter the shares from the central print server (in this example: HP Color LaserJet 3600 and Lexmark T644) into the AutoConnect configuration on the terminal server under Map Additional Printers.
The two printers can now be used for the duration of a terminal session.
Now test the Connection Service installation. Print using the newly created printers on both network printers. The user who is printing must be enabled for ThinPrint on the license server (see Access user configuration).