Re: [web2py] Re: how to create pdf report in web2py???

2018-09-25 Thread Alex
We just released ReportBro v1.0! besides new features (e.g. sections) and bugfixes we also updated the documentation. There is an own section how to integrate ReportBro into your web application: https://www.reportbro.com/docs/setup we include a demo application which is available for both

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-28 Thread António Ramos
Great I´m loving your tool... Regards 2017-11-28 13:29 GMT+00:00 Alex : > your attached report is only 1,8 kB > > reports can get large in case you include large images. currently the > image data itself is not resized, so if you have a very large image the > report could get

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-28 Thread Alex
your attached report is only 1,8 kB reports can get large in case you include large images. currently the image data itself is not resized, so if you have a very large image the report could get very large as well. Further if you use additional fonts the fonts are embedded in the pdf. about

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-28 Thread António Ramos
Another question. A simple pdf created with reportbro is 560Kb in size. Why is it soo big?? Regards 2017-11-23 12:52 GMT+00:00 António Ramos : > @alex > you said > if you have a parameter "first_name" then data must contain a key > "first_name". > > What is the point of

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-23 Thread António Ramos
@alex you said if you have a parameter "first_name" then data must contain a key "first_name". What is the point of the ${variable} in your demos? do i need the ${} ? 2017-11-22 13:31 GMT+00:00 Alex : > On Wednesday, November 22, 2017 at 1:46:06 PM UTC+1, Ramos wrote: >> >>

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-23 Thread António Ramos
problem solved... thank u 2017-11-23 11:49 GMT+00:00 António Ramos : > I´m setting the page margins but the pdf and printed paper dont assume > that value > > [image: Imagem inline 1] > > [image: Imagem inline 2] > > 2017-11-23 11:11 GMT+00:00 António Ramos

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-23 Thread António Ramos
I´m setting the page margins but the pdf and printed paper dont assume that value [image: Imagem inline 1] [image: Imagem inline 2] 2017-11-23 11:11 GMT+00:00 António Ramos : > Thank you for your help. > > > 2017-11-22 20:37 GMT+00:00 Alex : > >> you do

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-23 Thread António Ramos
Thank you for your help. 2017-11-22 20:37 GMT+00:00 Alex : > you do not have to buy a license for a private app: > https://www.reportbro.com/license/index > > the logo is only printed when using the public available reportbro > instance. When you use your own server there will

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
you do not have to buy a license for a private app: https://www.reportbro.com/license/index the logo is only printed when using the public available reportbro instance. When you use your own server there will not be a logo on the generated pdf file. Unless you call generate_pdf with

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
About fonts there is only available Courier new Helvetica Times new roman I need aria, how do i add it ? adding it to static folder and changing the addicional_fonts does not work [image: Imagem inline 1] Regards 2017-11-22 15:45 GMT+00:00 António Ramos : > I got it .

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
I got it . I have to read the record from the report_request table and do a json.load before the Report(definition, mydata) also in the designer i have to create paramenters... Thank you 2017-11-22 14:55 GMT+00:00 António Ramos : > Great. Will investigate further... > >

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
Great. Will investigate further... Also another question the reportbro logo at the bottom of the pdf is there to stay? I´m doing a private app for my business. Do i need to pay any licence? How do i remove that logo in the bottom of the page? Regards António 2017-11-22 13:31 GMT+00:00 Alex

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
On Wednesday, November 22, 2017 at 1:46:06 PM UTC+1, Ramos wrote: > > Some questions ... > > 1 - i see that you have already a report_request table with the reports. > Are you talking about this table to save reports? Looks to me that this > table is to save the "templates" of the pdf reports >

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
Some questions ... 1 - i see that you have already a report_request table with the reports. Are you talking about this table to save reports? Looks to me that this table is to save the "templates" of the pdf reports 2 - How do i merge data from my db with your templates and generate a live pdf

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
On Wednesday, November 22, 2017 at 12:07:56 PM UTC+1, Ramos wrote: > > Not that easy :) > > i´m reading your links and also this link > > https://github.com/jobsta/reportbro-designer/blob/master/demos/custom_save.html > > where i´m stuck in the save part > > what url do i put in the save url ? >

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
[image: Imagem inline 1] 2017-11-22 11:07 GMT+00:00 António Ramos : > Not that easy :) > > i´m reading your links and also this link > https://github.com/jobsta/reportbro-designer/blob/ > master/demos/custom_save.html > > where i´m stuck in the save part > > what url do i

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
Not that easy :) i´m reading your links and also this link https://github.com/jobsta/reportbro-designer/blob/master/demos/custom_save.html where i´m stuck in the save part what url do i put in the save url ? [image: Imagem inline 1] i moved the run function from the reportbro_web2py.py to a

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
you can find basic information here: https://www.reportbro.com/docs/installation client side you only have to initialize the plugin. For server integration with web2py there is an example implementation as well: https://www.reportbro.com/static/download/reportbro_web2py.py On Wednesday,

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-21 Thread Ramos
Does someone have a web2py working example with reportbro??? Thank you On Friday, 8 September 2017 18:39:31 UTC+1, Alex wrote: > > We created a user group at > https://groups.google.com/forum/#!forum/reportbro > Don't hesitate to post in case you have any questions. > > I added the custom save

Re: [web2py] Re: how to create pdf report in web2py???

