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.