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к

Similar Messages

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

  • Group Policy - Computer Startup Scripts - Add/Set Default printer

    Good Morning.
    Let's say we have 2 offices, A and B, and only 1 user.  The user is using Roaming Profiles.  Each office has its own printer.
    What I am trying to do, is make a Startup script that is specific to the COMPUTER being logged into so when any user logs into that computer, they get the printer in that office defined and set as default.
    I am able to do this successfully with my script but ONLY if i have the script be on the USER side of GP (i.e. in the Logon script section)
    That is great that that is working however, when my user goes to Office B, they still get mapped to Office A's printer if I use that method.
    So I figured I could just modify my GP and run the same script from the STARTUP section of the computer, rather than the LOGON section of the user.  It does not work.
    Here is my script:
    Set WRFCUNetwork = CreateObject("Wscript.Network")
    PrinterPath = "\\fileserver\MAINTELLER"
    PrinterDriver = "PrinterDriver"
    WRFCUNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
    WRFCUNetwork.SetDefaultPrinter "\\fileserver\MAINTELLER"
    This is where I Have the script placed:
         Computer Configuration -> Windows Settings -> Scripts(Startup/Shutdown)
    Once i'm in there, I double click Startup, click Add, and select my script which is named:
         MainPrinterSetup.vbs
    I have this GP applied to ONE OU, and that OU has ONE computer in it (my test computer)
    I login with a brand new user called "testuser" (creative, huh?) and basically nothing happens
    except they log in and have some Microsoft Document Image Writer printer set as default (which by the way sure does slow the PC down to the point of it almost being broke if anyone actually tries to print to that by accident)
    No Main Teller Printer, no anything.
    The strangest part about this is, if i apply this script to the user LOGON scripts, it works fine, the printer is there, and is set as default. (but see above why that wont work for my situation)
    So obviously the script works fine, but I guess i'm missing something when it comes to applying GP's to Computers rather than Users.
    Can anyone shed some light as to why the script is not running (i'm guessing the script isn't even attempting to run, rather than failing, but i have no way to know that)
    Thank you in advance!!
    Derek Conlon
    Network Administrator
    WRFCU
    EDIT:  Here are the PC's info that i'm working on:
         Server:  Windows Server 2003 Standard Edition (where my GP's are created and managed with AD)
         Target PC:  Windows XP Professional SP3
    EDIT #2:  I manually navigated to the Script file after logging in and "opened" it and it added and set the default printer no problem.  the issue is definately with the script running at startup.

    I wanted to clarify a few things:
    1. While it is true that printer connections are usually per user, it is definitely possible to create "global printers".  There are a number of ways to do this, but two methods that come to mind are using:
    a. "Rundll32 printui.dll,PrintUIEntry" option with the "/ga" switch.  The "/ga" switch is the key here since it allows you to deploy printers "per machine" instead of "per user".  More information
    about this is available at:
    http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
    http://technet.microsoft.com/en-us/library/ee624057%28WS.10%29.aspx
    http://www.computerperformance.co.uk/Logon/logon_printer_computer.htm
    http://www.robvanderwoude.com/2kprintcontrol.php
    b. The Print Management console that is available in Windows 2003 R2 and higher can help you deploy printers "per machine" in addition to "per user".  More information about this is available at:
    http://www.czsolution.com/print-management/print-management/print-management-console.htm#DeployingPrintersByGroupPolicy
    http://technet.microsoft.com/en-us/library/cc753109%28WS.10%29.aspx
    2. As Guy mentioned, Group Policy Preferences can help set the default printer.  But there is another way to accomplish this.  The problem with the computer startup portion is that it runs before the user logs in.  And applying this script
    in the login script section would not work per computer unless you used loopback processing.  So another way to do this is to place a script that sets the default printer into the "All Users" startup folder.  Items in the "All Users"
    startup folder run for any user that logs into the computer, but it runs in the user's context.  So, this script would effectively set the default printer on a "per machine" basis.  The script method is a cruder way to approach the problem,
    but it will help get the job done.  Here are some resources on setting the default printer via script:
    http://www.intelliadmin.com/index.php/2007/08/set-default-printer-from-a-script
    http://www.computerperformance.co.uk/ezine/ezine17.htm

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

  • Obiee 11g . problem with set default as columnname in interaction tab

    Hi Obiee gurus ,
    I have small problem with set default option in interaction tab in column properties. actually my problem is , i changed one column bold save as set default option bold and how to revert back to my column option. when i create new analysis with same name . it takes set default option for that column.
    can Please give some suggestion for this problem.
    regards
    Srinivas

    Hi Srinivas,
    i guess this will be same for 11G
    Refer
    http://blogs.oracle.com/siebelessentials//2008/08/remove_systemwide_default_sett.html
    thanks,
    Saichand.v

  • How to set default print orientation in oracle reports 6i?

    Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?

    It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.

  • Setting default printer with printers deployed via print management

    Would like to set default printer on a windows 7 workstation to a printer deployed through group policy using print management.  However whenever machine reboots the defualt changes to a local printer XPS or something else.
    HOw can I set the default printer to one of the deployed printers?

    Even though this is a "machine" connection, the connection is created in each users security context.  Default printers are tied to user profiles and settings.
    I'm sure what is happening is the connection is getting created after the system sets a default or the network path is not yet available when the default printer is set.
    You can use prnmngr.vbs to get and set the default.  If get returns XPS printer, then set can change to one of the valid connections.
    Alan Morris Windows Printing Team

  • Setting Default Printer on Client Machine using Webutil

    hi.........
    i have configuired webutil on Application Server.
    i want to develop a form using webutil from which user can set default printer from client's machine.....
    i have tried using CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY();......BUT NOT YET SOLVED..
    Is there any other solution except using CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY();
    pls help me asap........

    Swapnil,
    There are a lot of posts about this. I suggest you search the Forms Forum for 'WebUtil default printer' and see if you can find some that has solved this issue.
    Sorry, I could be more helpful. I started looking through these posts myself and finally decided I was the wrong person doing the search! :-)
    Craig...

  • How to set default Print layout in SDK!

    Hi All
    In Form Delivery (ID=140) I want to Add Button to set default print layout by Addon.
    Please let me know the interface and the table to do it. Thanks

    Hi Tao,
    there's a vb6 sample in the DIAPI documentation
    Sets the specified report layout as default
    Dim oCmpSrv As SAPbobsCOM.CompanyService
    Dim oReportLayoutService As ReportLayoutsService
    Dim oDefaultReportParams As DefaultReportParams
    'get company service
    oCmpSrv = oCompany.GetCompanyService
    'get report layout service
    oReportLayoutService = oCmpSrv.GetBusinessService(ServiceTypes.ReportLayoutsService)
    'get report layout params
    oDefaultReportParams = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiDefaultReportParams)
    'set the report layout code
    oDefaultReportParams.LayoutCode = "POR20005"
    'set the report code
    'the report code is the document type code (e.g. POR2=PurchaseOrder)
    oDefaultReportParams.ReportCode = "POR2"
    'set the user code
    oDefaultReportParams.UserID = 1
    'delete the report layout
    oReportLayoutService.SetDefaultReport(oDefaultReportParams)
    i hope it helps you
    regards
    David

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

  • Set default printer in Photoshop CS4

    I'm a long-time Photoshop user (since Photoshop 3), upgraded to CS4 many months ago, and just updated my printer.  It is one of these all-in-one jobs that prints, copies, and faxes.  It has two printer device drivers: one for normal printing and one for the fax function.  The problem is (I think) that it seems to default in Photoshop to the fax function.  Therefore, when I try to print out a 4x6 photo @ 200ppi, it still defaults to 8 1/2 x 11 format (that you would get with a fax machine).
    In CS4, from the main menu, File > Print.  In the pop-up it says 8.5 ins x 11in.  I checked [X] Scale to fit Media, and now it says print resolution 109ppi (yikes ... I wanted 200ppi).  "Bounding Box" was checked as a default, so I left it checked (what is that, anyway)?  The 8.5 x 11 does not go away.  Clicked [Print].
    A Print menu pops up.  It says, for some strange reason, HP Officejet Pro 8500 A909g Series fax ... yikes ... in last screen it didn't say fax, so I selected the 8500 option without fax (presume that is the printer). Clecked Preferences, and got "Printing Preferences" popup.  My default printing shortcut was selected (which is for mornal B&W draft-quality text) -- so I checked Photo Printing-Borderles.  Paper size defaluted to Borderless 4x6in, HP Advanced Photo Papers, Best Quality, grayscale off, and changed orientation from landscape to Portrait.  Under "Features" Basic Options were HP Advanced Photo Papers, Best Quality, Portrait (instead of Landscape) ... paper size was set to Borderless 4x6in.  Print in Color.  Clicked OK. That closed the Popup and returned me to the Print panel.  Clicked "Print"
    Got a 1.25" wide by 2" high print ... NOT a 4x6.
    As I dig down into the menus, it appears to be initially defaulting to the "FAX" drivers for CS4, not the printer drivers.  That's probably why it keeps coming up 8 1/2 x 11 at 109ppi.
    What did I do wrong?
    Thanks !!

    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.

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

  • 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

  • I want to set default printer settings to be used only for a specific type of application, certain documents. All other print jobs should use a different default setting for the printer.

    I am printing a specific document from a web based application. This document need to be printed in landscape. So I would like to set the default settings for this specific printer to landscape. But for all other printers it should be portrait. But this does not seem to work. The browser picks the settings from the standard/default printer and uses this for all print jobs.

    Embie wrote:
    I was told by support that my problem was a hardware problem and that HP would not replace the faulty hardware.  Great.  I will replace my faulty hardware manufacturer.  Simple, HP never again.
    In the hour since you have registered you have posted seven messages, none of which contain any useful information that would allow someone here to help you.  Please read this post then provide some details in a new thread.  What printer model? What operating system? How is the printer connected - USB, wired LAN, Wireless LAN, bluetooth?  What is the problem you are having (with the printer...)?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Setting default printer for Black and White

    I have no problem setting up my printer to print black and white only using my pc, but am having difficulty setting the default for the printer on my OSX 10.5.2. I've read the posts and can't locate where this setting is done. I even removed the printer and tried readding it without any success. So, how do I set my HP Officejet to print in black and white as a default and allow me to print in color when needed?

    You could use the built-in presets facility to make a b&w setting and a color setting. Then when you print, you simply select the appropriate preset. Also, the last preset that you use will be the default next time you print, so this can also help speed up your printing.
    Reply if you need instructions for creating presets.
    One final point. Some applications, such as MS Office, have a 'Print One Copy' printer icon in the toolbar. When you use this shortcut, the print dialog is not opened - the file simply prints. For these types of application, the preset is not used so that job will print in color if that is the default printer function. But you can change the toolbar icon function so that it opens the print dialog instead of just printing. Again, if you need instruction then please reply.
    Pahu

Maybe you are looking for