Retrieving default printer without saving it in user profile default

I need to retrieve the default printer. If I save it in the user profile, I can retrieve it with FM SUSR_USER_LOGONDATA_GET.
I want to avoid having to set default parameter for large user base. Is there a function module that can read default printer when it is not saved in user profile.
Thanks

Method:
CL_GUI_FRONTEND_SERVICES->REGISTRY_GET_VALUE(
ROOT = 1
KEY = Software\Microsoft\Windows NT\CurrentVersion\Windows
VALUE = Device

Similar Messages

  • How to print to default printer without any prompt?

    Hi,
    I would like to print on my default printer, without system window with available printers.
    Is it possible?
    Best regards.

    Hi Tevfik,
    Even i have the same problem and don't want to follow this complicated process.
    Did you latter find any easy way out, to update the enterprise app in the Samsung device without user intervention?
    Thank you
    Regards
    Sajan Mathew

  • Print automatically on default printer without having to confirm

    Hello,
    I was wondering if there is a way that an application (for exemple excel of Adobe reader) print without showing the printer popup ? The idea is that when we press print, it does automatically print on the default printer without having to click on OK.
    THanks in advance for your help.

    Hi Gontie,
    Besides Matteo C said, the file created by Microsoft Office would print directly via default printer without any popup window.
    What application did you using to print from.
    If it's browser, this thread may be helpful to you:
    http://stackoverflow.com/questions/1096862/print-directly-from-browser-without-print-popup-window
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Karen Hu
    TechNet Community Support

  • I can't open downloaded files because other USER Profile defaults

    I inherited a laptop using Vista, which has Firefox vs.27.0.1.
    I set up a new user profile for Firefox, using my name.
    When I download a file, it shows up in the download section (the arrow at the top right of the address bar)
    When I click on it and open it...another Users information appears c:/USERS/ADAM/DESKTOP/DESKTOP
    The file tries to open and then disappears.
    How to I change my setup so that I can download AND open files without them being blocked by the original user?

    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Change default homepage for all windows terminal user profiles

    would like to change homepage,bookmarks,proxy settings for all user profiles on windows server 2003/2008

    You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    *http://kb.mozillazine.org/Locking_preferences
    These functions can be used in the mozilla.cfg file:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes
    *http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
    *http://mike.kaply.com/2012/03/22/customizing-firefox-advanced-autoconfig-files/

  • Where is Acrobat Reader 7.0 (Linux) default printer setting saved?

    I have a GNU/Linux based system with Firefox/Acrobat Reader v7.0 plugin installed.
    I need to set a specific printer for the Reader plugin to use prior to starting the browser.
    In AcrobatReader version 5.x, I modified the file 'AcroRead' which contained the line "*lprCommand:/usr/bin/lpr" and added a '-P Queuename'.
    Is there an equivelent to this in the Reader7.0 environment?
    TIA,
    Tom

    Unfortunately, that doesn't cover requirements.
    This is an environment where I need to configure the printer for the user every time prior to starting the browser. The users are on a thin client; when the client reboots (nightly) any saved configuration is wiped out.
    I need to set the 'user defaults' for each user, on each workstation, every time the software (Firefox, Acrobat Reader, etc) is launched.
    The defaults are not stored on the client system -- they are saved on a network accessible server. Using a shell script, a base configuration downloaded from the network server, and based on various criteria, (location, username, client ID, ... ), various defaults get set every time the workstation boots.

  • How to configure default Printer Storage mode for specific user?

    Dear all,
    When we try to print something from the SAP, we can manually change the settings of the printing by clicking on the "Properties".
    Inside the "Properties", there is a "Ouput Options", extend it, and we can see a field called "Storage Mode". In my screen, by default it is always "Print Only".
    My question is, if the user A must to change the default to "Archive only", and this change only affect this user A, how can I do this ? O
    Thanks in advance.

    Eduardo,
    Could be a long shot, but in the interest of helping you ... maybe the following ...
    - get ABAPer to create a control table listing user
    - add code in RSNASTZZ that says if entry in control table, then update NAST-TDARMOD with '2'
    Let me know if this helps. If not please revert and will try again.
    Thanks,
    Jay

  • Set Default Printer based on user setting using Powershell script

    Hi 
    I would like to create a script that runs on user log off and captures the default printer (set manually by the user) and then another script to reapply the settings (saved upon log off) when the user logs back in.
    This is because local printers are set as default printer (PDF Creator Programs) when we all use Network Printers so this means a user has to set default printer to the network printer all the time.
    I have found this script to start with:
    $Printer = Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select name | out-file C:\temp\Printer.txt
    But the out file looks like this:
    name
    \\PrinterserverName\Accounts01
    Which I dont see how it can be used on another script plus there are spaces after\Account01 
    Any Ideas please?
    M
    Maelito

    Hi Maelito,
    According to your description, you want to export the default printer name to text file, then read this printer name from text file and set the default printer via Powershell:
    #save printer name to text file
    Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select -ExpandProperty name | out-file C:\temp\Printer.txt
    # read printer name from text file and set default printer
    $name=get-content C:\temp\Printer.txt
    (Get-WmiObject -Class Win32_Printer -Filter "Name='$name'").SetDefaultPrinter()
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Output of BA00 to user default printer

    Hi !
    We would like the system to automatically set the output device on BA00 (Sales Order Conf) printouts to the default output device specified in the user profile (SU3 defaults).
    Please let me know if there is a way to do this automatically (without requiring the user to pick their default output device again every time in VA02).
    Thanks,
    Anisha.

    Have you looked at Java Print service API (javax.print)?
    http://java.sun.com/docs/books/tutorial/2d/printing/services.html
    Thanks,
    Dmitri

  • How do I prevent the "Save as" window that started popping up yesterday and just print articles without saving?

    In years of printing articles I could always print without "saving as" first. Is there some setting I need to change or an add-on? I have firefox 3.6.13, Windows XP, HP PSC 2355

    {Ctrl + P} or File > Print
    Is your printer selected at the top in Printer - Name??
    Is '''Print to File''' selected on the right, a little further down??

  • Any way to override default printer settings into a PDF

    Hi -- I work for a large organization that has lots of computers and printers and prints a lot of forms and documents.  We are moving towards more digitization of documents and records including printing forms as needed as opposed to having large sets of forms onhand.  This should save us a lot of time and money once complete as these forms often change and the old process would be to then trash much of these documents and re-print for just one change.  The majority of our printers do have letter & legal trays as well as duplex support, however due to the vast number of users the default printer settings tied to each user and/or computer may be slightly different.  While standardizing all the printer settings across all users/computers would be one solution, we don't anticipate doing this as depending on the job peformed the different settings may be more preferable / advantageous for that user.
    As such the other solution I can think of is to hardcode the specific printer settings needed to correctly print a large document into that PDF file which may differ from that computer's print settings.  For example, the default computer print settings may be to print on just 1 side but duplex would be encoded / scripted directly into the PDF so IRREGARDLESS of the computer/printer settings this document would always print duplexed.
    Is there anyway to do this?  I would need to do more than just duplexing -- ie some form sets would need to be both duplexed and 'fit to printable area' whereas some would need to be only on one page and 'shrunk to printable area', etc, etc.  Our current practice is to insert a 1 page coversheet at the front of each document with the printer settings that need to be used for that form set, however this has been difficult for some users to do and has caused unnecessary time with our IT troubleshooting form printing.
    -Brandon

    Hi Brandon,
    You can use the Print Presets in Acrobat for that purpose. Please follow the steps below:
    1. Open the PDF in Acrobat
    2. Open Document Properties dialog (using Ctrl + D)
    3. Select the "Advanced" tab
    4. In the "Print dialog Presets" section, you can choose DuplexMode as well as Page Scaling for this document.
    Please let us know if this works for you
    Thanks,
    -Shilpi

  • Get default printer in ABAP program ....

    Hi gurus, pls help me ...
         I had a program to print voucher. It show document list, and user can choose some document to print (smartform). Now, if I choose 5 document, I have to choose printer 5 times. Who can tell me the way to get default printer of the desktop which user's using to assign OUTPUT_OPTIONS or something like that!? Thanks for all.

    hi,
    Please refer the code elow..u should be able to crack this roblem..
      data: l_usr01 like usr01.
      CALL FUNCTION 'GET_PRINT_PARAM'
        EXPORTING
          I_BNAME = sy-uname
        IMPORTING
          E_USR01 = l_usr01.
      output_options-TDARMOD = '1'.
      output_options-TDDEST = l_usr01-spld.
      output_options-TDRECEIVER = sy-uname.
      output_options-TDCOPIES = '1'.
      output_options-TDIMMED ='X'.
      output_options-TDDELETE = 'X'.
      output_options-TDLIFETIME = 0.
      output_options-tdnoprev = 'X'.
      output_options-tdnoprint = space.
      output_options-tddelete = 'X'.
    Please, assign points, if u have found it useful..
    Thanks,
    Nivin

  • 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.

  • [SOLVED] Problems with setting default printer in Libreoffice

    Everytime I print in Libreoffice it complains about me not having set the default printer. Where do I do that in Libreoffice or is it refferring to my setup in cups? Also in systemsettings under KDE4 when I try to manage my printer and I try to set it as default I get the following error:
    Der opstod en fejl under CUPS-handlingen: "client-error-forbidden".
    EDIT: Fixed by setting default under cups administration.
    Last edited by fettouhi (2013-12-08 14:48:04)

    mahen wrote:
    bkadoctaj : this is actually exactly what I did as well. It works, although there is still a strange behaviour compared to under Ubuntu for instance :
    - The printer wasn't detected, I had to add it from the CUPS web interface
    - Libo complains about "no default printer" although I definitely set it as default in the aforementioned interface
    (I use cups-usblp and splix-svn due to my specific hardware)
    Hmm, weird... as far as I can tell LibO is using my CUPS-defined default printer as its default.  Thanks for the feedback - you made me glad that I wasn't posting something irrelevant lol.
    Possibly a stupid question but your user is a member of the lp group, right?  I don't have anything set for "Allowed Users" in CUPS but you could also try adding your user there.  Curious to hear of a solution if you find one.

  • Problem in setting default printer in smartform

    i want to set the default printer from Program not from User Default device.
    i am using below fields to set...still system taking printer from user defaults...
    please tell me what more parameters we need to pass,....
    OUTPUT_OPTIONS-TDNEWID = 'X'.
      OUTPUT_OPTIONS-TDIMMED = 'X'.
      OUTPUT_OPTIONS-tddest  = 'AFR1'.
    contraol_param-NO_DIALOG = 'X'.
      contraol_param-PREVIEW = 'X'.

    in the fm u need to make USER SETTING parameter as ' ' most probably it is set to 'X' right now.
    кu03B1ятu03B9к

Maybe you are looking for

  • Embedded video won't play in pdf

    I've embedded a MPEG video in a CS3 document and made a pdf, checking all the boxes InDesign Help tells me to do (I checked "interactive elements" and "Multimedia: Embed all"). It plays great on my computer but brings up errors on anyone else's machi

  • Remote Web Access stopped working

    Alright so this is really strange but i have just recently had problems with this. So one day i went to my domain (bought from GoDaddy.com) in order to get access to my remote web access in windows server 2012 essentials. I have had no problems with

  • Inserting Logo in Form editor

    Hi Friends, Can we insert Company Logo in pay slip prepared using Form Editor? Also, How to display number of days attended in Payslip as it requires calculation i.e.Number of working days - Absence days. I am using negative TM. Thanks in advance. Re

  • [SOLVED] Lineage2 - Hacking Tool

    Hi all, does anyone play Lineage2 through wine? I was trying to run L2 Hi5 and when the game launches I get the message "A hacking tool has been using in your system, please try to play again after clogin unnecessary applications". I think it's a gam

  • Exporting photos with keywords

    I recently organized over 600 family photos and organized each by keywords. I now want to export them to a CD to share. I am exporting the photos for my PC using family around the country. When I export the photos, the keywords don't go with it. Is t