[Mono-list] Printing

Jay Bennie jay at lincore.co.uk
Sat Oct 29 07:03:12 EDT 2005


Jan Waiz wrote:
> Hi All,
> 
>  
> 
> does anyone have a Tip or an Idea, how it is possible to implement in an 
> easy manner the Printing of small Reports?
> 
>  

I use fop as a frame work for printing reports that need some kind of 
smart page flow layout, for single page one offs - just draw to the 
print canvas - like you would if creating any other graphic.

my problem is that the fop project is java, on MS you simply includes 
the java Libs for .net and use the nfop project (some one made the 
nessesary changes) I have no idea how this translates to mono. One day i 
may get arround to rewriting as a native c# Lib as it's my big itch so 
to speak - but as always its a time thing

use xml for data output, then xslt to generate the xsl-fo then process 
with the fop engin to get the pdf, ps or other pagainated format . worth 
noteing is there is no to canvas type option yet i.e. for a print 
preview - as the tool was devleoped to be used in an apache/cocoon env

hope that helps - Ps the xml-fo stuff can be a bit of a pain, but dont 
forget that it also supports svg and inline bitmap formats, so use 
sodipod or scribus for prototyping the pages etc . then cut up the xml 
for the report

expect a learning curve on the xslt but once you have these skills, 
you'll wonder why people still spend stupid ammounts of money on 
inferior technology

NB: for someting really simple i suppose you can just generate the 
xml-fo directly and sent to the fop engine.



> 
> And if it will run with Mono and IIS ?
> 
>  
> 
> I found a lot of Samples in Internet (f.e. www.codeproject.com 
> <http://www.codeproject.com/>) – but they looks to complicate. Must I 
> use Chrystal? Does it run with Mono?
> 
>  
> 
> I think about a Solution, that generates a specific new Page in a new 
> Explorer-Window – and that’s all. But I did not have any Idea, how I can 
> do that.
> 
>  
> 
> Thanks a lot for any Help!!
> 
>  
> 
> Regards
> 
> Jan Waiz
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list