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
- Configuring printer redirection on the server
- Known Issues
Configuring printer redirection in Windows Embedded Compact 7
Use the following procedure to configure your Compact 7 device for printer redirection.
-
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.
-
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.
-
In the Remote Desktop Connection dialog box, click the Options button.
-
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.
-
In the Printers dialog box, double-click Add Printer. The Printer Wizard starts.
-
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.
-
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.
-
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.
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 connecting to the server.
Configuring printer redirection on the server
Use the following procedures to configure Windows Server 2;background-color:#fcfec5;">Important:
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 open Group Policy Editor, click Start , click Run, and in the Open box, type gpedit.msc.
-
Expand Computer Configuration, then Administrative Templates, then Windows Components, then Remote Desktop Services, and then Remote Desktop Session Host.
-
Under Desktop Session Host, click Printer Redirection.
-
In the Printer Redirection pane, double-click Do not allow client printer redirection.
-
In the Do not allow client printer redirection dialog box, select Disabled, and then click OK.
-
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 open Group Policy Editor, click Start, click Run, and in the Open box, type gpedit.msc.
-
Expand Computer Configuration, then Administrative Templates, then Windows Components, then Terminal Services, and then Terminal Server.
-
Under Terminal Server, click Printer Redirection.
-
In the Printer Redirection pane, double-click Do not allow client printer redirection.
-
In the Do not allow client printer redirection dialog box, select Disabled, and then click OK.
-
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 click OK.
-
To open Group Policy Editor, click Start, click Run, and in the Open box, type gpedit.msc.
-
Expand Computer Configuration, then Administrative Templates, then Windows Components, and then Terminal Services.
-
Under Terminal Services, click Client/Server Data Redirection.
-
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.