How do I make this code generate a new pro when the "NEXT" button is pushed

How do I make this code generate a new set of problem when the "NEXT" Button is pushed
* To change this template, choose Tools | Templates
* and open the template in the editor.
/* Figure out how to create a new set of problms
* Type a list of specifications, include a list of test cases
* DONE :]
package javaapplication1;
import java.awt.GridLayout;
import java.awt.Window;
import javax.swing.*;
import java.awt.event.*;
* @author Baba Akinlolu -
class Grid extends JFrame{
    int done = 0;
    final int score = 0;
    final int total = 0;           
        //Create Panels
        JPanel p2 = new JPanel();
        JPanel p3 = new JPanel();
        final JPanel p1 = new JPanel();
        //Create Radio buttons & group them
        ButtonGroup group = new ButtonGroup();
        final JRadioButton ADD = new JRadioButton("Addition");
        final JRadioButton SUB = new JRadioButton("Subtraction");
        final JRadioButton MUL = new JRadioButton("Multiplication");
        final JRadioButton DIV = new JRadioButton("Division");
        //Create buttons
        JButton NEXT = new JButton("NEXT");
        JButton END = new JButton("End");
        //Create Labels
        JLabel l1 = new JLabel("First num");
        JLabel l2 = new JLabel("Second num");
        JLabel l3 = new JLabel("Answer:");
        JLabel l4 = new JLabel("Score:");
        final JLabel l5 = new JLabel("");
        JLabel l6 = new JLabel("/");
        final JLabel l7 = new JLabel("");
        //Create Textfields
        final JTextField number = new JTextField(Generator1());
        final JTextField number2 = new JTextField(Generator1());
        final JTextField answer = new JTextField(5);
    Grid(){
        setLayout(new GridLayout(4, 4, 2 , 2));
        p2.add(ADD);
        p2.add(SUB);
        group.add(ADD);
        group.add(SUB);
        group.add(MUL);
        group.add(DIV);
        p2.add(ADD);
        p2.add(SUB);
        p2.add(DIV);
        p2.add(MUL);
        //Add to panels
        p1.add(l1);
        p1.add(number);
        p1.add(l2);
        p1.add(number2);
        p1.add(l3);
        p1.add(answer);
        p1.add(l4);
        p1.add(l5);
        p1.add(l6);
        p1.add(l7);
        p3.add(NEXT);
        p3.add(END);
        //Add panels
        add(p2);
        add(p1);
        add(p3);
        //Create Listners
        Listeners();
void Listeners(){
      NEXT.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
         int answer1 = 0;
         //Grab the numbers entered
         int numm1 = Integer.parseInt(number.getText());
         int numm2 = Integer.parseInt(number2.getText());
         int nummsanswer = Integer.parseInt(answer.getText());
         //Set the score and total into new variabls
         int nummscore = score;
         int nummtotal = total;
         //Check if the add radio button is selected if so add
         if (ADD.isSelected() == true){
             answer1 = numm1 + numm2;
         //otherwise check if the subtract button is selected if so subtract
         else if (SUB.isSelected() == true){
             answer1 = numm1 - numm2;
         //check if the multiplication button is selected if so multiply
         else if (MUL.isSelected() == true){
             answer1 = numm1 * numm2;
         //check if the division button is selected if so divide
         else if (DIV.isSelected() == true){
             answer1 = numm1 / numm2;
         //If the answer user entered is the same with th true answer
         if (nummsanswer == answer1){
             //add to the total and score
             nummtotal += 1;
             nummscore += 1;
             //Convert the input back to String
             String newscore = String.valueOf(nummscore);
             String newtotal = String.valueOf(nummtotal);
             //Set the text
             l5.setText(newscore);
             l7.setText(newtotal);
         //Otherwise just increase the total counter
         else {
             nummtotal += 1;
             String newtotal = String.valueOf(nummtotal);
             l7.setText(newtotal);
  //Create End listener
END.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        // get the root window and call dispose on it
        Window win = SwingUtilities.getWindowAncestor(p1);
        win.dispose();
//new Grid();
String Generator1(){
     int randomnum;
     randomnum = (1 + (int)(Math.random() * 100));
     String randomnumm = String.valueOf(randomnum);
     return randomnumm;
public class Main {
     * @param args the command line arguments
    public static void main(String[] args) {
        // TODO code application logic here
        JFrame frame = new Grid();
        frame.setTitle("Flashcard Testing");
        frame.setSize(500, 200);
        frame.setLocationRelativeTo(null);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
}Edited by: SirSaula on Dec 7, 2009 10:17 AM

Not only are you continuing to post in the wrong forum but now you are multiposting: [http://forums.sun.com/thread.jspa?threadID=5418935]
If people haven't answered you other posting its probably because we don't understand the question. Quit cluttering the forum by asking the same question over and over and then next time you have a new question post it in the proper forum. Your first posting was moved becuase you didn't post it properly.

Similar Messages

  • How do I make this program generate a new problem once the button is hit

    Here is the code... appreciate any help given
    How do I make this program generate a new set of problem when the "NEXT" button is clicked and continue until the END button is hit
    package javaapplication3;
    import java.awt.GridLayout;
    import java.awt.Window;
    import javax.swing.*;
    import java.awt.event.*;
    * @author Sylvester Saulabiu
    class Grid extends JFrame{
        final int score = 0;
        final int total = 0;
        Grid(){
            //Set Layout of Flashcard
            setLayout(new GridLayout(4, 4, 2 , 2));
            //Create Panels
            JPanel p2 = new JPanel();
            JPanel p3 = new JPanel();
            final JPanel p1 = new JPanel();
            //Create Radio buttons & group them
            ButtonGroup group = new ButtonGroup();
            final JRadioButton ADD = new JRadioButton("Addition");
            final JRadioButton SUB = new JRadioButton("Subtraction");
            final JRadioButton MUL = new JRadioButton("Multiplication");
            final JRadioButton DIV = new JRadioButton("Division");
            p2.add(ADD);
            p2.add(SUB);
            group.add(ADD);
            group.add(SUB);
            group.add(MUL);
            group.add(DIV);
            p2.add(ADD);
            p2.add(SUB);
            p2.add(DIV);
            p2.add(MUL);
            //Create buttons
            JButton NEXT = new JButton("NEXT");
            JButton END = new JButton("End");
            //Create Labels
            JLabel l1 = new JLabel("First num");
            JLabel l2 = new JLabel("Second num");
            JLabel l3 = new JLabel("Answer:");
            JLabel l4 = new JLabel("Score:");
            final JLabel l5 = new JLabel("");
            JLabel l6 = new JLabel("/");
            final JLabel l7 = new JLabel("");
            //Create Textfields
            final JTextField number = new JTextField(Generator1());
            final JTextField number2 = new JTextField(Generator1());
            final JTextField answer = new JTextField(5);
            //Add to panels
            p1.add(l1);
            p1.add(number);
            p1.add(l2);
            p1.add(number2);
            p1.add(l3);
            p1.add(answer);
            p1.add(l4);
            p1.add(l5);
            p1.add(l6);
            p1.add(l7);
            p3.add(NEXT);
            p3.add(END);
            //Add panels
            add(p2);
            add(p1);
            add(p3);
            //Create Listners
      NEXT.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
             int answer1 = 0;
             //Grab the numbers entered
             int numm1 = Integer.parseInt(number.getText());
             int numm2 = Integer.parseInt(number2.getText());
             int nummsanswer = Integer.parseInt(answer.getText());
             //Set the score and total into new variabls
             int nummscore = score;
             int nummtotal = total;
             //Check if the add radio button is selected if so add
             if (ADD.isSelected() == true){
                 answer1 = numm1 + numm2;
             //otherwise check if the subtract button is selected if so subtract
             else if (SUB.isSelected() == true){
                 answer1 = numm1 - numm2;
             //check if the multiplication button is selected if so multiply
             else if (MUL.isSelected() == true){
                 answer1 = numm1 * numm2;
             //check if the division button is selected if so divide
             else if (DIV.isSelected() == true){
                 answer1 = numm1 / numm2;
             //If the answer user entered is the same with th true answer
             if (nummsanswer == answer1){
                 //add to the total and score
                 nummtotal += 1;
                 nummscore += 1;
                 //Convert the input back to String
                 String newscore = String.valueOf(nummscore);
                 String newtotal = String.valueOf(nummtotal);
                 //Set the text
                 l5.setText(newscore);
                 l7.setText(newtotal);
             //Otherwise just increase the total counter
             else {
                 nummtotal += 1;
                 String newtotal = String.valueOf(nummtotal);
                 l7.setText(newtotal);
      //Create End listener
    END.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            // get the root window and call dispose on it
            Window win = SwingUtilities.getWindowAncestor(p1);
            win.dispose();
    String Generator1(){
         int randomnum;
         randomnum = (1 + (int)(Math.random() * 20));
         String randomnumm = String.valueOf(randomnum);
         return randomnumm;
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            JFrame frame = new Grid();
            frame.setTitle("Flashcard Testing");
            frame.setSize(500, 200);
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
    }Edited by: SirSaula on Dec 5, 2009 4:39 PM

    Extract code into methods, so that when an action is performed a method is called. That way you can reuse the method for purposes such as resetting textfields to their default values, scores to default values, etc.
    You can go one step further and seperate the GUI layer from the processing layer, by deriving classes that for example maintain and calculate a score.
    Mel

  • HT1473 i just purchased a new desktop computer.  I had downloaded music from CD's on my old computer.  How do I get this music on my new computer.  The music is on my iPhone, can I download from my phone?

    I just purchased a new desktop computer.  I had downloaded music from CD's on my old computer.  How do I get this music on my new computer?  The music is on my iphone, can I download from my phone?

    btkamp wrote:
    I just purchased a new desktop computer.  I had downloaded music from CD's on my old computer.
    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751
    An Added Bonus is that you will have a Backup of iTunes.
    btkamp wrote:
    The music is on my iphone,
    If you do not have access to the iTunes Library on your Old computer... or its Backup...
    See  https://discussions.apple.com/docs/DOC-3991

  • How do I make fire fox open a new tab when I type in the search bar and press enter?

    Hi,
    I know I have found this solution before, but can't find it again. Please help?
    In FF 27.0.1, when I put the cursor in the search bar, type words and hit enter, it starts the search in the current tab. How do I make FF always start the search in a new tab when I hit enter from the search bar?
    Thanks!
    G

    Hello,
    Go to '''about:config''' search for '''browser.search.openintab''' change its value to '''true'''
    *[http://kb.mozillazine.org/About:config about:config]

  • HT1212 ipad disabled, but I can't connect t o iTunes because it's locked. How can I entere my code to unlock my iPad when the it's disabled.

    when I try to connect my ipad to my itune account it does not allow me to do that. I've followed the instruction , but keep getting the same result " ITunes could not connect to the iPad because it's locked with a passcode. I have never connected this iPad to This computer.

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • How do I make track end jump go to menu and highlight next button.

    I have a DVD with several programmes each with its own menu button, with track (button) one as the highlighted default. I would like the end jump of each programme to be back to the menu (easy) BUT with the button for the next track highlighted. How do I do that.

    Click on the Track your want to jump from - then in the properties panel select "End Jump". A pop out menu will appear giving you the choice of where to go. Select the Menu you want and choose the Button you want to land on in the list.

  • How can I authorize my iPod on a new laptop when the email address has changed?

    I had another laptop when I signed on with an account for my iPod nano.  The IP address changed only for commercial use.  I now have another laptop and registered with my new email address.  However, when I try to move my music and podcasts it brings up my old email address.  I don't want to lose all of the music and podcasts I bought.  How can I authorize this computer and transfer my things?

    http://support.apple.com/kb/TS1389

  • How do I reinstall Yosemite on my retina MacBook Pro when the only disk option to choose is Recovery HD and it is locked?

    I was trying to install windows 8 on boot camp but it said the disk couldn't be partitioned because some of the files couldn't be moved. So I went into disk utility and selected my HD (the second option) and clicked erase but I went super quick and I believe there was an error. Now I am trying to reinstall OS X Yosemite but when I click on "Re-install" Yosemite the only two options for where I want to install it are my recovery HD (which is 650MB total) and my Wininstall bootable windows USB. I don't know if I did something serious or how to reinstall Yosemite when I can't select or do anything with the first main Macintosh HD option in Disk Utility. Please help!

    Install or Reinstall OS X from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
               because it is three times faster than wireless.

  • How can I make this code faster? optimized.

    Its part of two jsp pages that go back and forth. I feel I am creating new strings all of the time. I have 3 graphic representations of a radion button and a check box. its for a quiz program.
    if the button is not checked, it uses rd0.gif.
    if the button is checked, then its assigned rd1.gif.
    However, if the button is the wrong answer, then its assigned rd2.gif.
    the use of char arrays is neccasary, but not vital, I guess I could use indexof in the string. But I Dont know if its faster. I want to optimize the code, so it uses less resources.
    heres the code
    TrueFalse=entry[11].indexOf("TRUE");
    myButton = Integer.parseInt((String)session.getAttribute("BUTTONNO"));
    GivenAnswer =(String)session.getAttribute("GIVEN");
    if(TrueFalse==-1) {
    char[] questions = GivenAnswer.toCharArray();
    for(x=1;x<5;x++) {
    if(questions[x]=='1') { bp[x]="images/ck1.gif"; }else{ bp[x]="images/ck0.gif";}
    }else{
    if(myButton==1) {bp[1] = "images/rd1.gif";} else {bp[1] = "images/rd0.gif";}
    if(myButton==2) {bp[2] = "images/rd1.gif";} else {bp[2] = "images/rd0.gif";}
    questions is discarded.
    the quiz is fast at the begining, but once you go deeper and deeper it slows down. This is the second page:
    <%@ include file ="include4.jsp" %>
    <%
    session.setAttribute("BUTTONNO", "1");
    GivenAnswer =(String)session.getAttribute("GIVEN");
    char[] questions = GivenAnswer.toCharArray();
    questions[1]='1';
    tempString = new String (questions);
    GivenAnswer = tempString;
    session.setAttribute("GIVEN", GivenAnswer);
    %>
    <jsp:forward page="train2.jsp">
    </jsp:forward>
    I tried to keep all of the code on one page, but I am using images instead of real radio buttons, for several reasons. JSP doesnt seem to return a value for check/radio buttons in JSP, so clicking on an anchored image and going to a second JSP PAge seemed reasonable. I dont know how to force garbage collection. But the speed in which the pages and images appear, get slower and slower. so I Think im using up memory (Stings) at a greater rate than I should.
    thanks
    MIKe NIEMI
    [email protected]

    I'm not sure that an "optimisation" is necessarily what you're after. I doubt it's the creation of Strings that's causing any performance issue - even if it is then it's probably the result of something more sinister.
    Don't assume that your code is using a lot of resources.
    For example it's tempting to change it to this:
    if(myButton==1) {bp[1] = "images/rd1.gif";} else {bp[1] = "images/rd0.gif";}
    if(myButton==2) {bp[2] = "images/rd1.gif";} else {bp[2] = "images/rd0.gif";}
    // change to this?
    bp[myButton] = "images/rd1.gif";
    bp[3 - myButton] = "images/rd0.gif";I'd say that the original code was clearer and used just as many resources (once the Strings are interned).
    The same goes for this:
    if(questions[x]=='1') { bp[x]="images/ck1.gif"; }else{ bp[x]="images/ck0.gif";}
    // change to this?
    bp[x] = "images/ck" + questions[x] + ".gif";Again, the former is possibly clearer as it indicates that questions is really a boolean flag - it should also be easily optimised by the compiler.
    You're right that you could replace "questions" by simply using GivenAnswer.charAt(x).
    Enterprise Java applications can generate hundreds of thousands of Strings during their execution - your Servlet is unlikely to have a serious impact on that unless you've got an enormous loop in there or a very large user base.
    A golden rule of optimisation is not to assume that you know where the performance/resource bottlenecks are. Measure the improvement you get from a change - does it warrant the resultant increase in the complexity of the code?
    Put some profiling in your code - how long is it taking to run your Servlet? How many times is it being invoked? I can't imagine that the code you've provided will take more than a few milliseconds to run.
    Also, you can't force garbage collection. You can suggest it to the Java runtime (it might not even have a garbage collector!). However, this generally indicates a flaw in the application and should be avoided unless absolutely necessary (and it's not in this case!).
    If you really want to optimise then get hold of something like OptimizeIt - it will provide a great deal of information about what's being created and where.
    Hope this helps.

  • How do I make this Applescript dig trough All subfolders of the Parent folder?

    Im using a script to batch convert a bunch of m4v´s to a set framesize, and im using this script with automator as a Finder Service. However, if theres a folder inside my parentfolder (Omkodning) with its own folder, it doesn't look inside that folder. Since my heriarchi is deeper then just one folder, this script isn't working all the way. How do I change it to search the entire content of my parent folder (Omkodning), subfolders and the missing part, sub-subfolders ?
    --on adding folder items to this_folder after receiving these_items with timeout of (720 * 60) seconds tell application "Finder" --Get all m4v files that have no label color yet, meaning it hasn’t been processed set allFiles to every file of entire contents of ("FIRSTHD:Users:jerry:Desktop:Omkodning" as alias) whose ((name extension is "m4v") and label index is 0) --Repeat for all files in above folder repeat with i from 1 to number of items in allFiles set currentFile to (item i of allFiles) try --Set to gray label to indicate processing set label index of currentFile to 7 --Assemble original
    and new file paths set origFilepath to quoted form of POSIX path of (currentFile as alias) set newFilepath to (characters 1 thru -5 of origFilepath as string) & "mp4'" --Start the conversion set shellCommand to "nice /Applications/HandBrakeCLI -i " & origFilepath & " -o " & newFilepath & " -e ffmpeg4 -b 1200 -a 1 -E faac -B 160 -R 29.97 -f mp4 –crop 0:0:0:0 crf 24 -w 640 -l 480 ;" do shell script shellCommand --Set the label to green in case file deletion fails set label index of currentFile to 6 --Remove the old file set shellCommand to "rm -f " & origFilepath do shell script shellCommand on error errmsg --Set the label to red to indicate failure set label index of currentFile to 2 end try end repeat end tell end timeout --end adding folder items to
    Message was edited by: Jayboys

    Telling the Finder to get the entire contents of a folder will also get the contents of subfolders (unless they are aliases).
    Note that the attached folder and the items that were added are passed to the adding folder items to handler in the this_folder and these_items parameters.

  • How can I reassign an iPad to a new user when the previous user is not available?

    I am in IT for my company and we issue iPads to team members. When they separate we wipe the iPads and keep them available for reassignment.
    I am trying to reassign one of the returned iPads to another user now. It is not allowing me to do so. I see on Apple's support site, there instructions for resolving this if the previous 'owner' is available, but I do not see steps for if they are not.
    I will try calling Apple support as well... However, comments and suggestions you might respond with are appreciated.
    Thanks

    iCloud: Activation Lock
    http://support.apple.com/kb/PH13695
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    http://support.apple.com/kb/TS4515
    iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    Talk to Apple Support. A Senior Advisor could unlock the device as long as you are able to provide the device serial number and proof of purchase.
    The direct number for Apple’s Support is (800) 694-7466
    Streamlined email process for removing activation lock
    AppleCare has announced a new process to assist institutions with returned devices which may be activated locked.  For customers who experience this for the first time please call AppleCare at 800-800-2775 so that the process and needed documentation can be explained.  After the initial call customers can email with the required documentation for all Activation Lock Removal requests.
     Cheers, Tom

  • How can i share my library with my new computer when the itunes on the new computer does not have the "look for shared libraries" command in the preferences/shared pane?

    It worked fine before i updated the most recent update, My old computer readds the new one but the new one does not read the old one now.

    Is the iTunes library actually shared on the old computer?
    I have never had a need for forcing iTunes to look for shared libraries, it simply detects them.

  • How do i transfer my library to a new computer when the old one is broken

    ok my old computer died and the information may not be recoverable is there a way to get my library on my new computer? no i did not have the cloud my computer was that old.

    Unless you have a backup somewhere, then no.
    You need the entire iTunes folder located in the My Music directory on your old PC.
    You will still be able to redownload your iTunes purchases but any non-iTunes purchased media will be lost as well as playlists, play counts, etc...

  • HT4356 I have an older HP connected to the usb port of my Time Machine, and have it shared.  I want to print from my iPhone on the network, but it can not be found in airport?  How do I make this work?

    I have an older HP connected to the usb port of my Time Machine, and have it shared.  I want to print from my iPhone on the network, but it can not be found in airport?  How do I make this work?

    AirPrint printers connected to the USB port of the Apple AirPort Base Station or Time Capsules are not supported with AirPrint.
    Read through this for information about Airprint printers and how to use them:
    http://support.apple.com/kb/ht4356

  • I upgraded to 10.9.2 and now my Canon MX870 won't print.  Their driver site only listed drivers for 10.6.  How do I make this work?

    I upgraded to 10.9.2 and now my Canon MX870 won't print.  Their driver site only listed drivers for 10.6.  How do I make this work?

    I just looked at the Canon site and it has Mavericks drivers.
    http://www.usa.canon.com/cusa/macosx_lion/multifunction_printers/pixma_mx_series /pixma_mx870?selectedName=DriversAndSoftware

Maybe you are looking for

  • Is it necessary to have Drive Genius?

    I already have the Tech Tool Deluxe that came with Applecare & I also use the Apple Hardware test via the Applications Disc. Would I get anything more from using Drive Genius to test my Macbook? Just curious, don't know if I should spend $100 when I

  • [SOLUTION] working cinelerra 4.1, not cv

    Hi: After struggling a while to make the default cinelerra-cv package work (reported the error as stated in this thread: http://bbs.archlinux.org/viewtopic.php?id=85542), I tried with the Heroinwarrior's cinelerra 4.1 version. It just works for my ne

  • Error 56 in Telnet Read

    Hi! Does anybody know why I get error 56 with Telnet Read function even connection is workin fine and I can receive messages trough Telnet? I have tryed to use Line read and normal mode. With normal mode i have use bytes to read values, which are sam

  • RFC Sender configuration : RFC - XI - FILE

    Hi All, I read the post at RFC Sender Configuration in Asynchronous Mode and I have the same problem for the configuration. I want to do a simple asynchronous RFC scenario ( RFC -> XI -> FILE) but I keep getting errors. Do I need to create a BPM to m

  • HP pro 8500A all in 1

    Since trying to use Smart Print all I get is a column of print. I can not get it to change back to full page. Off line printing is ok but anything over the internet comes out in one column.