It uses pyfpdf to convert it.
But there are some restrictions as I remember.
You check it here https://code.google.com/p/pyfpdf/


2014-05-21 12:13 GMT-03:00 Carlos Cesar Caballero Díaz <
desarro...@spicm.cfg.sld.cu>:

>  Hi, I need some help, when I call a view with ".pdf" this:
>
> <html>
>     <head>
>         <title>Report</title>
>     </head>
>     <body>
>         <table>
>             <tr>
>                 <td width="50%">name</td>
>                 <td width="50%">pepe</td>
>             </tr>
>         </table>
>     </body>
> </html>
>
> or this:
>
> <body>
>     <table>
>         <tr>
>             <td width="50%">name</td>
>             <td width="50%">pepe</td>
>         </tr>
>     </table>
> </body>
>
> returns a blank one page pdf. Now if I put the content before the body
> tag, it is rendered, but the table allways throw a
> "Table column/cell width not specified, unable to continue" error.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Att.

Carlos J. Costa
Cientista da Computação
Esp. Gestão em Telecom

EL MELECH NEEMAN!
אָמֵן

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to