Output Device ( convert PDF )

Hello,
I want to take a print out of a document/report in the system in PDF form without using abap code or FM. What kind of printer should I add or is it possible to add a normal printer to do this?
Best Regards
ismail Karayaka

Hi Ismail,
Read Sap Note 317851 and read related notes aswell...
Also, check this page,
http://searchsap.techtarget.com/tip/1,289483,sid21_gci943427,00.html
Regards
Juan
Please reward with points if helpful

Similar Messages

  • Convert smartform output in to PDF using CONVERT_OTF function  how to do it

    Hi Anil , and  Hi All
             I am trying to display smartforms output in java webdynpro
             for that i have got the following code in sdn.
               can anybody please clarify these doubts in the  below code
               1) What are the mandatory input and output parameters
                   I have to pass here in this code to my application
               2) please check my previous post also in this regards please
       . Please reply at the very earliest. Check the below code
    Convert smartform output in to PDF using CONVERT_OTF function module and you can write pdf using parameter 'binfile' of this function in WebDynpro using the following code:
    It is copied from my prg. I hope you understand it.
    public void onActionGetQuote(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionGetQuote(ServerEvent)
    wdThis.wdGetOppt_QwriterCustController().executeZquote_Writer_Input();
    String fileName = wdContext.currentZquote_Writer_InputElement().getOrder().toString().trim() + System.currentTimeMillis() + ".pdf";
    String pdfOutput = new String(wdContext.currentOutputElement().getBinfile());
    if (pdfOutput != null)
    try
    String pdfResoucePath = WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), fileName);
    FileOutputStream fileOutputStream = new FileOutputStream(new File(pdfResoucePath));
    PrintStream ps = new PrintStream(fileOutputStream);
    ps.print(pdfOutput);
    ps.close();
    //Display the PDF to the browser
    String fileURL = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(), fileName);
    IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(fileURL, "Pdf Browser", false);
    window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    window.removeWindowFeature(WDWindowFeature.MENU_BAR);
    window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
    window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    window.open();
    // To collect all the file created in the server by user
    quoteFiles.add(quoteFiles.size(), pdfResoucePath);
    } catch (Exception e)
    throw new WDRuntimeException(e);
    //@@end

    Hi
        ABAPers prepared a BAPI function module which calls Smart form , how can i execute it from java Webdynpro, so that I can display the smart form in Webdynpro. Pleas reply at the very earliest.  Every answer will be rewarded.
    regards
    jalandhar

  • PDF output device

    Hello Gurus,
    How can I setup an output device to prints to a PDF file locally to the end user’s desktop?
    Thank you,
    Nikee

    Hello,
    On Windows, we use successfully the method described in note
    https://service.sap.com/sap/support/notes/317851
    When you have the device type ZPDF1 you can create an output device using this device type and Access Method "LL Print Locally".
    You have to define the profile parameter rspo/host_spool/print with the path to a script which does the work : copy the transfer file where you want with the name you choose.
    For that, you need the information from note 15355.
    Regards,
    Olivier

  • Output device tddest in smartforms

    Hi,
    I am using smartforms to convert the otf data to pdf. The coding is as follows:
    * Set the Parameters of smartform
      l_s_ssfctrlop-no_dialog   = 'X'.
      l_s_ssfctrlop-getotf      = 'X'.
      l_s_output_options-tdnoprint = 'X'.
    * call FM to get the name of the FM of smart for smart form
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = g_form_name
        IMPORTING
          fm_name            = l_fm_name
        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.
      CALL FUNCTION l_fm_name
        EXPORTING
          control_parameters = l_s_ssfctrlop
          output_options     = l_s_output_options
          user_settings      = ' '
        IMPORTING
          job_output_info    = l_s_job_output_info
        TABLES
          g_t_datatab        = g_t_datatab
        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.
      REFRESH g_t_pdf_tab.
    *Convert to OTF Format
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = l_byte_count
        TABLES
          otf                   = l_s_job_output_info-otfdata[]
          lines                 = g_t_pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 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.
    I am not passing tddest (output device) to 'l_s_output_options' as I don't want to print it.
    I just want to convert the otf data obtained to pdf and use it for further processing.
    Will there be any problem if I don't assign any ouput device.
    Please note that in the system ouput device 'LOCL' is not maintained.
    Thanks,
    Soumya.

    Hi Valerie,
    I am using below code to get the printer name by default , even i want to skip that screen that asks for the printer name. But am unable to get this requirement. I have tried with various combinations but its not working. Please suggest.
    control-preview = 'X'.
    control-no_dialog = SPACE.
    output_options-tddest = 'LP01'.
      CALL FUNCTION lv_fmname
    EXPORTING
    output_options     = output_options
    contol             = control
      p_matnr            = p_matnr
      user_settings      = 'X'
        TABLES
      gt_stpo            = gt_stpo
      EXCEPTIONS
        formatting_error   = 1
        internal_error     = 2
         send_error         = 3
         user_cancelled     = 4
         OTHERS             = 5.
    Thanks & Regards
    Jatin

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • How to create a multiple PDF-form outputs into one PDF?

    Hi,
    I`d like to create a PDF document with a few pages in it, build from different PDF-forms using many form-function calls. Where each PDF-form can use its own interface.
    I`ve made a simple programme, but as the result I have a few separated documents with scrolling tab instead of one document with all pages in it.
    What am I doing wrong?
    *& Report  ZZ_TEST_PDF_MULTY
    REPORT  zz_test_pdf_multy.
    PARAMETERS:
      p_page TYPE i DEFAULT 2,
      p_row TYPE i DEFAULT 4.
    END-OF-SELECTION.
      DATA:
        tb_itf TYPE tsftext,
        s_itf TYPE tline.
      DATA:
        c_fmname TYPE rs38l_fnam,
        s_outputparams TYPE sfpoutputparams,
        s_docparams TYPE sfpdocparams,
        s_formoutput TYPE fpformoutput,
        s_sfpjoboutput TYPE sfpjoboutput,
        c_page TYPE string,
        c_row TYPE string.
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'FP_TEST_00'
        IMPORTING
          e_funcname = c_fmname.
      s_outputparams-nodialog = 'X'.
      s_outputparams-device   = 'PRINTER'.
      s_outputparams-preview  = 'X'.
      s_outputparams-dest     = 'PDF'.
      s_outputparams-getpdf   = ' '.
      s_outputparams-title    = sy-title.
    *  s_outputparams-bumode   = 'M'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = s_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 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.
      s_docparams-langu   = 'R'.
      s_docparams-country = 'RU'.
      DO p_page TIMES.
        MOVE sy-index TO c_page.
        REFRESH tb_itf.
        DO p_row TIMES.
          MOVE sy-index TO c_row.
          c_row = sy-index.
          CONCATENATE
              'page' c_page 'row' c_row
            INTO s_itf-tdline SEPARATED BY space.
          APPEND s_itf TO tb_itf.
        ENDDO.
        CALL FUNCTION c_fmname
          EXPORTING
            /1bcdwb/docparams  = s_docparams
            textlines          = tb_itf
          IMPORTING
            /1bcdwb/formoutput = s_formoutput
          EXCEPTIONS
            usage_error        = 1
            system_error       = 2
            internal_error     = 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.
      ENDDO.
      CALL FUNCTION 'FP_JOB_CLOSE'
        IMPORTING
          e_result       = s_sfpjoboutput
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 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.

    Sorry, but making single PDF from many smartforms is not what I want to achieve. I wold like to know how to get one PDF document made by ALC-forms.
    In my example I have many PDF documents. So, how to get (or put) them all in one PDF?
    ps: the way to get one PDF from smartforms is also here:
    "Combining Multiple Smartform Outputs Into One PDF file"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450

  • How to use Reader in non-interactive persistent mode to convert PDFs?

    How to use Adobe Acrobat Reader in non-interactive and persistent mode to convert PDFs to PostScript (or even better, bitmapped image files) ?
    At present, I'm using
        acroread -toPostScript  indir/*pdf outdir/
    to convert a set of PDFs to PostScript (the platform is Solaris on Sparc).
    These PDFs arrive at varying rates at arbitrary intervals and I'd like to avoid the overhead of startup of the acroread process and loading of the fonts etc. I would like the acroread process to become persistent and that it should convert the PDFs either as and when they become available or on demand (ie upon receipt of some signal or message).
    In the words, the usage is similar to that used by web browsers, which is effectively a client of the rendering service provided by the Adobe Acrobat Reader running in the background.
    The only difference is that I need the output in a file (or set of files), either bitmap or PostScript.
    Any help / pointers on how to do this would be greatly appreciated.
    Thanks and best regards.

    Hello,
    As I understand, you would like to setup a watch folder which will be getting pdf files in arbitrary intervals. You then want each pdf to be converted to ps in a separate folder.
    You could achieve this with the help of a script by polling for pdf files present in the watch folder. When you find pdf files, convert them to ps, save the ps file in another folder and then move the pdf to another folder.
    In any case, once the process of conversion of pdf to ps is over, acroread will quit.
    There is no way to keep the acroread process running in background and convert pdfs as and when they are available.
    Please let me know if this answers your query.
    Regards,
    Rishi

  • Issue with Uploading OTF converted PDF file on application server...

    Hello Gurus,
    I want to download otf converted pdf data on application server. I am using following but it does not work ?
    data: i_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
            wa_pdf_tab like tline,
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          BIN_FILESIZE          = w_bin_filesize
        TABLES
          OTF                   = I_OTFDATA
          LINES                 = i_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.
      concatenate './' 'ARCH_' SY-DATUM '_' SY-UZEIT INTO FILENAME.
      OPEN DATASET FILENAME FOR output in text mode encoding default.
      loop at i_pdf_tab INTO wa_pdf_tab.
        TRANSFER wa_pdf_tab TO FILENAME .
      ENDLOOP.
    CLOSE DATASET FILENAME.
    After this I am using CG3Y to downlaod the file created on application server to front end with "Transfer format data" as BIN.
    But it dos not work. 
    Please hlep.
    Regards,
    Rajesh.

    Instead of CG3Y use this code.
    DATA : p_sour TYPE string VALUE '\\usr\sap\trans\tmp\test.pdf',
           p_dest TYPE string VALUE 'c:\test.pdf'.
    CALL METHOD cl_gui_frontend_services=>file_copy
      EXPORTING
        SOURCE               = p_sour
        destination          = p_dest
        overwrite            = SPACE

  • Converting pdf to Word 2003 in Acrobat 9 Pro

    I am using Acrobat 9 Pro.  I want to convert pdfs to Word 2003.  I have followed the instructions to export to Word, but when I get to the dialog box that selects the conversion method, I choose Flowing, which is recommended, and click OK, and I get an error message that my PDF document may be corrupt.  This happens with every pdf, whether it is a form downloaded from the internet or a text document I have created myself.  If I try to convert to RTF instead, it makes the "conversion", but in doing so, it creates a file containing an image that is not editable -- it does not create a plain text, editable file.
    Is the problem that I am using Word 2003?  Word 2003 is not on the list of file formats to which the pdf can be exported, but when I get to that screen, I choose Workshare PDF in Word (which I believe I read somewhere is the correct choice for conversion to Word 2003) as my selection and it gets me to the "conversion method" screen (which gets me to the corruption error message). Again, even if I choose rtf, I do not get an editable document.
    Any ideas???

    Something to try -
    Export the PDF to RTF.
    Open the RTF file with Word Pad.
    Save As (perhaps to a new filename -- 'something_bis.rtf')
    Open this file with MS Word.
    Not particularly surprising that the PDF you posted behaves poorly when 'worked' with Acrobat.
    It is an output of Ghostscript.
    Compounding the awkwardness of export is the fact that the PDF is not a Tagged PDF.
    A significant raison d'etre for Tagged PDF is to support export of PDF content to a word processor application.
    Be well...

  • SmartForms : Printing Non-English characters with SWIN output device?

    I have a Japanese Text (entered in Unicode at So10) and I want to print it from my SmartForms application using SWIN device type.
    I thought SWIN converted all the components into graphics before sending to printer. To my surprise, the Japanese text printed out as "########".
    I even tried duplicate the SWIN output device to another output device and changed the character set to 4103 UTF-16LE Unicode / ISO/IEC 10646 but then the print process hang.
    Anyone knows how to overcome the problem so that I can print Japanese with SWin output device?

    I have a Japanese Text (entered in Unicode at So10) and I want to print it from my SmartForms application using SWIN device type.
    I thought SWIN converted all the components into graphics before sending to printer. To my surprise, the Japanese text printed out as "########".
    I even tried duplicate the SWIN output device to another output device and changed the character set to 4103 UTF-16LE Unicode / ISO/IEC 10646 but then the print process hang.
    Anyone knows how to overcome the problem so that I can print Japanese with SWin output device?

  • How do I convert a Word hyperlink path to point to a converted PDF document?

    I have a folder with Word documents that I want to convert to PDF. Many of the Word documents have hyperlinks to bookmarks in other Word documents in the same folder. (I'm trying to convert all the Word documents in the folder to PDF.) After I convert all the folder documents to PDF and click on the hyperlinks, they take me to the old Word documents. Is there a way to convert the hyperlink paths to instead take me to the converted PDF document?

    The original Hyperlink path, established in the MS Word files has as the target file some *.doc file.
    Edit Hyperlinks, in MS Word, to change the target file(s) to the appropriate *.pdf file.
    As a guess, I'd say someone familiar with MS VB might be able to come of with something to do the change programmatically.
    An alternative could be a web search for a possible Acrobat JavaScript that might do the job to the PDF files.
    Failing that the job would be done manually to each Hyperlink in each MS Word file.
    As to MS Hyperlinks to MS "Bookmarks" in other files.
    The [ # ] character used as a parameter is not interpreted by Adobe Reader / Acrobat in the same manner as MS Office products.
    Consequently, in an output PDF, the link will only open the target file. Note that MS Bookmarks within a DOC file will function in the output PDF.
    For PDF Open Parameters see:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open _parameters_v9.pdf
    Be well...

  • Default output device not coming

    I made one PDF form and attached it in List LG01 in CB85 to print process order through COR2 output device is mentioned as LP01 in list Lg01, but while printing, output device is coming as which is mentioned in user profile.
    I want that output device which i mentioned in configuration should come as default during printing through COR2....Pl. help
    Edited by: lisa harley on Feb 26, 2010 11:09 AM

    Hello,
    Please check the below settings at "Printer Specification" for CB85,
    If output device = 1  ,then it will select the output device for user profile
    if output device  = 2 , Output device from configuration, ie CB85
    Regards
    Pradeep

  • Why does spot EPS not output when converted to CMYK or grayscale?

    Apologies if this is a known issue but I can't find it anywhere... I'm using AI CS3 (13.0.2) on an Intel iMac/Os 10.5.4 and I can't figure out why a white logo made from text outlines outputs fine to PDF if I use a spot color but if I change it to grayscale or CMYK, part of the logo doesn't output at all.
    The part which self-destructs is a supplied roundel of Caflisch text which has been converted to outlines (unfortunately I don't have the font on my system to do any deep testing). Another part of the supplied logo is a line drawing which outputs fine in any color mode.
    So I'm really looking for something to explain why the text part of this roundel outputs fine as a spot color but disappears from view when converted to CMYK or grayscale. I have been placing the file in a Quark 7.1 document and then exporting to PDF but I see the same problem when using the Flattener Preview.
    Thanks for any help.
    Simon

    Sorry for talking to myself like this -- been doing it for years...
    Finally found out what was wrong: the submitting designer had set the white coloured text objects to overprint. When I set them to knock out all was well.
    Kudos to Acrobat Pro Preflight for pinpointing the problem.
    Simon

  • Applescript to convert PDF to JPEG using Preview?

    I know there's an existing script available on the internet that converts PDFs to JPEGs (it's here: http://macscripter.net/viewtopic.php?id=25350) BUT, for whatever reason, the quality, even when set to 600dpi, is crap. I get better results simply opening the PDF in Preview then saving as JPEG... even a 150dpi JPG from Preview is higher quality than a 600dpi file from this script I found...
    So, what I need help with is creating a applescript that converts PDF's to JPEGs using Preview (or whatever, as long as the quality of the JPEG is good). I have very little scripting experience so help is appreciate.
    Ideas?
    Thanks.

    Frank Caggiano wrote:
    Decided to finish this up as an interesting exercise. Hope you find it useful.
    One question for the  Applescripters here. The Automator action run as a shell script seems to return a list of filename aliases but the return value while looking like a list didn't behave as a list. I managed to rip it apart to get to the filepaths and the script works but it seems really kludgey . So my question is given the return of the Automator run as a do shell script what is a more correct way to handle it?
    Convert PDF to JPG
              © 2011 Frank Caggiano
              GNU Public License
              Convert pfd files to jpg images.
              The converted JPG files wil have the name of the original PDF files with the extension changed to JPG.
              The actual conversion uses the Automator action Render PDF Pages as Images.
              The user needs to create an Automator action with Render Pages as Images as the single action.
              Set the parameters for the conversion in the action.
              NOTE: this script assumes you're converting to jpg files If you select another output format in the action this script will
              need to be modified.
    -- choose PDF files
    try
              set sourceFiles to choose file with prompt "Select PDF files" of type {"com.adobe.pdf"} with multiple selections allowed
    on error msg number n
              if n ≠ -128 then
                        error "Unknow error: " & msg & space & n
              else
      quit
              end if
    end try
    -- choose destination folder
    try
              set destFolder to choose folder with prompt "Select Destination Folder"
    on error msg number n
              if n ≠ -128 then
                        error "Unknow error: " & msg & space & n
              else
      quit
              end if
    end try
    set destFolder to quoted form of POSIX path of destFolder
    -- select workflow
    try
              set workFlow to choose file with prompt "Select Work Flow" of type {"com.apple.automator-workflow"}
    on error msg number n
              if n ≠ -128 then
                        error "Unknow error: " & msg & space & n
              else
      quit
              end if
    end try
    set workFlow to POSIX path of workFlow
    repeat with sourceFile in sourceFiles
      -- get base name of the source file
              set bName to do shell script "basename " & quoted form of POSIX path of sourceFile
      -- Strip off the extension
              set text item delimiters to "."
              set bName to text item 1 of bName
              try
                        set res to do shell script "automator -i " & quoted form of POSIX path of sourceFile & space & workFlow
              on error msg number n
                        error msg & space & n
              end try
      -- Seems strange to  do it this way but it works
              set text item delimiters to "\""
              set theList to text items of res
    We go through the list of converted files. If there is more then one then the second and subsequent files
    will get and integer added to the name to avoid conflict.
              set cnt to 0
              repeat with convertedFile in theList
                        if convertedFile does not contain "alias" and convertedFile does not contain "}" then
                                  set fullPath to quoted form of POSIX path of convertedFile
                                  if cnt ≠ 0 then
                                            do shell script "mv " & fullPath & space & destFolder & bName & "_" & cnt & ".JPG"
                                  else
                                            do shell script "mv " & fullPath & space & destFolder & bName & ".JPG"
                                  end if
                                  set cnt to cnt + 1
                        end if
              end repeat
    end repeat
    Hi Frank--
    I tried the script you wrote and created the Automator workflow with the single action as requested, saved it to the desktop then selected it when your script's dialogue requested it. However, at that point your script game me the following error. Ideas? I did save the workflow as a workflow and I selected it directly, so I'm not sure why it thinks that the "workflow file does not exist" ? :
    error "The workflow file does not exist. 255" number -2700 from «script» to item

  • How to use PO message type to output 'Form' as PDF file

    Dear experts,
      I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
      Any one familiar to this topic, please kindly give me some guide, thank you!
    Regards,
    Joyce

    Hi,
       Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea.  Using this program you can convert spool into PDF file.
    -Alpesh

Maybe you are looking for