Controlling printing in forms 11.1.1.4

In an 11.1.1.4 there is a printing option but it shrinks the size of the image too much relative to how the users want the output to look.
Is there any way to change that somewhere?
If not how could one provide a printing option in forms 11.1.1.4? (windows)? Could one write a bean to print stuff? (I was thinking of a bean that was specific
to that form and not a bean that could print any form.) They want this to take the place of written form that is required to look much like the one provided by
the institution in that case.

Caused by: java.lang.UnsupportedClassVersionError: model/view/DepartmentsVOImpl : Unsupported major.minor version 51.0
Is the Java version in JDeveloper JDK 7 and the version on the server an earlier version such as JDK 6? The model/view/DepartmentsVOImpl class is compiled with JDK 7 but is being run with JDK 6 on the server.

Similar Messages

  • Print control in Smart forms?

    Dear All:
    I have a question in my SMARTFORM page development that i want to calling the smartform many times in my program.
    1.IN R/3 RELEASE VERSION: 4.7, it can call Function module--> SSF_OPEN and SSF_CLOSE using parameters of control_parameters  to control printing spool.
    2.But IN R/3 RELEASE VERSION: 4.6C, the Function module--> SSF_OPEN  is doesn't have parameters of control_parameters.
    Does anyone know how to control the printing spool in  VERSION:4.6C and show me an example?
    Any help whould be highly appreciated.
    Many thanks in advance.
    Regards,
    Elvis

    Dear All:
    I am glad to sloved this question by myself.
    IN R/3 RELEASE VERSION: 4.6C ,if you want to control the printing spool.You can doing by follow step:
    1. You can define parameter like this DATA: control_parameters TYPE ssfctrlop.
    2. Then set the schema for control_parameters-no_open and control_parameters-no_close.
       First form output:
            control_parameters-no_open  = ' '.
            control_parameters-no_close = 'X'.
       Additional output:
            control_parameters-no_open  = 'X'.
            control_parameters-no_close = 'X'.
       Last output:
            control_parameters-no_open  = 'X'.
            control_parameters-no_close = ' '.

  • AcroPDF ActiveX control on Excel Userform --- how to include it when I print the form?

    Here is a screen-shot of my Excel Userform which IS displaying the correct PDF file inside of an AcroPDF ActiveX control.
    Everything works on this form, including an option to print out a full-sized (8.5 x 11) version of the PDF.
    However ...
    I would like to push the "Print this Form" button, and have a paper copy of exactly what you see on-screen.
    The form does print, but the PDF displayed in the ActiveX control is BLANK.
    I also have an Image control  on this same form with code that allows me to browse for an image file (.JPG) which I use for Custom signs ...
    The form prints and the image displayed in the Image Control DOES print with the form.
    The Code:
    Private Sub cboSelectSign_Change()
    Dim MyPDF As String
    If Len(Me.cboSelectSign.Value) > 0 Then
        If Me.cboSelectSign.Value = "(Custom)" Then
            Me.AcroPDF1.Visible = False
            Me.ctlImage.Visible = True
            Me.ctlImage.Picture = Nothing
            If MsgBox("Do you have an image that you'd like to display?", vbYesNo, "Display an Image?") = vbYes Then
                fOpenFileBrowser
            End If
        Else
            Me.AcroPDF1.Visible = True
            Me.ctlImage.Visible = False
            MyPDF = Me.cboSelectSign.Column(1)
            Me.txtPDFpath = MyPDF
            Me.AcroPDF1.src = MyPDF
        End If
        Application.Wait (Now + TimeValue("0:00:03"))
        Me.txtWidth.SetFocus
    End If
    End Sub

    Has anyone had this problem?

  • How do I maintain control of my form?

    This is a bit "wordy", but here is the scoop. I'm using Microsoft Visual
    Studio for VC++ in Windows 2000.
    I made an application which had no form in it. So when I ran the
    application, I just got a DOS box that showed some progress info. I then
    decided to add a form... So I made a new application and started with
    creating the form. Then I copied and pasted cpp code into places where I
    thought they should go - leaving out the stuff that would print to the DOS
    box. Pfff.....
    The program works, but as soon as it gets into the meat of the real
    application, I lose control of the form and can't change things.
    Now... it is very likely that this may be due to the fact that the real
    application is running all over the place and doesn't have time to bother
    with the form - but I really think I should be able to get back to the form
    so I can change things on the fly.
    I should let you know that I'm using an SDK. I've noticed that the form
    creates an area in the .cpp with event handlers - but my application uses
    event handlers involved with the SDK. These event handlers are not active
    until I hit the "Connect" button - and that is when I lose control.
    I'll try to be a little more exact. I'm using the 3d chat - Active Worlds
    SDK. The form takes information from two ini files and loads it. I hit the
    connect button, it connects and the application runs fine - but I have lost
    my form control at that point. Funny thing... before I hit connect - I
    can't close or minimize the form yet I have control of the edit boxes in the
    form and can load and save to ini files - but after I hit connect, the
    minimize and close functions work, yet I can't get to the edit boxes. I
    think the basic code is good - I just got some stuff out of place or I'm
    missing a message somewhere along the way.
    Got any clues?
    Maybe I should have the real application separate
    from the form? As it is right now, the real application is in the form
    ..cpp - the form .cpp does not call up the real application because it is
    already there. I think that is my problem... but I don't know how to run
    another .cpp from the form. I hope I am making sense here... Should I
    study up a bit more on resourcing stuff? Thinking to myself... the form
    should be running in one section of memory - and the application in another.
    When I change the form, the form sends a message to the application and the
    application adjusts itself. As it stands right now, since the main
    application is in the form, the form code is ignored once the connect button
    is hit. If I am correct, or if you have other suggestions, please give me a
    hand here.
    P2

    P2,
    Are you developing an MFC application or a standard Win32 project?  For an MFC application, the project should automatically be set up to handle messages which would respond to your UI interactions.  For a Win32 application, you must ensure that you have a message dispatch loop.  The following link has a good description of the Message Loop:
    http://www.winprog.org/tutorial/message_loop.html
    It may be that you are performing some operation that takes a very long time so the Message Loop handling (either in the MFC or Win32 app) is not being called often enough.  In that case, you must see if it is possible to break up your operations so that the Mesasge Loop is still handled.  A good way to take care of this is to fork a separate thread for the heavy operations to take place in.
    If this is not related to the use of Measurement Studio controls, you may get a better or more detailed answer if you post this question on a generic Windows programming forum.
    Thanks,
    Tyler Tigue
    Applications Engineer
    National Instruments

  • Printing a form

    Hi folks,
    I had an question, related to printing the form using sapscript. I am printing a sapscript form using two printers. The first one is HPLJ4000 : HP Laserjet 4000   and the model is Dell Printer and using this printer the form is printing fine.
    However when I print using another printer HPLJ4000 : HP Laserjet 4000 but a different model HPLJ 2100TN some of the data is not printing in the right font size. The font I am using is HELVE and I believe it is not recognising it.
    I do not know how to work on the issue, asked the Basis guy too he has no clue about it.
    Any thoughts or ideas will be helpful?
    Thanks,
    Sk

    Hi
    See this OSS notes
    OSSNote:960341
    Symptom
    In some device types (e.g HPLJ4, HPLJ5) you experience non-uniform character spacing in the PDF document after the PDF conversion of SAPscript or Smart Forms documents, using HELVE or TIMES fonts. You want to know the reason.
    Other terms
    CONVERT_OTF, SAPscript, Smart Forms
    Reason and Prerequisites
    The problem is not due to an error in the PDF converter but due to the fact, that the printer font, underlying the device type (e.g. Univers or CG Times in PCL-5 device types), is not available for the PDF converter and is either not available in Adobe Reader. The PDF converter has to try to simulate the layout of the printer font by means of a font which is predefined in Adobe Reader. This is done by assigning the letter widths of the printer font to the font used in Adobe Reader.
    The PDF file contains a table with letter widths, used by Adobe Reader in the output of text, for each used printer font (except PostScript fonts).
    Example:
    %Charwidth values from HP4300 HELVE 060 normal
    /Widths
    [ 278 333 500 633 633 1000 758 333 333 333 633...
    Adobe reader converts this width table, by modifying the space between each character, so that the specified letter width (= space between the current and the next letter) is kept.
    This 'Simulation' of printer fonts results in the sometimes visible irregular spaces in PDF.
    The PDF converter always uses the Helvetica Adobe PostScript font for the display of HELVE and the Times Roman Adobe PostScript font for the display of TIMES. However, for these Adobe PostScript fonts, Adobe Reader often uses a Windows TrueType font, which differs slightly from the original PostScript font.
    Solution
    Workaround: Use the POST2 PostScript device type or the PDF1 PDF device type for the PDF conversion of documents in the Latin-1 character set. They both use the Adobe PostScript fonts Helvetica or Times Roman for the HELVE/TIMES printer fonts.
    Header Data
    Release Status: Released for Customer
    Released on: 30.06.2006  12:44:06
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: BC-CCM-PRN Print and Output Management
    Secondary Components: BC-SRV-SCR SAPscript
    OSS Note: 776507
    Symptom
    Documents printed via SAPscript or SmartForms do not print with correct special characters, e.g. ### prints instead of Japanese or Russian characters. What to do?
    Other terms
    SAPscript, SmartForms, printing, device types, OTF
    Reason and Prerequisites
    Help required to choose proper fonts in a SAPscript or SmartForm
    Solution
    When using SAPscript or SmartForms to print (or email or fax) a form from a business application, many factors influence the outcome of the actual text within the form. All these factors must be checked in order to ensure a correct printout:
    1) The language version of the form used to produce the printout.
    Example: If you want to print a French invoice, you need to have a FR version of your SAPscript or SmartForms invoice form RVINVOICE01. And the application program must specify the corresponding language key (FR) when calling the SAPscript or SmartForms API.
    2) The font selections specified in the form (possibly also in a SAPscript style or SmartStyle used in a form).
    Example: In a SAPscript form or a SmartStyle you need to specify HELVE if you want to print German text in Helvetica (or similar) font. If you want to print Japanese text, HELVE is not a valid choice but you need to specify a Japanese font like JPMINCHO in your Japanese form.
    3) The output character set of the device type
    Every printer in transaction SPAD has a "device type" assigned. Device types used by the spooler for printing support only one single specific output character set. All text from the form has to be converted (using SAP's built-in character conversion mechanism) to this output character set.
    A character set can typically support either a single language (e.g. Shift-JIS which supports only Japanese) or a set of languages (e.g. ISO 8859-1, which supports Western-European languages). It is possible that a given language (such as German) can be supported by several output character sets, e.g. you may use either ISO 8895-1 (Latin-1) or ISO 8859-2 (Latin-2) to represent German text. This is so because both character sets contain the special characters used in German.
    Example: HPLJ4000 is a HP LaserJet device type supporting the ISO 8859-1 (Latin-1) character set. ISO 8859-1 can be used to represent e.g. Dutch, English, French, German, Spanish, Swedish but NOT Russian or Japanese.
    As a consequence, it is ok to use HPLJ4000 to print English, German French etc. but not for Japanese or Russian.
    4) The set of available printer fonts for a given device type
    When formatting a document, SAPscript and SmartForms perform an automatic mapping of the font definitions in the form (e.g. "HELVE 14 point bold") and the available printer fonts of the device type. A replacement printer font is chosen, should the specified font selection not be available in the device type. Now this replacement can be problematic if a language-specific font, such as Chinese CNSONG, is specified in a form and it gets replaced by a font which does not support this language, e.g. COURIER.
    To solve this problem, font families in SE73 have language attribute assigned, e.g. some fonts are characterized as being suitable only for certain languages. And when a replacement has to be chosen because the original font from the form is not available in the device type, a replacement font is chosen which has the same language attributes.
    If no fonts for the language in question exist in the device type, the resulting font will not be able to print the special characters and you will see "wrong" output characters in the printout.
    Note on SAPscript/SmartForms Print Preview:
    The OTF Print Preview available in Windows GUI (e.g. from transaction SP01) will sometimes not show the "wrong" characters which appear on the final printout. Here is the reason: since the Print Preview runs in Windows environment, it will use Windows fonts to represent the actual printer fonts. A Windows font typically has more available characters (i.e. covers more character sets) than are actually available in a printer's resident font.
    A typical example where the Print Preview will differ from the printout is here: if you have a Chinese PCL5 printer such as CNHPLJ4 and use the Western Latin font COURIER in your document, the print preview will show you Chinese characters if you (by accident) tried to format Chinese characters in COURIER font. This is because Windows will automatically choose a font that can output Chinese characters (which is actually not Courier). But when you print the job on an actual PCL5 printer with resident Western and Chinese fonts, the Courier font will not print any Chinese characters but Western special characters instead, because the printer's resident Courier font does not include Chinese characters.
    Rule of thumb: all Asian device types (e.g. CNHPLJ4, JPHPLJ4, JPPOST, KPHPLJ4) support not only Asian fonts but also COURIER, HELVE and TIMES fonts. But these Latin fonts can only be used to print English text, not Chinese/Japanese/Korean characters.
    Which fonts are suitable for a given language?
    Language(s):            Font family to use in a form:
    Latin-1 (Western Europe/Americas) *******
    DE,EN,FR,ES,NL,SV       COURIER, HELVE, TIMES
                            (LETGOTH, LNPRINT)
    Latin-2 (Central Europe) ****************
    PL, CZ                  COURIER, HELVE, TIMES
    ISO 8859-4 (Baltic) *********************
    ET, LT, LV              COURIER, HELVE, TIMES
    ISO 8859-5 (Cyrillic) *******************
    BG, RU, SR, UK          COURCYR, HELVCYR, TIMECYR
    ISO 8859-7 (Greek) **********************
    EL                      COUR_I7, HELV_I7, TIME_I7
    ISO 8859-8 (Hebrew) *********************
    HE                      COURIER, HELVE, TIMES
    ISO 8859-9 (Turkish) ********************
    TR                      COURIER, HELVE, TIMES
    Simplified Chinese **********************
    ZH                      CNHEI, CNKAI, CNSONG
    Japanese ********************************
    JA                      JPMINCHO, DBMINCHO, DBGOTHIC
    Korean **********************************
    KP                      KPBATANG, KPDODUM, KPGULIM
                            KPGUNGSE, KPSAMMUL
    Traditional Chinese *********************
    ZF                      TWDPHEI, TWMING, TWSONG
    Thai ************************************
    TH                      THANGSAN, THDRAFT, THVIJIT
    Arabic (Unicode systems only) ***********
    AR                      ANDALE_J
    Verify your output by examining the OTF data
    When analysing printing problems of this type, be sure to check the OTF data which gets produced by SAPscript or SmartForms. OTF or "Output Text Format" is the intermediate page-description format generated from SAPscript or SmartForms. OTF will contain the final printer font names and character set/language identifiers which help to solve the problem. OTF will even name the form and the language of the form used to create the output.
    The easiest way to do this is to create a spool request from your application, run transaction SP01, use menu
    Goto->Display Requests->Settings
    and choose
    Display Mode: Raw
    Now display your spool request. If this is a SAPscript or SmartForms spool request, you will see OTF data. Each line represents one OTF command, every command starts with a 2-character cmd identifier and possibly some cmd parameters follow.
    Here is an excerpt from a sample OTF file where we highlight the most interesting commands:
    //XHPLJ8000    0700 00000000001
    IN04EALEXTEST_ZEBRA
    IN05%PAGE1
    OPDINA4  P 144  240 1683811906000010000100001
    IN06%WINDOW2
    MT0024401289
    CP11000000E
    FCHELVE  120  00109XSF100SF101110000067E X
    UL +0000000000000
    SW00067
    CT00000000
    ST0453037Dieses SF hat Stil ALEXTEST_ZEBRA mit
    The 1st line with the // (Control) command reveals the device type usedto print: HPLJ8000
    //XHPLJ8000    0700 00000000001
    The 2nd line (IN = Info command) shows the name and (internal 1-char)language key of the form:
    IN04EALEXTEST_ZEBRA
    In this case it is the English (E = EN) SmartForm ALEXTEST_ZEBRA
    The OP-line (OP = Open Page) gives the page format used in the form, it is DINA4 Portrait orientation:
    OPDINA4  P 144  240 1683811906000010000100001
    The CP (CodePage) cmd shows the SAP system codepage used to code the text and the active language. In our case it is codepage 1100 and language E = EN = English.
    CP11000000E
    Finally, the FC-cmd (Font Call) lists a printer font selected within SmartForms. Please note that every SmartForm has a designated default SmartStyle under "Form Attributes->Output Options". In addition, every text node can have a SmartStyle attached (which will override the definitions from the default style for the text). In our case the resulting printer font that was selected is HELVE 12.0 pt bold-off, italic-off.
    FCHELVE   120  00109XSF100SF101110000067E X
    Header Data
    Release Status: Released for Customer
    Released on: 22.08.2005  09:57:20
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: BC-CCM-PRN Print and Output Management
    Secondary Components: BC-SRV-SCR SAPscript
    BC-SRV-SSF Smart Forms
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Printing multiple forms for one output types.

    Hi,
    I need to print the form 4 times for one specific output type.  My internal table contains only one record, but for that one record also i need to print 4 forms. How can i do this, i tried using control parameters but in vain.
    Any suggestions of how to achieve this,
    Thanks & Regards,
    Ramana.

    Hi,
    I am working with only one smart form. But there are different output types(ZVSL, ZVFX, ZVFE & ZVFI) configured for that form. But for one specific output type (ZVSL), i need to repeat the print for 4 times.
    Thanks & Regards,
    Ramana

  • Dunning Level needs to update without printing the Form

    HI,
    we have 4 level dunning, we have a requirement that when the customer reaches Level 4 dunning, The process is off the system - Meaning no Correspondance from SAP to be issued.
    Is it possible for standard SAP dunning to update the Customer Master to Level 4 without printing the form?
    We remvoved  the Dunning form associated to level 4 but when the dunning program  reaches level 4, its not updating the Customer master data with Dunning Level4. The last update on the customer master is level 3.
    Is printing dunning letter is a mandatory for the Dunning program to update the customer master data with the Dunning level?
    Has anyone got a workaround or solution for this situation.
    Thanks
    Kema

    Hi Kema,
    How you doing? Hope all good.
    Well the Customer Master update is done by the form printing program so printing form will be needed to update the customer master. The work around would be to have dummy blank form. If you are doing a fax or email then you can control the sending from user exit.
    Hope this helps.
    Francis Yesudas

  • Fill data into a form programmatically and print the form afterwards

    Folks,
    until recently a lab assistant took measurements and filled the data into a paper form (see attached pdf). Now we are building a test stand that does the measurement semiautomatically. The software of the test stand will be programmed in LabVIEW, of course. The test stand shall generate a printed protocol very similar to the attached pdf in future as well.
    What's the best way to fill the acquired data into the form and to print the form afterwards? The form can be read by our code in either pdf or html. There is no Microsoft Office installed on the computer.
    Modifying the html code? Converting the pdf to a picture and fill the data into the picture? Any hint will be highly appreciated.
    Thanks,
    Peter
    Attachments:
    Form.pdf ‏121 KB

    Hmmm... must have misunderstood what you were saying.
    XSL is a language that allows you to generate an HTML document. The XSL basically defines the style, and the XML specifies the data. HTML is the combination. You can find out more here.
    Unfortunately, since you don't have Office, you won't be able to use the ActiveX interface to control Word, so that's out.
    With the template in HTML format you could use the DOM for an HTML file to set the value of the HTML elements. The easiest way to do this is to use IE (I'm assuming you're on Windows here) to open the HTML template and then you can use the DOM from there. As for how feasible this is, it would depend on your HTML format. Can you post the template in HTML format?
    With the template in PDF format I know that some PDF files that are forms can be generated in such a way that they still act like forms when you open them in, say, Acrobat Reader. Acrobat has an ActiveX interface so you should be able to programmatically do this, but I can't say for sure. You can check the Adobe site for more info. You just need to make sure it doesn't require the full version of Acrobat.

  • Print the form only when valid

    Hello,
    I have a PrintButton on my PDF form which activates the form validation. The print dialog appears only when the form is valid. However, users still can print the form using the File Menu or Toolbar. I tried to deny printing in the PDFSecurity tab of the Form Properties and re-enable it once the form is valid (xfa.PDFSecurity.SetAttribute("1","print")) but it does not work.
    Is it possible to force the user to print only with my print-validate button? What would be the appropriate way to do that?
    Thanks
    Julie

    Hi Johnny,
    The only way that Acrobat or Reader can vouch for the integrity of the digital signature is from within the application. Once you print the file Acrobat/Reader has no way of verifying that the printed document is cryptographically sound (which is what a digital signature proves). As such, we specifically inhibit printing the signature status.
    Another way to think of this is, the validity of an electonic document can only be guaranteed in the electonic environment. Once the document moves into the physical world Acrobat (or any application that processes digital signatures) has lost control.
    Steve

  • When I populate a form and send to my printer, the form prints without the info I entered

    When I populate a form and send to my printer, the form prints without the info I entered. How do I fix this?

    Posted last week:
    Epson Printer Drivers v2.19 for OS X
    If you use Software Update, probably got installed. If you are like me, you clone your system before any update or changes, in case something breaks.
    Windows you don't or haven't heard of? VM = virtual machine, ie a guest OS running under Mac OS (or running natively on its own partition, seeing sometimes there is software that is essential but only needed for business or once in a while). Runs just like another app (and uses an app to control the guest OS).

  • Printing PDF forms to an impact printer

    Greetings,
    I hope I've found the correct forum for this question.
    We are having difficulty printing PDF forms to an impact printer.  We are required by regulations to print to multi-part forms from our GTS landscape, which is going live soon.  Since Adobe is the direction SAP is headed with forms, we have been utilizing ADS.  However, the need for impact printing has presented a problem.  Has anyone utilized PDF printing to an impact printer?  I'll list some details in case it will help.
    Printer: Lexmark Forms Printer 2590
    Backend Print Solution: HP Output Server on AIX
    SAP GTS: NetWeaver 7.0 SP17 w/ SLL-LEG 720 SP7
    Our printer has printer languages of Epson Emulation and Personal Printer Data Stream (PPDS).  Neither of these are included in the standard device types for PDF as specified in OSS Note 685571.  I do not see an appropriate XDC file to copy and modify.
    Has anyone else run into this issue and found a resolution?
    Many thanks for your assistance.
    Wesley Tollett

    the PortName should be changed accordingly.
    if you are using printer port , commonly lpt1, you should change it to lpt1
    ur command line could work , i think
    i've tried it locally in my machine, it works fine.

  • Legacy VB6 project. Can no longer add controls to the form.

    Working on a VB6 project that has been in continuous use since 2002.  Needed to make a simple mod and add a new control.  Choosing any control and attempting to drag it on to the form always fails with a black circle with diagonal bar at the cursor
    as soon as the cursor leaves the toolbox.
    Reloaded VB6 and SP6. No luck.
    Tried a new "Hello World" project but was unable to move any controls from toolbox.
    Now the weird part.  Went to 4 other old computers that have always worked in the past.  All of them failed the "Hello World" test as well.
    This is perfectly legal Microsoft Visual Studio Professional load from one of our old MSDN disks.  Are these timebombed or something?
    The program can be edited, compiled and run with no issues, I just can't add controls to any form.

    Hi
    barry6789,
    I am afraid that these forums donot support VB6, you could refer to this thread
    Where to post your VB 6 questions
    and consider posting this issue in these forums below:
    These forums do not support Visual Basic 6, however there are many third-party support sites that do. If you have a VB6-related question please visit these popular forums:
    VB Forums
    VB City
    Thanks for your understanding.
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • View/Save/Print Embedded Form on Webpage to PDF

    How can a user View/Save/Print Embedded Form on Webpage to PDF?

    Hi,
    Currently FormsCentral does not support to View/Save/Print Embedded Form from the Webpage to PDF. If you are the form author, you can save/print the form to PDF in FormsCentral, and the PDF forms can be viewed in Acrobat or Reader.Or if you like, you can save/print the entire web page to PDF using the browser, but the form could not be submitted then. I hope it's clear, and please let me know if you have any questions. Thanks!
    Kind regards,
    Shiyao Bao

  • How to print a form in a UIX page

    I want to print a form in a UIX page? I have tried a lot of methods,but they did not work.I only want to print the contents in the form ,not including the contents of the page title ,tab bar,etc. Can someone tell me?Thank you!

    Yu -
    You'll want to use the "printable" facet when rendering your page. The following sample page contains a button which allows the user to view the "printable" version of the page. It uses the <showFacet> event handler to switch to the printable facet:
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
          xmlns:ui="http://xmlns.oracle.com/uix/ui"
          xmlns:data="http://xmlns.oracle.com/uix/ui"
          xmlns:ctrl="http://xmlns.oracle.com/uix/controller">
    <content>
      <pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
      <tabs>
        <tabBar>
        <contents>
           <link text="Hello"/>
           <link text="World"/>
        </contents>
        </tabBar>
      </tabs>
      <pageButtons>
        <pageButtonBar>
        <contents>
          <button text="Show Printable Page" ctrl:event="showPrintable"/>
        </contents>
        </pageButtonBar>
      </pageButtons>
      <contents>
        <text text="Printable area"/>
      </contents>
      </pageLayout>
    </content>
    <handlers>
      <!-- Use the showFacet event handler to switch over to
           the "printable" facet -->
      <event name="showPrintable">
        <showFacet name="printable"/>
      </event>
    </handlers>
    </page>Andy

Maybe you are looking for