Chinaunix首页 | 论坛 | 博客
  • 博客访问: 220292
  • 博文数量: 23
  • 博客积分: 1400
  • 博客等级: 上尉
  • 技术积分: 311
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-29 20:09
文章分类

全部博文(23)

文章存档

2009年(5)

2008年(18)

我的朋友

分类:

2008-06-04 10:04:44

业务场景:
SAP CRM 5.0 PCUI smartform 中文 日文 韩文 乱码.
PCUI 中 开发人员只需要把元数据准备好就行,不用自己调用转换PDF的function.
元数据中的中文不是乱码.
系统准换成PDF后是乱码. 最后原因是:smartform的语言不对.
 
smartform 转PDF 通用诊断步骤:
1.检查smartform是什么语言的.要打印中文建议在中文下新建.
  smartform是区分语言的.比如英文下新建的smartform 在中文登录后文本不会显示.
2.输出设备问题
  检查输出设备.
    SPAD -->output devices-->输入设备名-->display
      找到Device Type
     看看 Device Type 是不是支持中文
       Upload the font using SE73 transaction
            print font display.
                看看里面有没有cnhei cnsong 等字体.如果没有就说明要添加字体.参考4.1
     如果有很多东亚语言要处理,建议SPAD中为每种语言新建输出设备.
 
3.如果SAP版本较低 参考下面的notes
SAP Notes related to Fonts
Also refer following SAP Notes related to double byte characters:
a.
0000776507 SAPscript/SmartForms: Which fonts for which languages?
b.
0000323736 Restrictions with "PDF print" through spooler
c.
0000317851 Creating PDF format using the SAP spooler in 4.6C/4.6B/4.5B
d.
0000012462 How can I define a new printer font?
e.
Note 62178 Device types for the Japanese version of the R/3 System
 
4.参考资料
  4.1 老印的PDF
      
  4.2 ITPUB 论坛(其中的代码可以直接做smartform 转PDF的测试.)
 
(完)
阅读(5673) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~