How to find windows default printer name

Hi Experts,
I have one requirement.....smartform should print in local default printer.
you might be known in windows we can set default printer name .
Suppose when the user executes my program, smartform should print in the default windows printer. not sap default printer. I tried by giving printer name as LOCL. In that case it is displaying pop-window by showing printer name. I don't want to see that pop-up window.
If I pass printer name in the smartform function module.. it is not displaying pop-up window and printing directly.
For this we need to findout what is the default printer of that particular system.
I think ... there will be method / FM to findout the front end default printer name...
Pls help me..
Thanks in advance
Raghu
Edited by: r badveli on Apr 17, 2009 4:46 AM

Hi Raghu,
Check the following tables to fetch the printer settings of a user.
TSPUSRSEL - Spool: User-Specific Settings
TSP03D   Spool: Device Description (New Format)
So that you can use this detail and can fill the printer name.
Hope this will be useful.
Thanks,
Rajesh.

Similar Messages

  • How to find out the printer name for the Idoc

    Hi guys
    I want to find out the printer name for the Idoc,,some default printer is attached for one idoc,then how can we see the printer name for this idoc.
    Regards
    Madhoo

    Hi,
    For ALE/IDOC the  medium will be either ALE or EDI but not printer.So it might be wrongly attached.As such there won't be any printer attached to idoc.
    Regards,
    Nagaraj

  • Use of windows default printer causes labels to be mis-printed.

    I am printing a crystal report via the vb.net viewer to an avery dennison label printer.
    I have configured the size of the label for the avery dennison into the Seagull driver that exists on the workstation where I am printing the report.
    The crystal report has been configured to use the printer name and page size from the driver on the workstation.
    When I make the Avery Dennison printer on the workstation the windows default printer and print the report to the Avery Dennison printer, the label prints out correctly.
    When I make another printer on the workstation the windows default printer and print the label to the Avery Dennison printer, the label prints across two labels.
    Any ideas?

    Hi Praveen,
    #No of Copies#  in transaction /SCWM/PRWO6   is not actual number of copies . This is more  an index how the number of copies is determined . Please use F4  on this field and you will see that index 2 means "Number of Copies" = 1.
    In Transaction /SCWM/ 60000431 you need to actual number of copies for your document. But this number  is only taken if you set the index in /SCWM/PRWO6 to "0".
    I hope this information helps you.
    Sabya

  • Can Reader pick up the Default Page Size of a printer that is not the Windows Default Printer?

    We have a web based application that generates PDF documents via Crystal Reports.
    We are using Adobe Reader 8
    The PDF pages are displayed within an Internet Explorer window where the the users then print the document.
    The application is designed so the user only gets one chance to print the document (ie they cant come back and change printer settings if they happen to print the document out incorrectly)
    The document needs to be printed on A3 paper, full duplex.
    We have a printer set-up decidated to the printing of the documents generated by this application.  The default page size of this printer is set of A3.
    If we set this dedicated printer as the Windows Default Printer we have no problems at all.  The default page size (A3) is picked up and the document is printed correctly.
    If any other printer is set as the Windows Default Printer (eg one that has a default page size of A4), the users must obviously select the correct printer from the Print Dialogue Box -however when the user selects the dedicated A3 printer, the page size remains as A4 (page size of the Windows Default Printer).  This means the user must remember to change the paper size to A3 each time.
    Out users find IT a struggle at the best of times - anything that makes the process simpler is very welcomed!
    Is there a way to ensure the default page size of the printer is respected when that printer is not the Windows Default Printer?
    Thanks!

    No.

  • How to find out the table name

    hi,
    how to find out the table name in which the data from a particular structure in a particular screen is saved,
    please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
    Thanks,
    chinnu

    Hi Chinnu,
    Below are the tables that are referred to find out the table names
    DD02L Table contains the SAP Tables.
    DD02T Table contains the SAP Table Texts.
    DD01L Table contains the Domains
    DD01T Table contains the Domain Texts.
    DD03L Table contains the Table Fields.
    DD03T Table contains the Table Field Texts. (Language Dependent)
    DD04L Table contains the Data Elements.
    DD04T Table contains the Data Element Texts.
    DD05s Table contains the Foreign Key Fields
    last words with L and T only. L->Database Fetch T-> Text
    And the procedure to retrive the table name is as follows
    1. Go to se11
    2. Enter table name DD03T and execute
    3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields 
      and execute.
    4. you can get all tables which contains the field.
    I hope this will solve your problem
    Regards,
    Chandru

  • How to find out the file name

    Hi,
    In selection screen (parameter) user will give input TXT file from presentation server to upload to SAP. I need to capture the file name only but not the path and need to concatenate with date stamp and need to download error log in XLS file to presentation server.
    How to find out the file name from selection screen?
    I searched SCN threads but not found relavant solution.
    Thanks,
    R Kumar

    Hi
    This code gets only filename from selection screen :
    REPORT x.
    PARAMETERS p_file(100).
    DATA : gv_full_path LIKE  ibipparms-path,
           gv_full_path_string TYPE string,
           gv_filename(100),
           gv_file_ext(3).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Ask user to select file with a popup :
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = gv_full_path.
    Get filename from path :
      gv_full_path_string = gv_full_path.
      CALL FUNCTION 'CH_SPLIT_FILENAME'
        EXPORTING
          complete_filename = gv_full_path_string
        IMPORTING
          extension         = gv_file_ext
          name              = gv_filename.
      CONCATENATE gv_filename '.' gv_file_ext INTO gv_filename.
      p_file = gv_filename.
    I hope it helps.

  • Transaction IW32.How to find out the person name.(Last changed By)

    Hi all,
    When i executed the transaction IW32.Its displays changed by and created by fields. please any body can tell me how to find out the person  name who had made last change with respect to the field changed by.
    Please tell me the table and field name for the field last changed by......
    Regards,
    Munna.

    hi,
    check the table AUFK field AENAM for the order number(AUFNR) in IW32..........

  • How to get windows username printed on each page irrespective of application? we have cm6030f.

    How to get windows username printed on each page irrespective of application? we have HP CM6030F.

    Hi,
    Normally, you will receive a Windows Azure Pass from your local Windows Azure team. Please try to contact your local Windows Azure contact (http://support.microsoft.com/gp/customer-service-phone-numbers?wa=wsignin1.0
    Also, you could see this page
    http://www.windowsazurepass.com/AzureU/AcademicFAQ and apply the free trial azure via (http://www.windowsazurepass.com/AzureU/).
    Q: I am a student. Can I apply for a pass?                     
    A: Windows Azure Educator Grants are only for valid faculty. If your faculty has been awarded a Windows Azure Educator Grant, you will be able to get a pass through him/her for you coursework. If you are interested in learning more about Windows Azure,
    we encourage you to share these Educator Grants with your faculty or sign up for the FREE 3-month trial offer. 
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to find PG.xml file name and path associated with a FUNCTION

    Hi,
    I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
    OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
    How to find PG.xml file name and path assoicated with above funtion.
    Thanks,
    ashok

    Ashok,
    Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
    OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
    OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to find the Standard DFF Name  In oracle apps

    hi,
    How to find the Standard DFF Name In oracle apps
    thanks

    1. Open the form
    2. Choose Tools--> Diagnostics
    3. In the block field choose $DESCRIPTIVE_FLEXFIELD$
    4. Field will show the list of all the DFF's enabled for that form.
    5. Choosing one will display the name of the DFF in the value field.
    Thanks
    Nagamohan

  • Acrobat 8 install forced change to different Windows Default Printer

    Immediately after installing Adobe 8 Pro my Windows default printer changed and I can't get it to stay set to the default that I want. Everytime I restart my computer the Windows default printer is set to the one it changed to after installing Acrobat 8 (not the one I had set as default the last time I used the computer).
    Also, everytime I restart my computer I get a "Please Wait while Adobe Acrobat Installs..." dialog. I also get this dialog the first time I open any MS Office application following every computer restart.
    Win XP

    Aandi - I am going through the Windows Start button... Printers and Faxes, then right-clicking on the printer that I want as my default printer and selecting 'Set as Default Printer'. It remains the default printer until I restart my computer. Then the printer that the Acrobat installation set as the default comes back as the default.

  • My windows default printer is an HP 2015, but when I print anything from Firefox it defaults to Adobe. Can I fix this?

    When I try to print from Firefox, the Adobe PDF printer is pre-selected in the printer dialog box, even though my default windows printer is a laser jet.
    Both printers work just fine, but changing printers every time is a nuisance.
    This happens whenever I print anything on Firefox, including emails.

    Sorry, Firefox doesn't use the Windows "default printer" as the default printer, but rather it uses the last used printer as the "default". That doesn't always happen when the printer involved goes into stand-by and is "offline", from what I have seen on my small LAN.
    Just one of the hundreds of print related Bugs or nuisances in Firefox that I doubt will ever be fixed, until they write all new code for printing

  • How to find out the administrator name

    How to find out my administrator name to unlock the parental control .

    Look in the Apple Menu, in System Preferences, under the Users & Groups pane.
    It should list all your users, by name.

  • How can I set default printer options on an iMac for an HP pro 8500 printer to print in draft mode?

    How can I set default printer options on an iMac for an HP pro 8500 printer to print in draft mode?

    When you use the Canon driver, the 2 sided printing is set in a different location. There is an entire menu dedicated to it (at least on my mx892). The printer dialog box has a menu selector in the middle of the screen (I think it says "layout" by default). If you click on it, you will see the duplexing options at the bottom. Much more flexibility than the single checkbox available with "airprint". The interface is unusual (at least for me) but you can pre-set up many different configurations (Fast Duplex, Fine Single-sided, B&W, Photo, etc etc.)

  • How to find by DEFAULT the EXACT text string (and no more) with Acrobat Pro?

    How to find by DEFAULT (always) the EXACT text string (and no more) with Acrobat Pro? Adobe Acrobat Pro 9.2.0 search engine finds USELESS hits on Mactel with Mac OS X 10.5.8.
    For instance, if I search for "sec" (no quotes) trying to find ONLY hits with sec (for second, like in: it took 20 sec), it finds useless hits like: security, etc (any word containing sec, which is NOT what I want).

    Any idea on how to do it by default with Adobe Acrobat Pro 9.3.1 on Mac OS X 10.6.2 (Snow Leopard)? Thanks.

Maybe you are looking for