Difficulty with CGPoint

I'm a complete newbie here, so be gentle.
I'm writing a program that needs to determine the distance between a user's touch and a given target point. Simple geometry, right? I think the method definition should look something like:
float distance;
distance = sqrt ((touch.x - target.x) * (touch.x - target.x) + (touch.y - target.y) * (touch.y - target.y));
return distance;
Since I'll be getting touch.x and touch.y from a touch's locationInView, I'll be dealing with a CGPoint.
To make sure I was doing things correctly, I figured I'd start with a pre-defined CGPoint and replace it with the CGPoint from the touch once I got the bugs worked out.
So in my implementation I entered this line:
CGPoint foo = CGPointMake (200.0, 200.0);
But when I build the files, I get the error:
"error: initializer element is not constant"
I've been wracking my brain, digging through my references and documentation and I'm just beating my head against a wall here. Any assistance or suggestions will be greatly appreciated.

CGPoint foo = CGPointMake (200.0f, 200.0f);
maybe this works?

Similar Messages

  • I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    ... I didn't know that Time Machine was more a last resort back up instead of main back up.
    Don't rely upon Time Machine to the exclusion of all else. I compliment Time Machine with a periodic "clone". TM is much better than nothing, but it's a safety net, not a hammock
    Here is my understanding of Time Machine's file deletion algorithm, distilled from Pondini's FAQ, Apple's KB articles, and my own observations.
    Time Machine deletes ("thins") files from the backup disk as follows:
    Hourly backups over 24 hours old, except the first backup of the day
    Daily backups over 30 days old, except the first backup of the week
    Older backups get deleted when Time Machine requires space and you deleted them from the source disk.
    Therefore, assuming TM has been performing at least one backup per day, backup files will remain available:
    at least thirty days, if they existed on your Mac for at least a day
    until you run out of space, if they existed on your Mac for at least a week
    In addition to the above, Time Machine always keeps one complete copy of your source disk so that the entire volume could be restored if necessary. Any files that remain on your source volume will be present on the TM backup, no matter how old they are.
    If you are using 250 GB of space on your source disk, its Time Machine backups are likely to require at least twice that much. A good estimate of the minimum required backup volume size would be about three times the size of your source disk - 1.5 TB in your case.
    A more thorough explanation would require Pondini since he has plumbed Time Machine's mysteries far more than I have.
    http://support.apple.com/kb/HT1427

  • I am having difficulty with opening up PDFs attachments in my email or on my computer. Every time I tried to open up an attachment, it asks me to renew my subscription when I already  have a valid subscription. Please abvise

    Hi,I am having difficulty with opening up PDFs attachments in my email or on my computer. Every time I tried to open up an attachment, it asks me to renew my subscription when I already  have a valid subscription. Please abvise

    Can you save the PDF to your disk and then open them with Acrobat?

  • Hi im having difficulty with my iphone 4s its been on charge for a number of hours and continues to flash the apple logo but will not turn on i have tried to reset but it did not help

    hi i am having difficulty with my iphone 4s it has been on charge for a number of hours but is just flashing the apple logo continuously i have tried to reset but nothing seems to work can anyone help me please

    What is a hard reset?  There is nothing in any of Apple's documentation that refers to a hard reset.
    There's a reset, a restart, and a restore.
    Please explain EXACTLY what you did.

  • Big difficulty with Adobe Reader

    I encounter big problems with Adobe Reader. I can read some documents and i cannot read others documents. I bought recently a new Sony computer and could install all applications without any difficulty  except Adober Reader.. The process to  install & use Adobe requires probably a professional. Please explain clearly how to use this Adobe. Many thanks in advance.

    Thank for your answer. Indeed i can open some documents PDF and i cannot open others documents PDF. Some of theses documents were before under Word available and yesterday they all came automatically under Adobe Reader.Those documents i cannot open under the arguments not available or not existent.
    Many thanks for explaining a simple way to solve this problem.
    [email address removed]
    Le Dimanche 16 février 2014 19h30, Test Screen Name <[email protected]> a écrit :
    Re: Big difficulty with Adobe Reader created by Test Screen Name in Adobe Reader - View the full discussion

  • When using facetime having difficulty with video, sound is ok.screen says reconnecting.

    When using facetime having difficulty with video.msound is ok. Screen says reconnecting

    There have been numerous reports of FaceTime problems for the last several days and it is unclear what the cause if. Following is one of many discussions of the issue: https://discussions.apple.com/thread/6096640?tstart=120

  • Serious Difficulty With Mail

    Hi All,
    I'm having seroius difficulty with Mail. Every time I start it up, it crashes within 30 seconds and I have to Force Quit every time. It has all the looks of a virus!!!!
    How do I erradicate this or how do I go about reinstalling Mail. I've repaired permissions and disk (there were no errors on the disk). I've also downloaded McAfee Virex and it found nothing - I'm running out of ideas.
    Can anyone help???
    Thanks,
    Seán.
    PowerBook G4 1.5GHz, 512MB, 80GB, AE   Mac OS X (10.4.3)  

    Don't waste your time being concerned about a virus causing this. If/when the first OS X virus is identified, it will be all over the newswires and the internet (including these Discussions) in a matter of hours if not minutes since it will be big news.
    Which Virex version did you download and install? Did you confirm the version you installed is compatible with Tiger?
    Re-installing the Mail.app rarely resolves such a problem.
    Quit Mail first and using the Finder, go to Home > Library > Mail. Move the Mail folder to the Desktop.
    Launch Mail and a new Mail folder and account named folders within will be created automatically. All account mailboxes will be empty and no user created "On My Mac" mailboxes will be available but this will determine if there is a problem in the old Mail folder moved to the Desktop.
    If this resolves the crashing problem, you can replace the various files that stores Rules, Signatures and Junk Mail "learned" settings, etc. and then import various mailboxes from the old Mail folder a few at a time to determine which files and/or mailboxes are causing the problem.
    If this doesn't resolve the crashing problem, with the Mail.app quit and using the Finder, go to Home > Library > Mail. Delete the newly created Mail folder. Move the old Mail folder back to the same location at Home > Library.
    Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Using the Finder, go to Home > Library > Preferences > com.apple.mail.plist. Move the com.apple.mail.plist file to the Desktop.
    Note: Moving the com.apple.mail.plist file out of the Preferences folder will require re-entering all email account information when re-launching Mail.
    Launch Mail and decline any prompt to import mailboxes. After re-entering all email account information the same as before, the Mail.app should rediscover the existing account named folder(s) and mailboxes at Home > Library > Mail.
    After confirming all mailboxes were successfully rediscovered, you can delete the copy of the Mail folder and old com.apple.mail.plist file from the Desktop.

  • HT1365 Hi I have Imac 5 processor and I guess installed Lion I am having difficulty with Wifi connection. Sometimes after shut down number of times still does not access wifi or if it does I can see wifi bar on iMac but can't open any webpage. Please help

    Hi everybody,
    I have Imac 5 processor and I guess installed Lion I am having difficulty with Wifi connection. Sometimes after shut down number of times still does not access wifi or if it does I can see wifi bar on iMac but can't open any webpage. Please help
    Thanks

    Hello:
    There was an OS X 10.7 update released a month or so ago that fixed this problem.  Run software update.
    Barry

  • I have had difficulty with yahoo mail since the security update on Dec 23rd - have you? if so do you have a resolution? I can get into yahoo but then cannot open individual emails or folders!!!

    I have had difficulty with yahoo mail since the security update on Dec 23rd - have you? if so do you have a resolution? I can get into yahoo but then cannot open individual emails or folders!!!!

    this is total bullshit. so frustrated with this nonsense.

  • Difficulty with Digitally Signed Email

    I have been having trouble downloading and displaying email messages that are digitally signed. I have downloaded the required certificates and imported them onto the Pre, using the methods outlined both here and in the Pre documentation. I have confirmed that they are the correct certificates by importing the certificates into Thunderbird and seeing the verification of the digital signatures there.
    The behavior I am seeing is that the messages take forever to load the body and eventually just time out. This is happening for ORC ECA SW3 and DoD Email CA-19 certificates. It may occur for others also, but I have not received signed messages using any other certificates.
    Has anyone else seen this behavior, after correctly installing certificates? Are there any work-arounds?
    Post relates to: Pre p100eww (Sprint)

    The Exchange server here will send messages to clients under the IMAP protocol with the proper certificates attached.  I would not recieve the digital signatures on Thunderbird if the server did not send them.  I can view the signature information using Thunderbird without difficulty.  These same messages will not load, except for the headers, using the IMAP portion of the WebOS client.  Using the EAS portion of the WebOS client, they load both the headers and the body, but do not indicate that they have been signed.
    While I am not the IT person for this server, I have run email serves in the past.  In addition, the IT people are just a door or two down from me here.  I believe the problem is really on your (Palm's) side.  Can anyone there confirm that a properly digitally signed email can be fully loaded using the Palm Pre's email client from a conforming IMAP server?
    Remember, IMAP is a well defined protocol, and it should conform to rigid guidelines.  Therefore, using a conforming IMAP server, you should be able to test the reception of digitally signed emails using the Pre client.

  • Difficulty with ADF Faces/ADF Essentials and Glassfish

    Hi all,
    I've got a web application written with ADF Faces, and it runs just fine within jDeveloper 11.1.2.3 but when I deploy it to Glassfish 3.1.2 (with ADF Essentials installed) something curious happens.
    My application has no difficulty performing database reads, but when it tried to write to the database and commit, it fails.
    I've seen only a couple of other people with this problem, and none of them seem to have found a solution - so I'm assuming it's something stupid that I'm doing or misunderstanding.
    Here is the log file:
    [#|2013-11-10T11:45:17.601-0500|WARNING|glassfish3.1.2|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=79;_ThreadName=Thread-2;|ADF: Adding the following JSF error message: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
    java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
      at oracle.jbo.server.BaseSQLBuilderImpl.isSQLRecoverableException(BaseSQLBuilderImpl.java:4575)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3380)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at app.AppModuleImpl.commitOperation(AppModuleImpl.java:50)
      at com.methods.lrc.view.VendorBean.createPaymentReceived(VendorBean.java:509)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at com.methods.lrc.view.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:42)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:724)
    Here is the method where it fails:
        public String createPaymentReceived() {
            AppModuleImpl appModule = this.getAppModule();
            ViewObjectImpl paymentReceivedVOI = appModule.getPaymentsReceivedView3();
            Row paymentRow = paymentReceivedVOI.createRow();
            paymentRow.setAttribute("CheckNumber", prCheckNumber);
            paymentRow.setAttribute("PaymAmount", totalSelectedValue);
            paymentRow.setAttribute("PaymentComment", prComment);
            paymentRow.setAttribute("PaymentDate", prPaymentDate);
            paymentRow.setAttribute("PaymentType", prPaymentType);
            paymentRow.setAttribute("TrackId", prTrackId);
            appModule.commitOperation();
            DBSequence paymentsReceivedId = (DBSequence)paymentRow.getAttribute("PaymentsReceivedId");
            Iterator selectionIt = unpaidPaymentItemsTable.getSelectedRowKeys().iterator();
            while (selectionIt.hasNext()) {
                Object rowKey = selectionIt.next();
                unpaidPaymentItemsTable.setRowKey(rowKey);
                int index = unpaidPaymentItemsTable.getRowIndex();
                JUCtrlHierNodeBinding row = (JUCtrlHierNodeBinding)unpaidPaymentItemsTable.getRowData(index);
                Row selectedRow = row.getRow();
                selectedRow.setAttribute("PaymentsReceivedId", paymentsReceivedId.getSequenceNumber());
                selectedRow.setAttribute("PaymentDate", prPaymentDate);
            appModule.commitOperation();
            prCheckNumber = null;
            totalSelectedValue = 0;
            prComment = null;
            prPaymentDate = new Date();
            prTrackId = null;
            prPaymentType = "K";
            refreshTableIterator("VendorPaymentItemsView1Iterator");
            refreshTableIterator("VendorPaymentsReceived1Iterator");
            return null;
    it fails on the second appModule.commitOperation() (which I've bolded)
    if anyone can give a clue to what I'm misunderstanding I'd really appreciate it.  I'm sure that if I had the course for BaseSQLBuilderImpl.java and/or DBTransactionImpl it would be easier to see what the actual error was - unfortunately java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception doesn't tell me much of anything.
    Thanks so much to anyone who's got the time/knowledge to help.
    Bob

    That doesn't seem to make any difference.  It works just fine within jDeveloper, but as soon as I deploy it, I can no longer write to the database.
    A few more details that seem relevant - it's not only this method that fails.  Even on screens which were designed without any backing code (where I used the wizards to create my forms and commit buttons) the same exact thing happens.
    I've also replicated this behavior in Tomcat.
    Part of what is happening is that something is throwing a NoClassDefFoundError, which is caught by a catch (Throwable thEx) clause within DBTransactionImpl.  This passes the Error to a method (isSQLRecoverableException) within the BaseSQLBuilderImpl class.  The problem is that this method takes only Exceptions for arguments, and NoClassDefFoundError is not a subclass of Exception (only of Throwable.)
    It seems obvious to me that there's somewhere a jar missing, but I cannot find it without knowing which class was not found.

  • Difficulty with SF2 files containing multiple sounds; only one sound will play

    Here's my difficulty. I know exactly how to install SF2 soundfonts on my computer, I have used them in several compositions, but there's one limitation I havent been able to overcome.
    Some soundfonts, as you probably know, contain multiple sounds. My problem is that when I have a multi-sound SF2 selected, I can only get GarageBand to play one sound -- presumably the first one in the pack. There are no options in the DLS Music Player window for selecting other sounds within the soundfont; only the soundfont itself is listed. I have a couple of soundfont packs where the different sounds are all split into individual SF2s within a folder, and that displays as a submenu properly... but I can't get these others to work properly. Any ideas?

    I don't think you can get it to work with the current version of GB. There used to be a plugin called SoundFontSynth that handled soundfonts with sound banks, but it has been discontinued and the auther never replied to emails.

  • Tungsten E difficulty with tapping on screen...

    My Tungsten E display will not always navigate when I tap with the stylus. Also, difficulty moving the slider bar. I don't know if this is just because it is wearing out from overuse, or if replacing the screen will help at all. Sometimes I have to tap a spot 3 or 4 times before I get a response.
    Post relates to: Tungsten E

    HELP!! I am having the exact same problem, and I am very sure the screen is going to get damaged due to the pressure required for the palm to respond. The worst spot is the lower right. I haven't had the unit more than a few months, and it was new in the package when I got it. The screen has always been like this. Hopefully SOMEONE can help us??

  • Having tremendous difficulty with the new version of iTunes.  Moving from a playlist to the main music library has iTunes using 100% of the cpu and listed as not responding.  Not sure this new version was ready for release!

    OK, issue seems to be when I've selected "Albums" as the view.  Moving to "Songs" is OK.  This problem just appeared with the new release.  Anyone else having difficulty?

    well nobody bothered to give me a hint on what to do, maybe because the problems with the new version of iTunes are really a lot, there is an enormous amount of people out there that have all sort of different problems including mine  so I have decided to return to the previous version which works fine and wait untill the apple people come up with a decent product ....

  • Difficulty with printer installation? Try HP Diagnostics

    Need to know your network keys to setup your wireless printer?
    Do you need to find out if your printer is properly connected to your network? 
    Would you like to know if a firewall is blocking printer communication and/or software installation? 
    If you are experiencing problems installing or connecting to your networked HP printer, you should download and run the HP Print and Scan Doctor to help solve the issues mentioned above and more.
    The HP Print and Scan Doctor will guide you through troubleshooting your network printer setup and connectivity problems.  It also provides you with a wealth of information regarding your network and, in some cases, automatically fixes network connectivity issues.
    The HP Print and Scan Doctor runs on Windows XP, Vista, Win 7, and Win 8.  You will need administrator privileges in order to run the utility.
    Get it here:  HP Print and Scan Doctor
    Please Give HP Your Feedback!  If you use any of the HP Diagnostic Utilities, HP would like to hear from you afterward – there’s a survey link built right into each of the utilities and it only takes a minute or two.  Your ideas on how to improve the utilities help HP design future features and enhancements to the utilities.  Thanks for taking the time to respond.
    Installing a printer with USB (not network)?  Try the HP Print Print and Scan Doctor
    HP suggests that you download and run the HP Print and Scan Doctor, which also helps for USB connected printers.  While not all types of printing communication problems are addressed with this software utility, many common problems are resolved. This utility can be used to troubleshoot and in some cases directly fix common connectivity problems experienced with many of hp’s all-in-one devices when used on Windows XP, Vista, Win 7, and Win 8 systems (administrator privileges are necessary in order to run the utility).
    If the HP Print and Scan Doctor detects missing or incompatible software parts, the utility will offer to uninstall the current parts so that a subsequent reinstall process will go smoothly.  The uninstall / reinstall process usually resolves printing connectivity issues with a minimum of further fuss.
    Get it here:  HP Print and Scan Doctor
    Additional information on using HP Diagnostic Utilities can be found here:
                      www.hp.com/go/tools
    Hope these tools are helpful with your install !
    Kent G.
    I work for Hewlett-Packard

    
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar

Maybe you are looking for