reportlab Questions
5
Solved
I'm trying to add a simple "page x of y" to a report made with ReportLab.. I found this old post about it, but maybe six years later something more straightforward has emerged? ^^;
I found this rec...
6
Solved
I am using ReportLab to generate a pdf dynamically with python.
I would like a line of text to be centered on a page. Here is the specific code I currently have, but do not know how to center the ...
Scherle asked 20/9, 2010 at 21:59
3
Using ReportLab 2.7, Python 2.7:
I can create a pdf with clickable bookmarks in the table of contents (toc), or I can create a pdf with "x of y" page numbering, but the bookmarkpage(key) appears t...
Trichiasis asked 16/4, 2013 at 15:45
0
The following ReportLab code generates a starting template that I am (almost) pleased with.
The missing piece of the puzzle is to add clickable "Back To Contents" text at the left hand si...
2
I already asked this question but there's no answer yet, so I want to take a look at Reportlab which seems to be actively developed and better than fpdf python library.
I've already seen this ques...
Retouch asked 2/2, 2015 at 15:29
3
Solved
I would like to add a figure generated with matplotlib to a reportlab canvas using the method drawImage and without having to save the figure to the hard drive first.
My question is related to:
Is...
Norton asked 19/9, 2013 at 14:30
3
Solved
I am using ReportLab to make a pdf using Python. I want to add a shape to the canvas, and have that shape act as a hyperlink. What is the simplest way to make the rectangle in the following example...
7
Solved
What is an efficient way to generate PDF for data frames in Pandas?
4
I'm using pyPdf to merge several PDF files into one. This works great, but I would also need to add a table of contents/outlines/bookmarks to the PDF file that is generated.
pyPdf seems to have on...
Hinduism asked 27/5, 2011 at 20:38
2
Solved
I have the error :
Can't find .pfb for face 'Times-Roman'
Error: reportlab.graphics.renderPM.RenderPMError: Can't setFont(Times-Roman) missing the T1 files?
I think the Times-Roman fonts is not ...
5
I want to embed matplotlib charts into PDFs generated by ReportLab directly - i.e. not saving as a PNG first and then embedding the PNG into the PDF (i think I'll get better quality output).
Does ...
Zipporah asked 14/1, 2011 at 11:32
4
Is there any way to extract images as stream from pdf document (using PyPDF2 library)?
Also is it possible to replace some images to another (generated with PIL for example or loaded from file)?
...
Enthrall asked 2/12, 2013 at 11:54
5
Solved
I want to write a python script to convert PNG's into 2-page pdfs (i.e. 2 PNGs per PDF). The software needs to run on both a Mac and Windows 7.
My current solution is using ReportLab, but that doe...
Shinbone asked 15/2, 2011 at 3:36
3
Solved
I am trying to create a document that has page numbering of the format "Page x of y".
I have tried the NumberedCanvas approach (http://code.activestate.com/recipes/576832/ and also from the forums ...
Jeanicejeanie asked 24/7, 2018 at 12:29
2
I am trying to edit an existing pdf file using PyPDF and ReportLab. When I try to position the red circle and red text, it appears to be hiding behind a white container or something. If I position ...
Skinflint asked 7/3, 2023 at 19:34
3
Solved
TL;DR:
Is there some way of telling ReportLab to use a specific font, and fallback to another if glyphs for some characters are missing? Alternatively, Do you know of a condensed TrueType font whi...
Massimo asked 3/2, 2016 at 8:45
4
Solved
I want to use a different color of text in my auto-generated PDF.
According to the reportlab docs all I need to do is:
self.canvas.setFillColorRGB(255,0,0)
self.canvas.drawCentredString(...)
Bu...
2
Is it possible to set up letter/char spacing in Paragraph Style?
I tried to use spaceShrinkage
but it doesn't make any difference
Bleareyed asked 6/8, 2018 at 12:25
5
use ubuntu virtualenv. I try to install reportlab
the command is
pip install reportlab
in this directory
(company2)stefano@stefano-X550EP:~/htdocs/company2$
the error is
error: command 'x86...
2
I'm trying to create a table with 7 cols. The last column contains a long text which seems to create the error. It seems that when the cells exceeds the size of the page, it throws an exception.
f...
3
Solved
How can I create a bulleted list in ReportLab? The documentation is frustratingly vague. I am trying:
text = ur '''
<para bulletText="&bull;">
item 1
</para>
<para bulletText="&...
6
Solved
I've installed reportlab, via
pip install reportlab
(also tried via
easy_install reportlab
)
..but I get the above error. There are other RL imports before that - it's the .lib that it's obj...
Who asked 2/8, 2016 at 3:15
2
First I note that there are many related questions, but after a day of trying pyvip and cairo and the rest none of them work for me, even after installing other software that they seem to depend on...
2
I am using reportlab to generate a pdf file. I has some problem when i draw a string on the pdf. how can i get the height of the string with TTFont?
the code:
# Register fonts.
pdfmetrics.regist...
4
Solved
I've run into an issue I can't seem to figure out with PIL and reportlab. Specifically, I would like to use drawImage on a canvas in reportlab using a PIL Image object.
In the past I've inserted i...
Chinquapin asked 9/2, 2010 at 7:41
1 Next >
© 2022 - 2025 — McMap. All rights reserved.