Home > Java Error > Java Error Printer Is Not Accepting Job

Java Error Printer Is Not Accepting Job

During debugging, we can take a printer offline and not get this error (jobs queue up within Windows), while in production we seem to get this error for no reason. Applications E-Business Suite, PeopleSoft, JD Edwards, Siebel CRM Agile Autovue See All ??? Does someone know more about it? See our PDF technology in action! have a peek at this web-site

then even looping isn't working to place a job to the printerque. Since then there has been a regression. And how to solve it? Try the following workaround suggested in many postings: http://copy-con.blogspot.com/2009/12/printer-is-not-accepting-job.html If possible, try using a different printer. http://stackoverflow.com/questions/4547411/javax-print-printexception-printer-is-not-accepting-job

Servers and Storage Systems Solaris Linux and VM Firmware See All ??? One of these must be "sticking" around on the print server and communicated back to the java client. 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.

Re: Continuous "Printer is not accepting job" PrinterExceptions darrylburke Apr 11, 2009 6:01 AM (in response to 843807) smarth Welcome to the forum. Release Regression From : 1.4.2 The above release value was the last known release where this bug was not reproducible. I was looking at bug report from Oracle Sun explaining similar problem which is pasted below. In fact at one point I couldn't print to a printer,but a team mate could print to that printer and both of us were using the the same code.

This is a valid assumption even if the physical printer is in an error state such as off-line. No Yes United States SELECT A COUNTRY/REGIONAfrica OperationArgentinaAustraliaAustriaBahrainBangladeshBelgium & LuxembourgBelizeBhutanBoliviaBosnia & HerzegovinaBrasilBruneiBulgariaCambodiaCanada - EnglishCanada - FrenchChileChinaColombiaCosta RicaCroatiaCyprusCzech RepublicDenmarkEcuadorEgyptEstoniaFinlandFranceGermanyGreeceGuatemalaHondurasHong KongHungaryIndiaIndonesiaIraqIrelandIsraelItalyJapanJordanKazakhstanKoreaKuwaitLaosLatviaLebanonLithuaniaMalaysiaMaldivesMaltaMexicoMoldovaNepalNetherlandsNew ZealandNicaraguaNorwayOmanPakistanPanamaParaguayPeruPhilippinesPolandPortugalPuerto RicoQatarRomaniaRussiaSaudi ArabiaSerbia & MontenegroSingaporeSlovakiaSloveniaSouth AfricaSpainSri LankaSwedenSwitzerland -- FrenchSwitzerland -- GermanTaiwanThailandTurkeyUkraineUnited Arab Show 13 replies 1. https://community.oracle.com/thread/1289312 This blog post describes the same problem with another application.

Here you can ask questions and receive answers from other members of the community and yEd developers. The operating system considers the Printer ready to accept print jobs even if, for some reason, it cannot complete delivery to the physical printer. The exception is thrown after we detected this status but maybe we should be less strict about some printer conditions before throwing any exceptions. 2007-02-27 EVALUATION E-mailed customer asking for additional Join Now I want to fix my crash I want to help others java.awt.print.PrinterException: Printer is not accepting job.

At the same time, this same team mate could not print to a different printer that I was able to print to. https://support.symantec.com/en_US/article.TECH154195.html Select File, Server Properties. Why days like "Sunday","Monday" are not mentioned in Bible? DAMN RIGHT, and this need to be corrected ASAP!

Translated Content This is machine translated content Login to Subscribe Please login to set up your subscription. http://ascadys.net/java-error/java-error-read-class.html Start TextPrintTest application. 2. But a print request will fail with this stack trace: java.awt.print.PrinterException: Printer is not accepting job. With 2 identical boxes, one would print okay to the printer queue via Java, the other would error EVERY time when printing to a specific queue that had the physical printer

We suspect that the problem box saw a transient error during the switch, but Java would not print after this happened. share|improve this answer answered Jan 2 '11 at 20:11 Ajith Jose 3982718 add a comment| up vote 0 down vote printerName=printerName.replaceAll("#", "\\"); don't use the default printer and if the printer Comment 3 Petr Nejedly 2004-10-15 16:19:46 UTC Different exception. http://ascadys.net/java-error/java-error-regutils-dll.html The RFE is to optionally make the JRE compliant with the underlying OS in terms of printer errors.

Articles Learning Library Newsletters Events Pre-Built Developer VMs Technology Network Blog Discussion Forums Database and SQL Oracle Fusion Middleware Oracle Enterprise Manager Developer Tools Technology Network Feedback See All ??? 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 Notify me when this APAR changes.

As work-around, I propose to export the diagram to an image or to PDF and print this with another application.

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. Comment 1 _ ttran 2004-10-15 14:30:22 UTC I think this is bug in JDK, not NB. Sponsored by Products Products Home Threat Protection Advanced Threat Protection Endpoint Protection Endpoint Protection Cloud IT Management Suite Email Security.cloud Data Center Security Blue Coat Products Information Protection Data Loss Prevention The que should be relevant.

Description Martin Schovanek 2004-10-15 11:52:17 UTC [Nb 200410141800, jdk1.5.0_01] To reproduce: ------------- 1) open a .java file 2) press [Ctrl+P] - print NOTE: Print dialog appears. 3) check 'Print to file' Education Services Maximize your product competency and validate technical knowledge to gain the most benefit from your IT investments. Class pjClass = thePrintJob.getClass(); Field[] fields = pjClass.getDeclaredFields(); for (int i=0; i.getType().equals(PrintService.class)) {
printServiceFieldReference = fields[i];
// if the next line errors then the hack just have a peek here I was about to write a native C program to query the windows printer status directly.

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 Take a tour to get the most out of Samebug. Don't have a SymAccount? Alternatively, you can check if printing to a PDF printer like PDFCreator works.

at sun.print.RasterPrinterJob.print() Java RT Thread.run sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1326) javax.swing.text.JTextComponent$2.call(JTextComponent.java:2320) java.util.concurrent.FutureTask.run(FutureTask.java:262) javax.swing.text.AbstractDocument.render(AbstractDocument.java:420) javax.swing.text.JTextComponent$3.run(JTextComponent.java:2369) java.lang.Thread.run(Thread.java:744) 2 similar 6 frames About Us Explore Tour Blog Privacy Policy Terms Of Use ©2016 Samebug, Inc. We tried rebooting the problem box. There is a couple of things to try: Verify that you have the latest version of the printer driver for your printer. Status: CLOSED WORKSFORME Product: platform Classification: Unclassified Component: Text Version: 4.x Hardware: PC Linux Priority: P2 (vote) TargetMilestone: TBD Assigned To: Petr Nejedly QA Contact: issues@platform URL: Whiteboard: Keywords: Depends on:

Since the reboot fixed it, I never determined which status was messing it up.