I cant print out Chinese Characters

My ibook won't print out Chinese characters at my local 711 here in Taipei? (A Chinese speaking city, needless to say). Its not an issue of Traditional versus Simplified characters and the files are downloaded language transcripts from a learning site I belong to.
And there is no problem printing out Japanese Kanji which are simply Chinese characters adopted into Japanese.
Any suggestions on what is wrong here. The learning site doesn't seem to have any idea beyond saving it as a pdf file and trying again. This hasn't worked.

Tom.
Yes, the printer is in a 711. Totally generic - Kyocera, every 711 has the same. I connect via usb cable and yes, the documents do display correctly on screen. The application being used is Apples own, I believe, but I have tried Adobe - with no luck.
Thanks for the Chinese-Mac mailing list.
The following two suggestions are from the technical help forum of my language learning site:
1.In your printer options, do you have anything that says "print truetypes as bitmaps" or something like that? That should solve it.
2. You are talking about printing the pdf's right? If this is the case it is simply a matter of your printshop not having the necessary fontfiles installed. A possible work around is to select all the text in the PDF. Copy+Paste this into word using a widely distributed unicode font like Arial. Then try to print these .doc files at your printshop. If you copy+past the stuff, it will give you a possibility to leave out the traditional or simplified (whatever) you don't need + possibly some titles and logo's and thereby reducing the overall number of pages. Which is a good thing if you are charged by the page.

