Default printer during printout program

hi guys,
how does system get the default printer for report printout if the su01 for default printer field is empty

HI Balu,
the program uses FM BP_JOBVARIANT_SCHEDULE to submit background job.
For user A , it always set the default printer to LPO3 even SU01 sets to NWO5,
while user B can get the correct printer NWO5 as per its SU01 setting.. how come both users can get different printer from the same program .
Initially i thought it depends on SU01 , but even user A has changed its default printer to NWO5, still system will take LPO3.. plz advice

Similar Messages

  • 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

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

  • Program only prints to postscript even though default printer is showing

    Does anyone know how to "undo" a program or application from printing to postscript vs. the default printer. i believe i did this (in reverse) by accident in the GO To file, while trying to load my printer manually.
    as well, all of my children's games that have printer applications (for coloring pages and so forth) won't print, even though the printer is set up on the mac.

    Try Reset Printing System - you then need to re-add the printer in Print & Fax prefs:
    http://support.apple.com/kb/HT1341

  • Wrong default printer crashes program

    Using PSE 9. When printing it selects an old printer that is no longer available. When I select the correct printer the program crashes. How do I reset the default printer? I've un-installed and re-installed with no solution. Computer is a PC running Windows 7 Professional.

    Printer works with all other apps. I have been able to print with an earlier version of PSE (4.0), but just upgraded to v9. It's not the printer ... printer works just fine. PSE posts the following error when I switch to the correct printer then back to the initial selection (which no longer exists):
    "could not complete your request because an error occurred while printing". It did just occur to me that I'm connected to the printer through the router, to which the printer is also connected ... I guess it's possible that I need to be USB connected to the printer for PSE to sort it out ... but that's not very logical.
    BTW, I'm a computer tech and have been since 1983, so when I have a problem ... it's typically a real PROBLEM in capital letters, if you know what I mean. All the easy stuff has long since been tried. Thanks for the suggestions.

  • Printout always sent to default printer

    Hi All,
    Every time I select 'LOCL' and send a print.. irrespective of what printer I select the printout is always sent to the windows DEFAULT printer. Can someone plz help me understand the situation?
    Thanks in Advance..
    -Muktar

    Hi ingeneral LOCL is configured as Default Printer in most of the systems. That means LOCL is not itself a printer, but this is what the printer local to the system. that's why print out is always going to defualt printer...
    Check with any other printer. Observe the description properly. In description Default pronter will be specifed clearly...

  • Problems printing from other programs after printing using Word automation

    I have an application that uses ActiveX to build a Word document. My print VI is attached. The problem that users are reporting is that after printing a report with my application, they can't print from any other programs until they restart their computer.
    After my print VI runs, the only other Word automation is Document.Close and Application.Quit. I close all my references religiously and winword.exe closes just fine. I don't know what would be hanging around causing other programs to have trouble printing. One thing I don't like is the ActivePrinter property in Word. It changes the default printer in Windows. This is why I reset it using the printer LabVIEW reports as the default. I tried reading ActivePrinter and storing it in a wire, then resetting it with this string, but then even weirder things happened - the printout got all messed up. This is why I'm using the printer that LabVIEW says is the default.
    Has anyone ever encountered anything like this?
    Message Edited by Marc A on 01-12-2007 11:03 AM
    Attachments:
    Word_print.PNG ‏18 KB

    goldn:
    Welcome to the Apple Discussions. Just ran a test and I got a perfect card. Here's what I did.
    1 - create the card and type Command-P.
    2 - select Stylus Photo R200 under Printer
    3 - click on the Advanced button
    4 - in the bottom drop down menu select Paper Handling
    5 - select the radio button "Use documents paper size: 7.00 in x 10.00 in
    6 - now select Print Settings in the 3rd drop down menu
    7 - select the type of paper you're using and the print quality you want. I used Photo and High Speed. (also used plain paper for my test)
    9 - put a piece of 7 x 10 paper in the printer (yes, you'll have to trip the paper beforehand or use card stock designed for this)
    10 - click on Print
    11 - when the paper exits the printer quickly put it back in the printer
    That will do it. Now there is a caveat. Putting it back into the printer before drying tended to get my leading edge nipped. If you use heaver card stock I don't think that will happen but just be aware. If you wait a moment to put the page, turned over, back into the printer to let the ink dry a bit, all you'll have to do is press the middle button which will be blinking red and that will feed the other side thru when you're ready.

  • The default printer in SP01

    Hi all,
    we have a custom program ZHSP_RM_AUTINV_0001.
    we execute this program giving co.code and vendor number.
    while executing it ( "Execute and print" OR "Background" ), selecting the output device as 'X'.
    and when i go and see in the spool (SP01), the output device default taking 'Y'.
    whatever output device i select OR leave blank while executing program, the default printer in spool remains 'Y' only.
    please let me know how to change this default printer ?
    i want to print to which ever printer i select during execution.
    Thanks,
    Shwetha

    Hi,
    U can change the Default Printer in SU01 (User Own data Maintainance).
    After entering into SU01 give the user name and click on change button, here select 'Defaults' tab.
    In Defaults tab in block Spool Control, give the OUTPUT Device name whatever u want.
    Hope it helps!!
    Rgds,
    Pavan

  • NI Reports print function default printer behaviour

    Just an FYI... Using the NI Reports Print Report.vi without wiring the printer name does not always work as expected at least for Excel. If you do the following with an Excel worksheet:
    1) Print to "Printer1"
    2) Print to "" (default)
    The second printer operation will print to "Printer1" because it is now set as the 'Active Printer' in the open Excel workbook.
    The Print Report.vi does not actually write the name of the default printer to the Excel _Print.vi PrintOut method. It passes an empty string, so Excel will print with the current active printer which may or may not be the default printer. 
    The Print Report.vi documentation should probably be changed to reflect that passing an empty string to the 'printer name (default)' terminal will not print to the default printer in all cases.

    That is all good information - and all information which I already know and which does not answer my question.
    The issue that I am having is that Safari and Safari alone is ignoring the printer setting. Could be something in the Safari plist file or somewhere else in Safari that is not working correctly - or at least I am assuming that it is a problem that Safari is not doing what it is supposed to for some reason - rather than Safari deliberately being programmed to ignore the system pref for printer setting.

  • Set default printer in free Reader app for Windows 8?

    Is it possible to set a default printer for the free Reader app?  We're new to Windows 8.  We set our HP as the default printer in the windows control panel, and the setting works for our other programs like word and IE, but the Reader app forces us to choose the HP printer every time we try to print a doc.  We have to click the More options and choose the printer from the list.  OneNote and the MS Document writer come up first in the list, and we don't use either of these.

    Photoshop CS4 uses an old (introduced in Win16?) printing API that limits the printer name length to 30 or 31 characters. With your printer name, that gets you halfway into "Series" and anything past that will be ignored.
    The simple solution is to rename your printer to something shorter. Go into the control panel, printers and faxes, and right-click on the printer and choose "Rename" and rename the printer. That should resolve the problem.

  • Is there a way to print a pdf to a pdf without changing your default printer?

    With the recent Adobe update (current version Adobe Pro XI Pro (1637-0001) 11.0.00), there were some changes that have caused a program my company uses to distort all or part of a pdf once it has been imported. We have found a work around. However, the work around is now becoming time consuming with the amount of files we deal with on a daily basis. Is there a way to print a pdf to a pdf without changing the default printer to the Adobe printer? (this is our work around solution).
    Thanks!

    For what you are trying to do, probably not. You have to open Acrobat and go to the print menu to select the Adobe PDF printer if it is not the default. The only possibility that I can think of (you will have to try it to tell if that is the case) is to drag the PDF to the Adobe PDF printer and see if it prints. This used to work, but I just tried it in Win7 and it did not do the job.

  • Cannot set Windows 7 default printer in Boot Camp

    I discovered today that I cannot set a default printer in Windows 7.  I right click, and try to make one of the printers default but there is no check mark.  One of the programs that I use says I do not have a printer installed. 
    I can print to my printers using Word by selecting the printer that I want but cannot select a default in control panel.
    If I access Windows programs using a VM Fusion, the program that says there is no printer installed in boot camp, does not give be this message and I can select a printer.  BTW, I have never been able to select a "default printer" using VM Fusion.
    The only thing unusual is I had to reactivate Windows for no apparent reason last week and I cannot select all of the Themes available in the personalize menu. 
    It is difficult to pinpoint when the printer issue started because I mainly access my Windows programs through VM Fusion.  I am guessing the changes happened when I had to reactivate Windows
    I am away from my iMac currently and was wondering if anyone has experienced this and/or have a suggestion.?
    Thanks,
    Roy

    Update.
    Apparently this is a Windows Registry issue.  Looks as if there is a VM Fusion driver set as default (thinprint??)  I cannot delete or modify this registry key.  A new profile solves this issue and I will have to copy everything over to the new profile, if I cannot get this registry key issue solved.  I will post on a Microsoft board to see if there is a solution.
    Roy

  • How do I get Firefox to recognize my new default printer as the old default printer is no longer connected?

    I have installed a new default printer in my computer which is running Windows XP Pro. When I try to print from the browser it keeps showing the old printer which is no longer connected to the computer. Every other program has recognized the new default printer. The Control Panel indicates that the new printer is the default.

    You can force Firefox into forgetting the old printer.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''print.print_printer''', right-click on it and choose '''Reset'''
    # Restart Firefox

  • Setting new default printer from tcode VF

    Hi friendz,
    im here again..:-) hope u dont mind..
    i have a problem in setting the default printer in tcode VF02...actually the scenario is we bought a new printer..and the program in billing documents always default it to the old printer...so i tried to change the printer from old to new.
    and tried to change the default printer thru the following :
    1.change the new default printer from settings->printer
    2.change the output in VF02 tcode from GOTO->header->output->communication method
    3.change it from billing document->issued to output ->print options.
    but all of these is i need to change it per document no...
    now...how will i default it only once..and all documents i my print will default the printer to the new printer..
    do you have any idea to change the default printer to SPRO? because i check the output type is rd07...and i have no idea where to change it...
    Please help:-(
    aVaDuDz

    u havnt seen my reply to ur POST ?
    in SPRO -
    >under Output determenations --> u will get a options to maintain printers as per Output type.
    i forgotten directly path to go inside.
    VOPA something like this.
    Regards
    Prabhu

  • How to set default printer in CS5

    I've been using Photoshop CS5 x64, in Windows 7 x64, ever since it came out. I print photographs on an Epson Stylus Photo R2400. I also have an HP Laserjet, for printing documents.
    Whenever I am printing photographs, I change the default printer, in Control Panel, Devices & Printers, to the Epson. Until the last couple of weeks, this has always put the Epson in the default position in the 'Printer' field of the Print Dialog.
    But now the printer field always shows the HP Laserjet.
    This isn't true in any other program. MS Word 2010, Adobe Acrobat, Notepad, Opera, Internet Explorer: they all show the Epson as the default printer. So it seems more likely to be a Photoshop problem than a Windows problem.
    I have the latest Photoshop update, and Windows 7 Service Pack 1. I have the latest drivers  (2007) for the Epson. And I've trashed my Photoshop prefs.
    Is there a solution to this problem?
    Thanks
    Mary

    Noel
    >>If you change the printer in the Photoshop Print dialog, choose [Done], then re-save the PSD, does it come up next time with the proper default?<<
    Well, yes it does, to my surprise--whether I save as PSD or TIF. This is true both of new files (via file dialog) and of existing DNG files newly saved as TIFs in Camera Raw.
    I've now tried opening old files other than the ones I've been working on for the past month. They all default to the Epson printer--not surprising, since I always save files after printing, so that the print settings stick.
    The problem files are the ones I've worked on recently. When opened, they all default to the HP printer. So I'll have to open, change Print settings and save about 200 files. I'll write an action.
    I can't imagine how they got set to the HP in the first place. I've tried turning off the Epson and creating a new file: the Print dialog still says Epson R2400.
    Thanks for your message. It got me to focus more closely on just which files were problematic.
    Mary

Maybe you are looking for

  • Creation of Material Master Data

    I am creating a material master for a finished product. On the basic data 1 tab, i clicked the additional data tab, then the Unit of Measurement to maintain an alternative unit of measure. I am having an error message saying that  "Decimal places are

  • How to find query/program/rdf behind EBS default XML reports

    There is a report in Purchsing Module "Standard Purchase Order " its data group name is "Standard Purchase Order Data Source" and Code is "PO_STANDARD_PO". i couldn't find its concurrent program. I am looking for query behind this report. how can i f

  • T400 to Sony Bravia KDL46EX500

    Hi - I am trying to have my T400 play movies or TV shows from the internet to my Sony Bravia KDL46EX500.  As described in the TV manual, I connect a 15 pin cable to the VGA output on the laptop and plug the other end into the RGB input on the TV.  I

  • Archiving of Purchasing Documents

    Hi Flocks, I am trying to Archiving of Purchasing Documents but i am getting the following error. please suggest << removed >>. "Delivery completed" indicator set No provision for IR Thanks in Advance you all, Saleem. Edited by: Saleem Shaik on Apr 1

  • Can't get SPAppWebUrl - SP 2013

    I'm developing an auto-hosted asp.net app for Sharepoint 2013. I have to use the SPAppWebUrl token value for my requests. So I tried this : AppManifest.xml : <StartPage>~remoteAppUrl/Pages/Index.aspx?{StandardTokens}</StartPage> javascript : var appw