Re: ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-20 Thread Iuli Hardt


Em sexta-feira, 19 de abril de 2019 15:10:31 UTC-3, Irfan Khan escreveu:
>
> hi,
> i stucked in converting the pdf file from html
> can an one suggest me even any other possibility instead of using python 
> library 
>
>
Try to use weasyprint, put css in the pdf html using ... "style page to print here" 

google "DJANGO WASYPRINT"
https://www.bedjango.com/blog/how-generate-pdf-django-weasyprint/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2ba60ea6-fd7f-4970-95f0-571bb9b30633%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-19 Thread Jani Tiainen
Hi.

I've had pretty good success with wkthtmltopdf.


pe 19. huhtik. 2019 klo 21.11 Irfan Khan  kirjoitti:

> hi,
> i stucked in converting the pdf file from html
> can an one suggest me even any other possibility instead of using python
> library
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6862bdc2-bb4f-4253-99de-7606a6b5ac2b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91oeTYfQS4tUaSJ6-KgR%2B5wD9gyM0AhmoeAtF4h1JXO7-%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-19 Thread Sam W
 Use java  then use py4j or Jython to call java method...

https://www.baeldung.com/pdf-conversions-java

On Fri, Apr 19, 2019, 1:11 PM Irfan Khan  wrote:

> hi,
> i stucked in converting the pdf file from html
> can an one suggest me even any other possibility instead of using python
> library
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6862bdc2-bb4f-4253-99de-7606a6b5ac2b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACp2BVr-6%3DvJm62soy6tXT5f9fgo1D9Aq5H0XVsAvUuMZaNEuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-19 Thread acheraime
ReportLab is better then Xhtml2pdf but the former has a considerable learning 
curve the latter is easy to use but css get messy. Specifically css3.
Did you try weasyprint?

—
Adolphe

Sent from my iPhone

> On Apr 19, 2019, at 2:10 PM, Irfan Khan  wrote:
> 
> hi,
> i stucked in converting the pdf file from html
> can an one suggest me even any other possibility instead of using python 
> library 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/6862bdc2-bb4f-4253-99de-7606a6b5ac2b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/E08AB4F6-1629-453B-9959-4E53C59AAEF8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-19 Thread Irfan Khan
hi,
i stucked in converting the pdf file from html
can an one suggest me even any other possibility instead of using python 
library 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6862bdc2-bb4f-4253-99de-7606a6b5ac2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.