Create PDF with CONVERT_OTF in Unicode system

Hi,
I try to create a PDF file from OTF input with function module CONVERT_OTF.
It worked in a non-unicode environment with problems.
If I use the same coding in a unicode system (6.0) and OTF input
contains real doublebyte unicode characters like arabian/greek characters,
the PDF file shows wrong characters like "ÔÑÙàÜÐÕÞÙ Ôâé" instead of
"רבדל הצור %לועה" or "ЉЊЋЌЎЏАБВГόψχΩΨΧ".
I enable the developer trace for CONVERT_OTF, but the trace also
shows the correct unicode characters.
If I create a PDF file with PDF Creater with the same input on my computer,
PDF file looks fine. SAP PDF file uses Font enconding 'Windows', PDF Creator
uses a 'Custom' font encoding.
Any idea, that's going wrong here?
I install TrueType fonts like described in SAP note 999712 with no success,
but this note refers to SAP_BASIS 011, which is not yet available on SAP Marketplace
(latest is 010 today).
Is there any other configuration to enable PDF unicode support?
Print preview from other SAP transactions looks fine with unicode characters.
thanks for help
/Tibor

>
Juraj Danko wrote:
> Hi,
> I have similar problem than you ... how have you solved it?
> thanks
> Juraj
I found a solution, but I am not sure, if it was for this problem or
output problem with for example PL in non-unicode systems.
I created the input for CONVERT_OTF with CALL FUNCTION 'PRINT_TEXT'.
PRINT_TEXT has to be called with DEVICE = 'PRINTER',
DEVICE = 'ABAP' uses internally the wrong code page.
You have also to set otf_options-tdprinter to a valid printer,
if it is empty, the default printer from user settings is used.
You can use code example from SAP note 413295.
Before you call CONVERT_OTF, you can also check entries with 'FC' in OTF input.
The font (see description of OTF format in SAP help) must be set like described in SAP note 144718.
/Tibor
Edited by: Tibor Gerke on Jan 13, 2011 10:29 AM

