[moneydance] linux - java - cups testing
Doug B
md at hatterhill.com
Tue Jan 9 23:43:24 EST 2007
Test two was adding the environment variable CUPS_SERVER
In a terminal window:
In order to eliminate path problems, I changed to the directory where
moneydance is. In my case, ~/moneydance (~ is a short cut for your
home directory... such as /home/your_user_name/)
At the prompt:
CUPS_SERVER=localhost
export CUPS_SERVER
./moneydance (note the './' in front of moneydance. This tells linux
to ignore your path and look in the current directory for the program
moneydance)
This worked for all 4 java versions although I got the following warning
in the 1.4.* versions:
Warning: Cannot convert
string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to
type FontStruct
(All on one line... I can't stop the wrapping)
The program seems to work (for the little I did), but fonts aren't as
nice.
Remember... the CUPS_SERVER variable is only set for this session. If
you try to open moneydance using an icon or menu entry, it (printing)
won't work. Even if you open another terminal it won't work. You have
only set the environment for that terminal session.
If I wanted to make it work across reboots and logins on my system, I
would add:
CUPS_SERVER=localhost
export CUPS_SERVER
to my /etc/profile then logout and back in again. If it worked from the
command line before, it should work from desktop icons and menu entries
now.
Frankly, I think I would rather create/modify a cups client.conf (if
that works for me). That will be my next test.
Doug
More information about the moneydance-info
mailing list