Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot raw print to RDP redirected printer

Tags:

c#

.net

rdp

So I have to RDP into my dev environment. From there, I've been trying to send a file to a Zebra label printer in RAW print mode. Similar to this post, the printer doesn't seem to receive anything. I'm using the same c# example code as a proof of concept. That leas to this, but this is already disabled in my group policies.

I am guessing I am just out of luck and have to copy to local as development occurs, but I was hoping not to have to do that.

like image 917
MattyMatt Avatar asked Oct 17 '22 17:10

MattyMatt


2 Answers

We had the same problem on a Windows 2016 Server.

We solved it by changing the value of "Use Remote Desktop Easy printer driver first" in the Group Policy from "Not configured" to "Disabled".

This key is in the folder "Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Printer Redirection configurations".

I'm not sure if on the Computer or User configuration, or on both.

like image 119
José Luz Avatar answered Nov 13 '22 01:11

José Luz


The redirect driver simply doesn't support it.

You can work around it by sharing the printer from your local an adding it that way. Then you can raw print to it.

like image 23
MattyMatt Avatar answered Nov 13 '22 01:11

MattyMatt