LBP Setting UI is a name translation table that identifies printers and defines associated translation rules. Location-based printing maps network 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:

ip_address-ip_address

For example: 10.112.116.0-10.112.119.255

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

ip_address/subnet_mask_bits

For example: 10.112.4.0/22

This notation specifies the usable IPv4 addresses from 10.112.4.1 to 10.112.7.254.

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 A translation rule that specifies a user name.

To specify a particular user, use the following notation:

\\domain\user

For example: \\mydomain\Mary

The fully qualified domain name (FQDN) is not supported notation for the domain name. Type an asterisk to match any user 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 Printer Name Printer Driver IP Port Default
* * * * PRINTER-1-CLR HP Color LaserJet 4700 PS IP_10.114.24.1
10.112.116.140-10.112.116.145 * * * 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 10.112.116.140 through 10.112.116.145.