pisa Questions
5
My problem is: I am creating a pdf file from an html, using the xhtml2pdf library. Having created the pdf file, I send the file to the user via email using the sendgrid API. However, I am not able ...
Heterophyte asked 19/12, 2018 at 15:3
4
I am using pisa, which is an HTML to PDF conversion library for Python.
Does there exist the same thing for a Word document: an HTML to .doc conversion library for Python?
6
Solved
I'm trying to generate a pdf from template using this snippet:
def write_pdf(template_src, context_dict):
template = get_template(template_src)
context = Context(context_dict)
html = template.r...
4
Solved
I am trying to use wkhtmltopdf to create a PDF from HTML code. I have used xhtml2pdf and pisa but I have had problems with css styles. well, wkhtmltopdf is my last option.
I have followed this st...
Neurotomy asked 19/12, 2013 at 12:43
7
Solved
I'm using a standard example from the web (http://www.20seven.org/journal/2008/11/pdf-generation-with-pisa-in-django.html) to convert a django view / template into a PDF.
Is there an "easy" way to...
Madisonmadlen asked 1/2, 2010 at 20:48
5
Solved
I'm trying to have table borders in my PDF using pisa to generate the PDF from my html page. According to the documentation, I should use CSS to display borders in my table. However this is not wor...
Interference asked 11/9, 2009 at 19:39
1
I am trying to generate a PDF using html+css using xhtml2pdf.pisa using Django. However, I'm running into all sorts of weird issues with the CSS.
Below is my code:
from django.template.loader imp...
1
Solved
I am creating pdf from my html page using pisa in django framework. Can anyone please tell me how to adjust the pdf page size. I tried to use A5 but its not reflecting. Please find the code below:
...
1
Solved
Hi I am using the follwoing 2 functions to create and send a pdf via mail on the fly. What Am I doing wrong. (The export pdf function works properly when showing it in the browser.)
The error I am...
4
Solved
I use Pisa/xhtml2pdf in my Django apps to generate pdf from an HTML source. That is:
I generate the HTML file formatted with all 'printing' stuffs (e.g. page-breaks, header, footer, etc.)
I conve...
Stitt asked 19/12, 2012 at 11:0
2
Solved
First of all, I'm new to python, reportlab, xhtml2pdf.
I've already done my first pdf files with reportlab, but I ran into the following problem.
I need a large text in two columns.
First I crea...
1
I'm having some trouble getting a footer to appear as one frame on the first page of a Pisa document, and as another frame on every other page. I have attempted to adapt the lastPage idea from here...
1
Solved
I generate a pdf file from HTML using Pisa:
def fetch_resources(uri, rel):
path = os.path.join(settings.MEDIA_ROOT, uri.replace(settings.MEDIA_URL, ""))
return path
def write_pdf(template_src, ...
1
I'm using Pisa to convert HTML to PDF (in a Django project).
It is very slow when handling tables that span over multiple pages:
a 200-rows table takes up to 150 seconds to be converted, while it ...
Each asked 29/9, 2011 at 9:4
1
Solved
Greetings,
I'm using PISA to generate some nice pdf of my web pages. Anyway I'd need to put a footer div -only- in the last page of the pdf document. I found the tag "@page lastPage" in the offici...
1
Solved
I have pisa producing .pdfs in django in the browser fine, but what if I want to automatically write the file to disk? What I want to do is to be able to generate a .pdf version file at specified p...
1
© 2022 - 2024 — McMap. All rights reserved.