On 7/19/10 8:11 AM, Jeff Johnson wrote:
> John: I found that the other day, too.
>
> win32api.ShellExecute (0, "print", pdf_file_name, None, ".", 0)
>
> Can be used to print the pdf output of Dabo on Windows directly.
I think this would be equivalent (and more high-level):
{{{
import os
os.startfile(pdf_file_name, "print")
}}}
I'm going to start making a dabo.lib.reportUtils.printPDF() function, and the
above
will be the method to use on Windows. Not sure what to do on Linux or Mac at
this point.
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]