How to select the default printer

Hi all

Here's the scenario:
Report Version:2.5.5.2.7 (I know really old :) )
Form Version: 4.5.7.1.6
OS: Windows Xp with SP2
Whenever the user clicks on the button PRINT an invoice form, the report should
print directly without showing no preview (is a different button for preview).
I choose the number of copies that must be printed in a table in DB.
Make a list of parameter (for destype, desname, copies, etc.) and call the report. (RUN_PRODUCT)
It is if I take the name of the printer to DB something like \\machine_name\printer_name and assign it to desname, it works very well.
However, instead of picking it from the DB, I want to know if I can get the default name of the printer directly from the machine where the report is running.

Reason: If a printer goes wrong and the user wants to print to a different printer, I don't have to keep on changing the values in the comic book.

All entries/tracks will be appreciatted.

Thank you
Bobin

P.S : I bestow points like cookies ;)

Hi Buqa,
Nice to see you in the forum reports ;) if I saw you in the forum of pl/sql.

In fact if you want to print to the default printer. Then just the DESTYPE PRINTER setting there. The report will go directly to the default printer and if you mention the DESNAME then it will go to the selected printer you. I mean if the printer selected, you'll pass null, then you can just move the DESTYPE then report will go directly to the default printer.

By NOTHING, I mean not to pass the parameter in the case of the DEFAULT PRINTER.

-Clément

Tags: Oracle Development

