Quote:
Originally Posted by godel10
Sorry, you are right. I tried with pyhon 2.7.3. I suppose I was confused with tha package "python-wxgtk2.8" fot the interface.
Could you tell about the command line syntax you use?. And, what is the output of this script?
|
haven't tried this script.
Are you on windows?
You need to install different packages:
- python 2.7.x:
http://python.org/download/
select 32 or 64 bits python package
- wxpython:
http://www.wxpython.org/download.php
again, select 32 or 64 bits package depending on your operating system and be sure to download one of the "py27" files
- ReportLab:
http://www.reportlab.com/ftp/reportl...in32-py2.7.exe or
http://www.reportlab.com/ftp/reportl...md64-py2.7.exe
Again, 32 or 64 bits packages
- pypdf:
http://pybrary.net/pyPdf/pyPdf-1.13.win32.exe
Once you have installed these 4 packages, open a command line window (cmd.exe), go to the directory where you have the needed pdf and annotations file, and printPdfwX.py script and run:
$ python printPdfwx.py
I don't use windows, so I'm not completely sure all the above is correct.
By the way, once packages are installed, if you rename "printPdfwx.py" to "printPdfwx.pyw" (note the 'w' at the end of extension) you should run the script just by double-clicking on it from windows explorer.
Iņigo