When you add the printer redirection feature in Remote Desktop Connection to your OS design, a printer connected to a Windows Embedded Compact powered device can print output from a server that is running Remote Desktop Services.

Users can use printer redirection to print to a local printer from a Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003 server within a Remote Desktop Protocol (RDP) session. The local printer can be a printer directly connected to the device or a networked printer. The server detects the local printer that is connected to the Compact 7 powered device when the user initiates an RDP session from the device. If the driver for the local printer is not already installed on the server but is included in the OS setup files, the server automatically locates the driver and initiates driver installation. If the local printer requires a driver that is not installed or available on the version of the server that is hosting the remote connection, you must manually install the driver (the first time, only) on the server to make the printer available to the device from within the RDP session.

To add the printer redirection feature to the OS design, you select the SYSGEN_RDP_PRINTER catalog item in Platform Builder. For more information, see Remote Desktop Connection Catalog Items and Sysgen Variables.

To use printer redirection, you must configure both the Windows Embedded Compact powered device and the server.

In this article:


Configuring printer redirection in Windows Embedded Compact 7

Use the following procedure to configure your Compact 7 device for printer redirection.

To configure your device for printer redirection
  1. Connect a printer directly to the Compact 7 powered device (through the USB or parallel port), or connect a networked printer to the Windows Embedded Compact 7 powered device.

  2. On the device, click Start, and then click Remote Desktop Connection. Your device may not have a Start button; it will depend on the device’s configuration.

  3. In the Remote Desktop Connection dialog box, click the Options button.

  4. On the Local Resources tab, under Local devices and resources, select the Printers check box if it is not already selected, and then click the Printers button.

  5. In the Printers dialog box, double-click Add Printer. The Printer Wizard starts.

  6. On the Printer Wizard page, in the Port list, click the port that you want your printer to use, and then click Next.

    The following figure shows the Printer Wizard.

  7. Select your printer model from the list of manufacturers and printers. If your printer model is not listed, select the User Defined check box, and then click Next.

  8. If you selected a printer from the list, type a name for the printer, and then click Next.

    If you selected the User Defined check box for the printer model name, type the name of the printer driver name, which must be installed on the server, and then click Next. Type a name for the printer, and then click Next.

    Important:
    The printer model name must exactly match the name of the printer driver on the server.
  9. When asked if you want to configure another printer, click No, click Next, and then click Finish.

  10. In the Remote Desktop Connection dialog box, continue connecting to the server.


Configuring printer redirection on the server

Use the following procedures to configure Windows Server 2;background-color:#fcfec5;">Important: The printer model name must exactly match the name of the printer driver on the server.

  • When asked if you want to configure another printer, click No, click Next, and then click Finish.

  • In the Remote Desktop Connection dialog box, continue connecti008 R2, Windows Server 2008, or Windows Server 2003 for printer redirection.

    The Compact 7 RDP client does not support Remote Desktop Easy Print. If there is no printer driver on the server, you will need to manually install drivers. For Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003, if you can’t find the printer driver online, you can install the printer driver by using Windows hardware updates. To do this, connect the printer to the server and configure the printer for updates by using the Add Hardware Wizard (hdwwiz.exe). For more information about installing the driver by using Windows hardware updates, see Using the Add Hardware Wizard to Install a Driver Package.

    To configure Windows Server 2008 R2 for printer redirection by disabling Group Policy settings
    1. To open Group Policy Editor, click Start , click Run, and in the Open box, type gpedit.msc.

    2. Expand Computer Configuration, then Administrative Templates, then Windows Components, then Remote Desktop Services, and then Remote Desktop Session Host.

    3. Under Desktop Session Host, click Printer Redirection.

    4. In the Printer Redirection pane, double-click Do not allow client printer redirection.

    5. In the Do not allow client printer redirection dialog box, select Disabled, and then click OK.

    6. In the Printer Redirection pane, double-click Use Terminal Services Easy Print printer driver first.

      In the Use Terminal Services Easy Print driver first dialog box, select Disabled, and then click OK.

    To configure Windows Server 2008 for printer redirection by disabling Group Policy settings
    1. To open Group Policy Editor, click Start, click Run, and in the Open box, type gpedit.msc.

    2. Expand Computer Configuration, then Administrative Templates, then Windows Components, then Terminal Services, and then Terminal Server.

    3. Under Terminal Server, click Printer Redirection.

    4. In the Printer Redirection pane, double-click Do not allow client printer redirection.

    5. In the Do not allow client printer redirection dialog box, select Disabled, and then click OK.

    6. In the Printer Redirection pane, double-click Use Terminal Services Easy Print printer driver first.

    7. In the Use Terminal Services Easy Print driver first dialog box, select Disabled, and click OK.

    To configure Windows Server 2003 for printer redirection by disabling Group Policy settings
    1. To open Group Policy Editor, click Start, click Run, and in the Open box, type gpedit.msc.

    2. Expand Computer Configuration, then Administrative Templates, then Windows Components, and then Terminal Services.

    3. Under Terminal Services, click Client/Server Data Redirection.

    4. In the Client/Server Data Redirection pane, double-click Do not allow client printer redirection.

      In Client/Server Data Redirection, select Disabled and click OK.

     


  • Known Issues

    • In some cases, a print job does not run immediately after you configure printer redirection. It may take from 2 to 3 minutes for a print job to run the first time you send a print request from the server after you configure printer redirection. Subsequent print jobs will run as usual.
    • The Compact 7 RDP client does not support the XPS Printer Redirection feature of Windows Remote Desktop Services.


    See Also