Re: [python-win32] win32api win32gui help

2014-03-03 Thread Tim Roberts
Joe Bennett wrote: Looking for a good simple remedial course on getting my python script to talk to a Windows program. The author of the windows program has documented the api here: http://www.logger32.net/help/Logger32/Using%20the%20Logger32%20External%20Interface.htm To use this API, you

[python-win32] Printing PDFs without external tools

2014-03-03 Thread Andreas Holtz
Hi guys, I need want to print PDF files without the usage of tools like Adobe, Foxit, etc. THe printer does understand PDF files, but I have no idea how to do it. I played around with win32api.ShellExecute(0, print, pdf, None, ., 0) but I am missing the possibilities to change layout and

Re: [python-win32] Printing PDFs without external tools

2014-03-03 Thread mc@mclaveau
Hi! PDF files are text files. If you use the print command, you will print the source of PDF. If you want another aspect, you need a render (Adobe-reader, Sumatra-PDF, etc.) I suggest Sumatra-PDF : http://blog.kowalczyk.info/software/sumatrapdf/manual-fr.html (search for *-print-to-default*

Re: [python-win32] Printing PDFs without external tools

2014-03-03 Thread Tim Roberts
On Mar 3, 2014, at 1:14 PM, Andreas Holtz a.ho...@gmx.net wrote: I need want to print PDF files without the usage of tools like Adobe, Foxit, etc. THe printer does understand PDF files, but I have no idea how to do it. I doubt that. PDFs contain PostScript, but there’s more to it than just

Re: [python-win32] Printing PDFs without external tools

2014-03-03 Thread Andreas Holtz
Hi Tim, the printer I want to use is a HP 5550DTN. The specifications can be found here: http://h20195.www2.hp.com/V2/GetPDF%2Easpx%2F5982%2D6714EEE%2Epdf On page 2 under printer languages PDF 1.3 is written. Therefore I think I can print PDFs without the use of Adobe or any other 3rd party