Similar Messages

  • Preview and Printing of Chinese Characters in Smartform

    Hi everyone!
    I have a development that needs to output in Smartform a combination of Chinese and English characters, on an English Logon,
    When I debug the form, the Chinese characters are shown in the debug screen, but when it is previewed or printed, it shows garbage.  Can anyone help me with this?
    Thanks a lot! Points for any helpful answer!

    Hi
    check this OSS Note
    OSS Note: 776507
    Symptom
    Documents printed via SAPscript or SmartForms do not print with correct special characters, e.g. ### prints instead of Japanese or Russian characters. What to do?
    Other terms
    SAPscript, SmartForms, printing, device types, OTF
    Reason and Prerequisites
    Help required to choose proper fonts in a SAPscript or SmartForm
    Solution
    When using SAPscript or SmartForms to print (or email or fax) a form from a business application, many factors influence the outcome of the actual text within the form. All these factors must be checked in order to ensure a correct printout:
    1) The language version of the form used to produce the printout.
    Example: If you want to print a French invoice, you need to have a FR version of your SAPscript or SmartForms invoice form RVINVOICE01. And the application program must specify the corresponding language key (FR) when calling the SAPscript or SmartForms API.
    2) The font selections specified in the form (possibly also in a SAPscript style or SmartStyle used in a form).
    Example: In a SAPscript form or a SmartStyle you need to specify HELVE if you want to print German text in Helvetica (or similar) font. If you want to print Japanese text, HELVE is not a valid choice but you need to specify a Japanese font like JPMINCHO in your Japanese form.
    3) The output character set of the device type
    Every printer in transaction SPAD has a "device type" assigned. Device types used by the spooler for printing support only one single specific output character set. All text from the form has to be converted (using SAP's built-in character conversion mechanism) to this output character set.
    A character set can typically support either a single language (e.g. Shift-JIS which supports only Japanese) or a set of languages (e.g. ISO 8859-1, which supports Western-European languages). It is possible that a given language (such as German) can be supported by several output character sets, e.g. you may use either ISO 8895-1 (Latin-1) or ISO 8859-2 (Latin-2) to represent German text. This is so because both character sets contain the special characters used in German.
    Example: HPLJ4000 is a HP LaserJet device type supporting the ISO 8859-1 (Latin-1) character set. ISO 8859-1 can be used to represent e.g. Dutch, English, French, German, Spanish, Swedish but NOT Russian or Japanese.
    As a consequence, it is ok to use HPLJ4000 to print English, German French etc. but not for Japanese or Russian.
    4) The set of available printer fonts for a given device type
    When formatting a document, SAPscript and SmartForms perform an automatic mapping of the font definitions in the form (e.g. "HELVE 14 point bold") and the available printer fonts of the device type. A replacement printer font is chosen, should the specified font selection not be available in the device type. Now this replacement can be problematic if a language-specific font, such as Chinese CNSONG, is specified in a form and it gets replaced by a font which does not support this language, e.g. COURIER.
    To solve this problem, font families in SE73 have language attribute assigned, e.g. some fonts are characterized as being suitable only for certain languages. And when a replacement has to be chosen because the original font from the form is not available in the device type, a replacement font is chosen which has the same language attributes.
    If no fonts for the language in question exist in the device type, the resulting font will not be able to print the special characters and you will see "wrong" output characters in the printout.
    Note on SAPscript/SmartForms Print Preview:
    The OTF Print Preview available in Windows GUI (e.g. from transaction SP01) will sometimes not show the "wrong" characters which appear on the final printout. Here is the reason: since the Print Preview runs in Windows environment, it will use Windows fonts to represent the actual printer fonts. A Windows font typically has more available characters (i.e. covers more character sets) than are actually available in a printer's resident font.
    A typical example where the Print Preview will differ from the printout is here: if you have a Chinese PCL5 printer such as CNHPLJ4 and use the Western Latin font COURIER in your document, the print preview will show you Chinese characters if you (by accident) tried to format Chinese characters in COURIER font. This is because Windows will automatically choose a font that can output Chinese characters (which is actually not Courier). But when you print the job on an actual PCL5 printer with resident Western and Chinese fonts, the Courier font will not print any Chinese characters but Western special characters instead, because the printer's resident Courier font does not include Chinese characters.
    Rule of thumb: all Asian device types (e.g. CNHPLJ4, JPHPLJ4, JPPOST, KPHPLJ4) support not only Asian fonts but also COURIER, HELVE and TIMES fonts. But these Latin fonts can only be used to print English text, not Chinese/Japanese/Korean characters.
    Which fonts are suitable for a given language?
    Language(s):            Font family to use in a form:
    Latin-1 (Western Europe/Americas) *******
    DE,EN,FR,ES,NL,SV       COURIER, HELVE, TIMES
                            (LETGOTH, LNPRINT)
    Latin-2 (Central Europe) ****************
    PL, CZ                  COURIER, HELVE, TIMES
    ISO 8859-4 (Baltic) *********************
    ET, LT, LV              COURIER, HELVE, TIMES
    ISO 8859-5 (Cyrillic) *******************
    BG, RU, SR, UK          COURCYR, HELVCYR, TIMECYR
    ISO 8859-7 (Greek) **********************
    EL                      COUR_I7, HELV_I7, TIME_I7
    ISO 8859-8 (Hebrew) *********************
    HE                      COURIER, HELVE, TIMES
    ISO 8859-9 (Turkish) ********************
    TR                      COURIER, HELVE, TIMES
    Simplified Chinese **********************
    ZH                      CNHEI, CNKAI, CNSONG
    Japanese ********************************
    JA                      JPMINCHO, DBMINCHO, DBGOTHIC
    Korean **********************************
    KP                      KPBATANG, KPDODUM, KPGULIM
                            KPGUNGSE, KPSAMMUL
    Traditional Chinese *********************
    ZF                      TWDPHEI, TWMING, TWSONG
    Thai ************************************
    TH                      THANGSAN, THDRAFT, THVIJIT
    Arabic (Unicode systems only) ***********
    AR                      ANDALE_J
    Verify your output by examining the OTF data
    When analysing printing problems of this type, be sure to check the OTF data which gets produced by SAPscript or SmartForms. OTF or "Output Text Format" is the intermediate page-description format generated from SAPscript or SmartForms. OTF will contain the final printer font names and character set/language identifiers which help to solve the problem. OTF will even name the form and the language of the form used to create the output.
    The easiest way to do this is to create a spool request from your application, run transaction SP01, use menu
    Goto->Display Requests->Settings
    and choose
    Display Mode: Raw
    Now display your spool request. If this is a SAPscript or SmartForms spool request, you will see OTF data. Each line represents one OTF command, every command starts with a 2-character cmd identifier and possibly some cmd parameters follow.
    Here is an excerpt from a sample OTF file where we highlight the most interesting commands:
    //XHPLJ8000    0700 00000000001
    IN04EALEXTEST_ZEBRA
    IN05%PAGE1
    OPDINA4  P 144  240 1683811906000010000100001
    IN06%WINDOW2
    MT0024401289
    CP11000000E
    FCHELVE  120  00109XSF100SF101110000067E X
    UL +0000000000000
    SW00067
    CT00000000
    ST0453037Dieses SF hat Stil ALEXTEST_ZEBRA mit
    The 1st line with the // (Control) command reveals the device type usedto print: HPLJ8000
    //XHPLJ8000    0700 00000000001
    The 2nd line (IN = Info command) shows the name and (internal 1-char)language key of the form:
    IN04EALEXTEST_ZEBRA
    In this case it is the English (E = EN) SmartForm ALEXTEST_ZEBRA
    The OP-line (OP = Open Page) gives the page format used in the form, it is DINA4 Portrait orientation:
    OPDINA4  P 144  240 1683811906000010000100001
    The CP (CodePage) cmd shows the SAP system codepage used to code the text and the active language. In our case it is codepage 1100 and language E = EN = English.
    CP11000000E
    Finally, the FC-cmd (Font Call) lists a printer font selected within SmartForms. Please note that every SmartForm has a designated default SmartStyle under "Form Attributes->Output Options". In addition, every text node can have a SmartStyle attached (which will override the definitions from the default style for the text). In our case the resulting printer font that was selected is HELVE 12.0 pt bold-off, italic-off.
    FCHELVE   120  00109XSF100SF101110000067E X
    Regards
    Anji

  • Numbers to be printed in chinese characters

    I have to print the numbers in chinese characters . This is to be done in cheque printing for country china.
    How we can arrive this?
    For  ex:  123 - It should be printed in chinese characters .
    Can anyone tell me??  we have to maintain any table ??

    Hi,
    so even if you login in EN you want to display the name in ZH Chinese and EN as well.
    so in that case you wud have to make use of PERFORM command in Script in which you will retrieve the name based on the language(provided its maintained for both the languages in the Standard Table where you are fetching it from because its not the case of Translation).
    Perform get_name in program <xyz>
    using &kna1-kunnr&
    changing &name_zh&
    changing &name_en&
    Program <xyz>
    form get_name.
    "Here comes the code to read the using parameters in the perform command in script, KNA!-KUNNR
    select single name1
    into wa_name_en "Pass this to name_en
    from kna1
    where kunnr = = <kna1-kunnr>
    and spras = 'EN'.
    select single name1
    into wa_name_zh "Pass this to name_en
    from kna1
    where kunnr = = <kna1-kunnr>
    and spras = 'ZH'.
    Here comes the code to pass the changing parameters to script
    endform.
    Thanks & Regards,
    ShreeMohan

  • Printing of chinese characters in ecc6 unicode system

    Hi,
    We are having problem printing out debit memo that have chinese characters. In the preview, the chinese characters are displayed properly.
    but when it's printed out, the chinese characters are displayed as "###". we are using device type "SAPWIN: Rel.4.x/SAPIpd 4.09+".
    When we use device type "CNSAPWIN", the chinese characters are displayed as "ÂíÀ´Î÷ÑÇ".
    Appreciate if anyone can tell me how to solve this problem.

    Hi,
    It is a printer issue. The printer needs to be configured to support the Chinese chanracter set.
    Normally when we are able to view the chinese characters properly in the print preview but not properly displayed on the output it is surely a printer problem.
    This kind of problem we faced many times.
    Thanks
    Ram

  • Cannot print out chinese character

    Hi All,
    I have problem with the printer. I can printed Chinese character without using SAP and from SAP when I print the Chinese character is not come out. On the paper will appear symbol ###. I don't how want to do.
    FYI, my system is Unicode.
    Thank You
    Regards,
    anang78

    Hi,
    Check the OSS note 776507 which talks about print preview for
    characters in Chinese language and print of ## characters during printing Asian languages.
    Please go through the note , as per section " Note on SAPscript/SmartForms Print Preview "
    we need to use device type CNHPLJ4 for printing Chinese character set.
    Thanks
    Jibin

  • PDF file will not print out Special Characters

    I am currently a technician for a college and, and the customer that I am attending currently has the following Problem:
    I am using Adobe PRO 9 to convert my Word files to pdfs for [a New York Printing Company].... The Greek letters used in Word are seen in Word, are seen in PDF, but do not come out in ...[the New York Printing Companies'] printing.
    What could be the stubling block for the NY printing company to not be able to print out the Special Characters in the PDF files? I clearly cannot go to the company myself and tell them to change their printer settings or something like that.

    Thank you, I have checked the font and I see all the fonts I need already installed. I am not sure if this will solve the problem, and there is a chance that the Adobe Acrobat settings on my customers PC need to be adjusted like you said.
    At least I can start looking somewhere .

  • Cannot print out Chinese , show as '?' in pdf report

    Hi ,
    I installed standalone version of BI publisher with Apex3.1, try to use the pdf printing function, but any time I print out pdf no matter on my our application or within the apex sql workshop. all the chinese charaters are missing, and instead, showed as '?', that is too bad.
    I posted and searched the forum of BI , I got answers of the font mapping, but I added some Chinese fonts, but it was still the same problem.
    But when I print as RTF or other type the Chinese is Ok.
    So is this a problem with Apex itself, instead of BI?
    How to solve this problem?
    Peter

    Hi Peter,
    >>I copied some ttf Chinese fonts file into the location you both mentioned, but after that, I cannot find any of them at the Font mapping.
    That is very strange.
    Most likely you had copied the files to the wrong directory else they will be displayed inside the Target Font dropdown list.
    My BI Publisher directory path in my notebook is :
    d:\Ora_Home_1\jdk\jre\lib\fonts
    Do not confuse it with the Oracle DB which is:
    d:\oracle\product\10.2.0\db_1\jdk\jre\lib\fonts
    Below is the content of my xdo.cfg configuration file:
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
       <properties>
       </properties>
    <fonts><font family="Default" style="normal" weight="normal"><truetype path="ALBANWTS.ttf"/></font></fonts></config>
    You can reach me at hanamikesolo@yahoo DOT com DOT sg
    Regards
    Zack                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Smartform preview / print of chinese characters

    Hello all
    I am facing this issue:
    After implementing SAP Note 852926, the Smartform preview / printing works fine with Chinese characters in DEV system.
    The Unit test were OK and then the SAP Note has been transported to our TEST env, but the chinese characters are not previewed and printed correctly there.
    I see characters as "»ÆêÍ" instead of "黄晖"
    I can not find any difference in settings / fonts of the two systems. What am I missing?
    Anybody can give a hint?
    Thanks
    Imrich

    Hello Imrich,
    Do you use the same device type to print in th test system?
    To print Chinese characters from SAP, there are some rules:
    1. The form must have Chinese language key 'ZH' or the Chinese texts must be included as standard texts with the language key 'ZH'.
    2. The correct Chinese fonts(e.g. CNHEI or CNSONG) must be used for the Chinese texts in the form.
    3. The form must be processed with a device type that supports the simplified Chinese language.(eg:device type CNSAPWIN).
    Another possibility if you have a Unicode system is tp print via desvice type SWINCF. Here the language of the form doesn't matter.
    Regards,
    Aidan

  • Printing of Chinese characters issue

    Hi all,
    I have a SAPScript Layout with Chinese characters to be displayed.But in the hard-copy printout I do not get the chinese characters printed, instaed it prints some funny characters like '####'.
    How can i get the chinese characters printed ?
    Your ideas are appreciated.
    Thanks,
    Stock

    The logic to build SAP Script and Smart form of all languages will be same. But while working on Asian language please take care of the following points.
    1 Make sure you logon to SAP in Chiness language only.
    2 At the Operating system level install the Chinees language.[Control panel - >Regional and language Option - >language Tab - > Click on Install Files for East Asian languages] If these language already installed then click on Detail and add the Chinese languages[Chinese (PRS) and Chinese(Taiwan).
    3 At SAP level click on Customizing of Local layout[Alt+F12] and click on options.Go to tab I18N and click on Activate the multi-byte functionalities to support check box.
    4.Take care of the Font while assigning to Character formar or paragraph format. Dont use normal font name. Example of chinese phone "CNSONG

  • How do I print out the Characters and the Pitch when the File menu is EMPTY in Adobe Story CC plus?

    In Adobe Story CC plus I am unable to print anything since the File menu is empty (doesn't pull down). I am using the latest version on an iMac 27" i7 computer.

    Hi!
    To print out an email, first click on the email from the inbox. Now that you're looking at the email viewing pane, you can click "More" > "Print" (as seen in first image below). It will print the email.
    To find the sender's address, click on the sender's name (as seen in second image). A menu containing the address and other options to take will pop up. Mousing over the sender's name also shows the address.
    <hr>
    I hope that solved your problem!
    <i>If it did, would you please choose this answer as your solution? It would help other Firefox users to find help on the forums faster and more efficiently. Thanks!</i>
    And of course, feel free to post back if you need more help! You should contact Yahoo! [https://io.help.yahoo.com/contact/index?page=home&locale=en_US customer support] if you have further questions regarding their products, though; they'd be most able to quickly provide assistance. :)
    Happy browsing!

  • Printing out French characters

    Hi to everyone. I'm trying to make a small application that will help me learn french verbes. I have the verbes in a file (written with notepad on windows) and I want to print them usign System.out.println(); The problem is I'm in Greece, so my locale is set to greek. I've no trouble printing greek. I've tried changing the locale with
    Locale.setDefault(new Locale("fr", "FR"); but still French characters come out wrong (Copyright characters, question marks etc.) Can someone enlighten me? Thanks

    don't use System.out.println(), perhaps write to a JTextArea. The problem is your console/terminal/dos

  • Printing Chinese characters

    Hello all,
    I have been wriiten a program that prints styled Chinese characters,
    using TextLayout class. The strokes are incorrect, some shorter, some longer.
    The TextLayout firstly layout the text and attributes with specified width
    and height (in case word wrapping is needed), then when printing , the Graphics
    object pass into the textLayout.draw method to print the text. I found that
    there is no problem when rendering on screen, and also print using drawString
    method. Is anyone know how to solve this problem? thanks in advance. Here is
    the standalone testing program.
    Jason
    import java.text.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.awt.image.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    public class Test extends JFrame {
    public static void main(String[] args) {
    Locale.setDefault(Locale.CHINESE);
    Test test = new Test();
    test.setVisible(true);
    PrinterJob job;
    PageFormat pageFormat;
    DrawingPanel drawingPanel = new DrawingPanel();
    JPanel buttonPanel = new JPanel();
    JButton printButton = new JButton("Print");
    Test() {
    super("Test");
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    drawingPanel.setPreferredSize(new Dimension(500, 400));
    getContentPane().add(drawingPanel, BorderLayout.CENTER);
    printButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    job = PrinterJob.getPrinterJob();
    pageFormat = job.defaultPage();
    job.setPrintable(drawingPanel, pageFormat);
    job.setCopies(1);
    if (job.printDialog()) {
    try {
    job.print();
    catch (Exception e) {
    System.out.println("FilePrint : " + e);
    buttonPanel.add(printButton);
    getContentPane().add(buttonPanel, BorderLayout.SOUTH);
    pack();
    class DrawingPanel extends JPanel implements Printable {
    static final String chineseText = "\ufe51\ufe50\ufe55\ufe54\ufe56\ufe57\u300c\u300d\u3002\u3010\u3011\u3014\u3015\u4e0d\u662f\u516c\u6709\u7684; \u4e0d\u80fd\u88ab\u5916\u90e8\u5305";
    DefaultStyledDocument document = new DefaultStyledDocument();
    String text = chineseText;
    Vector textVector;
    Vector attrStrVector;
    int x = 0;
    int y = 0;
    int width = 400;
    int height = 400;
    int lineSpacing = 5;
    Color textColor = Color.black;
    DrawingPanel() {
    super(false);
    try {
    SimpleAttributeSet attrSet1 = new SimpleAttributeSet();
    document.insertString(0, chineseText, attrSet1);
    catch (BadLocationException ble) {
    public void draw(Graphics2D g,int x,int y) {
    Vector cache = layout(g);
    textDraw(g, cache, x, y);
    private void textDraw(Graphics2D g2d,Vector cache,int offsetX,int offsetY) {
    int accHeight = 0;
    for (int i=0; i < cache.size(); i++) {
    TextLayout textLayout = (TextLayout)cache.elementAt(i);
    accHeight += textLayout.getAscent();
    g2d.setColor(textColor);
    textLayout.draw(g2d, offsetX + x + 1,
    offsetY + y + 1 + accHeight);
    accHeight += (textLayout.getDescent() + (textLayout.getLeading() * lineSpacing));
    textVector.clear();
    attrStrVector.clear();
    public void paint(Graphics _g) {
    Graphics2D g = (Graphics2D) _g;
    g.setColor(Color.white);
    g.fillRect(0, 0, getWidth(), getHeight());
    draw(g, 10, 10);
    g.dispose();
    public int print(Graphics _g, PageFormat pageFormat, int pageIndex) throws PrinterException {
    if (pageIndex >= 1) {
    _g.dispose();
    return Printable.NO_SUCH_PAGE;
    RepaintManager.currentManager(this).setDoubleBufferingEnabled(false);
    Graphics2D g = (Graphics2D) _g;
    g.setColor(Color.white);
    g.fillRect(0,
    0,
    (int)pageFormat.getWidth(),
    (int)pageFormat.getHeight());
    int newOffsetX = 0;
    int newOffsetY = (int)(pageFormat.getImageableHeight() * pageIndex);
    g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    g.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
    RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
    g.setClip((int) pageFormat.getImageableX(),
    (int) pageFormat.getImageableY(),
    (int) (pageFormat.getImageableWidth()),
    (int) (pageFormat.getImageableHeight()));
    draw(g,
    (int)(x - newOffsetX + pageFormat.getImageableX()),
    (int)(y - newOffsetY + pageFormat.getImageableY()));
    RepaintManager.currentManager(this).setDoubleBufferingEnabled(true);
    g.dispose();
    return Printable.PAGE_EXISTS;
    private Vector layout(Graphics2D g) {
    Vector cache = new Vector();
    float accHeight = 0;
    TextFormatting formatting = new TextFormatting(document, text);
    textVector = formatting.getTextVector();
    attrStrVector = formatting.getAttrStrVector();
    for (int j = 0; j < attrStrVector.size(); j++) {
    String text = (String)textVector.elementAt(j);
    if (text.length() == 0) {
    AttributedString spaceAs = new AttributedString(" ");
    AttributedCharacterIterator spaceAci = spaceAs.getIterator();
    FontRenderContext spaceFrc = g.getFontRenderContext();
    TextLayout spaceTl = new TextLayout(spaceAci,spaceFrc);
    float spaceHeight = spaceTl.getAscent() + spaceTl.getDescent() + spaceTl.getLeading();
    accHeight += spaceHeight;
    cache.addElement(spaceTl);
    continue;
    AttributedString as = (AttributedString)attrStrVector.elementAt(j);
    FontRenderContext frc = g.getFontRenderContext();
    AttributedCharacterIterator aci = as.getIterator();
    LineBreakMeasurer lbm = new LineBreakMeasurer(aci,frc);
    lbm.setPosition(0);
    int i = 0;
    while (true) {
    TextLayout textLayout = lbm.nextLayout(width - 2);
    if (textLayout == null)
    break;
    accHeight += (textLayout.getAscent() + textLayout.getDescent());
    if (accHeight > height - 2)
    break;
    cache.addElement(textLayout);
    accHeight += (textLayout.getLeading() * lineSpacing);
    return cache;
    class TextFormatting {
    DefaultStyledDocument document;
    String text;
    Vector textVector = new Vector();
    Vector attrStrVector = new Vector();
    TextFormatting(DefaultStyledDocument document, String text) {
    this.document = document;
    this.text = text;
    format();
    private void format() {
    boolean quit = false;
    int index = 0, increment = 1;
    int nextIndex;
    int textIndex = 0;
    String subText;
    if (text.indexOf("\r\n") != -1)
    increment = 2;
    while (!quit) {
    if (increment == 2)
    nextIndex = text.indexOf("\r\n",index);
    else
    nextIndex = text.indexOf("\n",index);
    if (nextIndex == -1) {
    subText = text.substring(index);
    quit = true;
    else {
    subText = text.substring(index,nextIndex);
    textVector.addElement(subText);
    AttributedString as = new AttributedString(subText);
    for (int i = 0; i < subText.length(); i++) {
    Element ele = document.getCharacterElement(textIndex++);
    AttributeSet attrSet = ele.getAttributes();
    Font f = document.getFont(attrSet);
    as.addAttribute(TextAttribute.FONT, f, i, i + 1);
    if (StyleConstants.isUnderline(attrSet)) {
    as.addAttribute(TextAttribute.UNDERLINE,
    TextAttribute.UNDERLINE_ON,
    i,
    i + 1);
    attrStrVector.addElement(as);
    index = nextIndex + increment;
    textIndex++;
    public Vector getTextVector() {
    return this.textVector;
    public Vector getAttrStrVector() {
    return this.attrStrVector;

    Amending the above question:
    I am using Window 98 Taiwan Edition, JDK1.3.1 international, and I have set locale to TW (Taiwan)
    Jason

  • 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

    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

  • Chinese characters printing in Scripts in SAP

    Hi,
    I would like to print Chinese characters in the scripts in SAP Unicode system.
    We are trying thru SAP but unable to print. If anyone already done this please help me to solve this.
    Thanks,
    Krishna chaitanya.

    hi krishna
    there are various factors like printers, script language settings influencing printing the chinese characters.First you can try to print the hardcoded chinese characters using <b>locl</b> instead of network printers. for this u need to copy the chinese characters and paste in the script using the native login (not nesscary to login to SAP in chinese login). If this works then u need to check the printer model supported by SAP for printing double byte characters. For more information pls post this Q in SCRIPT section of SDN. Also there are couple of notes availbale for troubleshooting this issue.
    thkx
    Prabhu

  • PO Print Output- Doesn't print Chinese characters

    Hi,
    There is customized t-code ZME9F similar to ME9F with an added feature of e-mail to vendor.
    When we process PO through ZME9F, the PO converted to PDF is not printing the chinese characters.when 'Display message' is clicked also it is fine.The print preview of the PO is fine.
    Can you please let me know what is the reason for not printing chinese characters in the conversion of PDF?
    Thanks in Advance,
    Sowmya

    Hi Soumya,
    Please check note 903157.
    Also the notes 812821, 83502, 776507 are helpful.
    Thanks,
    Ashwini.

Maybe you are looking for

  • Send mail to spool list recipient from dynamically generated job

    Hi Friends, We are running the SAP payment run daily in background mode using the transaction F110S (program SAPF110S). We have scheduled the program SAPF110S to run in SM36 and have specified an email address there as Spool List Recipient. The probl

  • Get information about the state of a row on a document

    Hi all, On our documents we have a button that does some calculation on quantity and price according to business logic. When you run this code when a line is closed, the code of course crashes since the value cannot be set in that row. Now I would li

  • Duplicate Transporter payment

    Hi, I wanna restrict the double payment to transporter against the same sales Invoice/Delivery. Please suggest. Regards Ankur Edited by: Ankur Gupta on Jun 6, 2011 11:08 AM

  • RFID Reader

    Hi, I'm using SAP Mobile 7.1 and will be using RFID feature. I've to buy the RFID Reader that can be used with SAP Mobile 7.1. Please share the RFID device that you're using. Many Thks, Ajay

  • What's with the crazy idea to use swipe for bookmarks?

    Web apps use swipe! See the android browser for a bookmarks example.