print pdf file to network printer using python

scrimp scrimp212 at yahoo.com
Thu Jul 21 08:30:53 EDT 2005


Well, Ive been searching through google groups and Ive seen a lot about
printing a pdf file, but I havent seen a definite answer. I tried this
code:

f = open(printer_path, 'w')
f.write(pdffile_path)
f.close()

Basically it doesnt work and what it prints out is the value of
pdffile_path variable. If anyone can offer some help, Id appreaciate it
thanks!

--Barry




More information about the Python-list mailing list