1. deploy a rep into report deployment path defined in sourceDir in <oraclehome> /reports/conf/<repserver> .conf
2. make sure the rep can print correctly
3. define two environment ids in .conf, one is UTF8 with NLS_LANG set as AMERICAN_AMERICAN.UTF8, the other is called zhs, with NLS_LANG set to SIMPLIFIED CHINESE_CHINA.ZHS16GBK
4. in the Engine section, add the defaultEnvId
to print chinese pdf file, following extra steps is needed.
5. copy chinese font into the <oraclehome>
/reports/printer directory.
6. modify <oraclehome>/tools/common90/uifont.ali,
add a font subsetting entry into this [PDF:SUBSET] section, it's something like
Arial=“simfang.ttf“
This entry tells the report server to substitute all those Arial font into Fangsong font face.(My report is built in Arial font and when run in chinese session, it's changed to Chinese Font.)
.
remember to restart the report server whenever this file is changed.

博客介绍了Oracle报告服务器的部署及中文PDF打印的设置步骤。包括将报告部署到指定路径、确保报告能正确打印、在配置文件中定义环境ID、添加默认环境ID。打印中文PDF还需复制中文字体到指定目录,修改字体别名文件,每次修改后需重启服务器。
1895

被折叠的 条评论
为什么被折叠?



