Re: [python-win32] printing landscape in Windows

2015-07-13 Thread Andreas Holtz
Think about using a batch print tool like http://www.verypdf.com/app/pdf-print-cmd/ or http://www.doc2prn.com/ I used the first one and implemented a Python script to create the command (it prints more than PDF). Some professional printer offer a webserver where you can upload the files. Check

Re: [python-win32] [issue570] [windows server 2003]Datagram Socket on windows server 2003 (python winsock not work well))

2015-07-13 Thread Alan Gauld
On 13/07/15 03:57, 王利强 wrote: New submission from johnny_wang: when use: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1) s.bind(('', 1029))