Pages button  in printer dialog box  is deactivating while taking print ?

Hello exports,
while taking print abap reports (developed using smartforms) pages buttoon (from- to) in printer dialog box
is by default is deactivating .How to activate this button ? who will do this one (Abaper or basis guy).
pls help me in this.

Hi,
So, as you see a field "from ... to ...", I think you are talking about the "background print parameters" dialog (this is not the smart forms print dialog, which contains field "page selection").
I don't understand. "Pages from ... to ..." is always displayed, and the user can enter them manually. Do you want to enter pages programmatically?
What is your code or the steps to display this dialog? Is it fully standard or do you use GET_PRINT_PARAMETERS programmatically?
Sandra

Similar Messages

  • Supress Printer Dialog box (Operating System) in Payslip Printing

    Hi All,
    I have design the smartform to print the payslip. In the main window i have created the loop and then  desing the templates to display the details of employee and the wage types.I have only one page in it. I have develop the print program to call the smartfform. But when i try to print the payslip for number of employees the printer dialog box (Operating system Level) is appearing for the number of times the employees i have selected.I am able to suppress the Print Preview dialog box from SAP it is not showing and i have given the parameters to print immediately.But the Problem i am facing is if i select 3 employees the printer dialog box is coming 3 times. i have to click 3 times to print the payslips .
    Mustafa

    Hi,
    Please find the code below. I have made the changes but agian it is asking for the printer dialog box for the number of times the employees i have selected.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
       formname                 = 'ZHR_F_MMG_PAYSLIP'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = V_FM_NAME
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    loop at i_payslip_details.
      gv_control-no_dialog = 'X'.
      gv_control-no_open   = 'X'.
      gv_control-no_close  = 'X'.
      I_SSFCOMPOP-TDDEST = 'ZMMG_Print'.
    I_SSFCOMPOP-TDNEWID = ''.
    I_SSFCOMPOP-TDNOPREV = 'X'.
      AT FIRST.
        gv_control-no_open = ''.
        endat.
        AT LAST.
          gv_control-no_close = ''.
          ENDAT.
    CALL FUNCTION V_FM_NAME
    EXPORTING
       CONTROL_PARAMETERS         = gv_control
       OUTPUT_OPTIONS             = I_SSFCOMPOP
      TABLES
        I_PAYSLIP_DETAILS          = I_PAYSLIP_DETAILS
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endloop.

  • Printer Dialog Box with No. of copies & Print Range.

    I am trying to print a report(oracle) from a form (using a custom PRINT button) and wanted the printer dialog box to appear, for which I used the "WIN_API_DIALOG.SELECT_PRINTER(prtname, port, true)" API in the "When button pressed trigger".
    But this API only takes care of a printer change, my issue here is how do I capture the changes pertaining to Orientation, Number of Copies, Print range etc. I know there is the "Properties - Advanced" option in the printer dialog box but changing values there doesn't help, as I had already mentioned the API passes only printer name.
    So, if any one has faced a similar issue and has a solution,
    PLEASE RESPOND IMMEDIATELY !!!
    Thanks

    Unfortunatley there is no way to give Forms that information. The printer dialog in D2kwutil is only designed to get the printer name / port, none of the other information. Even it it could Forms does not expose an API to effect the PRINT; built-in.

  • Print Dialog-box Pop-Up while doing Post Good Receipt in VL32N

    I have created Inbound delivery for a Purchase Order. When i try to perform Post Good Receipt operation, the material is getting posted to the respective storage location, but the print dialog-box appears immediately. I faced this problem in only one plant.
    Output Conditions are maintained for the specific output type, in that medium is print output and time of output is Print with own application.
    Why the system is giving print dialog box when we perfrom Post Good receipt operation?
    How to avoid this print pop-up dialog box?
    Edited by: Paul Pandian on Mar 21, 2009 3:27 AM

    Hi Pawan,
    As sheer conincidence I should say, I just posted question on this topic just 1 hour back. And based on the comments in your question my problem is also solved. Thanks for that.
    BTW, I can confirm that the settings you have mentioned are correct. As I have tested it.
    Do you want to consider setting for auto GR?
    Logistics Execution -> Warehouse Management -> Interfaces -> Shipping -> Define Shipping Control -> Define Shipping Control at the Movement Type Level -> For movement type 101 we have put the Copy WM quantity as 'Copy WM quantity as delivery quantity and post GR/GI'.
    I hope this helps.
    Kind Regards,
    Prakash

  • Adobe X no print dialog box and program closes when printing

    Have one user who started encountering this problem today:
    Opens up PDF
    Clicks on the Print icon (or File - Print)
    The Print Dialog box never appears
    Adobe 10.1.1 program then immediately closes - nothing in the event log
    Able to get the PDF to print only if right clicking on the file and selecting Print (but don't get to select any Printing options)
    Have tried selecting a different printer with the same results
    Have uninstalled and reinstalled the program
    Any help is appreciated

    iammrbojangles wrote:
    I have a similar problem with the the same printer.  Excel works fine until you ask to print preview, this takes about a minute to appear, and about another minute if you ask it to print too.  Once you've printed and are back in Excel anything you try to do now has a delay.  I've tried then changing the printer i want to use to a networked one which makes Excel return to it's normal self.
    I've also tried sharing this printer to make sure it wasn't the PC but it is the same on any I've tried.

  • Print Dialog box has changed along with printing function

    I installed the latest update and now when I print there is a new dialog box. The problem is on a multi page job it only pulls a few pages from the paper tray and then makes me use the manual feeder for the remaing pages, All paper sizes of the print job are the same and I only have one tray. I am printing on a Brother MFC 4860N. Any solutions? Thanks

    Carolyn -
    Thank you for your respose of 5/1/09 -- sorry for the delay in getting back to you.
    1.) I tried your suggestion, but the problem is that Apple and HP have worked to include all/most of the HP software into OS X v. 10.4.11 and beyond. I did not find in my user/.../Library/Preferences .plist files directly referencing my HP 990 Cse printer, which was the only printer not displaying the Printer Dialogue Box.
    Open your User/..../Library/Preferences to see the list of .plist files for HP and other manufacturers.
    The open the [top level] your-hard-drive/library/Printers/HP to see the [root=basic] files which, I believe, are the actual OS X system files which are on the original System CD or are downloaded for the updates.
    2.) I finally got the Printer Dialogue Box for the HP 990 Cse to work --
    a.) I ran the OS X Printer Setup Utility app.
    b.) I then dragged the icon for the HP 990 Cse printer to the trash; and emptied the trasn.
    c.) Restarted the OS X.
    d.) Ran the OS X Printer Setup Utillity app again
    e.) When the HP 990 Cse did not appear in the list of printers I clicked the "Add" icon.
    f.) I selected to add the HP 990 to the Printer List
    g.) Nothing happened when I tried to access the HP 990 Printer Dialogue Box.
    h.) I did a restart.
    i.) I then did a print job using the HP 990.
    j.) When the HP 990 icon appeared at the right end of the dock, next to the trash, I grabbed it and dragged it to the place in the dock where I wanted it to reside.
    IT WORKS JUST GREAT NOW !!!!
    Thanks for your help, as you helped me consider the problem at a deeper level.
    Samuel

  • How can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • Suppress the Print dialog box in Air /Flex

    Hello,
    I am trying to print the pdf files(which is located in my system) directly in the printer without showing print dialog box .
    I tried to print the screen without displaying print dialog box using flash.printJob.start2().
    but am not able to print pdf files in the printer its printing dark screen only also it just printing the UIcomponent size only. its not printing all d pages available inside pdf file.
    Can you please help me to resolve this issue.

    Hi
    I tried to open a new bug report , that screen itself not displaying properly and I couldnt able to enter any comments there ,I can see only the option buttons.
    and I am trying to print the documents which is having mutiple pages using flash printJob . the following code I have used . here i am trying to Print Textfield .
    Could you please me how can I add document/pdf file/text file instead of TextField.
    va txt:TextField = new TextField();
    txt.text = "Hello Test" ;
    var sheet:Sprite = new Sprite();
    sheet.addChile(txt);
    and in printing
    If(PrintJob.start2(null,false))
    PrintJob.addPage(sheet);
    PrintJob.send();

  • How to suppress the Print Dialog Box?

    Running an (ASP.NET /Crystal Reports 2008) application and using CrystalReportViewer control. Is there way to suppress the print dialog box when I click the print icon on the report tool bar?
    Edited by: juRamz on Aug 26, 2009 2:54 PM

    Hello,
    Sort of, CR needs the info. Only option is to create your own print button that has all the info filled in. It's a Windows Framework Common dialog box that CR calls so it's the OS that is prompting for the info.
    Using ReportClientDoc here's a possible solution, note that this too has a dialog box to select the printer:
    private void button1_Click(object sender, System.EventArgs e) // Print To Printer button
        System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();               
        PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
        CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new PrintOptionsClass();
        //CrystalDecisions.CrystalReports.Engine.PrintOptions newOpts = new PrintOptionsClass();
        pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PaperSize = (CrPaperSizeEnum)
            pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
        rasPROpts.PaperSource = (CrPaperSourceEnum)
            pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
        // new API added to allow changing printing options
        newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
        newOpts.DissociatePageSizeAndPrinterPaperSize = true;
        rptClientDoc.PrintOutputController.ModifyPageMargins(0, 0, 0, 0);
        rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
        MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
    Thank you
    Don

  • Corrupt Print Dialog box

    I recently upgraded Reader to XI and am now getting this corrupt Print Dialog box when I try to print a pdf from within IE10.  Has anyone ever seen anything like this? Windows 8, IE10, Reader XI

    I have 600 users at my company that get the garbled print dialog box with Adobe 9 and IE 11. I used Group Policy to turn on Protected Mode for the Internet and Intranet and now the print dialog box works. Here is where you can find the setting on local group policy (for testing if you are in corporate environment).
    Computer Configuration->Administrative Templates-->Windows Components->Internet Explorer->Internet Control Panel->Security Page. You will then go to Internet Zone or Intranet Zone depending on your needs and then Enable "Turn On Protected Mode". Run a gpupdate from command prompt. Hope this helps.

  • Is here a way to disable the print dialog box?

    I am trying to disable the print dialog box so that a page can print directly from a javascript "print" command. How can I disable the print dialog box so that it will print automatically?

    You can try creating a new boolean preference - '''print.use_native_print_dialog''' - and set it to '''false''' and see it that still works. That pref was removed from about:config a number of versions ago, but the underlying code might still be present, so give it a try.
    http://kb.mozillazine.org/About:config

  • Print Dialog Box for Addon is not showing in Terminal Server

    Dear All,
    I have created a addon for Automatic Sales Invoice printing that prints the crystal report directly to the printer bu opening a
    print dialog box for printer selection through SDK code.
    The Same addon works fine on the server with print dialog box being showing through SDK code.
    But while running on Terminal Server , print dialog box is not showing any printer though printers are redirected to that
    terminal server.I am not getting whether the problem is in my addon or in the terminal server printer settings.
    Please suggest as i need to know the reason urgently.
    Thanks
    Amit

    Hello Edward,
    Thanks for your reply .
    But the problem is that while running on normal server the print dialog box appear with the printer name in my addon for printer selection .
    But while using terminal server , the print dialog box is not getting any printer in the dialog box .That's the major concern for me
    is their any way to check that why the printers are not showing in print dialog box.
    Thanks ,
    Amit

  • Printer dialog box does not appear in Photoshop CS.5

    I use Photoshop CS.5.1 with a Macbook 2013 using version 10.9.5. The printer works perfectly with all other applications but in Photoshop no printer dialog box comes up and the print job does not appear in the printers queue. Anyone the same issues?

    First, try nuking (deleting them and letting the application create new ones) your Photoshop preferences:
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Note: If this process doesn't work for you while you're using a wireless (Bluetooth) keyboard, attach a wired keyboard and retry.
    Important: If you re-create the preferences by deleting the Adobe Photoshop CS6 Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
    Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
    NEW Video! Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here.
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If  you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • Deleting unused printers in Classic print dialog box

    How do I delete unused printers that appear in the printer dialog box? Thanks!

    Open Printer Setup Utility, select the printer you want to delete, click on the Delete icon in the toolbar.

  • Print Dialog Box (Properties is Disable)

    Hi,
    i have a issue with Print Dialog box.
    When user giving print> one print Dialog box coming (Print Screen List) is coming. We are set printer name here.> On the next screen, the system displays a subscreen (Print). Here one box is coming Properties. But that Box is inactive.
    So can we active that Properties box? Is that properties box will related to SAP or Windows printer?
    Regards

    Hello,
    Thanks for response. I am not asking about (Print Screen List) properties.
    After  (Print Screen List), one more Pop ups screen will come. On that screen one Properties is there. I am asking about that.
    Regards
    Manoj

