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*" and next)

@-salutations & *sorry for my bad english*
--
Michel Claveau




Le 03.03.14 22:14, Andreas Holtz a écrit :
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 paper size.

I already checked out
http://timgolden.me.uk/python/win32_how_do_i/print.html

Is there really no way to print PDFs with Python setting whatever print settings I want?
I thought Python can do anything... :'-(

Thanks in advance

Andreas
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32



_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to