You use the AutoConnect Map Additional Printers for VMware View group policy setting to map printers to remote desktops.

AutoConnect Map Additional Printers for VMware View is a name translation table that identifies printers and defines associated translation rules. Translation Table Columns and Values describes the syntax of the translation table.

Location-based printing maps network printers to remote desktops, but does not support mapping network printers that are configured by using UNC paths.

Table 1. Translation Table Columns and Values
Column Description
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 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.

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:

\\domain\user_or_group

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 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/ThinPrint Port For network printers, the IP address of the printer prepended with IP_.

For example: IP_10.114.24.1

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

For example: IP_10.114.24.1:9104

Default Indicates whether the printer is the default printer.

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.

Location-Based Printing Group Policy Setting Example 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/ThinPrint 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.