[OpenVPMS Developers] Printer is not accepting job.

Message from Damien Solley dsolley@gmail.com

Hi OpenVPMS gurus,

I have recently updated a server to VPMS 1.5 and Ubuntu 11.10. We are now seeing the following message for our Dymo printer. We are unable to print labels to it, and the web interface gives up this message: Failed to generate report: java.awt.print.PrinterException: Printer is not accepting job

I noticed a related JIRA that has little useful information - https://openvpms.atlassian.net/browse/OVPMS-1036.

My catalina.out file appends these lines each time we try to print: [ERROR,ErrorHelper,http-8443-11] Failed to generate report: java.awt.print.PrinterException: Printer is not accepting job. at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1296) at net.sf.jasperreports.engine.export.JRPrintServiceExporter.exportReport(JRPrintServiceExporter.java:286) ... 59 more

Relevant info: server: Ubuntu 11.10, AMD64 Java: sun-java6-jre 6.26-1 JRE: sun-java6-jre 6.26-1

The Dymo printer server is a Windows XP machine, shared via Windows sharing. It happily accepts jobs to the Dymo locally, and via network from another Windows machine.

Any input appreciated, Damien _______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: [OpenVPMS Developers] Printer is not accepting job.

You need to logon to the ubuntu machine and check the Dymo is installed a  a printer with the correct drivers for Ubuntu.  Its possible that the ubuntu upgrade removed the installed networked printers and drivers.

Openvpms doesnt care about anything but local(read printers installed and configured on the local computer - thats the one OpenVPms and tomcat is installed on.)

How you check printers on the Ubuntu box is completely dependent on the installation...ie server or GUI.  The installer should be able to do this.

Once you have confirmed a test print from the OS(ie Ubuntu) then you can check the report, Medical Labels(Dymo) to ensure the correct printer is selected in that interface.  IF you cant see the Dymo from that interface then Java cant detect it....and thus it wont print.

In summary its not that the job isnt being accepted (well atleast I dont think it is) Its that that no job is being generated.

https://help.ubuntu.com/11.10/ubuntu-help/printing.html

https://help.ubuntu.com/community/NetworkPrintingWithUbuntu

Apart from doing the above. You may also want to check that the Ubuntu machine is not firewalled in some way, and that it has USE rights on the winxp machine, File and Print Sharing on the Winxp machine might need a few changes if the Dymo is not Shared with "EVERYONE" you may need to add a user;Pass combo for the Ubuntu machine.

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au
Syndicate content