Skip to Content
avatar image
Former Member

Printing Chinese Characters in Smart Forms

Hi,

Iu2019m trying to print Chinese characters via smart forms. However during print preview or print, all Chinese characters are showing as # symbols.

I have researched and implemented for some possible solutions posted in the forum like:

a.) Setting the regional language control panel.

b.) Activating the multi-byte function in I18N.

c.) Checked the output device is SWINCF.

d.) Control parameter language is ZH (Chinese).

Unfortunately it still doesnu2019t solve the problem. Any input is highly appreciated.

With regards,

Marc

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 17, 2011 at 08:47 AM

    Hi,

    Usually the # character indicates that the device type(character set of the device type) does not support the character.

    However, the device type SWINCF is a unicode device type and should support the Chinese characters. Are you sure that SWINCF is the used device type. If you debug and check the parameter OUTPUT_OPTIONS-TDDEST passed smartform function module, does it contain an output device defined with device type SWINCF?

    Regards,

    Aidan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      See point 1 of SAP note 392002.

      1. The system does not differentiate between translation-relevant and non translation-relevant texts. The latter are texts which, for instance, only contain symbols. These texts are not offered in the translation transaction SE63. This is not an error, rather it is intended to be so because it would not make sense to translate such a text.

      The contents of a symbol depends on what is passed from a print program.

      Regards,

      Aidan

  • Oct 18, 2011 at 11:32 AM

    Remark following basics:

    Forms:

    Language of the form must be: "ZH".

    Due to a SAPNOTE only font family CN* (CNSONG etc.) is mapped.

    For frontend print, you must install chinese true type on you local PC and print via "CNSAPWIN" .

    For backend print, you must install neccesaary fonts in your printer to the resident fonts. You must use a printer like "CNHPL4" or so.

    For PDF archiving, you must upload truetype fonts to application server -> basis guys.

    Cascading Fonts:

    If you mix different subfonts to unicode areas, you must use CNSAPWINCF.

    Until now, only frontend printing is available.

    Note:

    Spool created for back end print with print preview is only a simulation of getting a picture of the output created with front end technology. So it can differ, when the printer does not have the resident fonts.

    Regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Christian,

      Just an additional point to your reply.

      Cascading fonts solution with device types like SWINCF etc can be used for backend printing if you use Access Method S, SAPSprint and a windows print server.

      Regards,

      Aidan

  • avatar image
    Former Member
    Oct 18, 2011 at 11:49 AM

    Hi Marc,

    I faced similar issue while developing Smart form into Chinese and Korean languages.

    With the help of Basis team, we installed Asian language package in the system and it started working good.

    Before installing the package it was displaying Junk characters.

    You can check with Basis team, if there is Asian Language package is installed in your system, I hope it will resolve the issue.

    Regards,

    Krishna Chaitanya

    Add comment
    10|10000 characters needed characters exceeded