Printer redirection on Windows Server 2008 R2 from Linux

May 23, 2011 at 10:22 am (Uncategorized)

Yes, its possible, and easy.

Lets say you have an Ubuntu box in the client side. You have an HP LaserJet 3390 connected on your local lan, which you can print to.
You have a remote Windows 2008 R2 server which you RDP into regularly, and want to get print outs from. Earlier this was simple, and the rdesktop command line made it easy with the “-r printer:” switch.
In 2008 all you have to do is to pass the *server* side printer driver name with rdesktop command line as well.

So for example you would need to do this:

rdesktop -r printer:MyPrinterName=”HP LaserJet 3390 / 3395 PCL” remote.desktop.com

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: