Print Via Service Forwarder

person-setup-machine

Print Via Service Forwarder

Print from a local machine or network to a remote printer, using two connectors via the Service Forwarder.

Print Via Service Forwarder

(For end-user printing from a single application, see also Print Via Launcher).

In this method, we install a connector on the remote end (the PC of the person wishing to print). We use the Service Forwarder (https://www.agilicus.com/anyx-guide/forwarding/) to ‘port-forward’ localhost (her PC) to the remote (printer:631). Thus the user can connect to their local machine as a printer. NOTE: if port 631 is in use locally we can use an alternate (e.g. forward localhost:6331 to printer:631).

The data flow would be as below, diagram not to scale.

The user will see the printer seamlessly.

37d8015d image

You have a set of connectors on your site, I suspect one of them has layer-3 connectivity to the printer in question.

Steps:

  1. Create new connector (e.g. name user-pc-connector)
  2. Install connector on remote PC
  3. Create Network Resource
  4. Create service forwarder specifying destination IP, port 631 of the printer via the remote connector
  5. Add printer to machine specifying localhost

In the sample pictures below, ‘Win10’ is the name of the remote user PC, and dbt is the name of the connector existing in the network with the printer.

Step 1: Create a new connector

On your desktop, open https://admin.YOURDOMAIN. Create a new connector, give it a name.

53631935 image

This will place a text string on your clipboard. 

Step 2: Install on Remote PC

We will now paste this string from above into an Administrative cmd on the remote machine (e.g. via remote assist). The output should look similar to below.

c54f486b image

Step 3: Create Network Resource

First step, we will create a ‘network’. This is sort of like a destination, its a resource no different than a share or a web app.

Give the user, or a group, permission.

5faefe86 image

Step 4: Create Service Forwarder

Next, we will create a service forwarder. This will make a ‘listener’ on ‘win10’ connected to the remote network on dbt (printer end).

9047dba5 image

At this stage, on the remote PC (win10 in my example), port 631 of the localhost is the same as the remote printer. If the PC is already using port 631, use an alternate port.

Let us check (feel free to do this prior to the config to ensure the port is not in use).

8edd2973 image

Step 5: Add Printer

ff66c48b image
32265916 image

At this time the printer is up, we can use it normally. It will always be accessible by this user.