[Tutor] Printing a PDF file

Shitiz Bansal shitizb at yahoo.com
Mon Feb 23 09:01:24 EST 2004


Hi, 
Here is a simple code to print a word document programatically using python:
 
from win32.client import Dispatch
myWord = Dispatch('Word.Application
myDoc=myWord.Documents.Add('filename')
myDoc.PrintOut()
myDoc.close()
 
How do i make a similar program for printing a pdf doc (platform windows)
please help
 
shitiz


---------------------------------
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20040223/81acc70b/attachment.html


More information about the Tutor mailing list