<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="+1"><font face="Adobe Helvetica">Thanks for the response
- and yes I do have the printers checkbox - checked. It returns
a blank.<br>
<br>
Johnf<br>
</font></font><br>
<div class="moz-cite-prefix">On 2/26/20 8:48 AM, Terry Davis wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEziGD8cMJRv6A1ZFsAAYEYijyL9mwDvdNfCzyt4o7zguOFA6w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Hi John,
<div><br>
</div>
<div>In the Windows RDP client, under "Show Options" ->
"Local Resources" -> section "Local devices and
resources" is "Printers" checked?</div>
<div><br>
</div>
<div>I haven't tried what you're referring to, but perhaps
that setting is relevant to your problem?</div>
<div><br>
</div>
<div>- Terry</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Feb 25, 2020 at 5:51
PM john <<a href="mailto:johnf@jfcomputer.com"
moz-do-not-send="true">johnf@jfcomputer.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <font size="+1"><font face="Adobe Helvetica">Hi,<br>
<br>
I need a way to determine the default printer (on the
users computer) from a RDP session. <br>
<br>
The user logs on to a RDP session and
win32print.GetDefaultPrinter() returns a blank. That
makes sense on the RDP session because there aren't
any default printers. RDP printing is directed to the
default printer on the users desktop.<br>
<br>
Is there a way to get the default printer from the RDP
session.<br>
<br>
Johnf<br>
</font></font> </div>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org" target="_blank"
moz-do-not-send="true">python-win32@python.org</a><br>
<a
href="https://mail.python.org/mailman/listinfo/python-win32"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://mail.python.org/mailman/listinfo/python-win32</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>