phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] PDF-support without additional php modules


From: Brian Johnson
Subject: Re: [Phpgroupware-developers] PDF-support without additional php modules
Date: Tue, 06 Jul 2004 21:49:08 +0000

I have the property code from HEAD but the way I read it, each object in the
resulting pdf is made one peice at a time.

I am hoping to create printer output that matches the form layout from the
html screen

Am I reading the code wrong or is type of process not possible?

PS - I can make pdf output following your property code as an example .. I
just don't want to recreate the html form layout since I want it user
customizable and is easier if it matches the screen layout (which I already
have user customizable)



Sigurd Nes (address@hidden) wrote:
>
> to see it in action:
> log on to http://www.fm-system.no/demo/ as demo
>
> navigate to:
>
> http://www.fm-system.no/demo/index.php?menuaction=property.uiwo_hour.index&workorder_id=1003
>
> klick on "Vis anbud" (view tender)
>
> Sigurd
>
> Brian Johnson wrote:
>
> > This is exactly what I'm trying to do right now .. build the pdf through a
> > page called from an eTemplate
> >
> > Has there been any success on this?
> >
> > Any tips?
> >
> > I "think" the process would be to try to capture the html generated by
> > eTemplate, process it to a suitable format for the pdf class, then finally
> > send it through the pdf class .. but it seems that the pdf class doesn't 
> > want
> > html .. so the processing part would be very complex
> >
> > Am I missing something?
> >
> >
> >
> >
> >
> > Sigurd Nes (address@hidden) wrote:
> >
> >>Alessandro Farina wrote:
> >>
> >>
> >>>Hi,
> >>>I'm trying to implement the ROS pdf class too.
> >>>I think It will be very useful to implement this class at API level.
> >>>At the moment I'm trying to implement at app level, but I'm having some
> >>>troubles.
> >>>I build the pdf through a page called from an eTemplate, so with POST
> >>>method, and I get a blank page.
> >>>If I simply reload the page it goes all ok.
> >>>The page is correctly built, 'cause if  I call it outside phpGW it works
> >>>fine.
> >>>Any suggestion?
> >>>Any $phpgw_info['flags'] to enable/disable (in addition to noheader,
> >>>nonavbar)?
> >>>
> >>>Alessandro
> >>>
> >>>
> >>>
> >>>
> >>
> >>Try this:
> >>1) $GLOBALS['phpgw_info']['flags']['noframework'] = True;
> >>
> >>2) Another browser than IE (Mozilla Firebird is nice)
> >>
> >>Sigurd
> >>
> >>
>
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]