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
_
Building wincerapi requires that the Windows CE toolkit be installed on your
PC. MS have made a complete hash of that, and it only works with the
released version of MSVC - not with the service packs. As a result, neither
ActiveState nor myself have an environment that can build it. I have not
> I thought what he wanted to know is if
> he could write a non-IDispatch (e.g., v-table)
> based server in Python.
> I don't the the answer to that - does anyone?
It can be done - see win32com\servers\test_pycomtest.py
It is still not possible to *call* such interfaces - only to implement them.
Getting the contents of a Word document is pretty simple:
>>> import pythoncom
>>> from win32com.client import *
>>> w = Dispatch("Word.Application")
>>> doc = w.Documents.Open(r"C:\temp\testdoc.doc")
>>> doc
>>> r = doc.Sections(1).Range
>>> r.Text
u'This is a test document.\rThis paragraph i
Title: Where is wincerapi.pyd?
I'm working on an program that needs to interface with a mobile version of the application on a Pocket PC. The library wincerapi looks like it is what I need to handle the communication with the mobile device, but I can't find the wincerapi.pyd library anywh
Hi,
I'm trying to write a program that opens a word file and gets all of the text in a
python string, and then closes it again. Preferably, I'd like to also be able to get
the formatting info that goes with each "segment" of the text. I couldn't find any
documentation on MSDN (I may have not s
I thought what he wanted to know is if
he could write a non-IDispatch (e.g., v-table)
based server in Python.
I don't the the answer to that - does anyone?
m
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Markus
Daniel
Sent: Thursday, October 18, 2001
Sorry, I wrote "expose" but I meant "extend".
And to use the bandwidth useful, I will make a
workaround for Kári Harðarson public. He got
problems to profile the IIS via
import profile
profile.run()
One easy solution for IIS, WSH or IE is this:
# --- IIS-Code
def test():
do_anything_u
Volker Siepmann wrote:
> I'm unfortunately not a COM expert at all, so please keep it simple! ;-)
But for your task you should! For example it is absolutely not allowed to
expose or change an existing interface. And the IDispatch-Interface is
based on COM-technologie but part of the OLE2-techn
Hello,
In my application I would like to allow users to add/use basic
python commands but I do not want users to change my code of
application directly.
For example my program expects
telephone. number in format
+442076812563
but a user sometimes may want to
supply
0044 207 681 2563
(p
10 matches
Mail list logo