Questions tagged as 'reportlab'

1
answer

API on ReportLab with Django

Well, I have this doubt because I have not found good documentation about it, there is a specific doubt at the moment and it is with the images. from reportlab.lib import colors from reportlab.lib.units import cm from reportlab.lib.enums impor...
asked by 10.03.2016 / 21:25
2
answers

how to show a Reportlab report in the browser?

I am new with reportlab, the problem I have is that despite being able to create reports with reportlab, I have only been able to save them in the root folder of my project, but when I upload it to a test server I get this error: Error and Tr...
asked by 10.03.2016 / 15:03
0
answers

How can I generate a report with reportlab from a view? [closed]

What I'm looking for is to generate a report from the following view: class CuentaCondominioView(TemplateView): template_name = 'administrador/cuenta_condominio.html' def dispatch(self, request, *args, **kwargs): if request.u...
asked by 09.07.2016 / 21:00
1
answer

How to export Matplotlib graphics with Reportlab?

I'm creating a graphical interface, with python and the tkinter module, the interface has to generate a graph and if I click on the export button I have to generate it in a pdf with the Reportlab library. How do I export it? import matplotli...
asked by 22.05.2018 / 19:10
1
answer

PDF with ReportLab How to make text within a table do not get out

Hello, I need to know how to make the PDF document that I generate on my site, the text that goes inside a column does not come out and if the column is not wide enough that it continues below. Look at the table SERVICE AGREEMENTS This photo is...
asked by 12.05.2017 / 16:20
0
answers

Long data table does not pass to the next page. Reportlab Django

The problem I have is that the table is very long by the data of the BD, those that are passed on the sheet are no longer displayed. What I would like you to help me is that the cells that are left over go to a new PDF page as well as your heade...
asked by 12.10.2018 / 03:21
0
answers

How to control the contents of my table in reportlab?

What I want to say with my question is that I have a table, which if I add more data the table is growing up, and I would like the new aggregate data to be generated down, here I leave my code so that you can understand me better. Views.py...
asked by 07.10.2018 / 02:02
0
answers

Reportlab + ajax generate pdf in Django

I have a problem when generating a pdf in django, I send the data of a template by ajax to the function that the pdf generates, but when I finish processing the data and build the basic pdf it does not send me the pdf. This is my views cla...
asked by 31.08.2018 / 23:24
1
answer

reports pdf with python

I need to know how to show the records of a query in the database to a pdf document using python and reportlab. The idea is to show a table in a pdf where the data generated by the query to the DB is included     
asked by 14.06.2018 / 07:14
0
answers

How to insert image with Reportlab and variable extension text?

What I want is to generate a file in which on the first page is an image generated with matplotlib and then insert text of variable size, as I understand this method makes the number of pages adapt to the text, The code that I have is the...
asked by 23.05.2018 / 04:04