Re: [css2xslfo-support] how to set FOP resolution for PCL output when embedded?
Brought to you by:
wdonne
From: Werner D. <wer...@re...> - 2008-06-10 15:43:49
|
Hi Brad, On 09 Jun 2008, at 17:05, Brad Clements wrote: > > This page > http://xmlgraphics.apache.org/fop/0.95/output.html#pcl-configuration > > says: > >> You can control the output resolution for the PCL using the "target >> resolution" setting on the FOUserAgent. > > I can't see how to set this when embedding csstoxslfo. > > I tried adding '-dpi' to the parameters hashmap, but it looks like > csstoxslfo is interpreting parameters. > Indeed it does. An new feature could to make room for processor-specific options on the command-line. I have created feature request 1989920 for this. > I need to tell csstoxslfo to do something like: > >> userAgent.setTargetResolution(600) > > I also tried setting this in the fop conf file, but it doesn't seem > to work: > > <renderer mime="application/x-pcl"> > <target-resolution>600</target-resolution> > ... > I don't know this part of FOP, but I noticed that the MIME type in your sample differs from the example of the page you refer to. > > > -- > Brad Clements, bk...@mu... (315)268-1000 > http://www.murkworks.com > AOL-IM: BKClements > Best regards, Werner. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support -- Werner Donné -- Re http://www.pincette.biz Engelbeekstraat 8 http://www.re.be BE-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |