For those who care, 
the file below should run on a unix/ linux style 
system. And "xpdf", amoung others, will run a pdf 
file.


import os
def Printpdf():
    os.system( 'xpdf form.pdf' ) 

if __name__ == '__main__' :
    Printpdf()

jim-on-linux



> On Tue, 13 Feb 2007 08:44:18 GMT, Jussi Salmela
>
> <[EMAIL PROTECTED]> declaimed the 
following in comp.lang.python:
> > On Windows, this (where fileName is xyz.PDF,
> > for example): webbrowser.open(r'file://' +
> > fileName) starts Acrobat Reader with the
> > document read in. I have no idea why, because
> > Acrobat Reader sure ain't my browser;)
>
>       Most likely Adobe installed the Acrobat
> plug-in for the browser... The browser
> identifies the file as PDF and passes it to the
> plug-in for rendering.
> --
>       Wulfraed        Dennis Lee Bieber               KD6MOG
>       [EMAIL PROTECTED]               [EMAIL PROTECTED]
>               HTTP://wlfraed.home.netcom.com/
>       (Bestiaria Support
> Staff:                [EMAIL PROTECTED])
> HTTP://www.bestiaria.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to