如何从打印数据流中获取Windows登录用户名 [英] How to get Windows logged in user name from a print data stream

查看:65
本文介绍了如何从打印数据流中获取Windows登录用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,


我在网络上有一个程序设置,侦听某些TCP端口以捕获打印数据流。我可以成功获取打印数据流并将打印数据流传输到打印队列以进行打印输出。现在我的问题是如何从打印数据流中获取Windows
登录用户名谁实际从网络的另一端执行文档打印操作?我需要用户登录ID来识别打印文档。我被困在这里,不知道如何继续。请帮我
给我一些灯光。


Michael

解决方案

Doesn'有意义的是打印数据流中包含用户ID。 右

Dear all,

I have a program setting on network listening certain TCP port to capture print data stream. I can successfully get the print data stream and transmit the print data stream to a print queue getting print out. Now my question is how can I get the Windows logged in user name from the print data stream who is actually perform the document print action from the other end of network? I need the user login ID to identify the print document. I am getting stuck here and don't know how to proceed. Please help me to shed me some lights on it.

Michael

解决方案

Doesn't make sense that the print data stream would have a userid in it.  Right?


这篇关于如何从打印数据流中获取Windows登录用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