Printing Chinese characters in XML Publisher - using RTF Template

Hi All,
I have to build RTF template for invoices report.
When i run the report for US/UK operating units , it is working fine. But when i run the report for China invoice. Chinese characters were displaying like ?????
Can any one help me how to fix this?? it is urgent issue...
Thanks,
MG

Pl post details of OS, database and EBS versions, along with the database characterset.
Are you creating PDF output ? Can you print Chinese characters when using US/UK operating units ? Are you using Pasta ?
How to Generate PDF Output With UTF8 in R12? [ID 778970.1]
HTH
Srini

Similar Messages

  • Output shown blank when we run report in xml publisher using excel template

    Hi,
    1) We have a requirement where we need to run report to shown 100 columns. Since Microsoft word supports only 63 columns. So we are building the report template in Excel.
    2) When I run the report in Excel locally I get the output. But when I uplaod in BIP server and then run the report It gives a blank output.
    BI Publisher version 10.1.3.4.1
    BI Publisher Desktop version 11.1.1.5
    Please look into the issue.
    Please help
    Thanks,
    Nita

    Pl post details of OS, database and EBS versions, along with the database characterset.
    Are you creating PDF output ? Can you print Chinese characters when using US/UK operating units ? Are you using Pasta ?
    How to Generate PDF Output With UTF8 in R12? [ID 778970.1]
    HTH
    Srini

  • Barcode related Template output Printing Junk characters  in XML Publisher

    Hi Gurus,
    Could you please help me out..
    I have a bar code related Template and registered to Concurrent Program(i.e. Report type as Executable) and i run the Program in PDF Output.
    I am using free "3 of 9 font" for Bar code in my template
    Problem Occurrence Procedure
    1) When i submit the Concurrent Program and Click the View Output Button
    2) the out put looks good with Bar code and Text in Table Format.
    3) when i assign a printer, while Concurrent Program Submission then the printer prints output with Junks Characters and no data in it.
    4) if i save the PDF Output file in Desktop and give print then it prints Good with barcode and text in Table Format.
    The main problem is when printer is assigned to the Concurrent Program while submission of Request then the Printer output is printing Junk Characters but through View Output Button in Request Window we get Barcode Output Good with data in it
    Could you please give me the Solution in Step by step Procedure
    It would be grateful to me..
    Thanks,
    Vijay

    Hi Schavali,
    Ours Database Server
    RDBMS : 10.2.0.4.0
    Oracle Applications : 11.5.10.2
    OS:- IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    If you are using UTF8, direct PDF printing is not supported. Has the barcode font been installed ?
    i am using free 3 of 9 bacode font..
    Could you please give me the step by step procedure for printing the Output with barcode labels..
    Thanks,
    Viajy

  • Maximum Number of record Per page using XML Publisher with RTF template

    Hi
    I am creating customer statement and want to show only 20 records per page. How we can set maximum number of repord per page in rtf template.
    Thanks
    Ravi

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • Unable to print chinese characters in Smartforms use Zebra printer

    Hi,all.
    My printer is Zebra ZM400 300dpi,I created a new output device 'TestDevice' and use the Lzeb3 Device type.
    In my smartofrms i used the Zebra command to rotated text.Now the smartforms counld not print chinese characters but '#' instead.(style font 'ANDALE_S')
    Anyone could help me....
    Thanks Advance.
    Andy Lee.

    Hello Andy,
    If you use the device type LZEBU3 with font ANDALE_S, then when you print then the SAP system
    send a print control for activating the ANDALE font installed on the printer, and the text should
    be outputed over this font.
    When you get # during print then this means that the device type or the SAP font don't support
    this character(this was the original problem), when you get a "space" then this means that the
    font which is used by the printer don't support this character.
    I think this can have 2 causes in your case:
    1. The SAP system use the print control SF000 when you use ANDALE_S, which contains
    the print control ^CI17^F8 in HEX form. This should activate the ANDALE font on your printer.
    (You can find this under tr. SE73 -> Printer Fonts -> LZEBU3 -> ANDALE_S)
    You should check wheter this is the correct print control. You should find on the printer an option
    which list you all installed fonts, and also the print control which can be used for activating it.
    Compare this print control from the printer with the above print control from the SAP system.
    If you see a differnce then change the print control in the SAP system.(Before you do that please
    copy the device type LZEBU3 into customer namespace, don't change the original SAP device type)
    2. The font installed on the printer don't support the character which you use. Contact Zebra to confirm this, and ask for a ANDALE font which supports the character.
    Best regards,
    Norbert

  • Printing Chinese Characters on Labels using ZEBRA

    Dear all,
    Could someone tell me how to Print Chinese characters on labels using ZEBRA Printer.
    Thanks & Regards,
    Joseph.

    Hi Joseph,
    How were u able to resolve your issue on Chinese font printing using Zebra? This is because I'm supposed to print Chinese texts & data using Zebra label printer. The problem is, inspite of using the Chinese font residing in the printer's memory card, i am not getting any output whenever i run a standard SAP report (VL74) calling a customized saprscipt report. Please help check my codes below. Also, I'm not sure of the command ^A1B, if it is still needed everytime i try to print a text, since i already used the command ^CW1,B:MSUNG.FNT.
    I placed them in the Main area of Sapscript. Thanks in advance.
    PERFORM 'GET_MORE_DATA' IN PROGRAM 'ZTEST'
    USING &NAST-KSCHL&
    USING &VBPLK-VENUM&
    USING &VBPLK-VPOBJKEY&
    USING &VBPLA-KUNWE&
    CHANGING &GF_MAKTX&
    CHANGING &GF_VEMNG&
    CHANGING &GF_KDMAT&
    CHANGING &GF_VBELN&
    CHANGING &GF_MATNR&
    ENDPERFORM
    /:NEW-PAGE
    / ^XA
    / ^CW1,B:MSUNG.FNT
    / DFZ5L3_L-1FS
    / ^PRC
    / LH0,0FS
    / ^LL1981
    / ^MD0
    / ^MNY
    / LH0,0FS
    / FO700,649A1B,48,0FRFN999^FS
    / FO1084,309A1B,46,0CI0FRFN998FS
    / FO315,330A1B,46,0CI0FRFN997FS
    / FO459,1351A1B,46,0CI0FRFN996FS
    / FO829,396A1B,46,0CI0FRFN995FS
    / FO54,1777A1B,46,0CI0FRFD&#20013;&#25991; 1FS
    / FO186,1774A1B,46,0CI0FRFD&#20013;&#25991; 2FS
    / FO318,1774A1B,46,0CI0FRFD&#20013;&#25991; 3FS
    / FO315,814A1B,46,0CI0FRFD&#20013;&#25991; 4FS
    / FO456,1777A1B,46,0CI0FRFD&#20013;&#25991; 5FS
    / FO12,18GB1162,1942,6^FS
    / FO147,18GB135,1942,6^FS
    / FO411,18GB135,1942,6^FS
    / FO660,18GB135,1942,6^FS
    / FO916,18GB135,1942,6^FS
    / ^XZ
    /:NEW-PAGE
    / ^XA
    / ^XFZ5L3_L-1.ZPL
    / FN999FD&GF_MAKTX&^FS
    / FN998FD&GF_VEMNG&^FS
    / FN997FD&GF_KDMAT&^FS
    / FN996FD&GF_VBELN&^FS
    / FN995FD&GF_MATNR&^FS
    / ^PQ1,0,1,N
    / ^XZ
    / ^FX End of job

  • 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

  • Unable to print chinese characters

    Hello experts,
    A script is triggered when i run the transaction FBL5N and a form is printed.
    The issue is, i am unable to see the chinese text in the preview as well as print.
    The chinese characters appers as ###, check boxesor some other symbols.
    Tried chaging the priner settings also(ouput device and device type)
    Tried changign the font family aslo.(CNKAI and CNHEI)
    The functional consultant says using the existing priner settings they are able to print chinese characters through some other transactions like VF03
    Waiting for positive responses.
    Regards
    Akmal

    See [note 302228 - NLS trouble shooting: printing (collective note)|http://service.sap.com/sap/support/notes/302228]: Characters on printout printed as nothing, #, ?, ., box, other character. It contains a detailed procedure how to analyze and solve. See also note 753381 which contains a Word document (attachment) with a more detailed classification of character damage.
    By the way, do you log in SAP in Chinese, do you have a Unicode system, do you use frontend printing, does your computer have Asian support installed, is the font installed on your computer?

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • 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.

  • Printing chinese characters in a zebra printer using SAP Interactive Forms

    Hello,
    We have created an Adobe Interactive Forms in SAP with transaction SFP. In this form we have used some words in English and another ones using Simplified Chinese characters . We have defined a Zebra printer in SPAD transaction using Device Type AZPL203.
    We have defined an ABAP program to printout this form. When we print it in the zebra printer some of the chinese characters are printed and some of them no.
    Has anyone faced the same problem?
    Please if this is not the right forum, please could you adress me to the right one?
    Thanks a lot
    Miquel A. Vergara

    Hello,
    Please check if the notes below are useful.
    83502 - Printing Support for Native Languages
    1612051 - Foreign text printed with garbage characters
    Thanks,
    Ravi

  • Printing chinese characters on a Zebra printer using Adobe Interactive Form

    Hello,
    We have created an Adobe Interactive Forms in SAP with some words in English and another one in simplified chinese. We have defined a Zebra printer in SPAD with the AZPL203 driver.
    When we print the form in the zebra printer some of the chinese characters are printed and some of them no.
    Has anyone faced the same problem?
    Thanks a lot
    Miquel A. Vergara

    Hi,
    Welcome you post on the forum.
    However, this is not the right forum for you. It is only for SAP Business One user. Please search entire forums first to find which one is more proper.
    However, this issue may not be related to SAP at all. Search on the web would be better.
    Thanks,
    Gordon

  • Problem in printing Chinese characters by using JavaPrintService

    Hi, I just develop a tool to print txt files by using Java Print Service.
    Everything seems to be good, but when the file contains Chinese character, it can't be print correctly.
    I tried to use the DocFlavor.Reader and DocFlavor.STRING, however all of them are failed.
    My code is below, please help me, thanks so much
    PrintRequestAttributeSet pars = new HashPrintRequestAttributeSet();
    // TODO:Printing is not correct because of the Chinese Encoding
    DocFlavor flavor = new DocFlavor.INPUT_STREAM("text/plain;charset=UTF-8");//DocFlavor.INPUT_STREAM.AUTOSENSE;
    PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
    if(defaultService != null){
    Iterator<String> it = filename.iterator();
    while(it.hasNext()){
    shortname = it.next().toString();
    abstractPath = GlobalVar.SRC_DIRECTORY_PATH + shortname;
    File file = new File(abstractPath);
    if(file.exists()){
    try{
    DocPrintJob job = defaultService.createPrintJob();
    FileInputStream fis = new FileInputStream(file);
    //BufferedReader br = new BufferedReader(new InputStreamReader(fis,"UTF-8"));
    DocAttributeSet das = new HashDocAttributeSet();
    Doc doc = new SimpleDoc(fis,flavor,das);
    job.print(doc, pars);
    }catch(PrintException ex){
    Log.doLog("Print failed\t" + shortname, Log.ERROR);
    System.out.println(ex.fillInStackTrace());
    }else{
    Log.doLog("File can't be found: "+abstractPath, Log.ERROR);
    }else{
    Log.doLog("Can't find printer", Log.ERROR);
    }

    Everything seems to be good, but when the file contains Chinese character, it can't be print correctly.And how exactly did you determine that the character set in that file is UTF8?

  • Hide column in the adress if it is null and print next line in XML publishe

    Hi,
    I'm converting oracle report to XML publisher report.
    I craeted template rtf with word. everything works fine.
    Except address prints null coumns if it is null.
    I used if condition in template. something like this...
    <?if:B_ADDRESS1!=''?><?B_ADDRESS1?><?end if?>
    But I see still it prints null columns.
    Any body have idea how can i fix this?
    Thanks
    pallavi

    Hi Guys,
    I have built a template for FSG reports. Currently the FSG Reports when run in XML does pull the Display Sets definition for the report. The Display Set is used to hide certain row and Column intersections from the FSG.
    So to accomplish this I have coded each column in the template to display data or hide data for a particular row by using the code
    <?if:(position()) !=1?><?fsg:RptCell[2]?><?end if?> ------ This means, show the column for all rows except row 1.
    Now there are some places I have to hide Column 1 for row 2 and row3 and display for row 1 and row 4.
    Can anyone please tell me how I can accomplish this.
    Thanks

  • Printing 52 characters in xml punblisher report

    Hi
    We have requirment for payroll reports, that we will have to print concatined 11 segments(Total 52 characters) of cost centre in Excel using XML publisher. But the problem is whem I am prining this it is comming but has two line with a single cell.
    Can anyone help me out to print it in one line.

    Has any formatting been applied to the cell (e.g wrap text) ?
    Srini

Maybe you are looking for