Problem when giving print to smartform

Hi,
I had assigned smartform in driver program.when i execute program, after assigning o/p device(LP01), when i click on print, it is asking to select spool request check box, then it is printing layout. But i dont want to select it in foreground. After this if i want to cancel print, it is asking again output device.
Provide any solution....................
Thanks in advance

Hi friend,
You can set your output device type at the driver program itself. So it will not ask for an output type also you can hide the dialog box popup which shows the options for print and print previw, by setting few printer settings in program.
Here is a sample code to get a default device type and set it.
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
  EXPORTING
    i_language    = v_language
    i_application = 'SAPDEFAULT'
  IMPORTING
    e_devtype     = v_e_devtype
x_output_options-tdprinter = v_e_devtype.
x_control_parameters-no_dialog = 'X'.
Here no_dialog = 'X' so the pop up window will not be displayed.
Also possible check whether the printer settings are fine.
I think this will solve your issue. Please revert back to me if you face any issue. I will help you.
Thanks,
Sri Hari

Similar Messages

  • FBL3N : i have a problem when i print a report

    Hi Gurus,
    I have a problem when i print a report from Tcode : FBL3N
    - i didn't have the last line of the report
    - i have two pages : i want just one because it is a small report
    I choosed this Format : X_65_200
    Please help me to solve these issues.
    Thanks.

    Try to choose a layout that has 65 lines.
    If the report is too wide you might change the line layout (take out columns you do not need) until it is ok to print on 1 page.
    Regards
    Hein
    P.S. assign points if useful

  • HT3500 I am using Mac 10.4.11 and I am having a problem when my printer wont print what I tell it too. Please Help

    I am using Mac 10.4.11 and I am having a problem when my printer wont print what I tell it too. Please Help!

    A warm welcome to Apple discussions!
    A 2003 iMac cannot support Snow Leopard 10.6; you'd need an Intel processor and that cannot be retrofitted to your Mac. What does "About this Mac" in your Apple menu say  for your processor speed? What does it say about how much RAM you have?
    If the processor is 1ghz or faster, you can run OS 10.5; otherwise, you are maxed out at 10.4.11.
    Also, are you running any commercial ("pay for") anti-virus or security software? They are notorious for slowing most Macs to a fraction of their speed potential.
    A too-full hard drive can drag down performance, especially if you don't have a lot of physical RAM installed. If you single-click your hard drive icon and then do command i, you'll see the disk usage. Looks like this:
    The value for "Used" should be no more than about 90 percent of "Capacity." In the example image, that drive has about 34 percent of its space used and 66 percent free--more than enough. Please post what you see for your Capacity and Used numbers
    There are a few more things we might check but this is a good start.
    Awaiting your information,
    Allan

  • HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI???

    Question
    HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI??

    Thank you for the response. I tried to fix the problem with some of the suggestions on that page, but none seem to work. I believe that is the only website that I'm having that problem on. I got to fooling with it a bit more and when I highlight the whole page and select to print the selected area, it actually prints the whole page then, but it won't do it as a default. I guess I can just do it like that from now on, but I thought there would be something in the settings that I could have changed. Thanks again for the help.

  • Convert the smartform output to PDF when giving print from vf31

    Hi Gurus,
    I am facing one problem.I developed the program to chnage smartform output to PDF file when giving invoice print from VF02/VF03.
    The same functionality i want to appy when i am giving print for the invoice through VF31.
    I put the break-point in the driver program.But it is not stopping there when i am giving print from VF31.
    How can i do this one..
    Please Help Me.
    Thanks &Regards,
    R.P.Sastry

    Which Program you are putting the Breakpoint?

  • Output Tray 2 does not work when we print a smartforms document immediately

    Dear printer specialists,
    we've the following issue:
    We are printing the same smartforms document in different plants. One plant decided to get the print output into output tray 2 of the printer (lower tray), so we've copied the standard device type into a z-device type and made the SPAD set-up with a preselection for the tray 2 (lower tray). The new device type has been assigned to the output device. Now we made a test and released the print-output for an immediate printing. The output was printed as before in tray 1 (upper tray). When we restart the output from the spool (SP01), the output will be printed in tray 2. Why does this not work, when we print immediately ? Does anyone know how to solve this problem ? (We don't want to change the smartforms document.)
    Thany you for every information to solve this problem.
    Kind regards, Wolfgang

    HI,
    Check if there is a different tra setting in the smartform itself.
    /nsmartforms -> <Form> -> Pages and Windows -> FIRST, NEXT, TERMCOND -> field Resource Name
    Regards,
    Aidan

  • Problem with Barcode printing in smartforms

    Hi Gurus,
    I have  made  changes to the system barcode  height in SE73 from say 1.3 to 0.7 cm. But when I take the printout  from the  barcode printer I am getting  the  barcode with old height.
    My concern is do we  need to do change anything with the  printer settings. If so, where and how? who has to do that?
    -B S B.

    Hi,
    But how do we reduce  the height.
    I changed  the  height of the system barcode (device  independent).
    Print preview looks fine. But when actual printing takes place  still the barcode retains original height.
    Could you please  explain me  in simple steps?
    SAPHelp is more  confusing.
    -B S B

  • S_ALR_87012301 : problem when i print a report

    Hi,
    When i print a report from Tcode : S_ALR_87012301 i have this issue : i have a report without Subtotals knowing that i display them before excuting the print.
    Please advise
    Regards.
    Edited by: jehade el aoumari on Jul 2, 2008 11:50 AM

    Hi,
    Can you please check the following:
    If you want to print a FI list, we always recommend to start it at the
    selection-screen with "Execute and Print" or as a background job.
    Therefore please try one of the two possibilities to avoid the print
    error. Please let me know your findings.
    1. Start the report with "Execute and Print" (Ctrl+P) or
    2. Start it as a background job
    Please review the attached note 953481 and 1149069 for your info.
    Thanks and Regards
    Renata

  • Problem with duplex printing in smartforms

    I have 2 pages in my smartform. both the page are with print mode 'D'(Duplex).
    While printing the first page goes back for duplex printing but the output is printed on next page.
    I want the second page to be printed at backside.
    I have also tried other combination 1st page = D and 2nd page = ''. Nothing is working.
    printer settings are all right also i have a different smartform it is printing in duplex mode and working fine.
    what is the issue with this smartform?
    Please help me.

    hi,
    in your main window of first page at the end adda an alternative -true or false
    in the alternative add a condition saying if it is end of items.(end of items is nothing but a flag).
    if this condition satisfies then call page 2 else call page1.
    if it stil does not work then reply back then will give you another answer.
    but before this is your output going to have multiple pages?

  • Feature: Saving image. Problem: When giving name, as default name and extention are highlighted. I want only the name to be highlighted.

    When saving items via firefox, like a picture, the name and extention are highlighted, e.g. "nameofpicture.gif"
    Can I change it so that it only hightlights the name and not the extention, e.g. "nameofpicture"?
    See link to picture of problem...
    http://fonon.co.uk/wp-content/uploads/images/firefoxproblem.png

    David,
    I don’t have the option to append the file extension.  I am using:
    Adobe Photoshop Elements Version: 11.0 (11.0 (20120830.r.32025)) x32
    Operating System: Windows 8 64-bit
    Version: 6.2
    Any ideas?
    Thanks,
    Rich
    Sent from Windows Mail

  • MB90 print problem when using print preview

    Dear Expert,
    We have print problem using transaction code MB90.
    After input data on transaction MB90 and then we choose print preview.
    Output document will be displayed, then the problem occurs, print icon and print menu are grey out.
    Please your advice.
    Thanks and Regards

    Hi,
    Just to check, is the Printer configuration complete?
    http://wiki.sdn.sap.com/wiki/display/Basis/HowtoConfigurePrinterin+SAP
    http://help.sap.com/saphelp_nw70/helpdata/en/d9/4a971d51ea11d189570000e829fbbd/content.htm
    http://basissap.blogspot.in/2008/06/how-can-you-configure-printer-explain.html
    Regards,
    Srikishan

  • Problem when giving value to an h:inputText object

    Hi,
    While creating my JSP, I added the value property to an h:inputText, h:inputSecret and a h:outputText with properties that belong to a managed bean. When I surrend the properties with the "#{}" symbols my panle grid turns red and the elements that I have located after the h:inputText are not visible.
    The log says:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at com.sun.faces.el.ValueBindingImpl.getValue(Unknown Source)
         at com.sun.faces.el.ValueBindingImpl.getValue(Unknown Source)
         at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:191)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:169)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)The body potion of the jsp looks like:
    <body style="-rave-layout: grid">
                    <h:form binding="#{testingBinding$login.form1}" id="form1">
                        <h:panelGrid binding="#{testingBinding$login.gridPanel1}" columns="2" id="gridPanel1"
                            style="height: 62px; left: 24px; top: 48px; position: absolute" width="336">
                            <h:outputText binding="#{testingBinding$login.outputText1}" id="outputText1" value="Name"/>
                            <h:inputText binding="#{testingBinding$login.txtName}" id="txtName" value="#{userBinding.username}"/>
                            <h:outputText binding="#{testingBinding$login.outputText2}" id="outputText2" value="Password"/>
                            <h:inputSecret binding="#{testingBinding$login.sfPassword}" id="sfPassword" value="#{userBinding.password}"/>
                            <h:commandButton action="#{testingBinding$login.btnLogin_action}" binding="#{testingBinding$login.btnLogin}" id="btnLogin" value="Login"/>
                            <h:outputText binding="#{testingBinding$login.outGreeting}" id="outGreeting" rendered="false" value="Welcome, #{userBinding.username}"/>
                        </h:panelGrid>
                    </h:form>
                </body>The managed bean has been declared as
        <managed-bean>
            <managed-bean-name>userBinding</managed-bean-name>
            <managed-bean-class>com.binding.UserBean</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>The page renders properly in the browser, but not in Studio Creator, where I need it for development. If I remove the "#{}" symbols the page randers properly in Creator as well.
    Does anyone have an idea how to fix this or why this happens?

    It looks like your userBinding bean is not being instantiated at design-time within Creator, and thus is not accessible via EL.
    Did you add the managed-bean fragment to Creator's managed-beans.xml file by hand? Or, did you create this bean using Creator?
    If it is the former, then the problem likely stems from a limitation in Creator's ability to model external managed beans. That is, beans added to managed-beans.xml that are not actually constructed in Creator may not be instantiated.
    I'll make sure this gets logged and added to our todo list.

  • WLPI 2 - problem when giving machine new IP Addr

    I've just recently moved my PC and now have a new IP address. but when I start
    myDomain server for WLPI 2 I get the exception below. The Connection Manager seems
    to have stored my old IP address somewhere. any suggestions?
    <27/08/2001 10:36:33> <Info> <ConnectionManager>
    <Bootstrap unable to get a direct: 'Protocol: 't3''connection to: '0S:192.168.1.190:[7001,
    java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.net.NoRouteToHostException: Operation timed out: no further information
    java.net.NoRouteToHostException: Operation timed out: no further information
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
    at java.net.Socket.<init>(Socket.java:273)
    at java.net.Socket.<init>(Socket.java:127)
    at weblogic.rjvm.t3.T3JVMConnection.newSocket(T3JVMConnection.java:324)
    at weblogic.rjvm.t3.T3JVMConnection.newSocketWithRetry(T3JVMConnection.java:312)
    at weblogic.rjvm.t3.T3JVMConnection.connect(T3JVMConnection.java:74)
    at weblogic.rjvm.t3.T3JVMConnection.createConnection(T3JVMConnection.java:148)
    at weblogic.rjvm.Protocol.createConnection(Protocol.java:201)
    at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1077)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:365)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:330)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:228)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:188)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:180)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:149)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:207)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:235)
    at weblogic.jndi.Environment.getContext(Environment.java:135)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:118)
    at weblogic.transaction.internal.JNDIAdvertiser.getCachedCoordinator(JNDIAdvertiser.java:292)
    at weblogic.transaction.internal.JNDIAdvertiser.getSubCoordinator(JNDIAdvertiser.java:135)
    at weblogic.transaction.internal.ServerSCInfo.getSubCoordinator(ServerSCInfo.java:480)
    at weblogic.transaction.internal.ServerSCInfo.rollback(ServerSCInfo.java:289)
    at weblogic.transaction.internal.ResourceDescriptor.rollbackXids(ResourceDescriptor.java:1033)
    at weblogic.transaction.internal.ResourceDescriptor.recover(ResourceDescriptor.java:944)
    at weblogic.transaction.internal.ResourceDescriptor.access$0(ResourceDescriptor.java:913)
    at weblogic.transaction.internal.ResourceDescriptor$1.execute(ResourceDescriptor.java:713)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Paul
    This is a result of the tlogs getting mixed up. If you change ip
    addressed then you should potentially remove the .tlog files in your
    application/logs directory
    Thanks
    Tony
    "Paul Rooney" <[email protected]> wrote in message
    news:[email protected]...
    >
    I've just recently moved my PC and now have a new IP address. but when Istart
    myDomain server for WLPI 2 I get the exception below. The ConnectionManager seems
    to have stored my old IP address somewhere. any suggestions?
    <27/08/2001 10:36:33> <Info> <ConnectionManager>
    <Bootstrap unable to get a direct: 'Protocol: 't3''connection to:'0S:192.168.1.190:[7001,
    java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.net.NoRouteToHostException: Operation timed out: no furtherinformation
    java.net.NoRouteToHostException: Operation timed out: no furtherinformation
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
    atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
    at java.net.Socket.<init>(Socket.java:273)
    at java.net.Socket.<init>(Socket.java:127)
    atweblogic.rjvm.t3.T3JVMConnection.newSocket(T3JVMConnection.java:324)
    atweblogic.rjvm.t3.T3JVMConnection.newSocketWithRetry(T3JVMConnection.java:312
    atweblogic.rjvm.t3.T3JVMConnection.connect(T3JVMConnection.java:74)
    atweblogic.rjvm.t3.T3JVMConnection.createConnection(T3JVMConnection.java:148)
    at weblogic.rjvm.Protocol.createConnection(Protocol.java:201)
    atweblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.jav
    a:1077)
    atweblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:365)
    atweblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:330)
    atweblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:228)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:188)
    atweblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:180)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:149)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:207)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:235)
    at weblogic.jndi.Environment.getContext(Environment.java:135)
    atweblogic.jndi.Environment.getInitialContext(Environment.java:118)
    atweblogic.transaction.internal.JNDIAdvertiser.getCachedCoordinator(JNDIAdvert
    iser.java:292)
    atweblogic.transaction.internal.JNDIAdvertiser.getSubCoordinator(JNDIAdvertise
    r.java:135)
    atweblogic.transaction.internal.ServerSCInfo.getSubCoordinator(ServerSCInfo.ja
    va:480)
    atweblogic.transaction.internal.ServerSCInfo.rollback(ServerSCInfo.java:289)
    atweblogic.transaction.internal.ResourceDescriptor.rollbackXids(ResourceDescri
    ptor.java:1033)
    atweblogic.transaction.internal.ResourceDescriptor.recover(ResourceDescriptor.
    java:944)
    atweblogic.transaction.internal.ResourceDescriptor.access$0(ResourceDescriptor
    .java:913)
    atweblogic.transaction.internal.ResourceDescriptor$1.execute(ResourceDescripto
    r.java:713)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • Problems with graphics when I print

    Hi,
    I have a problem when I print out a document that containing a graphic element, in this case a diagram. The bars doesn´t look the same on the screen as it does on the printed paper. I suspect that it could have to do with the postscript in the diagram. Is there some way I could turn the graphics in my PDF, to become just graphic (plain JPEG) and still have my text editable? I have found a way to turn the hole PDF into a none editable PDF, but my wish is only to do it with the diagrams.
    I hope there is someone out there with a solution.
    Best regards,
    Martin

    Starting with the image itself, what kind is it? Where is it located, locally or on a network? How is it inserted in the FM file, i.e.  by reference or as an OLE object?
    Is this a single file or a book with multiple chapters? If it's multiple chapters, does the graphic behave correctly when PDFing the individual chapter? Are there other images of the same type and location that do print correctly?
    Can you confirm whether either or both systems have had the MS hotfix 952909 applied:
    > here are two links for the hotfix:
    >
    > http://blogs.adobe.com/techcomm/2008/07/hotfix_for_framemaker_1.html
    >
    > http://support.microsoft.com/kb/952909/en-us

  • When I print my photoshop images white areas print grey

    Using my Epson Photo1500W images created in photoshop print grey in areas that should be White. There is no problem when I print images I have created in Illustrator or when I when I transfer the photoshop image into Illustrator. Any clues ? thanks Mikki

    Did this problem recently start, or has it always been this way? Maybe a Preferences reset would fix it.
    Windows - CTRL-SHIFT-ALT immediately after you double-click the PS icon.
    Macintosh - CMD-SHIFT-OPTION immediately after you double-click the PS icon.
    Look for the "Delete Photoshop Settings File" dialog and click "Yes".
    If that is not the case:
    Check your Printer settings, they are independent of Illustrator.
    Look at the Print Dialog, see what Color management section looks like.
    You  have a choice to let the Printer or Photoshop manage colors. See what works best.

Maybe you are looking for

  • How to move records from one table to another?

    Is there a way to copy data and column names from one table to another table? I am trying to copy one production database table onto the development database. we are using Oracle 10g. I tried exporting to an xls file and importing to the other table

  • PDF file prints fine from Acrobat reader XI, but not Acrobat Standard XI

    I have a 2 page document that is set up as tabloid 11x17, meant to be printed duplexed and folded as a 4 pamphlet.  The document with the same printer settings prints fine from Adobe Reader XI but from Adobe Standard XI, Page 1 prints fine, but page

  • Key figures should be normally "summation" or "overwrite"

    Hi all, I know the answer to this question is "it depends on your requirement" but I want to know normally do we have to keep the key figures as summation or overwrite ? Thanks, KM

  • CPU usage is 98% when running my exe labview program

    Hi I have made an executable and installer for my labview program. When I install and run, the program uses a lot of cpu - almost 100%, even when the program is not computing. I recently changed over to LVIEW 8.2 from LVIEW 7.1. I had none of these i

  • Firefox causing machine to hang/freeze

    I've been having this problem for a while and haven't had time to investigate. Googling and looking at logs have not helped. The machine is a Thinkpad T42. At some point in my browsing, the entire machine freezes; I can't even get in with ssh. It see