trml2pdf status

364 views
Skip to first unread message

michal salaban

unread,
Sep 15, 2008, 7:15:35 AM9/15/08
to Satchmo developers
Hi,

Since I began using Satchmo (about 3-4 months ago), the trml2pdf
download sites are down. I don't remember where i got my copy, but it
was neither simple nor "official" way, probably an old RPM from other
distro. This is not a problem unless someone wants to deploy Satchmo
shop on a host administered by someone else. There are no packages.

Merging this tiny module into Satchmo is not possible due to license
conflict. The only other solution I found is ReportLab's commercial
extension.

A half-soultion could be to move the import statements into functions
so Satchmo could run without having trml2pdf module installed. Not
every site has to use it, so it could make some sense.

HTML printing, even with custom CSS, is not a good solution either.
Too much dependency on browsers and problems with storing the files
(separate images and CSS). Using ReportLab directly, without RML is
backward and not flexible at all.

Maybe there are some other formats which could replace RML here and
have good Python libarary support?

--
michal

Brett H

unread,
Sep 28, 2008, 9:08:29 PM9/28/08
to Satchmo developers
The most active project I've seen is http://www.htmltopdf.org/

The biggest other user of trml2pdf I think is http://openerp.com/ but
I don't know if they are actively developing it for that project.

Doug Van Horn

unread,
Oct 17, 2008, 6:10:06 PM10/17/08
to Satchmo developers
trml2pdf has been hard-ish to find for a while now. Has anyone had
contact with the maintainer?

I actually just added the ability to use the 'parent' attribute on
paraStyle elements and thought I'd kick it back to the project, but
the maintained project doesn't seem to be around anymore.

I'm wondering if reportlab squashed the project since their RML
processor is 'for pay'.


If anyone has made contact with the author let me. I think I'll send
him an email right now...


doug.


On Sep 28, 8:08 pm, Brett H <brett.hay...@gmail.com> wrote:
> The most active project I've seen ishttp://www.htmltopdf.org/

Chris Moffitt

unread,
Oct 17, 2008, 10:16:21 PM10/17/08
to satchmo-d...@googlegroups.com
On Fri, Oct 17, 2008 at 5:10 PM, Doug Van Horn <dougv...@gmail.com> wrote:

trml2pdf has been hard-ish to find for a while now.  Has anyone had
contact with the maintainer?

I actually just added the ability to use the 'parent' attribute on
paraStyle elements and thought I'd kick it back to the project, but
the maintained project doesn't seem to be around anymore.

I'm wondering if reportlab squashed the project since their RML
processor is 'for pay'.


If anyone has made contact with the author let me.  I think I'll send
him an email right now...

I'm not aware of anyone contacting the authors. It definitely seems to be unmaintained now. Good luck with the contact. Let me know if  you hear anythingpositive.

-Chris

Doug Van Horn

unread,
Oct 27, 2008, 10:43:36 AM10/27/08
to Satchmo developers
FWIW, it's ten days later and I haven't heard from the developer.

Just wanted to update the list...



On Oct 17, 9:16 pm, "Chris Moffitt" <ch...@moffitts.net> wrote:

Pete

unread,
Nov 11, 2008, 10:40:14 AM11/11/08
to Satchmo developers
> Since I began using Satchmo (about 3-4 months ago), the trml2pdf
> download sites are down. I don't remember where i got my copy, but it
> was neither simple nor "official" way, probably an old RPM from other
> distro.

We ran into the same problem. Satchmo appears to be hosting it here:
http://www.satchmoproject.com/snapshots/trml2pdf.tar.gz

ma...@cuthemustard.com

unread,
Jun 25, 2012, 3:12:05 PM6/25/12
to satchmo-d...@googlegroups.com
I have a hunch that the reason why this app is so hard to find and abandoned is because RML is a proprietary language. What if future Stachmo works toward ditching trml2pdf and adopting a new way to generate invoices and such. According to this Django HowTo article, xhtml2pdf is worth taking a look at. This would also have the added advantage of using markup language that, to most people I would think, is more familiar than RML.

Chris Moffitt

unread,
Jun 25, 2012, 9:06:22 PM6/25/12
to satchmo-d...@googlegroups.com
For people interested in alternative rendering engines, I'd encourage you to take a look at this pull request -
https://bitbucket.org/chris1610/satchmo/pull-request/43/new-document-generation-system

It would support pluggable back end rendering engines so we could easily move away from trml.

I think this looks pretty good but I'd appreciate it if others take a look and see if it meets their needs.

-Chris

--
You received this message because you are subscribed to the Google Groups "Satchmo developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/satchmo-developers/-/cJJnCbPSfSAJ.
To post to this group, send email to satchmo-d...@googlegroups.com.
To unsubscribe from this group, send email to satchmo-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/satchmo-developers?hl=en.

Teagarden

unread,
Jun 25, 2012, 9:30:52 PM6/25/12
to satchmo-d...@googlegroups.com, satchmo-d...@googlegroups.com
There is also the relatorio [1] project, which uses simple xml templatin to generate open document files and OpenOffice to convert then to PDF.

The tryton project uses it.

Sharoon Thomas

ma...@cuthemustard.com

unread,
Jun 29, 2012, 1:30:44 PM6/29/12
to satchmo-d...@googlegroups.com
Looks good! And you can subclass locally in order to use any converter that is available out there, Sharoon.


On Monday, 25 June 2012 21:30:52 UTC-4, Sharoon Thomas wrote:
There is also the relatorio [1] project, which uses simple xml templatin to generate open document files and OpenOffice to convert then to PDF.

The tryton project uses it.

Sharoon Thomas


On 26-Jun-2012, at 6:36 AM, Chris Moffitt <ch...@moffitts.net> wrote:

For people interested in alternative rendering engines, I'd encourage you to take a look at this pull request -
https://bitbucket.org/chris1610/satchmo/pull-request/43/new-document-generation-system

It would support pluggable back end rendering engines so we could easily move away from trml.

I think this looks pretty good but I'd appreciate it if others take a look and see if it meets their needs.

-Chris

On Mon, Jun 25, 2012 at 2:12 PM, ma...@cuthemustard.com <ma...@cuthemustard.com> wrote:
I have a hunch that the reason why this app is so hard to find and abandoned is because RML is a proprietary language. What if future Stachmo works toward ditching trml2pdf and adopting a new way to generate invoices and such. According to this Django HowTo article, xhtml2pdf is worth taking a look at. This would also have the added advantage of using markup language that, to most people I would think, is more familiar than RML.




On Tuesday, 11 November 2008 10:40:14 UTC-5, Pete wrote:
> Since I began using Satchmo (about 3-4 months ago), the trml2pdf
> download sites are down. I don't remember where i got my copy, but it
> was neither simple nor "official" way, probably an old RPM from other
> distro.

We ran into the same problem. Satchmo appears to be hosting it here:
http://www.satchmoproject.com/snapshots/trml2pdf.tar.gz

--
You received this message because you are subscribed to the Google Groups "Satchmo developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/satchmo-developers/-/cJJnCbPSfSAJ.
To post to this group, send email to satchmo-developers@googlegroups.com.
To unsubscribe from this group, send email to satchmo-developers+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/satchmo-developers?hl=en.

--
You received this message because you are subscribed to the Google Groups "Satchmo developers" group.
To post to this group, send email to satchmo-developers@googlegroups.com.
To unsubscribe from this group, send email to satchmo-developers+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages