LBP Setting UI is a name translation table that identifies printers and defines associated translation rules. Location-based printing maps local printers to remote desktops.

Table 1. Translation Table Columns and Values
Column Description
Default Indicates whether the printer is the default printer. By default, this value is not selected.
IP Range A translation rule that specifies a range of IP addresses for client systems.

To specify IP addresses in a specific range, use the following notation:


For example:

To specify all of the IP addresses in a specific subnet, use the following notation:


For example:

This notation specifies the usable IPv4 addresses from to

Type an asterisk (the default value) to match any IP address.

Important: In an IPv6 mixed-mode environment, add two IP address ranges for one printer (one range for IPv4 addresses and another range for IPv6 addresses) to ensure that the printer appears in remote sessions regardless of which protocol Horizon Client uses to connect.
Client Name A translation rule that specifies a computer name. The maximum length is 1024 characters.

For example: Mary's Computer

Type an asterisk to match any computer name.

Mac Address A translation rule that specifies a MAC address. In the GPO editor, you must use the same format that the client system uses. For example:
  • Windows clients use hyphens: 01-23-45-67-89-ab
  • Linux clients use colons: 01:23:45:67:89:ab

Type an asterisk to match any MAC address.

User/Group A translation rule that specifies a user or group name.

To specify a particular user or group, use the following notation:


Examples for a user: \\mydomain\Mary and Mary

Example for a group: \\localdomain\Sales

A user can belong to many groups and groups consist of multiple users. Location-based printing supports the group types that Microsoft supports in the domain.

The fully qualified domain name (FQDN) is not supported notation for the domain name. Type an asterisk to match any user or group name.

Printer Name The name of the printer when it is mapped to the remote desktop.

For example: PRINTER-2-CLR

The mapped name does not have to match the printer name on the client system.

The printer must be local to the client device. Mapping a network printer in a UNC path is not supported.

Printer Driver The name of the driver that the printer uses.
For example: HP Color LaserJet 4700 PS
Important: Because print jobs are sent directly from the remote desktop to the printer, the printer driver must be installed on the remote desktop.
IP Port For network printers, the IP address of the printer prepended with IP_. The default port is 9100.

You can specify a non-default port by appending the port number to the IP address.

For example, for IPv4: IP_10.114.24.1:9104

For example, for IPv6: IP_1:1:1:1::1:PORT_9100

You use the buttons that appear above the column headings to add, delete, and move rows and save and import table entries. Each button has an equivalent keyboard shortcut. Mouse over each button to see a description of the button and its equivalent keyboard shortcut. For example, to insert a row at the end of the table, click the first table button or press Alt+A. Click the last two buttons to import and save table entries.

Note: Location-based printing policies that use the MAC Address or client name are not supported if you use HTML Access to connect to remote desktops.

The following table shows an example of two translation table rows.

Table 2. Location-Based Printing Group Policy Setting Example
IP Range Client Name Mac Address User/Group Printer Name Printer Driver IP Port Default
* * * * PRINTER-1-CLR HP Color LaserJet 4700 PS IP_10.114.24.1 * * * PRINTER-2-CLR HP Color LaserJet 4700 PS IP_10.114.24.2 X

The network printer specified in the first row will be mapped to a remote desktop for any client system because asterisks appear in all of the translation rule columns. The network printer specified in the second row will be mapped to a remote desktop only if the client system has an IP address in the range through