2017-08-31 Thread Massimo Di Pierro
Nice! On Saturday, 26 August 2017 08:19:30 UTC-5, Alex wrote: > > We created a report tool since creating pdf reports in a web application > is a common problem and none of the existing solutions were optimal for us. > We needed something that is easy to integrate, easy to use (to design the >

Re: [web2py] Re: how to create pdf report in web2py???

2017-08-29 Thread Alex
Thanks! at the moment we don't have a user list, but that's something we have to think about. You can also contact us per mail. One way to save the report is using the localStorageReportKey setting (see https://www.reportbro.com/docs/options ), e.g. $("#reportbro").reportBro({

Re: [web2py] Re: how to create pdf report in web2py???

2017-08-29 Thread Javier Pepe
Alex The tool is very good, you have a user list for question, i am to try the designer and not found howto save this. Thanks 2017-08-26 10:19 GMT-03:00 Alex : > We created a report tool since creating pdf reports in a web application > is a common problem and none of the

Re: [web2py] Re: how to create pdf report in web2py???

2017-08-28 Thread António Ramos
We have a winner. Great tool... 2017-08-26 14:19 GMT+01:00 Alex : > We created a report tool since creating pdf reports in a web application > is a common problem and none of the existing solutions were optimal for us. > We needed something that is easy to integrate, easy to use

Re: [web2py] Re: how to create pdf report in web2py???

2017-08-26 Thread Alex
We created a report tool since creating pdf reports in a web application is a common problem and none of the existing solutions were optimal for us. We needed something that is easy to integrate, easy to use (to design the reports) and easy to maintain (e.g. to create new versions of an

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-19 Thread prashant joshi
db- db = DAL("postgres://postgres:postgres@localhost:5432/report1") from gluon.tools import Auth auth = Auth(db) auth.define_tables(username=True,signature=False) db.define_table('register', Field('first_name', requires=IS_NOT_EMPTY()), Field('last_name', requires=IS_NOT_EMPTY()),

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-19 Thread Dave S
On Wednesday, May 18, 2016 at 10:21:24 PM UTC-7, prashant joshi wrote: > > https://vimeo.com/18601633 > according to this video i have already done shown in this video after > adding appreport plugins i,m getting error: > Cannot import module > 'applications.report.modules.modules' > > please

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-19 Thread prashant joshi
https://github.com/lucasdavila/web2py-appreport/wiki also download from it will be not work Cannot import module 'applications.bbb.modules.modules' this error show again On Thu, May 19, 2016 at 2:59 PM, prashant joshi wrote: > how to download appreport_plugin

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-19 Thread prashant joshi
how to download appreport_plugin ..??? this show in video On Thu, May 19, 2016 at 10:51 AM, prashant joshi wrote: > https://vimeo.com/18601633 > according to this video i have already done shown in this video after > adding appreport plugins i,m getting error: >

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-18 Thread prashant joshi
https://vimeo.com/18601633 according to this video i have already done shown in this video after adding appreport plugins i,m getting error: Cannot import module 'applications.report.modules.modules' please suggest me what to do further???/ On Thu, May 19, 2016 at 12:29 AM, Dave S

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-18 Thread Dave S
On Monday, May 16, 2016 at 1:49:55 PM UTC-7, Dragan Matic wrote: > > Here's a simple example, creating a PDF invoice in web2py app: > > This is the controller code: > def show_pdf_invoice(invoice_number, invoice): > from fpdf import FPDF > > pdf = FPDF() > pdf.add_page() > >

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-16 Thread Dragan Matic
Here's a simple example, creating a PDF invoice in web2py app: This is the controller code: def show_pdf_invoice(invoice_number, invoice): from fpdf import FPDF pdf = FPDF() pdf.add_page() pdf.set_font('Arial', 'B', 10) pdf.cell(25, 5, 'My company name', )

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-16 Thread prashant joshi
i also try this but i could not understadplease anybody send a simple example that i will understd On Wed, May 11, 2016 at 1:57 AM, Carlos Cesar Caballero Díaz < desarro...@spicm.cfg.sld.cu> wrote: > Take a look to jsPDF (https://parall.ax/products/jspdf) if you are more > familiar with

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-10 Thread Carlos Cesar Caballero Díaz
Take a look to jsPDF (https://parall.ax/products/jspdf) if you are more familiar with javascript. El 10/05/16 a las 15:52, Jim S escribió: I use ReportLab... -Jim On Tuesday, May 10, 2016 at 1:40:42 PM UTC-5, José L. wrote: Latest fpdf code is in the contrib section of gluon

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-10 Thread Jim S
I use ReportLab... -Jim On Tuesday, May 10, 2016 at 1:40:42 PM UTC-5, José L. wrote: > > Latest fpdf code is in the contrib section of gluon libraries, and works > correctly. If your report is not too complicated I'd recommend you this > way. The demo from the above link is easy to follow. >

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-10 Thread José Luis Redrejo
Latest fpdf code is in the contrib section of gluon libraries, and works correctly. If your report is not too complicated I'd recommend you this way. The demo from the above link is easy to follow. 2016-05-10 20:26 GMT+02:00 Dave S : > On Tuesday, May 10, 2016 at 9:59:47

[web2py] Re: how to create pdf report in web2py???

2016-05-10 Thread Dave S
On Tuesday, May 10, 2016 at 9:59:47 AM UTC-7, prashant joshi wrote: > > how to create pdf report in web2py? i saw video on vimeo but this plugin > not found.. > There are multiple ways to do it, but one way (which is briefly mentioned in the web2py book, and the pieces are in contrib) is