How to print bin/hex content of word, excel, pdf directly to printer?

Hi all,
    My requirement is to print all the GOS attachments of a Quality Notification.
    I have output from FM SO_DOCUMENT_READ_API1 (reading GOS attachments). I would like to print the content directly, and the content could be of word, excel, pdf, jpg, notepad etc.,
   Is there any function module or any class/methods that can take in the content and print them according to the file type? If not, please suggest any alternative solution/ideas.
Thanks
Vinoth

Hi,
I have the same problem
with the additionnal problem: do it in background
So, What I have for the moment
--> You have a tool : BC-XDC that allow you to convert any file into an OTF.
--> there is also the tool : GhostScript to convert some format to specific format (using SM49) ..
(I can't cut/past code ... don't know how to do)
Hope that will help you
Edited by: Frédéric Girod on Oct 30, 2009 10:33 AM
Edited by: Frédéric Girod on Oct 30, 2009 10:34 AM

Similar Messages

  • How can i print specific pages against searched word or name (in one print command) from 1000 pages

    how can i print specific pages against searched word or name (in one print command) from 1000 pages

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • How to convert non-fillable forms in words and PDF into fillable forms?

    Hai,
    How to convert non-fillable forms in words and PDF into fillable forms?

    Hi Mahalcs
    Please See the below link for reference : http://www.adobe.com/in/products/acrobat/convert-existing-forms-to-fillable-pdfs.html
    Also See , http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-convert-f orms-into-fillable-pdf-tutorial_ue.pdf

  • How do I find and replace a word in PDF?

    How do I find and replace a word in PDF?

    In the Find window (Ctrl+F) there's an option to replace the searched text.
    This is in Acrobat XI, and there's no Replace All-function.
    On Thu, Jan 15, 2015 at 4:27 PM, claireb88184899 <[email protected]>

  • How do i install MS Ofiice tools (Word,Excel...etc).after software upgrade

    How do i install MS Ofiice tools (Word,Excel...etc).after software upgrade

    OK. Connect the BlackBerry to your PC via the USB cable and start the BlackBerry Desktop Software.
    If you are asked to upgrade anything after starting the Desktop Software, cancel and don't upgrade for now.
    Click on Device > Applications.
    Scroll through and find PassWord Keeper and DocumentsToGo (or WordToGo, SheetsToGo, etc.) and click to install, or press the + symbol to add those apps to your device.
    Complete the ensuing prompts and they should install correctly for you.
    Good luck.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How do I download office applications viz. word, excel & PowerPoint?

    How to download / purchase office applications viz. word, excel, powerpoint &amp; outlook in my iPad 2?

    Welcome to the Support Communities. This Q&A may help:
    Microsoft Office on iPad

  • How to upload documents( like word, excel, pdf etc) into r/3 system

    Hi All,
               Does anyone have information on uploading and downloading documents like word, excel,pdf etc into R/3 system. Is there any function modules, classes, programs etc to do this.
        To give an example about what i mean by uploading documents, we can take the process of attaching documents in support of a SLM issue in solution manager.

    Hi Syed,
      Use the FM gui_upload to upload a file from presentation server and gui_download to download file to presentation server. see the code below and also read the documentation of the respective FM's.
    data:
        lw_file  type string,              " File Path
        lw_file1 type IBIPPARMS-PATH.      " File Path
      CALL FUNCTION 'F4_FILENAME'
       IMPORTING
         FILE_NAME            = lw_file1.
      lw_file = lw_file1.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = lw_file
          FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
        tables
          data_tab                      = t_kna1
       EXCEPTIONS
         FILE_OPEN_ERROR               = 1
      IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.                               " IF SY-SUBRC <> 0
    data:
        lw_file  type string,              " File Path
        lw_file1 type IBIPPARMS-PATH.      " File Path
      CALL FUNCTION 'F4_FILENAME'
       IMPORTING
         FILE_NAME            = lw_file1.
      lw_file = lw_file1.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *     BIN_FILESIZE                  =
          FILENAME                      = lw_file
          FILETYPE                      = 'ASC'
    *     APPEND                        = ' '
          WRITE_FIELD_SEPARATOR         = 'X'
    *     HEADER                        = '00'
        TABLES
          DATA_TAB                      = t_KNA1
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.                               " IF SY-SUBRC <> 0
      IF SY-SUBRC = 0.
        message 'file downloaded successfully' type 'S'.
      ENDIF.                               " IF SY-SUBRC = 0
    With luck,
    Pritam.

  • Opening word, excel, pdf, jpeg files as attachments on iphones

    I've always been able to open word, excel, pdf & jpeg files as attachments on my iphone 5.  But recently, everytime I tried to open one of these, the file image turned up all grey, and in the case of jpeg files, it just kept on loading, loading & loading, but never finished loading ...  It seems like this happened after I updated to IOS 6.1.4 recently...  This is just a guess.  Could anyone help me with this?  Thank you.

    Srinivas,
    Thank you for your reply. It helped me get to a solution. In essence I needed to copy the Unix file to an internal table and then save it to the end user's PC file. Then I am able to open the document / attachment.
    I created a new function to:
    1) call method cl_gui_frontend_services=>directory_browse,  to ask the end user to pick a PC directory to copy the Unix file attachment to.
    2) Then  using the following code, copy the Unix file (as determined by application or user) to an internal table. Note that the line is not limited by a certain length.
      types: begin of t_tab,
              line type string,
             end of t_tab.
      data: k_wa_itab type t_tab,
            t_it_itab type standard table of t_tab.
    open dataset v_unixfilename for input in binary mode.
      if sy-subrc <> 0.
        raise unix_filename_read_error.
      endif.
      do.
        read dataset v_unixfilename into k_wa_itab-line.
        if sy-subrc <> 0.
          exit.
        endif.
        append k_wa_itab to t_it_itab.
      enddo.
      close dataset v_unixfilename.
    3) Using call method cl_gui_frontend_services=>gui_download, save the contents of the internal table to the PC directory from step 1 above.
    4) Open the Attachment from the end users PC via:
    call method cl_gui_frontend_services=>execute
    It seems like a long way to get this to work, but it is working. If there is a better way maybe someone else can fill in the blanks. Ideally a tool to read and open from a file from Unix without using the cl_gui_frontend_services would be ideal.

  • Component to URL link a word/excel/pdf document inside Page

    Hello Experts,
    I would really appreciate if somebody can answer if there are any standard component or functionality available to call a network URL link to a word/excel/pdf document inside a ABOUT tab page for the definition and screenshot of How-to and functionality of the dashboard.
    I am trying to avoid creating a custom component to use SAP UI5 HTML control to initialize a OLE object call to a given URL.
    Thanks
    Arun

    Well, Word and Excel documents are binary, so you will need a Binary LOB (BLOB).
    I have recently been storing/retrieving BLOBs through ASP/ADO . . .
    BLOBs are limited to 4GB, but ADO has a limit of 2GB. Hopefully, that will not be a problem.
    If you are using ODBC, then be aware that you need to enable LOBs by setting LOB=T in the connection string. If you are using ODBC with stored procedures, then there is a bug that causes the LOBs to be truncated to 32K, which is fixed in 9.2.0.6.5. A colleague tells me that the Microsoft ODBC Driver for Oracle works with LONGs but not with LOBs.
    If you are using OleDB with stored procedures, then you'll need to set the "SPPrmsLOB" property to TRUE.
    When uploading BLOBs through ADO, you need to set the parameter size to 1 higher than the actual size, otherwise you get an error.
    When retrieving the BLOBs through stored procedures as OUT parameters, you need to set the parameter size to larger than the BLOB, otherwise it gets truncated. I do not like having to specify 2GB for a file that might only be 32K, so I prefer to return a record set via a REF CURSOR.
    Tak

  • Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    You cannot use pendriver.
    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Downloaded acrobat reader 11 onto my Mac Book Pro, it can open the file but will not print. Get a message that says PDF cannot be printed, however, I forwarded it to someone else and they could print it, no problem. I called HP and spent an 1hour with the

    downloaded acrobat reader 11 onto my Mac Book Pro, it can open the file but will not print. Get a message that says PDF cannot be printed, however, I forwarded it to someone else and they could print it, no problem. I called HP and spent an 1hour with them and then called Apple support and worked with them for 3 hours. No one can figure it out. Is there something wrong with this version? the pdf was created in 2004. Do I have to pay to get Acrobat?

    Let me give you a slightly different perspective than everyone else here.  You are using an unsecured wireless network, which means that all your network traffic is easily available for viewing by anyone else using that network.  That's bad.  Very bad, for you, unless you absolutely trust everyone who lives within range of this network.  So stop doing it.
    As to the Mac not connecting, wireless networking is simply too complex for any reasonable answer without more information.  There are many possible error points, and as often as not it's the Mac that can connect and the Windows PC that cannot.  Since you can't give us any information about the configuration of the neighbor's network, and can't make any changes to it, we can't do much to help you troubleshoot it.

  • If you need to send more than one document via email to a recipient with a PC, how do you convert them to a Word or PDF before sending them in one email?

    When trying to send an email to a PC user and need to send multiple documents, in the old version of iPages, you could save the document as a Word or PDF file then attach them to the email.  I don't see how to do this with the new version.  Therefore, the only way I can see to accomplish this task is to go to each document and send them individually in another version.  Otherwise, the PC user will not be able to view the documents - correct.  There must be a way to convert and save the documents like before so numerous documents can be sent at once.  Please help!
    Melody

    What fruhulda said. In addition, in the Mail composition window, I recommend that you select the paperclip icon from the Toolbar, and enable Send Windows-Friendly Attachments.
    You can also select multiple files in the Finder and drag them onto the composition window. In my experience, the documents resist an iconic state, so right-click on just one, and choose View as Icon from the contextual menu. This will transform all attached documents into icons.
    If you want to send just one document from within Pages v5, use the Share icon in the Toolbar and select Send a Copy > Email. You can then choose PDF (and its image quality), or Word (.docx default, or .doc) document formats that will be attached as an icon in a new pop-up Email composition window.

  • Convert PDF with  Arabic  content to word /Excel .

    I have problem , I plan to buy Adobe acrobat  pro  for my ORG , The main target to buy it , to convert PDF a Arabic  content to word or Excel , I download trial version from Adobe acrobat pro  , and when i convert PDF English content  it's fine , but when i  convert PDF with Arabic content  , the result is bad the  word become letters and  the documents become not readable , Pleas  help me cause the main  target is convert Arabic PDF to Word .
    " the mean problem is  when i convert PDF with Arabic content to word the result is bad the   document become unreadable .
    thanks , wait for replay.

    HI,
    Adobe Acrobat is a special PDF viewer which is technically develop for the whole world to read any PDF file which a user wants to read. It's basic languages are:
    English (US)
    English (UK)
    Arabic
    Italian
    Japanese
    Spanish
    German
    But when you going to export the PDF file the arabic language will not support.
    Regards,
    Florence

  • After installing Snow Leopard, Word for Mac X document prints only top 1/3. Excel, PDF is fine...only word is a problem.

    Installed Snow Leopard and later in week went to print out a full page word document (Word for Mac X) and it only printed top 1/3 of page. Checked with PDF and Excel documents and all printed out OK. TextEdit is fine in printing as well. Then created a new document with a sentence on top of page and a sentence on bottom - printed fine.
    Any suggestions would be appreciated.

    Since your problem is only w/a Microsoft product, you should contact Microsoft for Mac Support  and/or post in their forums.

  • How to access Fiori App Content (consuming HANA Live models) directly from XS in HANA?!

    Hi,
    Can someone please provide more information on how to use the Fiori Content directly on HANA?!
    Is there any Delivery unit which bundles the Fiori content, importing and deploying of which allows to create a Fiori App?! If no,
    Then could you please provide the guidelines for adding ABAP front end server on HANA to run the UI part?!
    And for the latter case, will the requirement of the UI be rendered by ABAP front end server with the  XSODATA service provided by XS layer and the business logic computation taken care  by Indexserver?!
    Thanks a lot in advance,
    Poorna

    Hi Poorna,
    Please look at Installation of SAP Smart Business Products on SAP HANA Server - SAP Fiori for SAP Business Suite - SAP Library.
    Regards, Masa
    SAP Customer Experience Group - CEG

Maybe you are looking for