Cannot Read PJL response from HP photosmart 5510

Hi all,
            I have small code that reads printer status using PJL command INFO STATUS. I can get the PJL response from different hp printers like hp4005n, hp4515 and hp M1212nf . When I send the same command to HP photsmart 5510 I get no response from printer. Infact I get EOF(end of file) error. Is it because HP photosmart does not support PJL read back statuses ? I shall be very thankful for any help in this regard.
Thanks,
Ali

Restart your printer and WiFi router by removing power for 30 seconds.

Similar Messages

  • Hello MacBook Pro Musicians- I cannot read sheet music from the ipad. It is too small. I want to connect a large monitor, hopefully wirelessly to my 13 inch macbook pro. what would I need to connect ? Any suggestions on how to keep monitor from falling?

    Hello Macbook Pro Musicians--I cannot read sheet music from my 13" macbook or from an IPad. The print is too small for these aging eyes! So I need to get a large monitor to attach to the Macbook.  I want the monitor to be connected wirelessly or using a blue tooth.  This will eliminate alot of potential mishaps
    when playing out.  Also I am having a time figuring out how I am going to safely keep the monitor on somekind of music stand without falling!!!  Can anyone help me with this?

    Hi Julius,
    As you can see in my profile section, my MBP is older by 5 years, 2GB RAM and with regards to question 1 (Q1), has no problems with having all those programs open at the same time with the possible exception of Photoshop since I use Gimp instead. With twice the RAM and much overall much better specs, Photoshop shouldn't be an issue. But you listed some other activities that might need that additional RAM. But the advise most give is to not get it from Apple but from a third party.
    Q5 - I always get Apple Care. Only had to use it once but it paid for itself that one time.
    Sorry, can't help you much with the questions you really want answered since I won't have a new MBP until (hopefully) next week but for Q4, I believe it depends on the peripheral. My current monitors are too old to allow them to be hooked up in a chain. Supposedly, if the monitors do have the ports, you could via the MBP Thunderbolt port. The speeds are also dependent upon the peripheral. If the external hard drive is using a USB 2 port, you are limited by that speed (480 Mb/s). If it has a Thunderbolt port, then from what I understand, we, my friend, are in for some great times because I believe your RAM will have the ability to access data as fast as it can take it at 10Gb/s (and if will need those kinds of speeds, the 8GB of RAM may be the way to go). The Thunderbolt demos on YouTube where they are accessing four video files from a Raid drive, then sending them back out via Final Cut Pro to a monitor are amazing. I'll probably never push this machine to anywhere near it's limits but I can't wait to see what others do.
    Peace,
    Jeremiah

  • Unable to read SEARCH response from backend server

    Currently we have problem when searching huge amounts of users against new SunOne Directory Server v6.3
    in production and acceptance.
    [17:12:43] root@ecdiala03-2[!]# /opt/app/sun/ds6/bin/dsadm -V
    [dsadm]
    dsadm : 6.3 B2008.0311.0058 NAT
    [slapd 64-bit]
    Sun Microsystems, Inc.
    Sun-Java(tm)-System-Directory/6.3 B2008.0311.0058 64-bit
    ns-slapd : 6.3 B2008.0311.0058 NAT
    Slapd Library : 6.3 B2008.0311.0058
    Front-End Library : 6.3_MTR_5087249_1_20081209 B2008.1210.1821
    ==============================================================
    It’s not working while searching huge amounts of users against DPS.However, It’s working while searching huge amounts of users against DS.
    Below is the error from access log of DPS when the problem occurred.
    ==================================
    31/Mar/2009:14:08:17 +0200] - CONNECT - INFO - conn=4565433 client=153.88.247.15:2719 server=ecdiala03-1:389 protocol=LDAP
    [31/Mar/2009:14:08:17 +0200] - PROFILE - INFO - conn=4565433 assigned to connection handler cn=default connection handler, cn=connection handlers, cn=config
    [31/Mar/2009:14:08:17 +0200] - OPERATION - INFO - conn=4565433 op=0 BIND dn="uid=itimadm1,ou=system accounts,o=ericsson" method="SIMPLE" version=3
    [31/Mar/2009:14:08:17 +0200] - SERVER_OP - INFO - conn=4565433 op=0 BIND dn="uid=ITIMADM1,ou=system accounts,o=Ericsson" method="SIMPLE"" version=3 s_msgid=17 s_conn=ecditna03-2:72725
    [31/Mar/2009:14:08:17 +0200] - SERVER_OP - INFO - conn=4565433 op=0 BIND RESPONSE err=0 msg="" s_conn=ecditna03-2:72725
    [31/Mar/2009:14:08:17 +0200] - PROFILE - INFO - conn=4565433 assigned to connection handler cn=BindDone,cn=connection handlers,cn=config
    [31/Mar/2009:14:08:17 +0200] - OPERATION - INFO - conn=4565433 op=0 BIND RESPONSE err=0 msg="" etime=0
    [31/Mar/2009:14:08:17 +0200] - OPERATION - INFO - conn=4565433 op=1 msgid=2 SEARCH base="ou=External,o=Ericsson" scope=2 filter="(objectclass=inetorgperson)" attrs="*"
    [31/Mar/2009:14:08:17 +0200] - SERVER_OP - INFO - conn=4565433 op=1 SEARCH base="ou=external,o=ericsson" scope=2 filter="(objectclass=inetorgperson)" attrs="*" s_msgid=18 s_conn=ecditna03-2:72725
    [31/Mar/2009:14:12:25 +0200] - OPERATION - INFO - conn=4565433 op=1 SEARCH RESPONSE err=1 msg="Unable to read SEARCH response from backend server : Timeout when waiting to read from input stream" nentries=33959 etime=248309
    [31/Mar/2009:14:17:25 +0200] - DISCONNECT - INFO - conn=4565433 reason="other" msg="Exception caught while polling client connection LDAP.153.88.247.15.2719 -- java.io.IOException: Connection reset by peer"
    ================================
    >>
    > > [15:12:29] root@ecdiala03-1[!]# ./dpadm -V
    > >
    > > [dpadm]
    > >
    > > dpadm :
    > >
    6.3_PD_COMBO_CUMULATIVE_VIRTUAL_15112008_ED2.0+6774589+6780423+6778308+6782659_2
    > > B2008.1212.0459 NAT
    > >
    > >
    > >
    > > [DPS]
    > >
    > > Sun Microsystems, Inc.
    > >
    > >
    Sun-Java(tm)-System-Directory-Proxy-Server/6.3_PD_COMBO_CUMULATIVE_VIRTUAL_15112008_ED2.0+6774589+6780423+6778308+6782659_2
    > > B2008.1212.0436
    > >
    > > =================

    We have changed the value of data-source-read-timeout in DPS from 20s to 30m.As per application test, the "time out" error has gone, but we get a new error as following.
    ==========================
    [27/Apr/2009:05:28:36 +0200] - SERVER_OP - INFO - conn=209469 op=8 SEARCH base="ou=internal,o=ericsson" scope=2 filter="(objectclass=ericssonInternal)" attrs="EriCA-AttesterNL EriCA-EmploymentForm EriCA-KeyRecoveryNL-Auth EriCA-NL-Auth EriCA-NLOTP-Admin EriCA-NLOTP-User EriCA-accountExpires c cn departmentNumber description displayName eriCompanySynch eriCountry eriCountryCode eriEmployeeStatus eriExpired eriIsManager eriMasterDomain eriOpOrgUnitAbbreviation eriOpOrgUnitIdentifier eriOpOrgUnitName eriOperationalManager eriPartner eriPartnerTrigram eriPwSynchDate eriSignType eriSignum eriSignumStatus facsimileTelephoneNumber givenName isMemberOf l mail memberOf mobile objectClass ou sametimebrowseldap sametimehomeserver sametimeuser smChallResp smDisabled smXauthRADIUSServer sn telephoneNumber title uid uidNumber " s_msgid=27 s_conn=ecditna03-2:8645
    [27/Apr/2009:06:06:23 +0200] - SERVER_OP - INFO - conn=209469 op=8 SEARCH RESPONSE err=0 msg="" nentries=236367 s_conn=ecditna03-2:8645
    [27/Apr/2009:06:06:23 +0200] - OPERATION - INFO - conn=209469 op=8 SEARCH RESPONSE err=0 msg="" nentries=236367 etime=2266483
    [27/Apr/2009:06:11:27 +0200] - DISCONNECT - INFO - conn=209469 reason="other" msg="Exception caught while polling client connection LDAP.153.88.247.15.4862 -- java.io.IOException: Connection reset by peer"
    ================
    Each time while application client (153.88.247.15) connecting DPS to read, they will exit with “connection reset” error.
    Could you please kindly give us some suggestion if this error is realted to the DPS?

  • Subprocess 33 was not successful. Master cannot read return value from S 33

    Hi All,
    We are on BI 7.0 SP 19.
    We have submitted a planning sequence in the background with automatic packaging.
    The planning sequence has two steps:
    Step 1. Z_PLNG_FUNCTION1
    Step 2. Z_PLNG_FUNCTION2
    As per automatic packaging, the system chose 0ACCOUNT for packaging.
    When submitted, each step has been submitted to 30 packages as 30 subprocesses.
    For Step 1, the log shows that All subprocesses  executed.
    For Step 2, the log shows that the subprocess 33 and 58 failed, which means subprocess #3, and # 28 for the step 2 as the subprocess is numbered in the log in combination with step 1.
    The messages in the log for the failed subprocesses are as follows:
    @5C\QError@     Subprocess 33 was not successful
    @5C\QError@     Master cannot read return value from subprocess 33
    @5C\QError@     Subprocess 58 was not successful
    @5C\QError@     Master cannot read return value from subprocess 58
    Our question is on how to find the exact cause of the subprocess failure.
    I tried to look for the details on the error messages, they have been not helpful.
    What is meant by 'Master cannot read return value from subprocess' and how to get the exact cause of the failure?
    Thanks in advance,
    Best Regards,
    - Shashi

    Shashi,
    implement the following notes and check again:1368659, 1525723, 1532061.
    Regards,
    Marc
    SAP Techology RIG

  • Cannot read the output from windows command.

    Hello
    I have the following classes
    package cmd;
    import java.io.IOException;
    public class CMD {
        public CMD(){
            ProcessBuilder pb = new ProcessBuilder()
            .command("cmd.exe","/c","del *.*")
            .redirectErrorStream(false);
            Process p;
            try {
                p = pb.start();
                StreamGobbler errorGobbler = new StreamGobbler(p.getErrorStream(), "ERROR");
                // any output?
                StreamGobbler outputGobbler = new StreamGobbler(p.getInputStream(), "OUTPUT");
                // start gobblers
                outputGobbler.start();
                errorGobbler.start();
            } catch (IOException e) {
                // TODO Auto-generated catch block
            System.out.println("eee "+e.getMessage());;
        public static void main(String[] args) {
            System.out.println("x");
            new CMD();
            System.out.println("x");
    and
    package cmd;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    public class StreamGobbler extends Thread {
        InputStream is;
        String type;
        StreamGobbler(InputStream is, String type) {
            this.is = is;
            this.type = type;
        @Override
        public void run() {
            try {
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line = null;
                while ((line = br.readLine()) != null)
                    System.out.println(type + "> " + line);
            catch (IOException ioe) {
                ioe.printStackTrace();
    Please note that I cannot seee the output from wndows command : del *.* and the java class execution does not finished.
    I I will replace the above command with the dir command then the output of the command is visible.
    Would you give me a hint about how to modify the above clases in order to parse the output of the del *.* ?
    Please note that the above example is important because I am developping a tool and it is mandatory for that tool to parse the output from a windows batch command.
    Best regards,

    Please note that I cannot seee the output from wndows command : del *.* and the java class execution does not finished.
    I I will replace the above command with the dir command then the output of the command is visible.
    Would you give me a hint about how to modify the above clases in order to parse the output of the del *.* ?
    No - but I will give you a hint about ProcessBuilder and how to develop software properly.
    Hint #1: Don't try to automate something that you don't know, or understand, how to do manually.
    a. Do you know how to execute 'del *.*' manually in a command window?
    b. Did you try that manually to see what happens?
    My guess is 'no'. If you had you would know that the response to a 'del *.*' command is going to be this:
    Are you sure (Y/N)?
    And your 'java class execution' doesn't finish because the 'del' command is waiting for you to answer that question.
    Hint #2: Don't try to use ProcessBuilder for an application that requires console input unless you first know how to provide that console input via your Java code.
    Your code will wait forever since it does NOT answer that question.
    Search the net and The Java Tutorials and  you can find examples of executing command line utilities. Then try those examples first and make sure that:
    1. They work for you
    2. You understand HOW they work
    Then you can modify those examples to do what you want to do.

  • How to read the response from the request made from teh client using java

    Hi All,
    I am using the following code to connect to the sever .
    HttpRequest httpRequest     = new HttpRequest();
    httpRequest.setMethod(method);
    if( null == uri )
    uri = "";
    httpRequest.setURI(myReplaceAll(uri, ' ',"%20"));
    httpRequest.setHeader(CONTENTTYPE, CONTENTTYPE_XML);
    httpRequest.setHeader(TRANSLATE, "f");
    httpRequest.setBody((String) null);
    IResponse httpResponse = null;
    try
    httpResponse = getRequester().perform(httpRequest);
    int httpStatus= response.getStatus();//get the response code
    I want to read the response stream that will be returned from this connection.
    Can you please help me in this case.
    Thanks and Regards,
    Anamika Mazumder.

    IResponse provides getDocument() (for XML) and getStream() (otherwise). Only one of them will work; I don't recall how it chooses. See http://help.sap.com/javadocs/NW04s/current/km/com/sapportals/wcm/util/http/HttpRequest.html#expectsResponseDocument(boolean).
    And, btw, do not construct URIs by text replacement; there are proper URI parsing/generator classes for this purpose in KM.

  • Cannot read backup file from PC on Mac

    I am trying to move my Photoshop Elements 9 catalog from my PC to my Mac.
    I have backed up the catalog to an external HDD but when I connect it to the Mac I can see the folder but I cannot open it. The backup is big, over 200GB, could this be the problem? I have several other backups on the same HDD but the MAC cannot read any of them.
    I can open the folders without any problem on a PC.
    I took the HDD to a Mac "Genius Bar" and they could not open the folders on their Mac either and had no idea what could be causing the problem.
    I had no problem migrating to the Mac about a year ago when I first got it, but I suppose the backup would have been smaller then.
    Has anybody got any idea what the problem could be

    In the Backup folder, there is a Backup.tly file which needs to be specifically seleted while restoring the backup. So while you go for File >Restore catalog > try to choose All files from the format dropdown to see this tly file.
    Thanks
    Andaleeb

  • I cannot read a video from icloud

    Hi,
    I use ICLOUD with an IPAD, IPHONE and a PC WINDOWS
    I cannot read video (built with IPHONE) from ICLOUD, I see the video file with my IPAD or with my IPHONE but when I click on it, the video does not start.(it is always in a loading phase); I have not this problem when I read this video with ma windows PC that I connect on ICLOUD;
    could you help me
    THANKS
    Michel

    Can you please tell what the error message says?

  • How can I read a response from a deleted post?

    I am NOT trying to cause trouble. I was just trying to vent a little about how things have changed with iTunes. I may not have done it in the "correct" way, but why take it off?
    One person did respond to it (maybe it was the moderator?).
    Could I at least read the response?
    Thanks!

    If I'm remembering your post correctly, it was almost certainly because you did, indeed, vent (and putting "Rant" in the header was just a red flag). The terms of use of the Discussions prohibit posts that are only complaints, and though your post had some valid comments, the way you presented it obviously caught a Host's attention, and they've been tending to be somewhat "quick on the trigger" in removing posts deemed inappropriate.
    In any case, the best way to submit comments and suggestions to Apple regarding iTunes is through the iTunes feedback page.
    And the response would not have been from a Discussions Host. They don't respond that way to posts they remove.

  • Cannot read Property file from JSP in a Web Module Project

    I have tried to read the properties file in two ways but am not able to read it because i cannot find the correct path of the properties file.
    1st Method :
    Properties props = new Properties();
    InputStream is =
    application.getResourceAsStream(
    "test.properties");
    if (is != null) {
    props.load(is);
    is.close();
    Enumeration keysEnum = Props.propertyNames();
    while (keysEnum.hasMoreElements()) {
    out.println(keysEnum.nextElement()) ;
    2nd Method :
    Here "com.sap.package" is the package name and "test" is the Properties file name
    ResourceBundlebundle = ResourceBundle.getBundle("com.sap.package.test");
    for (Enumeration e = bundle.getKeys(); e.hasMoreElements();)
    String key = (String) e.nextElement();
    out.print((String) e.nextElement());
    String s = bundle.getString(key);
    request.getComponentSession().putValue(key, s);
    I cannot read the properties file even when I keep in it the WEB-INF folder.

    Properties props = new Properties();
    InputStream is = this.class.getClassLoader().getResourceAsStream(/test.properties);
    if(is != null){
    props.load(is);
    Keep the test.properties in the classes folder under the web-inf folder.
    Thanks,
    Tim

  • Can see shared CD drives on MBA, but cannot read any data from disks

    Puzzling one here.
    Have a MBA and am trying to use the shared drives on either a Windows XP computer, or MacBookPro notebook. Both computers are on the same wireless network, and both computers have DVD/CD sharing enabled.
    In the RemoteDisk shortcut on the MBA, I can see both computers and their shared drives, and I can even see the title of the disks that are in the drives, however, I cannot see any of the data on the disks. It tells me 0MB at the bottom of the window.
    The MBA has all updates installed, and I even tried to manually install the RemoteDisk/Sharing update from Apple.
    I found this post, and tried the commands in Terminal, but that did not help: http://jasonevangelho.com/2008/11/02/how-to-really-enable-remote-disc-dvd-drive- sharing-non-air-macbook/
    Any idea's?

    Oh yeah, I forgot to say that the wireless router is a Time Capsule.

  • Unable to read http response from servlet (on nokia 6630 device)

    I am sending a http GET request to a servlet for getting some response. Though I am able to obtain the response when I run my j2me app on sony phone I am not able to get any response in case of nokia. On being asked for the APN on nokia I do select the correct one and my settings are correct too. Moreover I am able to connect to the servlet without any problems from my nokia device. However when I tried to read from the Input stream the value returned by read() is -1.
    The code works fine on emulator also. Here is the code snippet being used by me. Plz help me solve this problem. Your response shall be definitely appreciated by me.
    Code in servlet:
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {       
            String t_username = request.getParameter("user");
            String t_password = request.getParameter("pass");
            URL url = new URL("http://somehost:80/query.cgi?serv=s1&user=" + t_username + "&pass=" + t_password);
            HttpURLConnection head = (HttpURLConnection)url.openConnection();
            head.connect();
            int contentLen = head.getContentLength();
            System.out.println("content length = " + contentLen); //here I get some content length value as expected
            BufferedReader in = new BufferedReader(new InputStreamReader(head.getInputStream()));
            StringBuffer sb = new StringBuffer(contentLen);
            String data = null;
            final String NEWLINE = "\r\n"; //acts as delimiter for parsing response later in my j2me code
            while((data = in.readLine()) != null)
                sb.append(data).append(NEWLINE);
            sb.append(NEWLINE);
            in.close();
            PrintWriter out = response.getWriter();
            out.print(sb.toString());
            out.flush();
            out.close();
            head.disconnect();
        }Code in J2ME:
    public static byte[] readFromHttpConnection(String p_URL) throws ConnectionNotFoundException, IOException {
            if(p_URL.startsWith("http://") || p_URL.startsWith("https://")) {
                HttpConnection c = null;
                DataInputStream dis = null;   //tried using InputStream also...still value returned by read() is -1
                c = (HttpConnection)Connector.open(p_URL);
                c.setRequestMethod(HttpConnection.GET);
                c.setRequestProperty("Content-Type", "application/octet-stream");
                dis = c.openDataInputStream();   //able to open this stream
                int len = (int)c.getLength();    //here i get len as -1 for both sony and nokia
                byte[] t_data = null;
                if(len > 0)
                    t_data = new byte[len];
                    int offset = 0;
                    int numRead = 0;
                    while((numRead = dis.read(t_data, offset, t_data.length-offset)) > 0) {
                        offset += numRead;
                else //since i get content length as -1 for both sony and nokia, this block is executed, and though
                       //I am able to read data on sony on nokia read() returns value -1 from the start itself
                    ByteArrayOutputStream bs = new ByteArrayOutputStream();
                    int ch;
                    while((ch = dis.read()) != -1)
                        bs.write(ch);
                    t_data = bs.toByteArray();
                dis.close();
                c.close();
                dis = null;
                c = null;
                return t_data;
            return null;
        }Edited by: alprazolam on Oct 16, 2007 6:02 AM
    Edited by: alprazolam on Oct 16, 2007 6:04 AM
    Edited by: alprazolam on Oct 16, 2007 6:07 AM

    Strange, this should be fine. You might want to try a more efficient (and shorter and faster) read code:
    byte[] buffer = new byte[512];
    ByteArrayOutputStream  = new ByteArrayOutputStream();
    int b;
    while((b=dis.read(buffer))!=-1){
      bs.write(buffer,0,b);
    t_data = bs.toByteArray();No need to check for content length, and always fast. I hope this helps...

  • "Cannot read to or from Disc"

    Hello
    When I try to sync my iPod it comes up with a message
    "Attempting to copy to the disk "IPOD" failed. The disk could not be read from or written to."
    I saw another user having this problem earlier but no one seems to know whats going on. If anyone does please help because not only is this frustrating, it's also strengthening my intolerance for Apple iPods (I got mine as a birthday present and decided to give it a chance)
    PLEASE HELP!
    Amanda
    Second Generation iPod nano   Windows XP  

    there is a document you can use apparently to look this up if anyone has probs again
    Have you looked at the troubleshooting >document? "Disk cannot be read from or >written to" when syncing iPod

  • I cannot read after changing from pdf to word.  Top of word is missing

    I Purchased Adobe Export PDF and I have been unable to read anything i havew converted.
    I cannot chat because when I chat with one of Adobe Reps i get cut off in the middle of the convedrsation. Your help would be appreciated.

    Hi chaslouusn,
    When you have a moment - would you mind sending me the docs directly? [email protected]
    Regards and looking forward to hearing from you!
    Stacy

  • Child package cannot read param value from parent ssis package

    Hi all,
    I think I must be crazy !! i have a big problem in my ssis project .
    i have more than 40 package one parent and 39 childs 
    i use configuration method to get variable values from parent to child packages and it work well .. but when i copy my ssis project
    to the production server i face the following problem .. childs package didn't read the variables values from the parent package 
    i revised the configuration many times i can't find any missing !!
    any help please ...
    Thanks,

    Do not copy the packages from the projet to the production server, but you must generate the manifest installation including your configuration, and deploy them.
    Note : not forget to include the configuration.
    To learn more about how to install the package :
    Lesson 1:
    http://msdn.microsoft.com/en-us/library/ms365332(v=sql.105).aspx
    Lesson 2 :
    http://msdn.microsoft.com/en-us/library/ms365329(v=sql.105).aspx
    Lesson 3 :
    http://msdn.microsoft.com/en-us/library/ms365321(v=sql.105).aspx

Maybe you are looking for