Convert fonts into vector path

Hi!
I've a PDF file and when I open it into Illustrator it says that I haven't font installed in my system.
So, is there a way to convert the font into vector patch using Adobe reader X pro?
Thank you!
Ciao!

So, is there a way to convert the font into vector patch using Adobe reader X pro?
Not possible with Adobe Reader and not possible with Adobe Acrobat.

Similar Messages

  • Convert English fonts into hindi and tamil

    My swing application consists of labels being displayed in english.
    The application has four versions : Tamil ,Telugu,English and Hindi .
    Since its an transaction software as like ATM , I just want to change the fonts alone .
    I did go through the internationalization concept , But it rather needs a translation .
    What other ways are there to implement other than maintaining a properties file..

    So, is there a way to convert the font into vector patch using Adobe reader X pro?
    Not possible with Adobe Reader and not possible with Adobe Acrobat.

  • Convert fonts within PDF into Outlines?

    I do some work for a printing company, and sometimes we get PDFs that need small corrections like adding bleed. Most of these corrections can be done with Illustrator. But opening the pdf in illustrator can substitute fonts if we don't have the exact matching font. Does anyone know of a way to convert fonts within the PDF to outlines (similar to the 'Create Outlines' function in Illustrator), without opening the PDF? Or is there, perhaps, an app for that?
    Best::Les

    So, is there a way to convert the font into vector patch using Adobe reader X pro?
    Not possible with Adobe Reader and not possible with Adobe Acrobat.

  • Converting 3D fx into vectors

    So I've got objects with 3D "bevel and extrude" appplied to them.
    Is there a way I can convert them into vectors? Cause now they dont actually act like they're vectors...
    I tried to convert them into bitmap and then convert that into vector but that didnt worked out the way I desired.
    Is there a solution to this?
    Thanks alot

    >...it basically means i need to
    redraw the thing...
    Well... one
    could argue that, since you relied on an effect the first time around, you will now be truly drawing (rather than
    redrawing) it.
    I know I could get slapped silly around here for suggesting such a thing, but this could be a wonderful learning experience for you.

  • Please Help!! I need to convert these tiny icons into vector images?!

    I'm having trouble using live trace and converting these icons into vector images. They are of such low resolution and I am even having trouble tracing them in illustrator. Could someone help me out?? I tried it on livetrace, but it doesnt seem to give me the result I need...The pentool is painful to use on such tiny images...
    http://i52.tinypic.com/s62g3m.png
    http://i51.tinypic.com/69j8sx.png
    http://i51.tinypic.com/5d6l8z.png

    tromboniator wrote:
    If you aren't comfortable with the pen tool, try this: I used the Rectangle, Rounded Rectangle, Ellipse, and Rotate tools, Object>Path>Offset Path, and Subtract from shape area (or whatever it's called in your version of AI) in the Pathfinder panel. Also a few guides. It took just a few minutes, and it wasn't necessarily the best or the fastest way. Look at the shapes that make up the image and their relationships: the top of the tree is basically a bunch of ellipses or circles equidistant from and equally spaced around a point. Draw an ellipse over the tree image that looks like the right shape for one of the lobes, select the Rotate tool, opt/alt-click about in the middle of the tree top, and set the angle to 360÷number of lobes (in this case, 8), press enter. Hit cmd/ctrl D until you have enough lobes. draw a circle to fill the gap in the middle. Similarly for the other shapes. The top of the mortarboard hat is basically a square, rotated 90° and vertically compressed. the bottom of it is an ellipse with the direction lines/handles adjusted to change the curves of the bottom. And that's just one way to do it. Live Trace is useless for this kind of task; you need to draw it.
    Peter
    Oh, yeah: Object>Compound Path>Make
    Or better than that get comfortable with the pen tool and Illustrator in general and perhaps take a course so you can use the application.

  • Illustrator 6.0 vector paths, when opened in Illustrator CC are now all broken into segments?

    Illustrator 6.0 vector paths, when opened in Illustrator CC are now all broken into segments at key points (ie. a circle, has become a series of 4 quarter circle lines. Has anyone experienced this and is there a quick fix? I still have both Illustrator versions installed and can go back to use the original files, however I'd like to upgrade smoothly without having to redo all my vectors!    

    That is strange sounds like what happens when you open a die built in autocad, in illustrator. What happens if you paste a CS6 path into CC?

  • Is all adobe illustrator art work in vector art or do you have to convert them to vector?

    I created a logo through Adobe illustrator and thought it would automatically be in Vector Art. When I sent the logo to a sign company they said it was pixelated, not Vector. Is it because I converted it into a pdf file before I sent it? And is there some way to get it into Vector Art so I can put it on a sign and it not be blurry?

    It is a very basic logo where I used the polygon tool and filled it in red. I then put the Avant Garde decorative border around the shape and filled it in with a darker red. Then I put two letters in the center using the type tool in the font "French Script MT" and turned them white. All of this I made from a new folder under the "print" profile. I saved it as Adobe pdf. and Adobe svg. Unfortunatly, I don't know what step I can take to make all of this vector art. If you know how to help, thanks!

  • How to embed font into PDF - Listener 2.0.2 FOP configuration

    I need to embed custom font into PDF report in order to print one of Slovenian characters: Č (C with caron) This character shows as # sign when I generate standard PDF report using Apex 4.2.2 and Listener 2.0.2. As far as I understand 14 native Adobe PDF fonts are based on Windows 1252 encoding. This encoding doesn't include mentioned Slovenian character.
    Oracle White paper http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf says:
    "APEX Listener 2.0.2 supports only the Base-14 fonts. To configure additional fonts, see this document: Apache(tm) FOP: Fonts "
    I was able to embed my custom font into standard Apache FOP report server. Solution consist of saving two files my_font.ttf and my_font.xml to server and update of FOP userconfig.xml file (fonts part where path to saved 2 files have to be specified)
    How can I do this on Apex Listener 2.0.2 ? Where is located userconfig.xml file?
    Simon

    Hello Ivaylo Mutafchiev,
                                           There is no way we can control the fonts in the created PDF / while creating the PDF using the class cl_document_bcs in your PDF creation logic.
    You can try some other approach of creating PDF from the Smartforms OTF stream data .
    Try using the follosing FM for the PDF creation and sending email:
    CONVERT_OTF_2_PDF
    CONVERT_OTF_AND_MAIL
    SO_OBJECT_SEND
    CONVERT_OTF_AND_MAIL_NEW (Try this but this FM still uses  the class that you are using currently. But give it a try and see the results)
    Hope this answers your question.
    Thanks,
    Greetson

  • How to embed font into generated PDF?

    Hi,
    I have an issue with cyrillic fonts in PDF-file, generated from smartform using the following mechanism:
    1. Run FM for smartform with ==> getotf = 'X'
    2. Perform CONVERT_OTF retrieving result into a XSTRING.
    3. Converting xstring content into a table using "cl_document_bcs=>xstring_to_solix).
    4. Creating mail to an external internet user with attached pdf ==> using "cl_document_bcs=>create_document..."
    Smartform contains cyrillic content, based on HELVCYR (Helvetica cyrillic) font. Application server is based on Windows.
    Everything worked well (for months!) for allmost all of the clients of our customer. Of course, some of clients have different OS-es (such as Linux, Mac OS, etc.), and then the problem starts - they doens't view properly the cyrillic content. English content (even numbers, etc.) are properly displayed. We found what fonts are used in the PDF, but my questions are:
    1. Is it possible to embed the font into generated PDF-content?
    2. If no, is it possible to generate PDF-content non-selectable (i.e. in some image mode) ?
    If yes, how to do this?
    Or is there any other way to workarround this issue - to be able to display mail with attached PDF-content with cyrillic on different OS-es? It would be better if it is possible without calling external converter...
    Any help would be highly appreciated.
    Thanks in advance.
    Regards,
    Ivaylo Mutafchiev

    Hello Ivaylo Mutafchiev,
                                           There is no way we can control the fonts in the created PDF / while creating the PDF using the class cl_document_bcs in your PDF creation logic.
    You can try some other approach of creating PDF from the Smartforms OTF stream data .
    Try using the follosing FM for the PDF creation and sending email:
    CONVERT_OTF_2_PDF
    CONVERT_OTF_AND_MAIL
    SO_OBJECT_SEND
    CONVERT_OTF_AND_MAIL_NEW (Try this but this FM still uses  the class that you are using currently. But give it a try and see the results)
    Hope this answers your question.
    Thanks,
    Greetson

  • How can I create a vector path boundary around an image?

    I have enclosed a screenshot of an image created in Photoshop CS4 with a wacom. It shows a grey boundary stroke around the entire image which was created with edit/stroke, then color and width of stroke selected.
    What I want to do is to bring this image into Illustrator CS4 and create a vector path boundary aroun d the image in the same way as the stroke boundary in Photoshop. But I dont know how to do thatx except by doing it manually with the pen tool.
    Does anyone know if it is possible to create a vector path around the image in a similar way that I created the stroke line around the image in Photoshop?
    I need the vector path to make a cutting line for a laser cutter, which works with vector files.
    Thanks for any advice about this.

    Not only should you draw the cut path deliberately with the Pen Tool, but that entire illustration should have been drawn as vector paths to begin with. In fact, if it were me, I would do that now anyway. It's nicely done, but illustrations like that are much more versatile and valuable as a vector drawings, because they are infinitely scaleable withou degradation of sharpness.
    Had it been drawn as vector paths, generating the outset cut line could be semi-automated by merging a copy of all the paths and then just outsetting the resulting path.
    Vector illustrations like that, consisting of just a few colored fills and strokes, can be entirely cut and assembled from sign vinyl at any scale, rather than resorting to merely printing the artwork and then cutting around it.
    Edits (recoloring, reshaping) can be easily made to vector paths without degradation, because each path is a separate object.
    And whenever you do need a raster image, a raster image suitable for any purpose can be exported from a vector drawing at any time. Each such rasterization is pristine, because no re-rasterization is involved.
    Not meaning to preach you a sermon; it just seems so many visitors here who have only used raster imaging don't even understand the reasons why vector drawing exists. This kind of graphic begs to be created as vector paths, and is also the very kind which would be ideal for vector-drawing beginners to start with. So it's just a good case-in-point.
    JET

  • How do I embed fonts into Captivate projects?

    This question came up in May 2006 but was never really
    answered. I'd like to know how to embed fonts into my Captivate
    projects so that the output looks the same on all computers. While
    the text animations are fine, the Text Caption fields are the ones
    that seem to have fonts that go walkies on other computers. I know
    you can embed fonts in PDFs. Why not in Captivate (unless I'm
    missing something in 2.0).

    First, a tip for the forums: If you use the URL tags, your
    post won't require horizontal scrolling - sorry, but I use Firefox
    and entering a long URL totally blows my ability to smoothly read
    the post ... you can manually add a text link by using the "L" tag
    as shown below (I've put spaces in to avoid this being turned into
    another text link)
    [ L = Your Text]
    http://www.yourdomain.com [ /
    L ]
    Back to your issue, Charinos. I'm glad you did find the URL,
    but that thread and your problem are not even in the same world.
    That thread deals with fonts in text-entry boxes (boxes for
    end-user text-entry), and you are talking about text-captions, an
    entirely different object.
    In fact, if you make changes and save those changes to a
    text-caption, then publish the project, the fonts in your text
    captions will remain stable and are not dependent on the fonts
    installed on the end-viewer's machine. The reason is that when the
    SWF is compiled, the text captions are converted to images and so
    long as the file is viewed as intended in the HTML document - at
    the proper size - the stretching you describe cannot take place.
    I'm not saying you are seeing things, but if my understandings of
    the Captivate machine are correct, what you are saying is happening
    cannot
    be happening. Something else is going on, like a failure to
    save changes, use of non-conforming text-caption boxes with a
    resultant loss of margins, or something.
    Sorry I'm not more help. I can't duplicate what you are
    seeing but I hope someone else can help you out - I may still be
    misunderstanding your issue.

  • Making spool, convert it into PDF and send that PDf throgh EMAIl

    Hi,
    In my making ALV report. In that i want to make the spool  and then convert it into the pdf and send mail to the recepient.
    Atul

    Hi,
    please try the following code. It works for me.
    DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA : file_name TYPE string.
    DATA : path LIKE pcfile-path.
    DATA : extension(5) TYPE c.
    DATA : name(100) TYPE c.
    DATA:receiver TYPE somlreci1-receiver  ,
         p_file   LIKE rlgrap-filename.
    declarations for PDF convertion
    DATA:  path1       TYPE string ,
           fullpath    TYPE string.
    DATA :textlines LIKE tline OCCURS 100 WITH HEADER LINE.
    DATA otf LIKE itcoo OCCURS 1000 WITH HEADER LINE.
    DATA it_lines LIKE tline OCCURS 100 WITH HEADER LINE.
    DATA options LIKE itcpo.
    DATA header LIKE thead.
    DATA result     LIKE     itcpp.
    DATA: bin_filesize TYPE i.
        fullpath type string.
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    DATA: filesize TYPE i,
          convcount TYPE i,
          cancel(1).
    textlines-tdformat = '*'.
    textlines-tdline    = 'Hello Hao'.
    APPEND textlines.
    options-tdgetotf = 'X'.
    options-tdnoprev = 'X'.
    CALL FUNCTION 'PRINT_TEXT'
      EXPORTING
      APPLICATION                    = 'TX'
      ARCHIVE_INDEX                  = ' '
      ARCHIVE_PARAMS                 = ' '
      DEVICE                         = 'PRINTER'
       dialog                         = ' '
        header                         = header
       OPTIONS                        = options
    IMPORTING
      NEW_ARCHIVE_PARAMS             =
       RESULT                         = RESULT
      tables
        lines                          =  textlines
       otfdata                        = otf
    EXCEPTIONS
      CANCELED                       = 1
      DEVICE                         = 2
      FORM                           = 3
      OPTIONS                        = 4
      UNCLOSED                       = 5
      UNKNOWN                        = 6
      FORMAT                         = 7
      TEXTFORMAT                     = 8
      COMMUNICATION                  = 9
      BAD_PAGEFORMAT_FOR_PRINT       = 10
      OTHERS                         = 11
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
              format            = 'PDF'
         IMPORTING
              bin_filesize      = filesize
         TABLES
              otf               = otf
              lines             = it_lines
         EXCEPTIONS
              err_conv_not_possible = 1
              err_bad_otf           = 2.
    fullpath = 'C:/foldername/test.pdf'.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        bin_filesize                  = bin_filesize
        filename                      = fullpath
        filetype                      = 'BIN'
      APPEND                        = ' '
      CODEPAGE                      = ' '
      NO_BYTEORDER_MARK             = ' '
    IMPORTING
       FILELENGTH                    = c
      TABLES
        data_tab                      = it_lines
      FORMAT_TAB                    =
      EXCEPTIONS
        file_write_error              = 1
        no_batch                      = 2
        gui_refuse_filetransfer       = 3
        invalid_type                  = 4
        no_authority                  = 5
        unknown_error                 = 6.
    *filename = fullpath.
    CLEAR docdata.
    REFRESH objpack.
    CLEAR objpack.
    REFRESH objhead.
    REFRESH objtxt.
    CLEAR objtxt.
    REFRESH objbin.
    CLEAR objbin.
    REFRESH objhex.
    CLEAR objhex.
    REFRESH reclist.
    CLEAR reclist.
    REFRESH listobject.
    CLEAR listobject.
    CLEAR tab_lines.
    CLEAR doc_size.
    CLEAR att_type.
    Set Variables
    docdata-obj_name = 'Tst'.
    docdata-obj_descr = 'Testing'.
    reclist-receiver = give the mail id.
    reclist-rec_type = 'U'.
    APPEND reclist.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = fullpath
          filetype                = 'BIN'
        TABLES
          data_tab                = itab
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      path = fullpath.
      CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
      EXPORTING
      complete_filename = path
    CHECK_DOS_FORMAT =
      IMPORTING
    DRIVE =
      extension = extension
      name = name
    NAME_WITH_EXT =
    PATH =
      EXCEPTIONS
      invalid_drive = 1
      invalid_extension = 2
      invalid_name = 3
      invalid_path = 4
      OTHERS = 5
    DATA : pos TYPE i.
    DATA : len TYPE i.
    Loop And Put Data
    LOOP AT itab.
    pos = 255 - len.
    IF pos > 134.                         "length of pdf_table
    pos = 134.
    ENDIF.
    objbin+len = itab(pos).
    len = len + pos.
    IF len = 255.                         "length of out (contents_bin)
    APPEND objbin.
    CLEAR: objbin, len.
    IF pos < 134.
    objbin = itab+pos.
    len = 134 - pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF len > 0.
    APPEND objbin.
    ENDIF.
    Packing Info For Text Data
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'TXT'.
    APPEND objpack.
    Packing Info Attachment
    name = extension.
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = name.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = name.
    APPEND objpack.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc <> 0.
    MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.
    Keerthi

  • Cannot Embed font into InDesign PDF

    I am on ID CS5 Win7 and when exporting to PDF smallest file size get this message. I bought the font form Comicraft and used it before In Ilustrator without probolem, but this is my first time using the font in InDesign.
    Now I am just trying to send a pdf for client review, and can probably find a way to bitmap the pages font. My main concern will be how can I make a pdf-X for final printing?

    Mike Gondek2 wrote:
    Comicraft replied back sayng that their fonts can be embedded. I believe my problem is that I converted the font to PC and Fontlab turned that option on by default for a .ttf font. Unfortunately looking into their liscening agreements I cannot convert their fonts to another platform, so will have to convert this ID file over to mac and work on my slower older mac system to  finish off this client approved job.
    I was surprised  to find out that Comicraft allows
    Once a design is approved for release I need to send this to a printer to print. 
    Can I?
    Send a copy of a font to a printer only so they can image the file? This is what most all printers request, only very few accept  PDF-X.
    Embed the font into a PDF, and send the PDF?
    Outline the font and send this legally (hate to do this cause file size gets so large, and occasionally I  have them do small type changes).
    RESPONSE: Any of those options are fine. If you send the fonts, please remind them to delete them when the job is finished.
    thanks!
    This probably differs per vendor, but wanted to share what I found out.
    That's seems in direct contradiction to the information on the FAQ page.  I did see on the site that they would sell you a version for the new platform for 20% of your original cost -- I'd opt to get an OpenType version.

  • Convert tline into pdf file document in Java

    Dear ALL,
         I built a RFC FM to convert smartform into tline which including PDF data.
    the Code:
       Converting to PDF Format
      DATA l_lines TYPE TABLE OF tline WITH HEADER LINE.
    *  DATA l_lines1 TYPE TABLE OF solix_tab WITH HEADER LINE.
      DATA l_docs TYPE TABLE OF docs.
      DATA len TYPE i.
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
        IMPORTING
          bin_filesize           = len
        TABLES
          otf                    = job_output_info-otfdata[]
          doctab_archive         = l_docs[]
          lines                  = l_lines[]                          "this inner table include pdf file data
        EXCEPTIONS
          err_conv_not_possible? = 1
          err_otf_mc_noendmarker = 2
          OTHERS                 = 3.
      *CALL METHOD cl_gui_frontend_services=>gui_download
      *  EXPORTING
      *   bin_filesize = len
      *    filename     = 'c:\pdf.pdf'
      *    filetype     = 'BIN'
      *   CHANGING
      *    data_tab     = l_lines[]"i_objbin[]
      *  EXCEPTIONS
      *    OTHERS       = 1.
    "If i want to save it in my PC ,call this FM CALL METHOD cl_gui_frontend_services=>gui_download.
    But i dont want to do it.I want to pass the parameter l_lines[] to java(web) by RFC, and convert to pdf file and show in java(web).
    thanks
    Freddy

    Hi,
    Update:
    I have tested this and here is some code:
    SAP:(I got the OTF from CALL FUNCTION 'PRINT_TEXT')
    FORM get_pdf_data
      USING
        tdname TYPE thead-tdname
      CHANGING
        it_tline TYPE text_line_tab
        bin_file TYPE xstring .
      DATA: st_thead TYPE thead .
      DATA: it_lines TYPE tline_tab .
      st_thead-tdobject = 'TEXT' .
      st_thead-tdname   = tdname .
      st_thead-tdid     = 'ST' .
      st_thead-tdspras  = 'E'  .
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          id                      = st_thead-tdid
          language                = st_thead-tdspras
          name                    = st_thead-tdname
          object                  = st_thead-tdobject
        IMPORTING
          header                  = st_thead
        TABLES
          lines                   = it_lines
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc NE 0 .
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 .
      ENDIF.
      DATA: it_otfdata TYPE otf_t_itcoo .
      DATA: st_options TYPE itcpo.
      st_options-tdgetotf = abap_true .
      CALL FUNCTION 'PRINT_TEXT'
        EXPORTING
          dialog                   = abap_false
          header                   = st_thead
          OPTIONS                  = st_options
        TABLES
          lines                    = it_lines
          otfdata                  = it_otfdata
        EXCEPTIONS
          canceled                 = 1
          device                   = 2
          form                     = 3
          OPTIONS                  = 4
          unclosed                 = 5
          unknown                  = 6
          format                   = 7
          textformat               = 8
          communication            = 9
          bad_pageformat_for_print = 10
          OTHERS                   = 11.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      DATA: it_otfdata_m TYPE otf_t_itcoo .
    * "Merge pdf output demo"
      APPEND LINES OF it_otfdata TO it_otfdata_m .
    * DATA: bin_file TYPE xstring .
      DATA: it_lines_dummy TYPE tline_tab .
      DATA: bin_filesize TYPE i .
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_file              = bin_file
          bin_filesize          = bin_filesize
        TABLES
          otf                   = it_otfdata_m
          lines                 = it_lines_dummy
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
    ENDFORM.                    " GET_PDF_DATA
    Java:
    final byte[] byteArray = function.getExportParameterList().getByteArray("BIN_FILE");
    final Path path = Paths.get("My.pdf");
    Files.write(path, byteArray, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.CREATE);
    regards.
    Another update:
    Using in HttpServlet:
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import com.sap.conn.jco.JCoDestination;
    import com.sap.conn.jco.JCoDestinationManager;
    import com.sap.conn.jco.JCoException;
    import com.sap.conn.jco.JCoFunction;
    import com.sap.conn.jco.JCoRepository;
    import com.sap.conn.jco.ext.Environment;
    import destinations.MyDestination;
    public class MyServlet extends HttpServlet {
    @Override
    protected void doGet(final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse) throws ServletException, IOException {
      httpServletResponse.setContentType("application/pdf");
      httpServletResponse.setStatus(HttpServletResponse.SC_OK);
      final ServletOutputStream servletOutputStream = httpServletResponse.getOutputStream();
      servletOutputStream.write(getPDF());
      servletOutputStream.flush();
      servletOutputStream.close();
    private byte[] getPDF() {
      try {
       Environment.registerDestinationDataProvider(new MyDestination());
       final JCoDestination destination = JCoDestinationManager.getDestination(destinations.Id.sapdev2.name());
       final JCoRepository repository = destination.getRepository();
       final JCoFunction function = repository.getFunction("Y_R_EITAN_TESTS_03");
       function.execute(destination);
       final byte[] byteArray = function.getExportParameterList().getByteArray("BIN_FILE");
       return byteArray;
      } catch (final JCoException exception) {
       exception.printStackTrace();
       return null;

  • How to convert smartforms into Adobe forms.

    Hi......
    How to convert smartforms into Adobe forms.
    Regards
    Anbu B

    Hi,
    You need to use the Function Module CONVERT_OTF.
    Please check the below code
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    Ruthra

Maybe you are looking for