Hi Adrian,
thanks for the link. This is my fopConfiguration.xml file:
<fop>
<renderers>
<renderer mime="application/postscript">
<auto-rotate-landscape>true</auto-rotate-landscape>
<language-level>2</language-level>
</renderer>
</renderers>
</fop>
And this is how I load this configuration file:
String fopConfiguration = "fopConfiguration.xml";
FopFactory fopFactory = FopFactory.newInstance();
fopFactory.setUserConfig(new File(fopConfiguration));
FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
But it still creates version 3 PS-files (I checked the header).
Am I missing something else?
Thanks,
Frank
Adrian Cumiskey-2 wrote:
>
> Hi Frank,
>
> Yes, you can do this with the language-level configuration option (see
> http://xmlgraphics.apache.org/fop/0.95/output.html#ps-configuration).
>
> Adrian.
>
> Frank Niedermann wrote:
>> Hi,
>>
>> we are using Apache FOP to create PS files which should be printed on a
>> HP-Unix machine.
>>
>> Unfortunately this machine only supports version 2.0 PS files:
>> %!PS-Adobe-2.0
>>
>> Apache FOP creates version 3.0 PS files which are ignored by the HP-Unix
>> print system.
>>
>> Is there a way to tell FOP to generate version 2.0 PS files?
>>
>> Thanks,
>> Frank
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/How-to-create-version-2.0-PS-files-tp22804932p22821352.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]