[Zope3-Users] non HTML page template
Ibro
ibro_x at yahoo.com
Sun May 24 22:40:18 EDT 2009
Hmm, I thought Zope3 is not limited only to web applications.
Anyway, I've dropped my question of having a non HTML page template, because I found faster way to have a custom machinery that generates print jobs rather than using (page) templates.
Thank you for the suggestions.
--- On Sat, 5/23/09, Yuan HOng <hongyuan1306 at gmail.com> wrote:
> From: Yuan HOng <hongyuan1306 at gmail.com>
> Subject: Re: [Zope3-Users] non HTML page template
> To: "Ibro" <ibro_x at yahoo.com>
> Date: Saturday, May 23, 2009, 8:03 AM
>
>
> On Thu, May 14, 2009 at 6:58 AM,
> Ibro <ibro_x at yahoo.com>
> wrote:
>
>
>
> Hi,
>
>
>
> I'd want to make a template for printer output in raw
> form which contains control characters.
>
> Can I make the template with ZPT or should I implement
>
> a custom template class ?
>
> If I have to implement a custom template class, which
> class
>
> should I subclass (or, where should I start) ?
>
> I'm a bit lost ...
>
>
> Sounds like you are trying to generating printer control
> language directly from zope. ZPT is definitely not suitable
> for such a purpose. It is intended for HTML-like output.
>
> It seems to be strange that you would like to generate such
> low-level printer control code directly through zope3. Zope3
> is anyway primarily a web server framework, and the views
> are supposed to be based on HTTP and HTML, though certainly
> you can write custom views to do what you wish.
>
>
> May be you can look at the z3c.rml library which produces
> PDF files for printing.
>
> --
> Hong Yuan
>
> 大管家网上建材超市
> 装修装潢建材一站式购物
> http://www.homemaster.cn
>
>
>
More information about the Zope3-users
mailing list