Home > Java Error > Java Error Printer Not Accepting Job

Java Error Printer Not Accepting Job

Message was edited by: Udo.Schwedt Like Show 0 Likes(0) Actions 5. Some error states were already removed from the list of states which result in "Not accepting jobs", for example see JDK-6525150 which removed four paper-related error states: PRINTER_STATUS_PAPER_JAM, PRINTER_STATUS_PAPER_OUT, PRINTER_STATUS_PAPER_PROBLEM, PRINTER_STATUS_OUTPUT_BIN_FULL. Just wondering if you have been reported about these issues before and have a fix/workaround for this. Re: Random "Printer is not accepting job" PrinterExceptions 843807 Sep 17, 2007 1:40 PM (in response to 843807) hi, we have the same problem too, but looping isn't usefull for us. http://canondrivebh.com/java-error/java-error-exception-in-thread-main-java-lang-noclassdeffounderror.html

Notify me when an APAR for this component changes. Servers and Storage Systems Solaris Linux and VM Firmware See All ??? See our PDF technology in action! java printing share|improve this question edited Dec 28 '10 at 16:12 Jigar Joshi 160k27266332 asked Dec 28 '10 at 16:11 Ajith Jose 3982718 add a comment| 3 Answers 3 active oldest

My printer dialog says "Accepting jobs" and Print proceeds correctly. Is there a way to force Java to queue up the job even if the "printer is not accepting jobs"? 11576Views Tags: none (add) This content has been marked as final. Whenever a printer was having this problem under 1.6 we found that it would work fine from a native Windows App (like Word) or that it would work fine if we At the same time, this same team mate could not print to a different printer that I was able to print to.

You can not post a blank message. Thus Java apps can't post print jobs to the queue any more whereas native Windows applications can do it successfully. If the Java application tries to print when Windows printer is in an error state, the Java print dialog shows 'Status: Not accepting jobs'. Sometimes there even is no special reason, no printerproblems or anything else.

You must follow these steps (Windows XP): Open the printer folder. Spaced-out numbers Plausibility of the Japanese Nekomimi Hit a curb; chewed up rim and took a chunk out of tire. The operating system considers the Printer ready to accept print jobs even if, for some reason, it cannot complete delivery to the physical printer. so i hope that there is a other solution than just looping and leaving the loop after x times because i miss a document if i leave and work the next

mschovanek: please attach stack trace Comment 2 Roman Strobl 2004-10-15 14:53:54 UTC It could be related with this issue: http://www.netbeans.org/issues/show_bug.cgi?id=50312 AFAIK the JDK bug is expected to be solved in it's Like Show 0 Likes(0) Actions 2. How can I save form field data from jPDFViewer? to network missing...

Notify me when this APAR changes. Hide Permalink Alexey Ivanov added a comment - 2014-07-16 02:21 - edited Root cause: Win32PrintService.getPrinterIsAcceptingJobs calls getJobStatus(printer, 2) and if it returns anything but 1, the status is PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS. Hot Network Questions Specific word to describe someone who is so good that isn't even considered in say a classification Constant Length of \underline Is this homebrew elemental spear balanced? Why can't i just put the job to the printerque ?!

How to use color ramp with torus "the Salsa20 core preserves diagonal shifts" more hot questions question feed lang-java about us tour help blog chat data legal privacy policy work here http://canondrivebh.com/java-error/java-error-193.html See description of PRINTER_INFO_2 structure http://msdn.microsoft.com/en-us/library/windows/desktop/dd162845%28v=vs.85%29.aspx, its Status member, for complete list of possible error states. Make the printer go to an error condition. Any hints or advices would be highly appreciated.

  1. Comment 5 Martin Schovanek 2004-10-18 09:36:13 UTC Now it works for me to => verified.
  2. Will they need replacement?
  3. Anti-spam verification: [captcha placeholder] To avoid this verification in future, please log in or register. 0 votes You can install 'cups-bsd' if you're running a debian based system - works fine
  4. There is a couple of things to try: Verify that you have the latest version of the printer driver for your printer.
  5. After pushing the print button, the app will fail printing with exception: java.awt.print.PrinterException: Printer is not accepting job.
  6. On UNIX Related 2Java “Printer is not accepting jobs” old Brother printers5javax.print.attribute.PrintRequestAttributeSet options ignored by Printer2Java print service API: send job to printer spool?64Determining if a printer can handle a print
  7. Anti-spam verification: [captcha placeholder] To avoid this verification in future, please log in or register.

