How to handle text of iframe to send to remote printer in client side?

Hello everybody,
I am having problem to handle the printing text of iframe to send to remote printer. I am using JDK 1.5, JSP and JBOSS. My clients have to print the information displayed in iframe to their remote Printer. I am using javascript code below to print:
/* CODE IS IN JAVASCRIPT */
     document.frames[frameName].focus();
     document.frames[frameName].print(); But the main problem is that it takes a lot of times about 2 mins. Why is the above code taking so long time? Is it due to javascript code or the printing process? Is there any method or function to send printing text of iframe to printer faster?
can anyone help me to solve this problem.....
Thank You.
Edited by: ritesh163 on Aug 20, 2008 2:45 PM

ritesh163 wrote:
Hello stevejluke,
I am seeking for the suggestion whether it can be done through javascript or there is any other function or method in JSP that can replay javascript code and also work faster.
Thank you.But JSP has nothing to do with it. JSP lives on the server, not the client. If can't control the client printer, can't know about it, and can't print to it. This is purely client-side, which means not JSP.

Similar Messages

  • How to handle Text  change event in text box in SAP B1

    Hello Expert...
    How to handle Text  change event in source.
    Please define the Event when i change the text in textbox..
    currently i am using the Lost focus event but it is only occur when tab focus lost from that text box.
    So please required solution ASAP..
    Regards,
    Abhinav Lalpurwala
    Edited by: Abhinav Lalpurwala on Aug 5, 2011 3:19 PM

    Hi,
    Catch the et_VALIDATE event, when InnerEvent = False and ItemChanged = True.
                If pVal.EventType = BoEventTypes.et_VALIDATE Then
                    If pVal.InnerEvent = False And pVal.ItemChanged Then
                        'TODO Your code here...
                    End If
                End If
    Regards,
    Vítor Vieira

  • How can i look up a EJB residing in different machine from client side?

    hai ,
    How can i look up a EJB residing in different machine from client side?
    this is my code...........i don't know what should i use as Initial Context Factory...................i am using a sun appserver 8............
    package com.parx.lms.lmsdelegate;
    import com.parx.lms.exception.LMSException;
    import javax.naming.Context;
    import javax .ejb.CreateException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import java.rmi.RemoteException;
    import com.parx.lms.controller.*;
    import com.parx.lms.vo.UserVo;
    import com.parx.lms.exception.BusinessException;
    import java.util.Hashtable;
    import java.lang.*;
    public class LmsDelegate{
    private final static String JNDI_NAME="LmsBean";
    private static String url="http://localhost:4848";
    public static Lms lms = null;
    public void getController() throws CreateException,
    NamingException,RemoteException{
    if(lms == null){
    Hashtable h=new Hashtable();
    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************");
    h.put(Context.PROVIDER_URL,url);
    System.out.println("Before Loading Context in Delegate");
    Context ctx=new InitialContext(h);
    System.out.println("Loaded Context in Delegate");
    Object obj=ctx.lookup(JNDI_NAME);
    System.out.println("Loaded Object in Delegate");
    System.out.println("Before Loading Home in Delegate");
    LmsHome home = (LmsHome )PortableRemoteObject.narrow(obj,com.parx.lms.controller.LmsHome.class);
    System.out.println("Loaded Home in Delegate");
    lms = home.create();
    System.out.println("Loaded remote in Delegate");
    public void addUserDelegate(UserVo vo) throws BusinessException{
    try{
    getController();
    System.out.println("Before calling the addUser of Session");
    lms.addUser(vo);
    }catch(CreateException e){
    System.out.println("Create Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(NamingException e){
    System.out.println("Naming Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    catch(RemoteException e){
    System.out.println("Remote Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(LMSException e){
    System.out.println("duplicate user name--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    pls help me..........

    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************")
    Each app server provides their own jndi factory class. For ex for weblogic it is weblogic.jndi.WLInitialContextFactory. SInce you are using sun app server, check if there are any examples to find out or the docs.
    private static String url="http://localhost:4848
    Since the client is in a different machine the localhost is not going to work here. provide the url or the machine name of the system in which ur sunapp server is running. In addition u will need to have the stubs of the remote interfaces in ur client machine.

  • Help: how  to get text from IFRAME

    <!-- The box where we type-->
    <IFRAME class="mytext" width="100%" ID="mytext" height="200">
    </IFRAME>
    someone can tell me how i get text in my servlet from
    <IFRAME>
    thankx in advance...

    someone can tell me how i get text in my servlet from
    <IFRAME>
    thankx in advance...Hmm. I think you are mixing something up here. Why would you use an IFrame for entering text? IFrame is used for including content from different HTML-pages inside your page.
    If you want to have a textbox for an user to enter text into and submit it to a server, you need a form and a textarea inside that. Like this:
    <form action="myServlet" method="post">
    <textarea name="myArea">
    </textarea>
    <input type="Submit" value="Ok">
    </form>Change the action in the form to reflect the mapping to your servlet.
    Then you can just do a String enteredText = request.getParameter( "myArea" ); inside your servlet.
    If you insist that you need to use an IFrame, I guess the only way to do it would be to write a Javascript function, that copies the contents from the IFrame to a hidden field before the page is submitted to your servlet. In your servlet you would read the value from the hidden field.
    .P.

  • Multiple pages, how ApEx handle it? (iframe)

    Hello,
    I have a application used by many teams in my company. This application have a stantard layout for all the teams and now I´m developing a personalized layout for each team.
    How it will work?
    The application will have a page (main page) with some stantard fields, and a iframe with the personalized fields. The main page will call the page (iframe) correspondent to each team dynamically, this page is also a ApEx page.
    Page 1
    [Common layout]
    [Team A page 2 (iframe)] or [Team B page 3 (iframe)] or [Team XPTO page N (iframe)]
    [Common layout]
    My question is: Can I use iframe in ApEx without problems? I saw some topics that said to dont use iframes, but they dont explain why. How ApEx will handle those pages?
    Thanks in advance,
    Felipe

    Hi,
    I think i coldn´t explain what I´m trying to do, and my picture doesn´t help either! (Well, it´s already done :C)
    Sorry for that guys, let me try to be more specific:
    I´m developing a issue tracker system. That application is used by many teams in my company. Every team use the same interface. I made some authorization schemes, and other DB logics to make the data accessible only for those who can access that data, like, Team A cannont access/see/modify Team B data.
    The new chalenge: Some teams need aditional/different fields.
    What we already have, for example:
    Page "BUGS"
    [Bug_ID]
    [Creation_TS] [LastDiffe_TS]
    [Product][Component]
    [Reporter][Assigned_TO]
    [Summary]
    [Description]
    [Add comments]
    [Choose STATUS]
    (Submit)
    What we need?
    Page "BUGS" that Team A will see
    [Bug_ID]
    [Creation_TS] [LastDiffe_TS]
    [Product][Component]
    [Reporter][Assigned_TO]
    [Summary]
    [Description]
    [Source][Environment]
    [Contact][Phone][Location][Email]
    [Problem ID][Probaly Solucion]
    [...] <-- here we have anything that Team judge to be necessary to have here
    [Add comments]
    [Choose STATUS]
    (Submit)
    Page "BUGS" that Team B will see
    [Bug_ID]
    [Creation_TS] [LastDiffe_TS]
    [Product][Component]
    [Reporter][Assigned_TO]
    [Summary]
    [Description]
    [Problem root][Afected subsystems]
    [Solution Roadmap]
    [Estimed time to solution]
    [Responsible][Detected in version]
    [Correction PKG ID]
    [...] <-- here we have anything that Team judge to be necessary to have here
    [Add comments]
    [Choose STATUS]
    (Submit)
    Resuming:
    [Bug_ID]
    [Creation_TS] [LastDiffe_TS]
    [Product][Component]
    [Reporter][Assigned_TO]
    [Summary]
    [Description]
    [Dynamical content using iFrames]
    [Add comments]
    [Choose STATUS]
    (Submit)
    That´s what I was trying to show in that picture. Do you understand now? :)
    Thanks in advance,
    Felipe

  • Word ducuments in different languages/dictionaries to Pages - for Lion will need to transfer files to Pages, but how to handle texts in different languages?

    As Lion does no longer support 'Rosetta" I will need to import my WORD files. I am using several languages (E, D, F, I) and would like to also write/check the texts before sending. I have not found any way to do this in Pages. Have I overlooked something? Thanks for guidance. Gottfried

    I guess that you would get better results with libreOffice which is really designed to clone Office which is not the case for iWork.
    Yvan KOENIG (VALLAURIS, France) mercredi 20 juillet 2011 16:32:16
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to handle text files with Header lines

    Hi,
    Eventhough the number of header lines is specified, when I do Reverse to get columns, its considering only header line.
    I have file format like
    ffserver started.
    192.168.11.30 - - [Fri Apr 20 19:28:01 2007] "GET /robots.txt HTTP/1.1" 404 150
    192.168.11.30 - - [Fri Apr 20 19:28:02 2007] "GET /V23WASTINGPETROL HTTP/1.1" 200 310
    first line is header line and there are spaces within a field value, and the field separator also is space.
    regards,
    Vivek

    in this scenario of urs ,ur file has multiple delimiters like -- and spaces.
    in this case u need to convert the file in a file with single delimiter .
    this can be done by writing a code in java in ODI procedures.
    once you have the same delimiter all over the file.
    u can extract multiple headers using typical Procedure

  • How to handle preceding space characters in file to file(FCC on both sides)

    Hi All,
    We have scenario with file to file (FCC on both sides).
    Issue is: Sender side we are converting source file (CSV) into XML. But while converting it is ignoring preceding spaces.
    Example:
    Suppose Source file(CSV) contains one record as mentioned below ( for ur understanding purpose I mentioned 'X' instead of space. )
    XXXXXXXXXX12345     78945  23548    23446
    The above record is getting converted into XML as
    <text>12345     78945  23548    23446</text>
    But we need the record to be converted into XML as mentioned below
    <text>XXXXXXXXXX12345     78945  23548    23446</text>
    i.e we need spaces before "12345" also.
    As both sender and receiver having same structure, we are not using any mapping also.
    Please suggest in this regard.
    Thanks & Regards,
    Nagaraju

    Hi,
    In your sender content conversion use the parameter:
    NameA.fieldContentFormatting     nothing
    For further ref:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    Regards,
    Manjusha

  • How to Read Texts in ME22N or ME23N to PO Print Form

    Hi Anybody,
          I want read  ItemText, Info Record POText, Material POText, Delivery Text... from ME22N or ME23N in Smartforms from Each PO Item and Print into PO Print  Form.
    Can u please anybody answer me.
    Thanks,
    S.Muthu.

    Hi this will help u.
    *&  Include           ZMFM06PE02
      Smart Form Print Routines                                          *
    form entry_neu using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      data: ls_print_data_to_read type lbbil_print_data_to_read.
      data: ls_bil_invoice type lbbil_invoice.
      data: lf_fm_name            type rs38l_fnam.
      data: ls_control_param      type ssfctrlop.
      data: ls_composer_param     type ssfcompop.
      data: ls_recipient          type swotobjid.
      data: ls_sender             type swotobjid.
      data: lf_formname           type tdsfname.
      data: ls_addr_key           like addr_key.
      xscreen = ent_screen.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
    Fill up pricing condition table if calling from ME9F
      if l_doc-xtkomv is initial.
        select * into table l_doc-xtkomv from konv
                                         where knumv = l_doc-xekko-knumv.
      endif.
    *Set the print Parameters
      perform set_print_param using     ls_addr_key
                              changing  ls_control_param
                                        ls_composer_param
                                        ls_recipient
                                        ls_sender
                                        ent_retco.
    *Get the Smart Form name.
      if not tnapr-sform is initial.
        lf_formname = tnapr-sform.
      else.
        lf_formname = tnapr-fonam.
      endif.
    Determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting
                formname           = lf_formname
           importing
                fm_name            = lf_fm_name
           exceptions
                no_form            = 1
                no_function_module = 2
                others             = 3.
      if sy-subrc <> 0.
    error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
      call function lf_fm_name
           exporting
                archive_index      = toa_dara
                archive_parameters = arc_params
                control_parameters = ls_control_param
                mail_recipient     = ls_recipient
                mail_sender        = ls_sender
                output_options     = ls_composer_param
                zxekko             = l_doc-xekko  " user_settings = ' '
                zxpekko            = l_doc-xpekko
           tables
                l_xekpo            = l_doc-xekpo[]
                l_xekpa            = l_doc-xekpa[]
                l_xpekpo           = l_doc-xpekpo[]
                l_xeket            = l_doc-xeket[]
                l_xtkomv           = l_doc-xtkomv[]
                l_xekkn            = l_doc-xekkn[]
                l_xekek            = l_doc-xekek[]
                l_xkomk            = l_xkomk
           exceptions
                formatting_error   = 1
                internal_error     = 2
                send_error         = 3
                user_canceled      = 4
                others             = 5.
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
    get SmartForm protocoll and store it in the NAST protocoll
        perform add_smfrm_prot.
      endif.
    endform.
    Mahnung
    form entry_mahn using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = '3'.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
    CALL FUNCTION 'ME_PRINT_PO'
          EXPORTING
               ix_nast        = l_nast
               ix_druvo       = l_druvo
               doc            = l_doc
               ix_screen      = ent_screen
               ix_from_memory = l_from_memory
               ix_toa_dara    = toa_dara
               ix_arc_params  = arc_params
          IMPORTING
               ex_retco       = ent_retco.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
    Fill up pricing condition table if calling from ME9F
      if l_doc-xtkomv is initial.
        select * into table l_doc-xtkomv from konv
                                         where knumv = l_doc-xekko-knumv.
      endif.
    *Set the print Parameters
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
    *Get the Smart Form name.
      if not tnapr-sform is initial.
        lf_formname = tnapr-sform.
      else.
        lf_formname = tnapr-fonam.
      endif.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting
                formname           = lf_formname
           importing
                fm_name            = lf_fm_name
           exceptions
                no_form            = 1
                no_function_module = 2
                others             = 3.
      if sy-subrc <> 0.
    error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
      call function lf_fm_name
           exporting
                archive_index      = toa_dara
                archive_parameters = arc_params
                control_parameters = ls_control_param
                mail_recipient     = ls_recipient
                mail_sender        = ls_sender
                output_options     = ls_composer_param
                zxekko             = l_doc-xekko  " user_settings = ' '
                zxpekko            = l_doc-xpekko
           tables
                l_xekpo            = l_doc-xekpo[]
                l_xekpa            = l_doc-xekpa[]
                l_xpekpo           = l_doc-xpekpo[]
                l_xeket            = l_doc-xeket[]
                l_xtkomv           = l_doc-xtkomv[]
                l_xekkn            = l_doc-xekkn[]
                l_xekek            = l_doc-xekek[]
                l_xkomk            = l_xkomk
           exceptions
                formatting_error   = 1
                internal_error     = 2
                send_error         = 3
                user_canceled      = 4
                others             = 5.
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
    get SmartForm protocoll and store it in the NAST protocoll
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
    Auftragsbestatigungsmahnung
    form entry_aufb using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = '7'.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
    CALL FUNCTION 'ME_PRINT_PO'
          EXPORTING
               ix_nast        = l_nast
               ix_druvo       = l_druvo
               doc            = l_doc
               ix_screen      = ent_screen
               ix_from_memory = l_from_memory
               ix_toa_dara    = toa_dara
               ix_arc_params  = arc_params
          IMPORTING
               ex_retco       = ent_retco.
      if nast-adrnr is initial.
        perform get_addr_key changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
    Fill up pricing condition table if calling from ME9F
      if l_doc-xtkomv is initial.
        select * into table l_doc-xtkomv from konv
        where knumv = l_doc-xekko-knumv.
      endif.
    *Set the print Parameters
      perform set_print_param using    ls_addr_key
                              changing ls_control_param
                                       ls_composer_param
                                       ls_recipient
                                       ls_sender
                                       ent_retco.
    *Get the Smart Form name.
      if not tnapr-sform is initial.
        lf_formname = tnapr-sform.
      else.
        lf_formname = tnapr-fonam.
      endif.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting
                formname           = lf_formname
           importing
                fm_name            = lf_fm_name
           exceptions
                no_form            = 1
                no_function_module = 2
                others             = 3.
      if sy-subrc <> 0.
    error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
      call function lf_fm_name
           exporting
                archive_index      = toa_dara
                archive_parameters = arc_params
                control_parameters = ls_control_param
                mail_recipient     = ls_recipient
                mail_sender        = ls_sender
                output_options     = ls_composer_param
                zxekko             = l_doc-xekko  " user_settings = ' '
                zxpekko            = l_doc-xpekko
           tables
                l_xekpo            = l_doc-xekpo[]
                l_xekpa            = l_doc-xekpa[]
                l_xpekpo           = l_doc-xpekpo[]
                l_xeket            = l_doc-xeket[]
                l_xtkomv           = l_doc-xtkomv[]
                l_xekkn            = l_doc-xekkn[]
                l_xekek            = l_doc-xekek[]
                l_xkomk            = l_xkomk
           exceptions
                formatting_error   = 1
                internal_error     = 2
                send_error         = 3
                user_canceled      = 4
                others             = 5.
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
    get SmartForm protocoll and store it in the NAST protocoll
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
    Lieferabrufdruck fur Formular MEDRUCK mit Fortschrittszahlen
    form entry_lphe using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_xfz,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = '9'.
      l_xfz = 'X'.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
    *Get the Smart Form name.
      if not tnapr-sform is initial.
        lf_formname = tnapr-sform.
      else.
        lf_formname = tnapr-fonam.
      endif.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = lf_fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
    move the value
      move-corresponding l_doc-xekko to l_zekko.
      move-corresponding l_doc-xpekko to l_xpekko.
      l_xekpo[] = l_doc-xekpo[].
      l_xekpa[] = l_doc-xekpa[].
      l_xpekpo[] = l_doc-xpekpo[].
      l_xeket[] = l_doc-xeket[].
      l_xtkomv[] = l_doc-xtkomv[].
      l_xekkn[] = l_doc-xekkn[].
      l_xekek[] = l_doc-xekek[].
    *l_xaend[]    = l_doc-xaend[].
      call function lf_fm_name
        exporting
         archive_index              = toa_dara
      ARCHIVE_INDEX_TAB          =
         archive_parameters         = arc_params
         control_parameters         = ls_control_param
      MAIL_APPL_OBJ              =
         mail_recipient             = ls_recipient
         mail_sender                = ls_sender
         output_options             = ls_composer_param
         user_settings              = ' '
          zxekko                     = l_zekko
          zxpekko                    = l_xpekko
      l_xaend                    = l_xaend
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          l_xekpo                    = l_xekpo
          l_xekpa                    = l_xekpa
          l_xpekpo                   = l_xpekpo
          l_xeket                    = l_xeket
          l_xtkomv                   = l_xtkomv
          l_xekkn                    = l_xekkn
          l_xekek                    = l_xekek
          l_xkomk                    = l_xkomk
       l_xaend                    = l_xaend
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
    Lieferabrufdruck fur Formular MEDRUCK ohne Fortschrittszahlen
    form entry_lphe_cd using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = '9'.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
      lf_formname = tnapr-fonam.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = lf_fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
    move the value
      move-corresponding l_doc-xekko to l_zekko.
      move-corresponding l_doc-xpekko to l_xpekko.
      l_xekpo[] = l_doc-xekpo[].
      l_xekpa[] = l_doc-xekpa[].
      l_xpekpo[] = l_doc-xpekpo[].
      l_xeket[] = l_doc-xeket[].
      l_xtkomv[] = l_doc-xtkomv[].
      l_xekkn[] = l_doc-xekkn[].
      l_xekek[] = l_doc-xekek[].
    l_xaend[]    = l_doc-xaend[].
      call function lf_fm_name
        exporting
         archive_index              = toa_dara
      ARCHIVE_INDEX_TAB          =
         archive_parameters         = arc_params
         control_parameters         = ls_control_param
      MAIL_APPL_OBJ              =
         mail_recipient             = ls_recipient
         mail_sender                = ls_sender
         output_options             = ls_composer_param
         user_settings              = ' '
          zxekko                     = l_zekko
          zxpekko                    = l_xpekko
      l_xaend                    = l_xaend
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          l_xekpo                    = l_xekpo
          l_xekpa                    = l_xekpa
          l_xpekpo                   = l_xpekpo
          l_xeket                    = l_xeket
          l_xtkomv                   = l_xtkomv
          l_xekkn                    = l_xekkn
          l_xekek                    = l_xekek
          l_xkomk                    = l_xkomk
       l_xaend                    = l_xaend
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
    Feinabrufdruck fur Formular MEDRUCK mit Fortschrittszahlen
    form entry_lpje using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_xfz,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = 'A'.
      l_xfz = 'X'.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
      lf_formname = tnapr-fonam.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = lf_fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
    move the value
      move-corresponding l_doc-xekko to l_zekko.
      move-corresponding l_doc-xpekko to l_xpekko.
      l_xekpo[] = l_doc-xekpo[].
      l_xekpa[] = l_doc-xekpa[].
      l_xpekpo[] = l_doc-xpekpo[].
      l_xeket[] = l_doc-xeket[].
      l_xtkomv[] = l_doc-xtkomv[].
      l_xekkn[] = l_doc-xekkn[].
      l_xekek[] = l_doc-xekek[].
    l_xaend[]    = l_doc-xaend[].
      call function lf_fm_name
        exporting
         archive_index              = toa_dara
      ARCHIVE_INDEX_TAB          =
         archive_parameters         = arc_params
         control_parameters         = ls_control_param
      MAIL_APPL_OBJ              =
         mail_recipient             = ls_recipient
         mail_sender                = ls_sender
         output_options             = ls_composer_param
         user_settings              = ' '
          zxekko                     = l_zekko
          zxpekko                    = l_xpekko
      l_xaend                    = l_xaend
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          l_xekpo                    = l_xekpo
          l_xekpa                    = l_xekpa
          l_xpekpo                   = l_xpekpo
          l_xeket                    = l_xeket
          l_xtkomv                   = l_xtkomv
          l_xekkn                    = l_xekkn
          l_xekek                    = l_xekek
          l_xkomk                    = l_xkomk
       l_xaend                    = l_xaend
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
    Feinabrufdruck fur Formular MEDRUCK ohne Fortschrittszahlen
    form entry_lpje_cd using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      l_druvo = 'A'.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
      lf_formname = tnapr-fonam.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = lf_fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
    move the value
      move-corresponding l_doc-xekko to l_zekko.
      move-corresponding l_doc-xpekko to l_xpekko.
      l_xekpo[] = l_doc-xekpo[].
      l_xekpa[] = l_doc-xekpa[].
      l_xpekpo[] = l_doc-xpekpo[].
      l_xeket[] = l_doc-xeket[].
      l_xtkomv[] = l_doc-xtkomv[].
      l_xekkn[] = l_doc-xekkn[].
      l_xekek[] = l_doc-xekek[].
    l_xaend[]    = l_doc-xaend[].
      call function lf_fm_name
        exporting
         archive_index              = toa_dara
      ARCHIVE_INDEX_TAB          =
         archive_parameters         = arc_params
         control_parameters         = ls_control_param
      MAIL_APPL_OBJ              =
         mail_recipient             = ls_recipient
         mail_sender                = ls_sender
         output_options             = ls_composer_param
         user_settings              = ' '
          zxekko                     = l_zekko
          zxpekko                    = l_xpekko
      l_xaend                    = l_xaend
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          l_xekpo                    = l_xekpo
          l_xekpa                    = l_xekpa
          l_xpekpo                   = l_xpekpo
          l_xeket                    = l_xeket
          l_xtkomv                   = l_xtkomv
          l_xekkn                    = l_xekkn
          l_xekek                    = l_xekek
          l_xkomk                    = l_xkomk
       l_xaend                    = l_xaend
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
      INCLUDE FM06PE02                                                   *
    form entry_neu_matrix using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
      lf_formname = tnapr-fonam.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = lf_fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
    move the value
      move-corresponding l_doc-xekko to l_zekko.
      move-corresponding l_doc-xpekko to l_xpekko.
      l_xekpo[] = l_doc-xekpo[].
      l_xekpa[] = l_doc-xekpa[].
      l_xpekpo[] = l_doc-xpekpo[].
      l_xeket[] = l_doc-xeket[].
      l_xtkomv[] = l_doc-xtkomv[].
      l_xekkn[] = l_doc-xekkn[].
      l_xekek[] = l_doc-xekek[].
    l_xaend[]    = l_doc-xaend[].
      call function lf_fm_name
        exporting
         archive_index              = toa_dara
      ARCHIVE_INDEX_TAB          =
         archive_parameters         = arc_params
         control_parameters         = ls_control_param
      MAIL_APPL_OBJ              =
         mail_recipient             = ls_recipient
         mail_sender                = ls_sender
         output_options             = ls_composer_param
         user_settings              = ' '
          zxekko                     = l_zekko
          zxpekko                    = l_xpekko
      l_xaend                    = l_xaend
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          l_xekpo                    = l_xekpo
          l_xekpa                    = l_xekpa
          l_xpekpo                   = l_xpekpo
          l_xeket                    = l_xeket
          l_xtkomv                   = l_xtkomv
          l_xekkn                    = l_xekkn
          l_xekek                    = l_xekek
          l_xkomk                    = l_xkomk
       l_xaend                    = l_xaend
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
    Angebotsabsage
    form entry_absa using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      l_druvo = '4'.
      clear ent_retco.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
      lf_formname = tnapr-fonam.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = lf_fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
    move the value
      move-corresponding l_doc-xekko to l_zekko.
      move-corresponding l_doc-xpekko to l_xpekko.
      l_xekpo[] = l_doc-xekpo[].
      l_xekpa[] = l_doc-xekpa[].
      l_xpekpo[] = l_doc-xpekpo[].
      l_xeket[] = l_doc-xeket[].
      l_xtkomv[] = l_doc-xtkomv[].
      l_xekkn[] = l_doc-xekkn[].
      l_xekek[] = l_doc-xekek[].
    l_xaend[]    = l_doc-xaend[].
      call function lf_fm_name
        exporting
         archive_index              = toa_dara
      ARCHIVE_INDEX_TAB          =
         archive_parameters         = arc_params
         control_parameters         = ls_control_param
      MAIL_APPL_OBJ              =
         mail_recipient             = ls_recipient
         mail_sender                = ls_sender
         output_options             = ls_composer_param
         user_settings              = ' '
          zxekko                     = l_zekko
          zxpekko                    = l_xpekko
      l_xaend                    = l_xaend
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          l_xekpo                    = l_xekpo
          l_xekpa                    = l_xekpa
          l_xpekpo                   = l_xpekpo
          l_xeket                    = l_xeket
          l_xtkomv                   = l_xtkomv
          l_xekkn                    = l_xekkn
          l_xekek                    = l_xekek
          l_xkomk                    = l_xkomk
       l_xaend                    = l_xaend
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      if sy-subrc <> 0.
        ent_retco = sy-subrc.
        perform protocol_update_i.
        perform add_smfrm_prot.
      endif.
    endform.
    *eject
    Lieferplaneinteilung
    form entry_lpet using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      data: l_zekko like ekko,
            l_xpekko like pekko,
            l_xekpo like table of ekpo,
            l_wa_xekpo like ekpo.
      data: l_xekpa like ekpa occurs 0,
            l_wa_xekpa like ekpa.
      data: l_xpekpo  like pekpo occurs 0,
            l_wa_xpekpo like pekpo,
            l_xeket   like table of eket with header line,
            l_xekkn  like table of ekkn with header line,
            l_xekek  like table of ekek with header line,
            l_xekeh   like table of ekeh with header line,
            l_xkomk like table of komk with header line,
            l_xtkomv  type komv occurs 0,
            l_wa_xtkomv type komv.
      data: ls_addr_key           like addr_key.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '5'.
      else.
        l_druvo = '8'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      if nast-adrnr is initial.
        perform get_addr_key
                             changing ls_addr_key.
      else.
        ls_addr_key = nast-adrnr.
      endif.
      perform set_print_param using      ls_addr_key
                                changing ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
    *Get the Smart Form name.
      if not tnapr-sform is initial.
        lf_formname = tnapr-sform.
      else.
        lf_formname = tnapr-fonam.
      endif.
    determine smartform function module for invoice
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = lf_fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        ent_retco = sy-subrc.
        perform protocol_update_i.
      endif.
    move the value
      move-corresponding l_doc-xekko to l_zekko.
      move-corresponding l_doc-xpekko to l_xpekko.
      l_xekpo[] = l_doc-xekpo[].
      l_xekpa[] = l_doc-xekpa[].
      l_xpekpo[] = l_doc-xpekpo[].
      l_xeket[] = l_doc-xeket[].
      l_xtkomv[] = l_doc-xtkomv[].
      l_xekkn[] = l_doc-xekkn[].
      l_xekek[] = l_doc-xekek[].
      call function lf_fm_name
        exporting
         archive_index              = toa_dara
      ARCHIVE_INDEX_TAB          =
         archive_parameters         = arc_params
         control_parameters         = ls_control_param
      MAIL_APPL_OBJ              =
         mail_recipient             = ls_recipient
         mail_sender                = ls_sender
         output_options             = ls_composer_param
         user_settings              = ' '
          zxekko                     = l_zekko
          zxpekko                    = l_xpekko
      l_xaend                    = l_xaend
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          l_xekpo                    = l_xekpo
          l_xekpa                    = l_xekpa
          l_xpekpo                   = l_xpekpo
          l_xeket                    = l_xeket
          l_xtkomv                   = l_xtkomv
          l_xekkn                    = l_xekkn
          l_xekek                    = l_xekek
          l_xkomk                    = l_xkomk
    exceptions
       formatting_error           = 1
       internal_error             = 2

  • How to change resolution in Pages to send to a print shop

    I need to send my Card design to the Printer they need it in 300 resolution to make it sharp to print

    You need to determine your finished resolution for every photographic image you use, and as fruhulda says there are problems with transparency being rendered at 72dpi.
    Peter

  • How to open PDF in Form6i and send it to printer

    I am still using very old version of developer which is developer 6i.
    I would like to know how to do the following two things:
    1. open a set of PDF files (which are stored in DB as BLOB) in Form6i
    2. print them all out by a single button click in Form6i
    Thank you.

    I have followed the suggested program codes (with minor modification) listed in:
    http://codasys.com/batch_print_pdf_using_wpg_docload.htm
    There is no compile error; however, there is runtime errors as showed below:
    SQL> set serveroutput on buffer 1000000
    SQL> exec batch_print.p_batch_print_pdf(to_date('2011/02/10', 'YYYY/MM/DD'));
    BEGIN batch_print.p_batch_print_pdf(pa_global.cur_prcs_date); END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 323
    ORA-06512: at "SYS.HTP", line 860
    ORA-06512: at "SYS.HTP", line 975
    ORA-06512: at "SYS.HTP", line 993
    ORA-06512: at "LOAN_ADMIN.BATCH_PRINT", line 17
    ORA-06512: at line 1
    Here is the code I am using:
    CREATE OR REPLACE PACKAGE batch_print IS
    PROCEDURE p_batch_print_pdf(pi_rpt_date IN DATE);
    PROCEDURE p_download_file(pi_rpt_id IN VARCHAR2, pi_rpt_date IN DATE);
    END batch_print;
    CREATE OR REPLACE PACKAGE BODY batch_print IS
    g_rpt_date DATE;
    PROCEDURE p_batch_print_pdf(pi_rpt_date IN DATE) IS
    CURSOR c_rpt_job IS
    SELECT dp.job_exe
    FROM dayend_log dl, dayend_proc dp
    WHERE dl.job_sts = 'FIN'
    AND dl.prcs_dt = pi_rpt_date
    AND dl.seq_no = dp.seq_no
    AND dp.job_typ = 'RPT'
    ORDER BY dl.log_dt;
    BEGIN
    g_rpt_date := pi_rpt_date;
    htp.p('Printing ...');
    FOR r_rpd IN c_rpt_job LOOP
    htp.p('<SCRIPT LANGUAGE="JavaScript">');
    htp.p('DocloadWin = window.open("batch_print.p_download_file?p_id='||r_rpd.job_exe||'"'
    ||',"DocloadWin","width=150,height=150,left=10");');
    htp.p('</script>');
    END loop;
    htp.p('<SCRIPT LANGUAGE="JavaScript">');
    htp.p(' this.close();');
    htp.p('</script>');
    END p_batch_print_pdf;
    PROCEDURE p_download_file ( pi_rpt_id IN VARCHAR2, pi_rpt_date IN DATE) IS
    CURSOR c_pdf_rpt IS
    SELECT *
    FROM rpt_backup
    WHERE rpt_id = pi_rpt_id
    AND prcs_date = g_rpt_date;
    BEGIN
    FOR r_pdf IN c_pdf_rpt LOOP
    owa_util.mime_header('application/x-pdfprint',FALSE);
    htp.p('Content-Length: ' || dbms_lob.getlength(r_pdf.report));
    owa_util.http_header_close;
    wpg_docload.download_file( r_pdf.report );
    END loop;
    END p_download_file;
    END batch_print;
    Please help!

  • Which SQL Server Edition support how many sessions to the instance from SQL Management Studio on the client side

    Hi,
    I'm looking for some help on the below query to verify which version of sql server edition supports multiple or N number of sessions to the SQL server Instance using the SQL Server Management Studio tool from the client side.
    SQL Standard Vs Enterprise.
    your urgent help is much appreciated.
    Br.

    Hello,
    See Maximum Capacity Specifications for SQL Server =>
    User connections = 32,767; and this value is independent of use SQL Server Version, edition or the used tools, like SSMS in your question 
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Handle  text  using list box in dialog program

    hi,
      I am  working  on  dialog program  , Created  two fileds , one is list  box type  I/O field and another is  i/O  field  which displays  text  based  on  value  selected in list box.
    Please  provide  any  inf  how  to Handle  text  using list box value in dialog program.
    thanks

    Hi,
    <li>Check the screen to know how to set I/O field to set as listbox.[ dropdown box picture|http://2.bp.blogspot.com/_O5f8iAlgdNQ/Sm7RBrqfjcI/AAAAAAAAFaU/RateViiVqrU/s1600-h/drop_down-754481.JPG]
    <li>in the above screen we need to set FctCode  for the dropdown box field so that when you select value from the dropdown box PAI event is triggered.
    <li>screen flow logic like below
    PROCESS BEFORE OUTPUT.
    MODULE values_into_dropdown.
    FIELD g_bukrs.
    FIELD g_text.
    PROCESS AFTER INPUT.
    FIELD g_bukrs.
    FIELD g_text MODULE get_bukrs_txt.
    <li>Logic to fill Dropdown field with values.
      PROGRAM  sapmztest_dropdown.
    DATA: g_bukrs TYPE t001-bukrs.
    *&      Module  VALUES_INTO_DROPDOWN  OUTPUT
    MODULE values_into_dropdown OUTPUT.
    TYPE-POOLS:vrm.
    DATA:
           field     TYPE  vrm_id,
           it_values TYPE  vrm_values,
           wa_values LIKE LINE OF it_values.
    DATA: t001 TYPE t001 OCCURS 0 WITH HEADER LINE.
    IF it_values[] Is INITIAL.
       SELECT * FROM t001 INTO TABLE t001 UP TO 10 ROWS.
       LOOP AT t001.
         wa_values-key  = t001-bukrs.
         wa_values-text = t001-butxt.
         APPEND wa_values TO it_values.
         CLEAR  wa_values.
       ENDLOOP.
    ENDIF.
    field = 'G_BUKRS'.
    CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
         ID     = FIELD
         values = it_values.
    ENDMODULE.                 " VALUES_INTO_DROPDOWN  OUTPUT
    *&      Module  get_bukrs_txt  INPUT
    MODULE get_bukrs_txt INPUT.
    read table it_t100 into wa_t100 with key bukrs = g_bukrs.
    g_text = t001-butxt.
    ENDMODULE.                 " VALUES_INTO_DROPDOWN  INPUT
    I hope that it helps you.
    Thanks
    Venkat.O

  • Print text file to  client side printer

    Hi all,
    I have a character mode report which will print to a client side dot matrix printer in 6i. After converted to 10g, we cannot print to the client side printer (because we don't want to map so many print queue from the AS).
    So, I try to generate the report to a text file, then use webutil to transfer the txt file to the client PC, and then use Client_HOST to call the window PRINT command to print the text file to the client side printer.
    I have test this is successful, however, when I try to do the same thing to a report with Vietnam character, then it is not.
    The print request is sent to the printer, but the printer have no response.
    But that file can be print successfully if I open in Notepad and then print manually.
    I try to use window TYPE command and COPY command, but still have no luck.
    Can anyone give me some suggestions for this....
    Thanks!

    Qiu (guest) wrote:
    : In the browser/applet, the default "print" button can only
    print
    : screen to local printer, not the data I want. Use Report
    server,
    : I can't directly print to client side printer. Is there a way
    to
    : print data to local printer after press a button?
    Are u using Run_Product function in the when button pressed,
    then u can specify the format in which u want the output, option
    available are HTML and PDF, report server runs the report on the
    server and sends the output to the client machine. On the client
    machine u have to open the file and print it. I cannot print the
    report itself on the client machine.
    Try.
    Sailesh
    null

  • Send direct print to printer from client, Reports 10G, Windows environment,

    We are using windows 2003 based server. Oracle Form and Report Services . Database 10g . Reports 10G.
    Trying to send direct print to printer from client side using Destination Parameter : Printer.
    I am getting output in pdf at client side. but direct print to printer is failed.

    Make sure that the client printer is also known on the application server, since that is where the print job is generated.

Maybe you are looking for

  • How to make a envelop distort like in this image

    Hey guys I wanted to know how can i make a envelop distort like this image in adobe illustrator CS6. Im running it on Windows 7.

  • Settlment to AUC in error

    My client has settled from a WBS in previous financial year to an auc by mistake. We have opened up the previous year and have reversed settlement. However we need to change the settlement rule to post to a GL in that same year. Any suggestions????

  • Move entire music library

    I run out of hard disk space so I got an external one. I think I could make use of the external one to hold my entire iTunes library, which is kind of huge, so that the internal storage can be freed up a bit. But I know moving the entire library is n

  • Trying to install the Elements 9.0.3 upgrade and Camera Raw 6.5 upgrade.

    I installed Photoshop Elements 9 to my Mac and am trying to install the Elements 9.0.3 upgrade and Camera Raw 6.5 upgrade. The contact customer help button takes to me to a "This serial number is not for a qualifying product" page.

  • Correct way to do this

    I have a service method invoked from a SwingWorker (tied to button press). The service method fires off a bunch of thread as it loads stuff out of the db. This is a long running task. The goal is to update progress bars on the gui as the long running