Printing - what's wrong inside....

Hello,
I'm trying to display the content of a JPanel onto a HP laser printer but I want to reduce the margins to 1cm from the top and 1cm from the left (converted it must be 30 pixels I think)...
Here is a part of my code preparing the printing process:
(and later an extract of MyPanel class)
PrinterJob printJob = PrinterJob.getPrinterJob();
PageFormat pff = printJob.defaultPage();
Paper p = new Paper();
// changing margins
p.setImageableArea(30,30,500,500);
pff.setPaper(p);
PageFormat pfbis = printJob.validatePage(pf);
// zone in an instance of MyPanel extending JPanel
//implementing Printable
printJob.setPrintable(zone);
try
printJob.print();
catch (Exception ex)
ex.printStackTrace();
/// extract of MyPanel class
// implentation of print in MyPanel class
public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
if (pi >= 1)
return Printable.NO_SUCH_PAGE;
Graphics2D graphics2D = (Graphics2D)g;
Rectangle2D.Double rectangle = new Rectangle2D.Double ();
rectangle.setRect(0,0,72,72);
graphics2D.draw (rectangle);
return Printable.PAGE_EXISTS;
the rectangle should be printed at 1cm from the top and from the left
--> it seem's that it is by the only visible part is the bottom right corner which is 1 inch from the border of the page
(1inch must be the default margin ??)
Is it possible to change the margin and have the rectangle being displayed at 1cm from the border (or even less than 1 cm????)
Thanks in advance
Loic

Hi,
First see the http://forum.java.sun.com/thread.jsp?forum=20&thread=28912 URL.
Secondly, you do not implement correctly the print method...
When you use g.drawRect(0,0,72,72);, you paint outside the margins of the paper. You should do this:
   public int print(Graphics g, PageFormat pageFormat, int pageIndex) throws PrinterException
   try
      Paper paper = pageFormat.getPaper() ;
      int xStart = (int)Math.rint(paper.getImageableX())+2 ;//+2 is here a small correction due to margins imprecision
      int yStart = (int)Math.rint(paper.getImageableY())+2 ;//+2 is here a small correction due to margins imprecision
      int xEnd = (int)Math.rint(xStart + 100) ;
      int yEnd = (int)Math.rint(yStart + 72) ;
      g.setColor(Color.black);
      g.drawRect(xStart,yStart,xEnd,yEnd);
      return Printable.PAGE_EXISTS;
      catch(Exception e)
         System.out.println("Exception :"+e.getMessage());
         return Printable.NO_SUCH_PAGE;
}Well try this. It should work.

