[Koha-devel] Koha and xhtml2pdf

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Apr 20 15:28:04 CEST 2017


Hi Frido,

The script is telling you to install it using easy_install.
If you want an alternative, take a look at PDF::FromHTML, it's what we use
to generate discharges.

Cheers,
Jonathan


On Thu, 20 Apr 2017 at 07:31 Fridolin SOMERS <fridolin.somers at biblibre.com>
wrote:

> Hie.
>
> We have some problems with xhtml2pdf on Ubuntu Xenial.
>
> This soft is used by misc/cronjobs/printoverdues.sh.
> First it is strange that the package containing this soft "python-pisa"
> is not in koha-deps.
> I see there is "html2pdf" but there is no CSS option.
>
> In jessie we have to use the jessie-backports repo and install several
> packages :
> python-pisa python3-reportlab python-html5lib python-pypdf
> python-imaging python-renderpm python-reportlab python-reportlab-accel
>
> On ubuntu Xenial, we install those same packages but we have a bug in
> python call.
> We found it can be corrected by installing xhtml2pdf from its GIT repo.
> We would prefere to avoid this.
>
> Any help is welcome.
>
> Best regards,
>
> --
> Fridolin SOMERS
> Biblibre - Pôles support et système
> fridolin.somers at biblibre.com
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20170420/76114f89/attachment.html>


More information about the Koha-devel mailing list