klaushaidinger.com

Icon

Windows Terminal Services Printing: Create or modify a custom printer mapping file

You can create or modify an existing custom printer mapping file to define mappings from client-side to server-side drivers on the terminal server.

To perform this procedure on the terminal server, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority. To use a custom printer mapping file:

  1. On the terminal server, open Registry Editor. To open Registry Editor, click Start, click Run, type regedit, and then click OK.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd registry subkey.
  4. Add the following values:
  5. Name: PrinterMappingINFName
  6. Type: String (REG_SZ)
  7. Value data: Name of the .inf file to which you want to redirect lookups.
  8. Example: c:\windows\inf\ntprintsubs.inf
  9. Name: PrinterMappingINFSection
  10. Type: String (REG_SZ)
  11. Value data: Name of the section in the .inf file to which you want to redirect lookups.
  12. Example: Printers

After you add the new registry values, create or modify the .inf file that you specified in the PrinterMappingINFName registry entry to include the user-defined mappings from the client-side to server-side drivers. Follow the format used in the following example:

;NTPRINTSUBS.INF
;Printer mapping file for client-side to server-side drivers
[Printers]
„OEM Printer Driver Name“ = „Windows Server 2008 Driver Name“

For example:
„HP DeskJet 720C Series v10.3“ = „HP DeskJet 722C“

The left side of the equation is the exact name of the printer driver associated with the client-side print queue that is being redirected to the server. The exact name of the printer driver appears on the General tab, next to Modelwhen you view the printer properties on the client computer. (You can also click the Advanced tab and view the driver name in the Driver list.) The right side of the equation is the exact name of the server-side driver equivalent that is installed on the terminal server.
Important:  You must restart the Print Spooler service on the terminal server for the changes to take effect.
To perform this procedure on the terminal server, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To restart the Print Spooler service:

  1. On the terminal server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the Services pane, right-click Print Spooler, and then click Restart.
  4. Confirm that the Status column for the Print Spooler service displays Started.

Category: Microsoft Windows

Tagged:

Comments are closed.