Re: [web2py] Re: FPDF "ne commence pas par '%PDF-' "

2017-06-28 Thread Ovidio Marinho
Publish this in http://www.web2pyslices.com/home, everyone always asks for this problem. [image: http://itjp.net.br] http://itjp.net.b r *Ovidio Marinho Falcao Neto* ovidio...@gmail.com

[web2py] Re: FPDF "ne commence pas par '%PDF-' "

2017-06-28 Thread Peter
Usually I'm the one getting the help J-Michel, So I'm very happy to have helped someone out for a change! Regards Peter -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Re

[web2py] Re: FPDF "ne commence pas par '%PDF-' "

2017-06-26 Thread J-Michel Angers
SUPER ! With thiw, it works exactly as I wish. => A message appears "Do you want to open/save/saveAs ?", and after the choice "Open", I see my PDF in the "Acrobat" tool. Thank you very much for this advice :-) :-) Le lundi 26 juin 2017 07:12:49 UTC+2, Peter a écrit : > > Have been outputting pd

[web2py] Re: FPDF "ne commence pas par '%PDF-' "

2017-06-25 Thread Peter
Have been outputting pdfs for a while and this is what works for me ... note, I don't close the pdfpdf.close? but this allows the user to either open or save the file anywhere on their machine (Linux and Windows) pdf.cell( ln=0, h=9.0, align='R', w=178.0, txt="%s %s" % (