Similar Messages

  • Convert_otf in unicode system

    Hello,
    we have switched a CRM4.0 system from non-unicode to unicode. In this context we became two problems with the result of the function module 'CONVERT_OTF'. We call the function Module following:
      call function 'CONVERT_OTF'
       exporting
         format                      = 'PDF'
         max_linewidth               = 132
         copynumber                  = 0
       importing
         bin_filesize                = lv_bin_filesizepdf
        tables
         otf                         = it_otfdata
         lines                       = lt_lines_pdf
    the otf tabel is generated by a Smartform.
    Noticeable is, that the pdf table in the unicode system has similarly only the half quantity of rows than in the non-unicode system. (The parameter FLATE_COMPR_OFF in Report RSTXPDF3 allways is on)
    1. Problem
    We send the pdf table (lt_lines_pdf) via RFC to a non-unicode R/3 system and save it there on the file system. After switching to unicode, the document in the RFC system is damaged an cannot processed.
    2. Problem
    We transform the lt_lines_pdf for an archive in the following way.
    data: ls_data    type char1024
        , lv_134     type char134
        , ls_lines   type tline
        , lt_data    type standard table of tbl1024
    field-symbols: <fs> type tbl1024.
    assign ls_data to <fs> casting.
      lv_count = 0.
      loop at lt_lines_pdf into ls_lines.
        lv_134 = ls_lines.
        lv_offset = lv_count.
        lv_count = lv_count + 134.
        if lv_count < 1024.
          ls_data+lv_offset(134) = lv_134.
        else.
          lv_count = lv_count - 1024.
          lv_begin = 134 - lv_count.
          ls_data+lv_offset(lv_begin) = lv_134(lv_begin).
          append <fs> to lt_data.
          clear ls_data.
          if lv_count > 0.
            ls_data = lv_134+lv_begin(*).
          endif.
        endif.
      endloop.
      if ls_data is not initial.
        append <fs> to lt_data.
      endif.
    We need lt_data for the FM 'SCMS_AO_TABLE_CREATE'.
    I hope anybody can help me, I invest already much time in this problem!

    Hi,
    CONVERT_OTF packs two byte into one character of i-tab LINES on unicode systems. If you pass this via RFC to non-unicode systems data ist lost. The table contents are bytes when if the data type is character. The conversion routines between unicode and non-unicode do not know about this.
    However the function module contains an export paramter BIN_FILE. This parameter is of type XSTRING, which has always a byte-representation. This datatype will not be converted between RFC-calls.
    Greetings

  • Illustrator cs2 creates pdf with anomalies

    I have Illustrator cs2 (12.0.1) and I create pdfs with it and send these to my clients for proofing. When I view the pdf in acrobat standard 6 it looks fine. When my sales people and clients view it in reader 8 they get a color break down that is incorrect. For example they see a color that should not be there (in the pdf below it is the blue cyan in the logo). So I need to figure out how to fix this problem. Also it does not happen on every pdf.
    here is a link to a pdf
    www.ebfchurch.org/usb3.pdf
    In the link is a pdf that has a problem, and a jpeg to show what it should look like.
    When I save the pdf I have tried turning illustrator off ill. editing capabilities and saved as a V.7 pdf. Not sure what else to try besides making the logo a jpg. Would upgrading to reader 8 help? Would this add that to my selections in illustrator?
    The other anomalies are I's and some lines becoming a dotted line. This one is rarer and is easy to fix (somewhat). I simply rotate the object by a super small portion that no one would notice.
    Thanks for any help.

    Most likely some color separation or transparency flattening thing. Could also be the order of your groups/ shapes. Just hard to tell. For testing, I would save a PDF and do a preflight check in Acrobat or other such tool. This usually reveals any problematic stuff...
    Mylenium

  • My Adobe Acrobat 10 Pro creates PDFs with a graph background.  How do I make the background white?

    My Adobe Acrobat 10 Pro creates PDFs with a GRAPH background.  How do I make the scanned documents have a normal white background?

    This particular forum (sharing and storage) was created to help those transitioning from Photoshop.com to Adobe Revel. I will move your post to the correct forum so that it can get proper attention.
    We also have many other forums relating to other Adobe products at: http://forums.adobe.com.
    Out of curiosity, can you tell me how you found our forum page?

  • Why i can't create PDF with right format by LiveCycle?

    Hello,
    As we know that PDF format has four sections, the header, object body, cross-reference table and trailer.
    But after I create a PDF by Adobe LiveCycle, and open it by UltraEdit or Notepad, I cannot find the cross-reference table and some objects, “trailer” word either .
    I try to download several PDF files by follow link:
    https://my.adobeconnect.com/_a295153/p10077996/?launcher=false&fcsContent=true&pbMode=norm al ,
    and open them as the same way as before, it was the normal format I learn.
    So, why my PDF is not the right format? And how can I create PDF with right format?
    Thank you a lot!
    Ellie

    Adobe LiveCycle Designer makes XFA forms - a thin PDF wrapper around XML, no useful PDF page objects. Still, they are valid PDF. Like any PDF, you might not find a trailer or xref if a cross reference stream is used. See ISO 3200-1 7.5.8 "Cross-Reference Streams".

  • Problem in creating PDF with InDesign CS5.5

    Problem in creating PDF with InDesign CS5.5:
    exporting a file in pdf, setting "Press Quality" or "PDF/X-1a: 2001" and selecting "Crop Marks" and the surplus of xx mm, the elements contained in the MASTER page move from the original position or disappear at random.
    Can you help me, please?
    Thanks a lot.

    Try Remove minor corruption by exporting

  • How to create PDF with Form Builder (T-Code:SPF) and how to use it?

    How to create PDF with Form Builder (T-Code:SPF) and how to use it? Is there anyone can show me some doc. or PA material ? << removed >>  Thank you very much!!
    Edited by: Rob Burbank on Nov 11, 2010 1:04 PM

    PDF forms also known as Adobe From or Interactive Forms.
    Check this link -
    Interactive Forms
    REG:ADOBE FORM
    Adobe forms
    Regards,
    Amit

  • Can we UseECC6 non Unicode  with SRM7.0 Unicode system

    Hi SRM Gurus,
    Can we use ECC6.0 non unicode system with SRM7.0 Unicode system as a backend?
    I am searching for the information regarding the compatability and connectivity between Unicode and nonunicode systems.
    Can some please do let me know the web links related to my post or Please do let me know the Possibility for using ECC6.0 Non-Unicode with the SRM7.0 Unicode.
    Regards,
    Srini

    Hi,
    RFC communication takes care Unicode conversion. Question is how many languages are used in ERP 6.0. Non-Unicode -> Unicode should not be a problem but Unicode -> Non-Unicode is question.
    Is it single codepage system or old MDMP system?
    Regards,
    Masa

  • Creating PDF with stylesheet from my website

    How do I create a PDF directly from my website using a specially-styled page?
    Joomla does it and I'm wondering how I can do the same thing. It's similar to a printer-friendly version. But when you click the "create PDF button", it asks you where to save and then creates the file.
    Any ideas?

    Here's what I did ....
    I was rather dismayed that I couldn't use the features that were with QuickTime 7.6.3 so I got brave and took it out of the utilities folder where it was placed when I installed Snow Leopard. I then went into my Time Machine Backups, went to my computers saved library in the SYSTEM FOLDER copied ALL of the components, then pasted them into my HOME library in the new version of installed Leopard Files. When I open up QuickTime 7, I now have access to the two preference areas in the finder, one that now shows my previous registration code, and the other general app preferences. I was also able to convert files from one format to another like before. I haven't used this extensively, so I can't vouch that I might fall prey to some form of future conflict. But, hey, it's worth trying! You can also just go to downloads from apple and get Quicktime 7 and put it back into your utilities folder.

  • Missing words creating PDF with Acrobat 7 (newly installed InDesign CS5)

    Since a few days I have some curiosity creating PDF files!
    Randomly the PDF output is missing whole words in the document but having spares in the right tracking for them in the document.
    It occurs that the missing words are subject to another font however not all words in this font are missing in the document.
    Also my printer tell's me if he's going to print the PDF (in this case a serial letter with pre-stamped addresses) his computer is breaking down completely and also printing hieroglyphs.
    This document was printed from MS Word 2003 with "Adobe PDF" as printer.
    I also use FreePDFXP, though the same error comes up.
    In addition I tried several settings for the PDF with no effect in the outcome.
    I am still working with Acrobat 7 (from CS2 suite) under WinXP Professional SP3 and hadn't any problems before installing my InDesign CS5 upgrade a few days ago.
    I only can assume that the problem is InDesign CS5 but cannot prove it.
    Anyone an idea on how to solve the problem?!
    I am really annoyed about this since for the pre-stamped letters I already paid money to the mail service and the need to be in the mail today - otherwise I am loosing several 100 Euros to the paper-bin).

    Thanks for your feedback.
    However I checked all the settings in the joboptions. All fonts are to be embedded (100%) and I also actively selected the fonts to be transferred.
    I am using TheSans from LucasFonts as Open Type.
    For my document I have SemiLight as standard style and Bold for accentuation.
    While the bold style will be printed in "bold only" lines, it is not printed in lines/paragraphs where also the SemiLight style is used.
    When I change color of the words in bold, the effect inverts and only the bold style words are displayed but not the SemiLight text!
    I have a second laptop with the same system and software configuration (Win XP Professional SP3; Acrobat 7), where the same document runs smoothly.
    That's why I assume, that it must be the Indesign CS5 upgrade causing trouble (it's the only new addition to the first laptop).
    Unfortunately Adobe has no answer here also.
    The only solution would be to adopt my documents for this effect and follow the logic of the machine instead of my mind...
    As we do so often since invention of computers...

  • Create PDF with printing restrictions

    I am looking for a product that can create PDFs on a server from a VB.NET website application. It must be able to build some logic into the PDF to restrict
    the printing capabillity to only allow a certain number of copies to be printed. Subsequent copies may be printed but must show different text and be watermaked as "copies". Is this possible with any of the Adobe products or any 3rd party products? We currently use abcPDF for .NET which allows us to create the PDFs from the application but it won't allow the restrictive printing as far as I can see.

    You could certainly use Adobe LiveCycle Rights Management Server to secure the PDFs that you produce with restrictions on printing, viewing, etc.

  • Problem Creating PDF with Multiple Files in Pro. 7

    I'm using Adobe Acrobat Professional 7 on a computer with Windows XP.
    The problem is that when I try to create a PDF with multiple files everything just suddenly stops. There are 75 files involved and when it gets to around 41 or so (don't know the exact number because I turned away from my computer for just a moment), it just stops. There are no error messages; nothing. Just a blank Acrobat screen.
    Last week I had a different problem which was resolved by an uninstall/reinstall and I was able to create the PDF with those exact same 75 files, but after the PDF was created I realised that some changes needed to be made. I dumped the PDF, made the appropriate changes and left it for the weekend. Today I the new problem has arisen.
    Any ideas what the problem might be?

    I've read many discussions about Acrobat and problems with server files, with the general solution being what you are doing... copy the files to a local hard drive

  • Right Click to convert webpage to pdf creates pdf with website headers but not iframe content

    Hello
    We are having a problem converting webpages to pdf with Acrobat.  Out website uses Iframes to view the website we are converting to pdf.  When I right click on the webpage and click convert to pdf everything works fine. But the pdf that is created is only the header of the page not the content of the iframe I right clicked on.  If you go to file and print to pdf it works fine we get the content of the iframe in the pdf and not the rest of the webpage. But the users prefer to right click. Is there some way to fix this so we can right click to convert to pdf?
    Thanks
    Jason

    I dont think acrobat can convert iframes to pdf (need to check). It can convert html, some javascript, images and swfs for example. Data driven pages, depending of the programming cant be converted too.

  • I need help with creating PDF with Preview...

    Hello
    I need help with creating PDF documetns with Preview. Just a few days ago, I was able to create PDF files composed of scanned images (notes) and everything worked perfectly fine. However, today I was having trouble with it. I scanned my notebook and saved 8 images/pages in jpeg format. I did the usual routine with Preview (select all files>print>PDF>save as PDF>then save). Well this worked a few days ago, but when I tried it today, I was able to save it, but the after opening the PDF file that I have saved, only the first page was there. The other pages weren't included. I really don't see anything wrong with what I'm doing. I really need help. Any help would be greatly appreciated.

    I can't find it.  I went into advanced and then document processing but no batch sequence is there and everything is grayed out.
    EDIT: I realized that you cant do batch sequences in standard.  Any other ideas?

  • Creating pdf with super/sub script using indesign

    Hi,
         I want to create a pdf with textrise for subscript and super script using indesign. I am new to this. Kindly guide me to acheive the same.
    Regards,
    Kameshwaran A.

    Hi Peter,
         Thanks for the response. I have created the file in ID and exported / print (Both i have made) it to PDF. When i open the pdf and check the textrise value is 0. Actually it should be greater than or less than zero. I don't know what mistake i have made or how to acheive the same. Could you please tell me where i have made the mistake.
    Thanks and Regards,
    Kameshwaran A.

Maybe you are looking for

  • Is there a way to use Photoshop's brush in Flash ?

    Hello. I've always said that drawing with my Bamboo Create & Touch was good but wasn't the same as drawing in the real life. In fact, this brings me a lot of problems, because even if it's good, is not good enough for me. That happens to me when i us

  • Converting mts to a usable format

    Hi, I know there are a few similar threads on this issue. I don't mind paying for a quality conversion software, but with all the trial software I download the converted video displays horizontals lines right across the footage. Whats the best piece

  • Advice on adding a second iPod to the same PC

    Hi I've had my iPod for years, and never had any problems! I've always had my iPod set up on this PC along with my library etc. I've recently moved in with the girlfriend who used to have her library for her iPod nano on her parents PC. Obviously she

  • IDVD 4.0.1 fails to work. at all.

    hello, i had just recently updated to leopard when, well, the title basically states my problem, but when i try and launch idvd all it does is bounce on the dock for about 30 seconds then the error message pops up saying it unexpectedly quit. I cant

  • MDM connection check

    How to check the MDM connections and services from Enterprise portal