Linux installation experience and printer problem

After assistance from Tony we now have OpenVPMS running on our existing linux server: I followed howto's from the SME site to load the following on our SME 7.3 server:: Tomcat 5.5.26 JDK 1.5.0.12 from the Sun site We already had already had MySQL 4.1.20 and phpMyAdmin 2.11.1.2 installed I ran into trouble loading the 1.1 release of OpenVPMS as this is for a windows system with MySQL 5.0 Tony loaded a MySQL version 4 compatible database setup and manually setup some of the necessary environment variables, and then he did a quick convert of our existing data into the system for us to have a closer look. First impressions are that it runs very fast on our pretty average spec server that also runs everything else on our network (print server, file server, fax server, email, internet, etc) One immediate question we have is how to setup the printers. We have two printers installed on the server, one directly attached and the other on the network. Both printers appear in the printer selection drop down lists in the reports, however when we print we get an error dialog box with the message "No suitable print service found". John

Comment viewing options

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

Linux installation

Hi John, I have done a little research on the Linux printing issue using the log file you sent and a bit of searching on the net. We use Jasperreports to generate invoices, receipts etc. Jasperreports is trying to use the standard java printing system which in turn will utilise either lpr/lpd or cups based printing on the linux operating system. It would seem in your current SME 7.3 installation java is having problems talking to this printing system. It is able to enumerate the actual printers which exist but it cannot query on their status and therefore send print jobs. I logged into you server and used the lpc command to query the printer status (lpc status) and got this: Printer Printing Spooling Jobs Server Subserver Redirect Status/(Debug) missingprinter@mail: spool queue for 'missingprinter' does not exist on server mail.tvg.com.au check for correct printer name or you may need to run 'checkpc -f' to create queue which may be causing the problem. I will look into this as well as the same problem exists on the Demo system which is running on a similiar linux system (SME server 7.2). The other thing I noticed which is not related but will stop you from printing forms, letters and doing batch mail merges is openoffice is not installed on this server. You will need to install a 2.1 linux version (rpm most likely under SME) and also install and configure Xvfb which is a virtual frame buffer as SME has no X windows system installed by default. You will also need to make sure the openoffice executables are in the global path and that Xvfb is started on every server boot. Cheers Tony

Re: Linux installation experience and printer problem

Was any solution found to this problem?

We have exactly the same problem on a unix system.  The printers are listed, but we cannot print labels from OPV.  OPV is running as user "openvpms".  Tomcat 6.  Various JDKs tried. 

It seems to be an issue where OPV cannot communicate directly with CUPS.

Syndicate content