Java "Printer does not accept jobs" older Brother printers

I have a client that has a problem printing from JAVA applications using older Brother printers. The exception he receives is "The printer does not accept jobs."

Other applications (not java applications) manage to print using these printers. He switched to a new printer (also Brother), without changing the driver, and then worked.

The idea is that he cannot change all the printers, nor does he want to reinstall all of them, since he has a network of hundreds of computers and printers.

I read on different forums that there is an error in java versions 1.5 and 1.6, but this application only works with java 1.5 or higher ... therefore it cannot switch to java 1.4 (with java 1.4, working with printing).

Could you somehow help me and give me a possible solution to this problem?

+2
source share
2 answers

It seems like this is a mistake . Unfortunately, he was marked as a low priority, and since no one bothered to vote for him, he was postponed.

This forum topic provides a useful background (answer # 11) and a workaround (answer # 9) that ignores the state of the printer when trying to print a file.

, ​​ Java 7, .

, - , . , , , . , Java 6, .

, , - , . , . , :

  • ,
  • Oracle
  • .

... , .

+1

Source: https://habr.com/ru/post/1772021/


All Articles