Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > MEPIS Help
Reload this Page Problems printing with java application
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

MEPIS Help For help and discussions related to MEPIS

Closed Thread
 
Thread Tools Display Modes
Old 07-25-2006   #1 (permalink)
mangulo
Just Joined!
 
Join Date: Jul 2006
Posts: 4
Exclamation Problems printing with java application

In a java application, I send a document to print to an already installed printer in the network (and when I send a test page from the computer, it does recieve and print it), but that document never reaches the printer and in the console I receive an error that looks like this:

java.awt.print.PrinterException: Printer is not accepting job.
at sun.print.RasterPrinterJob.print(RasterPrinterJob. java:1230)
at sun.print.RasterPrinterJob.print(RasterPrinterJob. java:1196)
at net.sf.jasperreports.engine.print.JRPrinterAWT.pri ntPages(JRPrinterAWT.java:186)
at net.sf.jasperreports.engine.print.JRPrinterAWT.pri ntPages(JRPrinterAWT.java:88)
at net.sf.jasperreports.engine.JasperPrintManager.pri ntPages(JasperPrintManager.java:348)
at net.sf.jasperreports.engine.JasperPrintManager.pri ntReport(JasperPrintManager.java:239)
at net.sf.jasperreports.view.JRViewer$20.run(JRViewer .java:1090)
at java.lang.Thread.run(Thread.java:595)

NESTED BY :
java.awt.print.PrinterException: Printer is not accepting job.
at sun.print.RasterPrinterJob.print(RasterPrinterJob. java:1230)
at sun.print.RasterPrinterJob.print(RasterPrinterJob. java:1196)
at net.sf.jasperreports.engine.print.JRPrinterAWT.pri ntPages(JRPrinterAWT.java:186)
at net.sf.jasperreports.engine.print.JRPrinterAWT.pri ntPages(JRPrinterAWT.java:88)
at net.sf.jasperreports.engine.JasperPrintManager.pri ntPages(JasperPrintManager.java:348)
at net.sf.jasperreports.engine.JasperPrintManager.pri ntReport(JasperPrintManager.java:239)
at net.sf.jasperreports.view.JRViewer$20.run(JRViewer .java:1090)
at java.lang.Thread.run(Thread.java:595)

NESTED BY :
net.sf.jasperreports.engine.JRException: Error printing report.
at net.sf.jasperreports.engine.print.JRPrinterAWT.pri ntPages(JRPrinterAWT.java:200)
at net.sf.jasperreports.engine.print.JRPrinterAWT.pri ntPages(JRPrinterAWT.java:88)
at net.sf.jasperreports.engine.JasperPrintManager.pri ntPages(JasperPrintManager.java:348)
at net.sf.jasperreports.engine.JasperPrintManager.pri ntReport(JasperPrintManager.java:239)
at net.sf.jasperreports.view.JRViewer$20.run(JRViewer .java:1090)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.awt.print.PrinterException: Printer is not accepting job.
at sun.print.RasterPrinterJob.print(RasterPrinterJob. java:1230)
at sun.print.RasterPrinterJob.print(RasterPrinterJob. java:1196)
at net.sf.jasperreports.engine.print.JRPrinterAWT.pri ntPages(JRPrinterAWT.java:186)
... 5 more

I don't have any idea of why printing within a java application does not seem to work under Ubuntu and MEPIS. I have tried it under Fedora and it does work. I was just wondering if anyone had an idea on what might be happening with the printing and how to make it work. Thank you.
mangulo is offline  
Old 10-05-2006   #2 (permalink)
gamulolo
Just Joined!
 
Join Date: Oct 2006
Posts: 1
Did you find any solution?

Hi, żDid you find any solution? If you did, please could you send me an email to donmiguelgt78@yahoo.es?

thanks!
gamulolo is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 03:53 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0