What can I do? United States Products Threat Protection Information Protection Cyber Security Services Website Security Small Business CustomerOne Products A-Z Services Business Critical Services Consulting Services Customer Success Services Cyber Security Services Education Services This was enough of a problem for our 1000+ users that it * was the sole reason we could not move the product up from Java 1.4. Source Like Show 0 Likes(0) Actions 12.

Sponsored by Products Products Home Threat Protection Advanced Threat Protection Endpoint Protection IT Management Suite Email Security.cloud Data Center Security Information Protection Data Loss Prevention Encryption Validation & ID Protection Managed From postings on Java’s bug database and forums, the error may happen on occasion, not consistently. N/A Local fix N/A Problem summary JVM throwing PrinterException 'Printer is not accepting jobs' for remote printer states Problem conclusion This defect will be fixed in: 6.0.0 SR11 6.0.1 SR3 7.0.0

Re: Random "Printer is not accepting job" PrinterExceptions 843807 May 18, 2007 3:33 PM (in response to 843807) It's variable.

Test case to reproduce the problem Marking incomplete. 2007-02-20 Hardware and Software, Engineered to Work Together Subscribe About Oracle Careers Contact Us Site Maps Legal Notices Terms of Use Your Privacy Getting information about the annotations contained in each page of a PDF document Interaction between jPDFEditor bean and jPDFProcess library to manipulate a PDF document while rendering it Create your own getJobStatus method is native, src/windows/native/sun/windows/WPrinterJob.cpp, it requests the current status of the associated printer and checks it for error conditions. Failed.

Learning Paths Training by Job Role Certification Program Become Certified Certification Paths Purchase a Voucher See All ??? Hide Permalink HG Updates added a comment - 2014-08-13 02:29 URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/48ef2c904d10 User: alitvinov Date: 2014-08-13 09:28:46 +0000 Show HG Updates added a comment - 2014-08-13 02:29 URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/48ef2c904d10 User: alitvinov Please check the printer configuration." Is this a problem between Java and CUPS that has been open for over ten years? http://canondrivebh.com/java-error/java-error-cannot-be-cast-to-java-applet-applet.html On UNIX1Print Job submitted to printer, working with virtual printer but not the real printer.

And we tested that making a printer the default or not had no effect on the problem. MySymantec Create and manage cases, manage licensing and renewals, submit threats, and enroll with Symantec Rewards. Due to window system I got this exception, I have replaced my printer name by using the above code and my problem is now solved. It seems that there is known issue / bug with Java where with some combinations of printer drivers & Java version & OS (Windows), this error can happen.

Re: Random "Printer is not accepting job" PrinterExceptions 843807 May 16, 2007 3:46 PM (in response to 843807) Are you using Java 5 or 6? at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1295) at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1246) at com.ifactory.forms.print.PrintUtilities2.doPrint(Unknown Source) at com.ifactory.forms.print.a$1.run(Unknown Source) Trinh Phuoc Thai (thai-trinh) wrote on 2007-05-07: #3 After some days, I found that is is java problem. The proposed fix: Remove all the error states from the check and leave only one: PRINTER_STATUS_PENDING_DELETION. at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1326) at javax.swing.text.JTextComponent$2.call(JTextComponent.java:2320) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at javax.swing.text.AbstractDocument.render(AbstractDocument.java:420) at javax.swing.text.JTextComponent$3.run(JTextComponent.java:2369) at java.lang.Thread.run(Thread.java:744) At the same time, regular Windows applications (e.g Word) can still add new print jobs to the queue of

The problem happens with different printers and different printer models. Failed. at sun.print.RasterPrinterJob.print at sun.print.RasterPrinterJob.print at Several different users have gotten this problem, with different printers at the same time. URL: The information about this bug in Launchpad is automatically pulled daily from the remote bug.