Similar Questions

  • 1 - How do I print the test page? 2 - How to change the default printer?

    1 - How to print a test page?

    2 - How to change the default printer?

    Yes, essentially the same as in Win 7.   Select the properties of the printer to print the test page.  That's where.

  • How to set the default printer for the user in 11i

    How to set the default printer for the user in 11i, please let me know how to set the new printer to the user, its Linux OS EBS 11i.

    Please see these documents.

    How to install the default printer for a user. [153927.1 ID]
    How to set up a default printer for a user in Oracle Applications [ID 1018856.102]
    How to set a default printer? [1237254.1 ID]
    How to configure the default printer for Applications [ID 184109.1]

    Thank you
    Hussein

  • How to change the default printer in Thunderbird

    I have access to several printers that I use in different places. I have to manually change the choice of printer with each e-mail letter I want to print when I change my location when you use thunderbird. I already changed the default printer in my printers folder. All other programs, including Firefox accept the choice of the default printer. How can I get Thunderbird to accept my default without delete all THE OTHER PRINTERS?

    The menu bar, select Tools-Options-Advanced-General
    Select the configuration editor
    Promise to be careful
    Enter the following in the search field: print_printer
    When this line appears, right-click and select reset.

    See if she resumes the new default printer after you restart Thunderbird.

    No menu bar? Press the ALT key.

  • How to change the default print settings

    My settings print continues to change 50% print size.  How to set the default value to 100%?

    Hello Bill,

    Thank you for using communities of Apple Support.

    It seems that what you want to do is to save your settings as a preset favorite. Not exactly define value by default, but easier than manually make changes every time you print. Take a look at this article to find out how that is done.

    OS X El Capitan: save your print settings to use later

  • Photosmart 7520: How to remove the default print on PS7520 settings

    I recently had a problem with a default setting of 2 copies. Can I change to 1 copy by simply changing the number 2 to 1. The next ime I just print a similar document, the default setting is back to 2 copies and I cannot remember how to remove the default settings.

    Any help will be appreciated.

    -Joe

    Hi @JoeAldrich,

    Welcome to the community of HP,

    I understand that you are having problems with the settings on your Photosmart 7520. I'll be happy to help you.

    Below, I've posted links of couple to some documents that should help you to solve this problem. Please read the documents carefully and let me know if your problem is solved.

    Printers HP Photosmart 7520 - copying Documents.

    Printers HP Photosmart 7520 - change default print settings

    If you still experience the problem, I would recommend trying to restore the default settings.

    Go to configuration > tools > restore default settings

    I hope this helps.

    If this help will testify of my answer by hitting the thumbs to the top slot

    Click on the button "Accept as Solution" if I helped you reach a solution.

  • Impossible to select the default printer

    Printer all-in-one Officejet 4620 e shows only as Grayed Out in my box of printers from the control panel. So I can't select it as the default printer. Can you please tell me what to do to recharge this printer so that I can make my default printer. My PC is running Windows 8 Ultimate

    Thank you

    The problem is that both the name of the printer are even trying to rename one and let me know

  • How to stop the default printer automatically get the change?

    Original title: default printer

    Is there a way to avoid windows to change the printer by default whenever a new is installed?

    Hello Erwin,

    Thank you for visiting Microsoft Community.

    As described in the question, I understand that your computer automatically the printer by default whenever a new is installed and you want to stop this behavior.

    I certainly would help you stop this behavior of automatic change default printer on your computer.

    I would be grateful if you can provide us with the following information to help us better understand the issue.

    1. This question has recently begun, or since you got this computer? Is this a desktop or a laptop?
    2. This occurs when you move from one network to another?
    3. Do you feel geolocation enabled on your computer?

    There is a feature in some version of Windows 7 computers (Windows 7 Professional, full and business) that automatically changes the default printer on laptop computers (or mobile devices) what location-based printing is enabled.

    If this is the case, you can disable this feature, you can follow the steps described in the article below to do so.

    Automatically switch default printers between home, work, or school

    http://Windows.Microsoft.com/en-us/Windows7/automatically-switch-default-printers-between-home-work-or-school

    Hope this information is useful. Do not hesitate to write back for any further assistance with Windows, we will be happy to help you.

  • How to select the default value for a choice of selection when page.jsff load

    Hello everyone, I am newbie have little problem

    I have problem with soc (selectOneChoice)
    in this case I ' to select the default value of af: SelectOneChoice (select first selectItem) when the page is finished loading

    < af:selectOneChoice label = "" Jenny Bahan: "id = 'soc1'"
    autoSubmit = 'true '.
    valueChangeListener = "#{WHStockSetReleaseBean.cekJenisBahan} '"
    Binding = "#{WHStockSetReleaseBean.v_jenisBahan}" >
    * < af:selectItem label = "GBB" value = "GBB" id = "si2" / > * = > i'want to select this value for the default (select first selectItem)
    < af:selectItem label = "GBP" value = "GBP" id = "si1" / >
    < / af:selectOneChoice >

    If someone help me to solve this problem

    THX
    agungdmt

    Hello

    try to set the attribute value to af:selectOneChoice like that.

    
    

    Kind regards
    Sicard.

  • OfficeJet 6700 Premium - how to set the default print quality of 'normal' of the "draft."

    Hello

    Thank you for your help.

    I have a printer/all-in-one Officejet 6700 Premium.

    Most of the documents that I print is for internal purposes, so "Draft" quality is sufficient.

    The default factory on the print quality setting is 'Normal '. I know how manually enter and restore the "draft", but I'd rather have the defaultproject, so I have to reset it manually each time.

    I could not find how to permanently fix the draft quality defect.

    Again, thank you for your help.

    George Mathis

    Thanks George,

    which is fully answering my question indeed

    Please follow the steps below to change the quality of the printer:

    1. Click the Start button.
    2. In the menu, click devices and printers.
    3. Right click on the HP Officejet 6700 icon.
    4. Click Printing Preferences.
    5. Enter the tab paper / quality .
    6. Select the project in the area of quality parameters.
    7. Click OK to save the settings.

    Now any future printing will be in draft quality.

    Kind regards

    Shlomi

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

    Can someone help please how to set the orientation of the printing default reports Oracle 6i? Currently the document is printed in Portrait orientation, but I need to print in landscape orientation. Is this possible?

    It is now resolved. Go to page-> main Section layout model, press F4. In the palette property, select the Orientation that should be selected when printing is taken for this report.

  • How to set the default printer?

    Original title: printer

    How can I make my canon pixma ip 1600 my default printer? Have a new laptop and can not have to print?  Thank you!

    Hello

    Windows operating system is installed on the computer?

    I suggest you to refer to the articles and check if it helps:

    Change your default printer

    http://Windows.Microsoft.com/en-us/Windows7/change-your-default-printer

    Change your default printer

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-your-default-printer

    To specify your default printer

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/print_set_default_printer.mspx?mfr=true

  • Unable to choose the default printer

    Original title: System do not select the default printer.

    I just added HP Officejet Pro 8620, but does not do by default.  My HP Pro 400 is still my printer by default, but every time I print, the 8620 appears as the default even if not selected by default and I need to change it to use the default printer, so that both printers are working properly, my system does not recognize the default printer as the default printer.  I played with the default setting, modify the printers and then back to the default, I want to, but who was not good.

    Hello

    Thanks for posting your query in Microsoft Community Forum.

    The problem may be due to reasons like print, of any conflict of third party software, virus or malware etc. settings. I suggest you run the printer Troubleshooter and verify.

    Step 1: A convenience store is an automated tool that can find and automatically fix problems with your PC.

    Troubleshooting of the printer

    Step 2: If the problem persists, I suggest you perform the clean boot in order to avoid any conflict of third party software.

    Put your system to the clean boot state helps determine if third-party applications or startup items are causing the problem. You must follow the steps in the article mentioned below to perform a clean boot.

    How to perform a clean boot in Windows

    Note: see 'How do I reset the computer to start normally after a boot minimum troubleshooting' to reset the computer starts normally after troubleshooting.

    Step 3: Run Microsoft Safety Scanner to find and remove viruses or malware.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Microsoft safety scanner

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Note: Data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    See also: change your default printer

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

    Thank you.

  • Why print does not use the default printer?

    I have two main printers to use at home and whenever I print a web page, Firefox will automatically print using the default printer. If I select the default printer from the drop-down list, it works very well. I wouldn't select the printer by default every time I want to print.

    Try of the reset described here for print.print_printer preference:

    http://KB.mozillazine.org/Problems_printing_web_pages#Reset_printer

  • change the default printing configuration

    For a multifunction Color LaserJet Pro 200

    How to set the default printer to print B & W rather than color?

    Welcome to the HP Forums 987ZYX,

    I see by your post that you want to set the driver print to print in black and white.
    I can help you with that.

    This information is provided by the manual.

    LASERJET PRO 200 COLOR M251.

    LASERJET PRO 200 COLOR MFP M276.

    Click Start, click devices and printers.

    Right-click on the printer and on the left, click printer properties.

    Click on Preferences.

    Click the color tab.
    Click the automatic or manual setting.
    Click on printing in grayscale option to print a color document in black and white.
    Click the OK button.

    If you have any other questions please provide the full name of the printer.

    How can I find my model number or product number?

    What operating system do you use? How to find the Windows Edition and the Version on your computer.

    Good day!
    Thank you.

Maybe you are looking for