Fwd: Spy printers

监视局域网上共享打印机上的JOB,PYTHON脚本,看看别人都打印什么东西在看。

# PrinterReader.py
# Enum jobs on local printers
# Could be add to system Scheduled Tasks
from win32print import *
ps = EnumPrinters(PRINTER_ENUM_CONNECTIONS)
for p in ps:
hPrinter = OpenPrinter(p[2])
pStatus = GetPrinter(hPrinter, 2)
print ‘..:: %s’ %pStatus['pPrinterName']
js = EnumJobs(hPrinter, 0, pStatus['cJobs'])
for j in js:
print [j['JobId'], j['Submitted'], j['pUserName'], j['TotalPages'], ]

貂蝉


018
Originally uploaded by Charlie.Zhu.

脸型的确和我媳妇很像。

吕布头像


120
Originally uploaded by Charlie.Zhu.

结婚照

 Posted by Picasa

结婚照


B135_过滤后
Originally uploaded by Charlie.Zhu.

满族服装。像年画上的小孩。

吕布


Gmail labels
Originally uploaded by Charlie.Zhu.

吕布骑马相@曹操传
一直用作头像
原来用脸部特写那张,和爱妃的貂婵配合得很好,而且还挺像我们两个人的。
侧面说明曹操传中的吕布貂婵果然有夫妻相啊。

Random posts

  • 晨雾回龙观
  • Difference between Redirect and CNAME
  • Config VirtualBox with Host Interface Networking (HIF)
  • Chemene JSDraw,又一个非常优秀的基于javascript的化学结构编辑器
  • 数据(内存)对齐