Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Printing / Client side / list.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Lists all the printer connections on a computer */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colinstalledprinters =  objwmiservice~execquery("Select * from Win32_Printer")
DO objprinter OVER colinstalledprinters
	SAY "Name:" objprinter~name
	SAY "Location:" objprinter~location
	SAY "Default:" objprinter~default
	SAY
END
掌柜推荐
 
 
¥1,290.00 ·
 
 
¥918.00 ·
 
 
¥890.00 ·
 
 
¥294.00 ·
 
 
¥430.00 ·
 
 
¥1,380.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16