Maybe you are looking for

  • When I try to open an embedded PDF file I get an error "The program used to create this object is AcroExch.exe.

    When I try to open an embedded PDF file (Word doc) I get an error "The program used to create this object is AcroExch.exe. That program is either not installed on your computer, or is corrupt..."  I've tried  about everything from unchecking protecte

  • Can no longer connect to email servers

    Ok, I'm hoping some Mac gurus here can help me out. I've got a primarily Windows-based network here using MS ISA server as a firewall/proxy. Our prepress guys are on various flavors of G4/G5, Panther and Tiger. On Monday, July 5 they suddenly stopped

  • Macbook pro shuts down when my iphone 5 is close.

    When I have my iphone 5 close to my Macbook Pro, my Mac shuts down until I move the phone away from it. I presume the technology in the phone is interrupting the technology of the Mac but it shouldn't do that in my opinion. My friend has the same mod

  • Need Advice on LabVIEW as career

    Hi all my question is really simple. I enjoy doing LabVIEW and want to do more and more work because I enjoy working with it. Any suggestions please that how can develop my self more and more in it and what about doing it for living ..I've been worki

  • How to Access data from SAP Content Server through SAP Portal

    Hi Experts, I want to aceess the data from SAP Content server through portal. Currently I am working on LSO business package. The SAP content server should work like Webdav as we uses KM as webdav. I am trying to use this URL into the CMS address but