Determine if Printer is offline or online

Hello,
Does anybody know if it is possible to determine if a printer is online or offline when I start printing ?
Thank you vermy much for your help !!!

in
System.getProperties()
on getProperty() you can get the status on proper driver specification
this is a native interface
though direct detection is not possible

Similar Messages

  • How do I change the printer from offline to online?

    how do I change the printer from offline to online?

     Hi,
    Please use the following tips/instructions to fix:
        http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02221706&cc=us&lc=en&dlc=en
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • On windows8 how do I switch a photosmart 6520 printer between offline and online

    on windows8 how do I switch a photosmart 6520 printer between offline and online  

    Hi 1jsl
    I'd like to help you get the printer communicating with the computer. Please follow the instructions in the following document. This document addresses 'Printer is offline' Message Displays on the Computer and the Printer Will Not Print as well as,
    Printer won't print
    Print jobs are stuck in the print queue (A log of print jobs waiting to print)
    No response from the printer
    Thanks for joining the HP Forums, I hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How to Determine If Printer is Offline from Terminal?

    My printer is connected via USB, but the device it powered off. In System Preferences -> Printers & Scanners, the printer has a red dot with "Offline" as its status.
    How can I obtain a printer's "online/offline" status from Terminal?
    lpstat -s reports:
    system default destination: Canon_iP4200_2
    device for Canon_iP4200_2: usb://Canon/iP4200?serial=306DD0
    lpstat -p reports:
    printer Canon_iP4200_2 is idle.  enabled since Thu Nov  7 09:36:45 2013
    So the printer is idle, but it is also "offline". How do I see the "offline" part in Terminal?

    Hi Larry
    You can use this command to list the status in terminal
    lpstat -p
    You will get a list of all the printers and for an offline one like this it will be on the next line from the current job status
    printer Samsung_ML_1510_700 now printing Samsung_ML_1510_700-131.  enabled since Wed 18 Dec 15:41:11 2013
              The printer is offline.
    For normal ones you get this
    printer Peninsula_Port_2_Datamax is idle.
    And for disabled ones this
    printer I4208 disabled since Thu 27 Jun 16:56:31 2013
    Regards
    Guy
    www.peninsula-group.com

  • How do I turn my printer from 'offline' to 'online' and why does it keep going 'offline'?

    Why does it keep saying my printer is 'offline' and there is no communication between computer and printer? How do I turn it 'online'? There doesn't seem to be an option to do so.
    Thank you.

    Sorry that you are having a problem with the printer being offline. 
    Try to perform a hard reset on the printer. Unplug the power cord from the back. Leave it out for 30 seconds and plug it back in. 
    Are you connected USB or wireless?
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • How do i change my hp office pro 8600 printer from offline to online

    how do i change my hp office pro 8600 printer from offline to online

    Please read this post then provide some details.  What operating system? How is the printer connected - USB, wired LAN, or Wireless LAN?
    Running the diagnostics at http://www.hp.com/go/tools may help resolve the issue if you are using some recent version of Windows.
    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

  • How do I get my printer from offline to online in windows 8?

    how do I get an answer

    -JohnB- wrote:
    Hi there,
    I could use a little more information to help narrow troubleshooting. Specifically what is the model number for the printer? If you have difficulty locating the model number please use one of these guides to get it:
    Laserjets: http://support.hp.com/us-en/document/c02241610
    Inkjet Windows 7: http://support.hp.com/us-en/document/c04249111
    Inkjet Windows 8: http://support.hp.com/us-en/document/c04249080
    Inkjet Windows Vista: http://support.hp.com/us-en/document/c04249275
    Inkjet Mac: http://support.hp.com/us-en/document/c04249334
     

  • HP ENVY 5530 offline to online ??

    My printer availability/status is showing offline. When I try to print from my laptop I get the message "printer offline". I have broadband internet which I have my wireless router connected to.  My printer is associated with the router as are all my other items ( tablets, laptops, smartphones) if this information is even relevant.   I have tried my hp scan doctor which tells me there are no issues and it shows as my printer is online! I have tried so many different "solutions" and I have no clue what to do.  Please someone tell me how to change my printer from offline to online. 
    This question was solved.
    View Solution.

    Hello,
    Please check if the printer is connected to the router.
    Please key in the printer's IP address in the browser ( Internet Explorer / Chrome / Firefox ). 
    If the printer info show up, that  indicates that the printer is communicating to the PC.
    else, please run the Wireless Setup Wizard from the printer front panel.
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Color laserjet 2025 offline to online

    I use my 2025 infrequently, so I turn it off after each use.  A few days later, when I turn it on to use it, the computer thinks it is still offline.  Is there any way to take the printer from offline to online short of rebooting my computer?

    Hi glmarker, 
    This is a commercial line product. For the best answer to your questions you will need to repost your question to the following links. 
    http://h30499.www3.hp.com/t5/Business-Support-Forums/ct-p/business-support 
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413 
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Wireless printer is offline and I can't get it back online

    I have a HP Envy 700-414 Desktop PC operating with Windows 8.1 (64-bit) system that was connected wirelessly to a HP Officejet Pro 8600 Plus printer.  It worked fine for the first couple of days.  Now it says that my printer is offline.  I've tried several troubleshooting tips, but none have worked.  How can I get my printer ONLINE again?? Please help!  Getting frustrated!!

    Hello,
    Thanks for the post.  I might recommend checking this document below to address the offline messages.  We may just have some stubborn print jobs in queue that have not printed that need to be cleared.  Good Luck!
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02221706&cc=us&dlc=en&lc=en&product=4231205&tmp...
    I worked for HP but my posts and replies are my own....Thank you!
    *Say thanks by clicking the *Kudos!* which is on the left*
    *Make it easier for other people to find solutions, by marking my answer with (Accept as Solution) if it solves your issue.*

  • How do i change from"offline" to "online" printing in Windows 7 for HP photosmart 5514

    how do i change from 'offline' to 'online'

    Under Printer Preferences click on See what's printing. That will open the printer's preferences dialogue box.  Select the Printer tab and then click on online. As long as there is connectivity between your PC and the printer it should then change to online.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Printer is offline and there is no online button

    printer is offline and there is no online button when u right click and left click on offline doesn't work

    Hi,
    There is no online button. Please use the following tips/instructions to fix:
        http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02221706&cc=us&lc=en&dlc=en
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Wi-Fi Printer says it is ONLINE. computer says it is OFFLINE.

    HP Photosmart 110a.  Have been using it for more then a year when it stopped responding to pring requests and I get an error message saying: Printer is OFFLINE.  When I conduct a Wi-Fi directly on the printer, it says I am connected to kmy network and it is working properly.  I have Windows 7.

    Here is the Print Diagnostic Utility and will fix the "offline" issue for you:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-91788-1&cc=us&dlc=en&lc=en&...=
    Run it and let me know what happens
    Although I work for HP, I am speaking for myself and not for HP.
    Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )

  • My Mac tells me my printer is "offline." How can I get it back online?

    I have my HP deskjet printer on my home network via Airport Express. My main router is an Airport extreme. I attempted to print from my Macbook but got a message that my printer was "offline." I could print from my iMac. I attempted to fix the problem with my Macbook by following advice I got here in discussions by deleting the printer with the intention of re-adding it. Could not figure out how to re-add it. Later, when attempting to print again from my iMac, I get the offline message again. Help is appreciated!

    Give yourself a star, I found the web page that says your printer is no longer supported by HP. BUT it is supported under Gutenprint, I found it on their list. I would install their driver and see if that corrects your problem.  Here's their page
    http://gimp-print.sourceforge.net/index.php
    I don't know how old your printer is but I suppose we can't expect HP to support them forever huh? If you still have problems maybe we can figure a way to get old drivers that work and install them.

  • Printer is offline all the time! Help!

    My wireless HP LaserJet Pro 200 color MFP M276nw goes offline all of the time.  We have printed the wireless configuration pages that state that there is not a problem and that the printer is connected with a good signal.  We can print off our phones wirelessly (anywhere in our house), but the printer does not seem to communicate with our Dell Inspiron (crappy Windows 8). 

    Hi @fcu ,
    I see that printer keeps going offline on the computer, but you can still print using your phones wirelessly.
    I can help you with this.
    Most likely the router reassigned the printer a new IPv4 address and the computer isn't recognizing it.
    Print a configuration page to get the printer's IPv4 address.
    Printing a Configuration Report.
    If you have a valid IP address for the printer then try and access the Embedded Web Server for the printer.
    Type the IP address into your web browser's address bar. (Internet Explorer)
    If it loads the printer's network page then the printer is on the network.
    Check the port showing on the computer, to make sure it matches the printer's IPv4 address.
    Go to the start up screen, (tiles menu) type in "Devices and Printers", select settings, click on Devices and Printers.
    Right click on the printer and left click printer properties, select the ports tab.
    Click on configure port to view the IPv4 address.
    If the IPv4 address doesn't match the printer's IPv4, then create a new port with the new IPv4 address.
    Close the configure port window.
    Click Add Port, select Standard TCP/IP Port, then select New Port and follow the wizard.
    Type in the proper IPv4 address for the printer.
    Make sure the printer is online.
    Test the printer.
    If the problem persists, follow the steps in this document for the printer being offline.
    'Printer is offline' Message Displays on the Computer and the HP Printer Will Not Print.
    I would also setup a Static IP address, to the router will assign the same IP address.
    Printer Does Not Maintain a Wireless Connection.
    Disregard the title. Go to Solution three: Assign the printer a static IP address.
    Let me know the outcome.
    Have a wonderful day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

Maybe you are looking for