Similar Messages

  • Empty field Validation before Print, What's Wrong with THIS code??

    I have been trying unsuccessfully to get this code to work.. I am stumped!  I created a print button.  Then added this script under "Form Calc" in the Click event of the button.  But when clicked nothing happens.  I have a radio button group that has different options but I only want to make the field NameofReferralSource required if the user checks Broker.  The print button is on page 1.  The field and radio button group are on page 7.  I just can't figure out how to get this to work.  I don't necessarily need to make the fields required since then I would have to add script remove the red border and add a message telling user where the field is otherwise they will have to search through 6 pages to find it. (maybe a better solution?)  I just want a simple code that fires when the user hits the Print, Save, or Submit button to check if Broker name is empty and if it is, prompt them to fill in.  Help!
    if ((topmostSubform.Page7.NameofReferralSource.rawValue == null)  & (topmostSubform.Page7.Howdidyouhear.0.rawValue == "Broker")) then
    xfa.host.messageBox("You must enter the the Name of the Broker under Referral Name on Page 7 to be able to print this form")
    else
    Print_Form.execEvent("click")
    endif
    Brenda

    Ok, well my reference to the fields were incorrect.  Here is the new code:
    if (Page7.NameofReferralSource.rawValue == null){
    xfa.host.messageBox("You must enter the the Name of your Referral on the bottom of Page 7 to be able to print this form");
    }else{
    Print_Form.execEvent("click");
    xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
    The first part that checks for an empty field and displays a message works however the print dialog still pops up after the user clicks ok to the error message.  Any ideas?

  • Can someone please tell me what's wrong with the Inside of my iPad Charger? *Picture Included

    It won't charge my iPad. So I wanted to take a good look inside and see what's wrong with it. But I don't know anything about these wires. Here's the Pic of it.
    http://oi39.tinypic.com/2ed5yl2.jpg
    http://oi42.tinypic.com/5btptt.jpg
    http://oi39.tinypic.com/ih8rq1.jpg
    PLEASE HELP. It would be a Big Help

    That's unfortunate, because it would appear that the cable is pretty much toast. If it wasn't before, it pretty much is now that you've cracked it open.
    Either borrow one, or bite the bullet and buy one locally. You're not getting anywhere with that one.

  • I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I just wanted to leave a note that it's working now. I'm not sure if it was the latest iTunes update that got it working or that i decided to start a new library instead of using the one i had backed up on Windows 8 (it didn't occur to me to check using the old library when i re-installed iTunes). But if anyone is having this problem, it might be worth trying again with a new installation of iTunes to see if the latest update works for you, and if not, try using a fresh library instead of a backup (by fresh library i mean discard your old library completely and start a new library, not just restore as new iPhone, a whole new library).

  • My ipad used to print to my HP B210 eprinter, now it won't. What's wrong? iPad 1

    my ipad used to print to my HP B210 eprinter, now it won't.  What's wrong?  (iPad 1)  Everything is hooked up correctly, am online, and can print fine from my wireless HP laptop.  The iPad finds the printer, but after trying to contact it, it says the printer is offline (which is isn't)
    This question was solved.
    View Solution.

    cgtoni,
    You have been very thorough, try these steps in sequence:
    Unplug the power cord from the printer.
    Unplug the power cord from the router.
    Turn Bluetooth off on the iPad.
    Plug the router in and allow to power up fully.
    Plug the printer in and allow to power up fully.
    Try to print from the iPad.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The Acrobat 9.x product family passed into "End of Support" mid-year of 2013.
    Acrobat 9 support of MS Project via PDFMaker stops with Office 2007.
    For Office 2013 support you must use Acrobat XI (11.0.1) or newer. 
    A good to have reference:
    https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Acrobat Pro and Standard DC are what are currently available for purchase. 
    Be well...

  • Black and white photo printed sort of pink...what's wrong

    I  have a HP 7520 Photosmart all in one printer.  Has been printing fine until today. I was trying to print an old black and white photo. It came out sort of pink.  Have tried all the tips I could find. What is wrong?

    The black ink is pigmented and not compatible with photo paper so when printing on photo paper only the color and photo inks are used. A pinkish result would indicate that cyan is not printing properly.  The troubleshooting steps in the document here may help resolve the issue.
    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

  • Concerning Epson Printer 4880: after changing the Ink from Photo Black to Matte Black I'm not getting the Epson Software in Photoshop and Lightroom. I can not select the paper medium, I don't see my profiles. What is wrong?

    Concerning Epson Printer 4880: after changing the Ink from Photo Black to Matte Black I'm not getting the Epson Software in Photoshop and Lightroom. I can not select the paper medium, I don't see my profiles. What is wrong?

    That is priceless!!!  Thanks!  I sure needed a good laugh after spending/wasting hours & days trying to either get my c6280 to give up on its Ink System Failure fixation, or find a decent replacement.  Unfortunately I need the Smart Web Printing feature that I guess only HP has, or I'd try a different brand. And now even HP has very few models with that available.
     My error msg is a little different from those previously stated, but close:  0xc18a0201.  Even tho there were frustrations with my c6280, I did like several of its unique features which are hard to find now under $100.  I hate how HP (& I suppose other brands also) are CONSTANTLY changing models & then of course ink cartridges.
    Oh heavens, I've had the c6280 a whopping 2 1/2 years!   I'm sure they want us poor slobs to have to buy a new one every year & a day!  To say nothing of the exorbitant prices for ink.  And now if this one is really dead in the water, I have SIX unused #02 ink cartridges which I cannot return---I got them in a combo pack, & for some reason have wound up with THREE lite pink & THREE lite blue cartridges, while having to buy extras of the other colors, that ran out before the others!!!   Yeah, & what's with that not being able to print in BLACK if a color runs out????
    Anyway I really loved your essay!   It's a classic!  And says it all!  I hate that we have to be 'slaves' to the electronic 'wonders'!!!

  • Printer error ICC message what is wrong?

    Printer error ICC comes up when I try to print. What is wrong?

    I am having trouble printing the scrapbook pages that I have created. There is an error message that pops up saying that I need to install a printer before I can print! I have a printer installed! I went to Help, it suggested that I uninstall the printer, which I did twice! And I also, insalled the Photoshop onto another laptop, which also gives me a similar message!
    Seems like a glitch or something! Any help you could give me will be most appreciated!

  • My Firefox suddenly just stop printing. What is wrong?

    My Firefox suddenly just stop printing after I downloaded the newest version. I download to the old 3.6.22 and still the same problem. What is wrong?
    Everything prints perfectly in Safari.

    Same thing here.  Just happened today.  Was at the computer got up for 20 mins came back and it's black.  I have ti hooked up to a 27" iMac.

  • Envelopes are printed in magenta even though the color icon is set at 100% black. what is wrong?

    envelopes are printed in majenta even through the color icon is set on 100% black. What is wrong ?

    Have you tested the printer from another appliaction?
    It is possible your black ink has run out.
    Peter

  • I can't figure out what's wrong with this code

    First i want this program to allow me to enter a number with the EasyReader class and depending on the number entered it will show that specific line of this peom:
    One two buckle your shoe
    Three four shut the door
    Five six pick up sticks
    Seven eight lay them straight
    Nine ten this is the end.
    The error message i got was an illegal start of expression. I can't figure out why it is giving me this error because i have if (n = 1) || (n = 2) statements. My code is:
    public class PoemSeventeen
    public static void main(String[] args)
    EasyReader console = new EasyReader();
    System.out.println("Enter a number for the poem (0 to quit): ");
    int n = console.readInt();
    if (n = 1) || (n = 2)
    System.out.println("One, two, buckle your shoe");
    else if (n = 3) || (n = 4)
    System.out.println("Three, four, shut the door");
    else if (n = 5) || (n = 6)
    System.out.println("Five, six, pick up sticks");
    else if (n = 7) || (n = 8)
    System.out.println("Seven, eight, lay them straight");
    else if (n = 9) || (n = 10)
    System.out.println("Nine, ten, this is the end");
    else if (n = 0)
    System.out.println("You may exit now");
    else
    System.out.println("Put in a number between 0 and 10");
    I messed around with a few other thing because i had some weird errors before but now i have narrowed it down to just this 1 error.
    The EasyReader class code:
    // package com.skylit.io;
    import java.io.*;
    * @author Gary Litvin
    * @version 1.2, 5/30/02
    * Written as part of
    * <i>Java Methods: An Introduction to Object-Oriented Programming</i>
    * (Skylight Publishing 2001, ISBN 0-9654853-7-4)
    * and
    * <i>Java Methods AB: Data Structures</i>
    * (Skylight Publishing 2003, ISBN 0-9654853-1-5)
    * EasyReader provides simple methods for reading the console and
    * for opening and reading text files. All exceptions are handled
    * inside the class and are hidden from the user.
    * <xmp>
    * Example:
    * =======
    * EasyReader console = new EasyReader();
    * System.out.print("Enter input file name: ");
    * String fileName = console.readLine();
    * EasyReader inFile = new EasyReader(fileName);
    * if (inFile.bad())
    * System.err.println("Can't open " + fileName);
    * System.exit(1);
    * String firstLine = inFile.readLine();
    * if (!inFile.eof()) // or: if (firstLine != null)
    * System.out.println("The first line is : " + firstLine);
    * System.out.print("Enter the maximum number of integers to read: ");
    * int maxCount = console.readInt();
    * int k, count = 0;
    * while (count < maxCount && !inFile.eof())
    * k = inFile.readInt();
    * if (!inFile.eof())
    * // process or store this number
    * count++;
    * inFile.close(); // optional
    * System.out.println(count + " numbers read");
    * </xmp>
    public class EasyReader
    protected String myFileName;
    protected BufferedReader myInFile;
    protected int myErrorFlags = 0;
    protected static final int OPENERROR = 0x0001;
    protected static final int CLOSEERROR = 0x0002;
    protected static final int READERROR = 0x0004;
    protected static final int EOF = 0x0100;
    * Constructor. Prepares console (System.in) for reading
    public EasyReader()
    myFileName = null;
    myErrorFlags = 0;
    myInFile = new BufferedReader(
    new InputStreamReader(System.in), 128);
    * Constructor. opens a file for reading
    * @param fileName the name or pathname of the file
    public EasyReader(String fileName)
    myFileName = fileName;
    myErrorFlags = 0;
    try
    myInFile = new BufferedReader(new FileReader(fileName), 1024);
    catch (FileNotFoundException e)
    myErrorFlags |= OPENERROR;
    myFileName = null;
    * Closes the file
    public void close()
    if (myFileName == null)
    return;
    try
    myInFile.close();
    catch (IOException e)
    System.err.println("Error closing " + myFileName + "\n");
    myErrorFlags |= CLOSEERROR;
    * Checks the status of the file
    * @return true if en error occurred opening or reading the file,
    * false otherwise
    public boolean bad()
    return myErrorFlags != 0;
    * Checks the EOF status of the file
    * @return true if EOF was encountered in the previous read
    * operation, false otherwise
    public boolean eof()
    return (myErrorFlags & EOF) != 0;
    private boolean ready() throws IOException
    return myFileName == null || myInFile.ready();
    * Reads the next character from a file (any character including
    * a space or a newline character).
    * @return character read or <code>null</code> character
    * (Unicode 0) if trying to read beyond the EOF
    public char readChar()
    char ch = '\u0000';
    try
    if (ready())
    ch = (char)myInFile.read();
    catch (IOException e)
    if (myFileName != null)
    System.err.println("Error reading " + myFileName + "\n");
    myErrorFlags |= READERROR;
    if (ch == '\u0000')
    myErrorFlags |= EOF;
    return ch;
    * Reads from the current position in the file up to and including
    * the next newline character. The newline character is thrown away
    * @return the read string (excluding the newline character) or
    * null if trying to read beyond the EOF
    public String readLine()
    String s = null;
    try
    s = myInFile.readLine();
    catch (IOException e)
    if (myFileName != null)
    System.err.println("Error reading " + myFileName + "\n");
    myErrorFlags |= READERROR;
    if (s == null)
    myErrorFlags |= EOF;
    return s;
    * Skips whitespace and reads the next word (a string of consecutive
    * non-whitespace characters (up to but excluding the next space,
    * newline, etc.)
    * @return the read string or null if trying to read beyond the EOF
    public String readWord()
    StringBuffer buffer = new StringBuffer(128);
    char ch = ' ';
    int count = 0;
    String s = null;
    try
    while (ready() && Character.isWhitespace(ch))
    ch = (char)myInFile.read();
    while (ready() && !Character.isWhitespace(ch))
    count++;
    buffer.append(ch);
    myInFile.mark(1);
    ch = (char)myInFile.read();
    if (count > 0)
    myInFile.reset();
    s = buffer.toString();
    else
    myErrorFlags |= EOF;
    catch (IOException e)
    if (myFileName != null)
    System.err.println("Error reading " + myFileName + "\n");
    myErrorFlags |= READERROR;
    return s;
    * Reads the next integer (without validating its format)
    * @return the integer read or 0 if trying to read beyond the EOF
    public int readInt()
    String s = readWord();
    if (s != null)
    return Integer.parseInt(s);
    else
    return 0;
    * Reads the next double (without validating its format)
    * @return the number read or 0 if trying to read beyond the EOF
    public double readDouble()
    String s = readWord();
    if (s != null)
    return Double.parseDouble(s);
    // in Java 1, use: return Double.valueOf(s).doubleValue();
    else
    return 0.0;
    Can anybody please tell me what's wrong with this code? Thanks

    String[] message = {
        "One, two, buckle your shoe",
        "One, two, buckle your shoe",
        "Three, four, shut the door",
        "Three, four, shut the door",
        "Five, six, pick up sticks",
        "Five, six, pick up sticks",
        "Seven, eight, lay them straight",
        "Seven, eight, lay them straight",
        "Nine, ten, this is the end",
        "Nine, ten, this is the end"
    if(n>0)
        System.out.println(message[n]);
    else
        System.exit(0);

  • My 10.8.3 update did not install properly citing an 'Unknown Error'. Now, my Mail and Mac App Store aren't working. What went wrong and how do i fix it ?

    My 10.8.3 update did not install properly citing an 'Unknown Error'. Now, my Mail and Mac App Store aren't working. What went wrong and how do i fix it ?

    I tried this and still have the same problems. If I open Address book or the Mac App Store I get the library rebuild popup and a hang. I created a fresh user and then things are better apart from the printing issue. Its clearly some 3rd party software issue but the crash logs are meningless to me. I used the excellent Etre check app from http://www.etresoft.com/etrecheck so I have a list of what is being loaded and can compare clean and crashed user info but as I cant work out which of the startup items, launch agents, launch daemons etc that  are causing the problem.
    I have eliminated Dropbox, Mac Keeper and Witness, and it isnt related to my exterrnal LED cinema dispay or my external thunderbolt drives, or any USB devices if thats any help to anyone else. Info from Etrecheck follows -
    Kernel Extensions:
              com.oxsemi.driver.OxsemiDeviceType00          Version: 1.28.7
              com.rogueamoeba.InstantOn          Version: 6.0.2
              com.rogueamoeba.InstantOnCore          Version: 6.0.2
              com.Cycling74.driver.Soundflower          Version: 1.5.3
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
                 [not loaded] com.adobe.fpsaud.plist
                 [not loaded] com.adobe.SwitchBoard.plist
                 [not loaded] com.bombich.ccc.plist
                 [not loaded] com.dymo.pnpd.plist
                 [not loaded] com.intego.BackupManagerPro.daemon.plist
                 [not loaded] com.micromat.TechToolProDaemon.plist
                 [not loaded] com.microsoft.office.licensing.helper.plist
                 [not loaded] com.orbicule.witnessd.plist
                 [not loaded] com.sierrawireless.SwitchTool.plist
                 [not loaded] com.stclairsoft.AppTamerAgent.plist
                 [not loaded] org.macosforge.xquartz.privileged_startx.plist
                 [not loaded]          pcloudd.plist
    Launch Agents:
                     [loaded] com.divx.dms.agent.plist
                     [loaded] com.divx.update.agent.plist
                     [loaded] com.epson.epw.agent.plist
                     [loaded] com.lacie.raidmonitor.daemon.plist
                     [loaded] com.lacie.safemanager.daemon.plist
                     [loaded] com.micromat.TechToolProAgent.plist
                     [loaded] com.orbicule.WitnessUserAgent.plist
                     [loaded] org.macosforge.xquartz.startx.plist
    User Launch Agents:
                 [not loaded]          .DS_Store
                     [loaded] com.adobe.AAM.Updater-1.0.plist
                     [loaded] com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
                     [loaded] com.digitalrebellion.SoftwareUpdateAutoCheck.plist
                     [loaded] com.divx.agent.postinstall.plist
                     [loaded] com.google.keystone.agent.plist
                     [loaded] com.propaganda.dejavu.dvmonitor.plist
                     [loaded] com.valvesoftware.steamclean.plist
                     [loaded] com.zeobit.MacKeeper.Helper.plist
    User Login Items:
              iTunesHelper
              Synergy
              TomTomHOMERunner
              Dropbox
    3rd Party Preference Panes:
              Déjà Vu
              Flash Player
              Flip4Mac WMV
              GR-55
              Paragon NTFS for Mac ® OS X
              Perian
              Printopia
              TechTool Protection
              Witness

  • Snow Leopard Samsung ML-1630 Crashes entire system - what's wrong?

    The printer will print, but the entire system crashes and the Mac Mini reboots each time a print job is sent. The forum points out a lot of problems with printers and the Snow Leopard upgrade, but no real help seems to have been offered.
    I did download the new Samsung drivers recommended for snow leopard using the Apple link
    I have removed and reinstalled the printer, several times
    What's wrong? Did Apple test this before they launched the new software?
    I bought the printer from an Apple store, I hope they support it still.

    I agree with William on this. I use the same printer with just native OSx support.
    There is one possible issue. The power that the printer draws when printing is pretty significant. My UPS (AVR) kicks in every time I print there. I do have many devices on this circuit though.
    It is possible that your voltage is being pulled so low that your machine is rebooting.
    If possible try the printer on a different circuit or turn off as much as possible equipment on the same circuit and give it a try.

  • File & folder sharing with privileges on my network does not work. What is wrong?

    My Timecapsule is creating a network between my iMac with OS 10.7.5 and my Macbook Pro Retina OS 10.9.2. I am trying to setup a folder on my iMac with controlled access privileges to work as a server for others using the Macbook as a client. I followed different tutorials to the letter, but it did not work, I could not get the connection. Then I called the Apple help line. It turns out that just setting it up with a 'sharing only' account etc. in 'sharing ' in the 'system preferences' is not enough. One also has to set up the same priviliges in the 'get info' window of the folder directly at the same time...so a double setup. They could not explain properly why and there is no mention of this whatsoever in any tutorial I found on the internet. Anyway, I tried that and it still did not work. When I add the user in the 'get info' window and press enter, suddenly the user does not show up in the privilege box with the user name but instead a line saying something like "searching for user" and something small dudeling next to it......I called Apple again. After two agonizing hours on the phone where I was treated like an imbecile it turns out one has to somehow go through the address book ??? Why, I have no clue and how, I do not remember, but suddenly it worked.
    Anyway, now two month later I had to add a new user account to my Macbook and I need to give it access to my server folder on my iMac. Well same problem again. I cannot remeber what we did 2 month ago an cannot call Apple, because my service period has expired. I tried myself and got the dudle in the folders 'get info' window again. Then by mistake I deleted myself as the only administrator account on the Imac from the access privileges to that shaered server folder. When I tried to put my account back into the folders privilege settings I got the same message and the dudeling thingy there too. Frustrated I thought it is best to just re-start the computer.......that was the end of it all: Now the startup window does not show my account name and icon anymore, just two lines to fill in the account name and password. The upper line has an arrow pointing left, the lower for the password an arrow pointing right. I filled in the account name and the password....the dudle circle comes and nothing happens, it seems to crash. When I click on the arrows the sign-in lines disappear, only the three buttons for going to sleep, re-start and turn off at the bottom are the only items left on the screen. I tried 10 times to no avail. This is turning into a nightmare!! My account is the only user account on this iMac.......
    What am I doing wrong? Or what is wrong with my iMac?
    Why is there nothing mentioned about these issues in the tutorials or anywhere else? Why do the tutorials say it is so easy, when even the staff on Apple's helpline cannot figure it out without having lengthy side conferences with their co-workers and managers???
    Does anybody know what I have to do again with the address book to add this external 'sharing only' user account to the folder's privilege settings?
    I assumme I have to re-boot my computer tomorrow and restore it from the Time Capsule. How do I do that? I cannot log in????
    With the setup I had working for the last two month there were still issues with acces conflict to new subfolders and files inside the shared folder between me and the Macbook account user. I have read that the solution is to create a group and give the group access privileges to the folder. However, I could not find any details on the exact steps to follow. I need the exact steps, otherwise this will turn into the next nightmare. Where can I find this info.
    I would really appreciate your help with answers and solutions to these complex issues
    Thank you

    check out managed datasources in the manuals

Maybe you are looking for

  • How can I prevent that emails are downloaded (POP3) when the lid of my MacBook Pro is closed?

    How can I prevent that emails are downloaded (POP3) when the lid of my MacBook Pro is closed?

  • Xlib: connection to ":0.0" refused by server

    Hi , I am trying to install Oracle 10g 10.2.0.1 in RHEL 5, i believe all pre installation task has been completed perfectly. Problem is when i invoke oralce unversal installer it is giving me error like this. Starting Oracle Universal Installer... Ch

  • OracleCommand Parsing Bug

    I am using Oracle.DataAccess.dll v2.111.6.0 and have encountered a bug in OracleCommand's parsing algorithm. This code should run properly: using (var con = new Oracle.DataAccess.Client.OracleConnection(connString)) con.Open(); using (var c = con.Cre

  • EXIF data lost from many photos

    I was looking through some old pictures taken with a Canon EOS 5D which I sold some time ago. There were around 3800 pictures. I discovered that 480 had no entry in their EXIF data fields for BODY SERIAL NUMBER and LENS. Other fields seem intact. All

  • Test and Dev configuration choosing between servers

    Need to create 2 node setups for Test and Dev utilizing 3 servers Server A - 8GB ram, 146GBx2 hd, 4 core 1.2GHz process. Server B - same as above Server C - 8GB Ram, 146GBx16 hd, 4 Dual corex1.2 GHz process What I was thinking was to make Server A an