[moneydance] linux - java - cups testing

Doug B md at hatterhill.com
Tue Jan 9 23:17:28 EST 2007


Fuzzy Fox asked if someone would try some things... here goes the first 
test.

Thanks Sean for that pointer to cups/java.  That helped.

I want to test linux/cups/java on the network also

My setup:

My machine:
	Networked
	Gentoo Linux
	MD build 2006r4 (526)
	Cups 1.2.6
	Several java versions:
		Sun Java 1.5.0.01 (came with MD)
		Sun Java 1.5.0.09 (latest with Gentoo)
		Sun Java 1.4.2.10 (earlier version with Gentoo)
		Blackburn Java 1.4.2.03 (latest offer with Gentoo)
	Local printer

My Wife's machine:
	Networked
	Gentoo Linux
	MD build 2006r4 (526) (not installed yet, but I will for testing over 
network later)
	Cups 1.2.6
	Several java versions:
		Sun Java 1.5.0.01 (came with MD)
		Sun Java 1.5.0.09 (latest with Gentoo)
		Sun Java 1.4.2.10 (earlier version with Gentoo)
		Blackburn Java 1.4.2.03 (latest offer with Gentoo)
	No local printer - prints on my printer using cups

Windows laptop
	Wireless network
	XP Pro
	I don't have MD installed and won't test here unless someone wants to 
test printing from MD to a printer on a Linux box.  I haven't tried 
printing with java from this machine, but normal printing to the 
printer on my linux machine works fine.

There is another linux box with a local printer on the network. Printing 
to it from the other machines works fine.  I won't test anything on it, 
other than to make sure I don't break being able to use it's printer.

The first test surprised me.
I reset my cupsd.conf with these two lines:

Listen *:631
Listen /var/run/cups/cups.sock

The first is to be able to talk to other cups servers on the network.  I 
could probably limit it to just the network instead of *, but I have a 
decent firewall and this works.  The second sets up the domain socket.

Restart cups.

I opened MD using each of the java versions by changing the jre symbolic 
link in ~/moneydance and tried to print.

In both the Sun Java 1.5.* versions , I could not print.
In both the Sun and Blackdown 1.4.* java versions, printing worked fine.  
I didn't expect that.

As I have time (maybe more tonight), I'll test setting the 
CUPS_SERVER=localhost environment variable in all 4 javas as well as 
the edits to the client.conf (ServerName /var/run/cups/cups.sock (that 
Fuzzy Fox asked about and ServerName localhost)

If anyone wants something else tried, I'll see what I can do.



More information about the moneydance-info mailing list