How can I detect if there is no more paper in the printer, “paper out” with Java? I don’t know if it is possible to do in Java, but I would like to use it if possible.
I am using Java on Windows.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not java expert but I’d be very surprised if there was a java standard way of doing this. It’s clearly depending on your specific printer and its driver.
Check if there is an SDK for your printer. In that case it is very likely to provide you an API to achive that.
It will most probably be a windows dll, you can interface with it through JNI.