CHOOSE PRINTER

Hi guys, I am creating an application with FORMS RUNTIME. Now, in one of my forms I need to create a button that pops up some kind of LOV or POPLIST or whatever it is, with the possible PRINTERS for the machine. Is there some sort of built in, ora an ADD ON..
It would really be helpfull,
Thanks.

Hi,
First off, please always indicate which version of Forms you're using, whether your forms are client/server or web-deployed, and the client OS. Someone else may have better suggestions, but here are a few ideas:
If you are working with client/server forms on Windows, I would look into the possibility of calling EnumPrinters via ORA_FFI. If you are unfamiliar with the C language and/or the Windows API, this approach will make for a rough introduction.
As an easier approach I would consider using a JavaBean. I quickly wrote the following bean that exposes one method -- getPrinterList( ). This method returns a semicolon-delimited list of all installed printers:
    import java.awt.print.*;
    import javax.print.PrintService;
    import oracle.forms.ui.VBean;
    public class PrinterEnumerator extends VBean {
      public String getPrinterList() {
        StringBuffer sb = new StringBuffer();
        PrintService[] ps = PrinterJob.lookupPrintServices();
        for (int i=0; i<ps.length; i++) {
          sb.append(ps[ i ].getName());
          sb.append(";");
        return sb.toString();
    }I'm not sure whether JavaBeans are an option for client/server forms, but I'm fairly certain that they are. The only catch here is that web forms provide a means for automatically copying beans over to the client PC -- client/server will most likely require you to make that happen.
As for loading a poplist programmatically, see the Forms documentation.
Sorry if these suggestions are a bit sketchy -- they should at least point you in the right direction.
Hope this helps,
Eric Adamson
Lansing, Michigan

Similar Messages

  • I am having trouble printing from photoshop CS5. I cannot choose print options. I am down to printing from Preview. I have a Mac OSX 10.6.8 and i am printing on an Epson pro 3880. this is a new problem

    I am in the middle of printing project and just recently i am no longer able to choose Print and get paper type and size.
    My epson help thinks its a program issue because i can print in preview.
    I am using photoshop CS5 with an Epson stylus pro 3880.

    Hi Kathleen,
    Please refer to the below document.
    http://helpx.adobe.com/photoshop/kb/troubleshoot-printing-problems-photoshop-cs4-2.html
    Thanks

  • HT4356 How do I AirPrint in black and white from my iPad so I do not waste the color ink unnecessarily?  I never see the option to choose printing in black and white.

    How do I AirPrint in black and white from my iPad2 wifi/3G so I do not waste the color ink unnecessarily?  I never see the option to choose printing in black and white.  I have an Epson Workforce 845 printer.

    There is no option to force black and white ouput.
    You can request the feature here:
    http://www.apple.com/feedback/ipad.html

  • Unable to choose printer profile in PSE9

    If I choose printer color management in the Color Management screen, the profile is set to Lab color and cannot be changed.  I'm running Windows 7 and printing to a Canon i9900.  I'm sure I could choose a profile with PCM in earlier versions of PSE.

    I click on other in the print job area to bring up the profiles that I have loaded in to Color in Windows Vista.
    Is it C:\WINDOWS\system32\spool\drivers\color?
    Did you try clicking on the Include display profiles check box? Some profiles are incorrectly tagged as being display rather than printer.

  • How to choose printer during WO printing?

    Hi Experts,
    In our system when someone chooses print from WO, system sends it directly to the default Windows printer without possibility of choice from other printers installed in Windows.
    Is it possible to enable SAP prompting to choose particular Printer at the beginning of WO's printing?
    Thanks in advance for valuable answers.
    BR:
    Lukasz Kurlit

    Hi thyagarajan,
    I'm using IW32 for WO printing. I choose "Order->Print->Order" from Main menu.
    Regarding customization and user settings:
    1. In transaction SU3 no output device is added
    2. In transaction OID3 output device for Work Orders is set to "LOCL". I have tried to delete it but after that i wasn't able to print at all.
    Please advice me where else can be the settings responsible for that SAP always sends printout to default Windows printer without possibility to choose particular printer.
    Kind regards:
    Lukasz

  • When I crop picture (no constraint), choose print, can print picture 4 x 8

    When I crop picture (no constraint), choose print, paper and print size, can print picture 4 x 8 for instance, if choose smaller will cut off part of picture.  How do I tell iPhoto that I want the whole picture in smaller size?  If I crop with specific size, the same thing happens.  Help - what I am missing?

    Two choices - crop the photo to the print size (4x8 in your example) and print it selecting that print size on the first print window
    Or Print and on the first print window after making the selections click customize and right click on the preview and select fit to frame - this will print the entire photos with white space fill on the sides needed to fit
    Other than that your question is not clear - if this does not explain then please ask the complete question again with details and complete sentences
    LN

  • Click choose printer

    I have a HP paviion a6655f, I bought an officejet e 6100 printer from HP six months ago and still cannot print with it. I can print test pages but when online and click print it says choose printer. My e 6100 says it is ready and is set as the default but when I select it or click find printer nothing happens.

    Hello mchlk26,
    Welcome to the HP Forums.
    I see that you are having some printing issues.
    So I can better assist you, please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Write me back when you have time and I will be happy to help.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Cannot choose printer when printing HTML report

    Hello,
    I have lost many many hours trying to print correctly a report that is composed only of a JPEG image.
    After a conversation in the forum, I concluded that the LabVIEW has a bug printing Standard Reports, as it cannot manipulate correctly the margins and the scale of the image. But, when using Standard Reports I could choose which printer to use.
    So, I use HTML Reports that print the report smoothly, but the choise of the printer has a problem. No matter which printer is chosen by a Ring Menu, it prints to same printer all the time.
    Could you please give me any hint to solve this problem?
    I attach the corresponding code:
    Solved!
    Go to Solution.

    Hey guys, this is Paul with National Instruments.
    Being employed at NI I am obligated to provide a big disclaimer about the information I am about to provide:
    MANUALLY CHANGING YOUR WINDOWS REGISTRY CAN CAUSE CORRUPTION AND ERRORS IF YOU ARE NOT CAREFUL.  DO SO AT YOUR OWN RISK.
    With that being said, nikosfs was on the right track by editing his Windows Registry to perform this action.  Please see the following steps, and see if it helps further explain what you need to do:
    Open the Registry Editor. To do this, click Start >> Run and type "regedit", then press OK.
    Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows.   In this key there should be an entry called Device with values that should match up with your default printer.
    Right click on the Windows key, choose "Export" from the menu that pops up, and save the Registration File as printer1.reg.
    Leaving the Registry Editor open, change your default printer. To do this, go to Start >> Settings >> Printers and Faxes. Right click on the printer that you want your report to print to, and choose the option "Set as Default Printer".
    Go back to the Registry Editor, it should be noted that the value of the Device entry has changed to the new default printer. Right click on the Windows key again, choose "Export" from the menu that pops up, and save the Registration File as printer2.reg
    These two files may now be used to manipulate your default printer settings in conjunction with the System Exec.vi. The figures below show how to use the registry files and the System Exec.vi. 
    → The "/s" in the text field makes sure that this vi will run without interrupting regular user interaction.
    → The path constant is set to "c:\" because the Registration Files were saved directly in the C drive. Change according to location of Registration Files.
    Make sure that this operation is called before the Print Report.vi is called, as it will print just to the default printer.
    Paul Davidson
    Sound and Vibration Software Staff Product Support Engineer
    National Instruments

  • After Software Update, asked to choose printer?

    My daughter cannot troubleshoot. She install everything when prompted by Software Update, including 10.4.8. Her printer is now not working. She is finally telling me at some point she was "asked to choose a printer". She stated she did not see her printer and probably hit Cancel.
    Can anyone recalling the OS asking about a printer? She has the HP Photosmart C3180 that was basically bundled with the MacBooks due to a promotion last summer.
    It is listed in Page Setup and the Print window apparently in the Printer Setup Utility Window. The driver is unchanged from time of purchase, but I asked her to download the Driver again anyway, and we will be installing that over the phone and trying again.
    It must be 10.4.8. I just am trying to figure out what that prompt was she saw and why. It was obvious she was supposed to pick something at the time and did not. Am I going in the right direction?
    Thanks.

    Dean,
    I have never been asked to (re-)choose a printer during after an update (.7 or .8). Maybe it found a driver incompatibility or corrupted preference file? Hopefully she can just re-select the printer now things will print again!

  • Print report, choose printer

    Hallo,
    I am running Report 6.08 on SUN Solaris 8. When I want to print a report and try to choose a printer, it seems to me that Reports only accepts local printers. The name of my network printer is hp5pac5ps. When I enter this name in the field "Printer name:" I get the error message
    "You have picked an invalid printer.
    Please make another choice"
    On a shell level I have no problems accessing that printer.
    Thanks for help - Ulrich

    Hello Ulrich,
    Reports recognizes only those printers which are configured for use with Reports, as specified in the $ORACLE_HOME/guicommon6/tk60/admin/uiprint.txt config file. You need to specify the printer description file (PPD or HPD file) here. The file itself contains help on how to create printer entries in it.
    You can also take a look at the 'Printing on UNIX' document on OTN at http://otn.oracle.com/docs/products/reports/files/pbr_uxprt.pdf. This document is specific to Reports 9i, but the details are applicable to Reports 6i also, with some modification to the directory names etc.
    Thanks,
    The Oracle Reports Team.

  • Choose Printer for Output - Condition records

    Hi all,
    We are maintaining condition records at inventory management, shipping,pick list & pack list.
    at the time of print,can be able to choose the printer.  Is that feasible?  Can a condition record prompt the user to choose a printer for the output?
    Can anyone help me out..

    Hi,
    When you maintain your condition master records, (VV11, VV21, VV31) you can maintain which printer you want to print via the button option "Communication"
    Field - Output Device"
    Under that field you can give exactly which printer you want to print this output.
    Else what you can do is, Set this field as LOCL, which means the local printer of the user who is printing these outputs.
    Then in the local machine set the required printer as default printer. (This is a Windows setting). Then when he/she try to print an output, SAP goes to the LOCAL printer and from there it find the default printer of the user machine.
    You can use one of above!
    Hope this helps!
    Best regards,
    Rahal

  • Choosing print paper type in set up?

    I am printing to an HP Photosmart 7510 and when I go to page setup it will not let me choose any paper other than plain paper even though there are a variety of menu choices. I highlight the proper paper choice and it reverts back to plain paper each time. It does not do this when printing from any other program ... only in LR4?

    You do this in the OS X print window that appears after you click Print in the PSE print window. You may need to expand the window by clicking the Show Details button, and then you'll see a pulldown menu in the middle of the window where you make your choices for paper, ink, etc.

  • Unable to choose PRINT WIDE AREA on EPSON printer 740i after upgrading

    After upgrading to 10.4.5 i was unable to choose the print area in the page set up window. I use an EPSON 740, i had problems trying to print at the begining but solved them (luckily!). The print area is an option i use alot! because the print margin is bigger than the normal. I'm a graphic designer and i don't want to change my printer, it worked PERFECTLY with 10.3.... What can i do?

    OK! So the Mac has the drivers. One small step.
    Bear in mind please that I do not have that printer. On the Brother that I struggled with, the trick was to reset it and get it to print out the default settings. (Instructions I found on the Brother site.) Included in the printout was the printer's IP - 192.168.2.24.
    I then configured the Macs to find the printer. In 10.8.2: System Preferences / Print and Scan / + / IP
    But the first step was to get the printer to cough up the settings. Perhaps your manual has this info?

  • Choosing print from any applications forces application to quit

    Just tonight, when I choose to print from any applicaiton [mail, Safari, etc...] it forces that application to quit and ofcourse nothing is printed.
    Additional info: I was running Disk Utility and erasing the empty space on my HD, but since it was taking so long, I browsed the web, emailed, and did other things while it worked in the background - probably a bad decision by me since in the end when I told Disk Utility to "skip" erasing empty space it wouldn't skip and hung and I eventually did force quit Disk Utility.
    More additional info: I think this is definitely a printing problem, and just maybe if I can get into the print que I can cancel the jobs that are in there - how do I get to the que.
    Even more additional info: I'm using Tiger and a HP Deskjet 3940 printer. I have shutdown, unplugged the printers usb cord, and turned the printer on and off before restart.

    Thanks for your help.
    See http://discussions.apple.com/thread.jspa?threadID=372982&tstart=0

  • PS-CS3 Crashing when choosing "Print..."

    I have an early 2008 Mac Intel with 16-Gig of RAM running 10.5.3 and CS3 Design Premium.<br /><br />All of a sudden today when I try to print to my Epson 7800 Photoshop CS3 Crashes.<br /><br />I repaired Permisions - same thing.<br />I reinstalled all new Epson Driver, etc. - same thing.<br />I tried printing from AICS3 and it crashed<br />I tried printing again from Photoshop to a B&W laser printer (not an Epson) and it printed fine, so I am guessing it is only a problem with the Epson software<br />I then transferred a file and I was able to print to the Epson 7800 from my Laptop still running Tiger.<br /><br />Here is the first part of the crash report I am getting... any ideas?<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><!DOCTYPE AdobeCrashReport SYSTEM "AdobeCrashReporter.dtd"><br /><crashreport version="1.1" crVersion="2.5.0.02272007" applicationName="Photoshop" applicationVersion="10.0.1" build="10.0.1 &#40;10.0.1x20071012 [20071012.r.1644 2007/10/12&#58;09&#58;30&#58;00 cutoff; r branch]&#41;,  ©1990-2007 Adobe Systems Incorporated"><br />     <time year="2008" month="6" day="27" hour="13" minute="35" second="41" /><br />     <user guid="0D54FFD3-69BF-47C8-9222-36A3BE85C4B0" /><br />     <system platform="macintosh" osversion="10.5.3" applicationlanguage="en" userlanguage="en" oslanguage="en_US" ram="16384MB" machine="i386" model="MacPro3,1" cpuCount="8" cpuFreq="2800MHz" busFreq="1600MHz" /><br />     <crash exception="Read Only Memory Exception" instruction="1489028b"><br />          <backtrace crashedThread="0"><br />               <thread index="0"><br />                    <stackStatement index="0" address="0x46714629" symbolname="unknown"/><br />                    <stackStatement index="1" address="0x46716968" symbolname="unknown"/><br />                    <stackStatement index="2" address="0x29ecea56" symbolname="unknown"/><br />                    <stackStatement index="3" address="0x490c21c1" symbolname="_AskUserForFile"/><br />                    <stackStatement index="4" address="0x490c16d1" symbolname="_AskUserForFile"/><br />                    <stackStatement index="5" address="0x490b6051" symbolname="unknown"/><br />                    <stackStatement index="6" address="0x490b658a" symbolname="unknown"/><br />                    <stackStatement index="7" address="0x490b4aea" symbolname="unknown"/>

    I don't know much about this, but I would guess this
    "Read Only Memory Exception"
    is what you need to figure out. I would guess Photoshop is trying to write the print data to a directory that is inappropriately set to read only. (but that is just a guess.)
    You could try repairing permissions, but as i understand, the OS repair permissions doesn't get at everything that is necessary for the printing system.
    Printer Setup Repair is a utility that can check and reset all sorts of things related to the Mac OS X printing system. I just checked their web site, it is not yet available for 10.5.
    http://www.fixamacsoftware.com/software/psr5/index.php
    Since it is not yet ready for 10.5, I would probably send that error message to Epson tech support.

  • I cannot print a shipping label pdf file - there is no print button, and when I choose print preview, the page is blank

    I used to be able to print shipping labels from Amazon.com. The label image is a pdf, but on the pdf page there is no print button. When I go to file print preview in the main tool bar, the image shows the file name, but no shipping label.

    You can't delete pages with Reader, only with Acrobat.

Maybe you are looking for

  • How to pass dynamic values to value mapping? please help!

    Hi Experts,        I have requirement where I am using email adapter to send emails. Now the "To" email address is different for different environment. In other words: DEV - [email protected] TEST - [email protected] PROD - [email protected] When the

  • CONVERT_TO_LOCAL_CURRENCY not return correct amount

    Hi expert, I'm trying to convert 1000 USD to SGD using FM 'CONVERT_TO_LOCAL_CURRENCY'. As we know 1000 USD = 1736 SGD, but this FM return 17,36 SGD. Kindly help me on this. Below is the test code. REPORT  y_mr_exchange_rate. DATA:   v_local_amount TY

  • Official Cyan/8.1 is OUT for the Lumia Icon!!

    I just checked my "extras & info" screen and was shocked to see I'm running the Cyan firmware and the official WP8.1 software. I don't know exactly when it happened, but it's out!!! I've been using Phone Update in Settings on a daily basis.

  • Close window when command(9i): exit_form;

    Hello all. How close window when command(9i) exit_form; ? Thanks. Martonio.

  • Fee for 1 Year

    When I received my subscription order detail it listed the price of 19.99/month  - however when I signed up it listed 19.99/year.  I need to be notified which one is correct please.