How to set printer's paper bins?

2001-10-17 Thread T. C. Huang
Hi, How can I change the printer's paper bin to non-default bin? In win32 API, there is DeviceCapabilities fuction to set printing bin, but I can't find the corresponding fuction in Pythonwin. Anu one know how to set printer's bin using Python(win)? Regards, Tsuangchi Huang ___

win32net-resonse won' t properly appear on scrren (Unicode-problem)?

2001-10-17 Thread Julian Schaefer-Jasinski
Hi list, I am writing some admin-tools and therefore make use of win32net.NetLocalGroupEnum() method. Everything works fine except for outputing the results. I get the error message that ASCII only has 128 valid characters. In german Windows 2K vers the default Admin- Account contains a auml (ae

COM server implementing given Interface

2001-10-17 Thread Volker Siepmann
Dear list, I'm a quite desperately trying to implement a COM server in python using ActiveState ActivePython 2.1. in Windows NT. In M.Hammond, "Python Programming on Win32", O'Reilly, Jan. 2000, only the following way is described: 1) Write python code 2) Export it as a COM-object (e.g. by