[python-win32] Printing coordinate system problem

2009-12-14 Thread Greg Ewing
I'm wrestling with printing support for PyGUI on Windows. I'd like to set up the coordinate system during printing so that (0, 0) is at the corner of the paper, so that I can arrange for the margins to have predictable sizes. However, the device context I get from calling PrintDlg() seems to be

Re: [python-win32] [Pygui] Printing coordinate system problem

2009-12-14 Thread Vernon Cole
In searching for documentation, remember a quirk in Microsoft vocabulary... a printer is software, not hardware. The device on the corner of your desk with the paper in it is not a printer, it is a printing device. -- Not being an expert on writing Windows printer code, nevertheless let me

Re: [python-win32] [Pygui] Printing coordinate system problem

2009-12-14 Thread Greg Ewing
Vernon Cole wrote: In searching for documentation, remember a quirk in Microsoft vocabulary... a printer is software, not hardware. The device on the corner of your desk with the paper in it is not a printer, it is a printing device. Yes, I know. I'll be happy if I can somehow find out what

Re: [python-win32] Problem with OLE error 0x80041002

2009-12-14 Thread Gowtham
Inline- On Fri, Dec 11, 2009 at 9:16 AM, Tim Golden m...@timgolden.me.uk wrote: Gowtham wrote: I have a python script that retrieves the user profile path from the registry using wmi. I am doing this way as win32net.NetUserGetInfo could not somehow find the domain user. Here the code