[python-win32] determine the default printer from RDP
Terry Davis
terry.y.davis at gmail.com
Wed Feb 26 11:48:39 EST 2020
Hi John,
In the Windows RDP client, under "Show Options" -> "Local Resources" ->
section "Local devices and resources" is "Printers" checked?
I haven't tried what you're referring to, but perhaps that setting is
relevant to your problem?
- Terry
On Tue, Feb 25, 2020 at 5:51 PM john <johnf at jfcomputer.com> wrote:
> Hi,
>
> I need a way to determine the default printer (on the users computer) from
> a RDP session.
>
> 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.
>
> Is there a way to get the default printer from the RDP session.
>
> Johnf
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20200226/bc59fe10/attachment.html>
More information about the python-win32
mailing list