Sending print jobs to a remote CUPS, with java. Anyone?

Posted on Tuesday 23 December 2008

Hello people,

While I am not a developer, I wrote small classes for my employer to integrate some financial software with a test instance of Alfresco Community 3.0.

While everything is pretty much done, I still need to be able to send print jobs to a remote CUPS server (Linux), from the server where my java application is running (AIX 5.3). The javax.print.* package is not what I want apparently. I cannot specify the printer I wanted to print to, nor a host. I know the printer names, I know the host. I just need to find out how to call that from my java app.

I have read some places about a CUPS java api (using IPP), but was not able to find it.

Any ideas, I take. Thanks all.

Fred Blaise @ 4:41 pm Edit This
Filed under: Sys Admin
Bothered with these Desktop icons you can’t even move?

Posted on Monday 22 December 2008

You probably have noticed that 2 icons — Online Help and openSUSE — are sitting on your user’s desktop, owned as root. You cannot delete them, nor move them. Deleting them from the /usr/share/dist/desktop-files folders will not do either, they will come back.

Bug #438071 has been opened in beta, but is not yet resolved. A temporary workaround is:

gconftool-2 --set /apps/nautilus/desktop/predefined_items_dir --type string ""

Fred Blaise @ 11:51 pm Edit This
Filed under: SUSE-Novell
Upgrade to 11.1 …

Posted on Sunday 21 December 2008

… left my system unbootable (32 bits)

Everything went fine during the update itself. I rebooted, only to see that the system was not able to see my physical volume anymore, hence all VGs on it…

aie aie aie…

Update: I ran the Rescue shell from the DVD, and rebuilt my initrd. Works now… so if anyone has this issue, you know what to do.

Fred Blaise @ 2:41 pm Edit This
Filed under: SUSE-Novell
64bits java plugin

Posted on Tuesday 16 December 2008

What a good news… 64bits Linux users will have their own java plugin… at last!

Sun Provides 64-bit Java Plug-In For Linux

Fred Blaise @ 7:42 am Edit This
Filed under: General
First clear shot of my daughter

Posted on Thursday 27 November 2008

Just learned today our baby was going to be a girl :)

Here is the first “clear” picture we have, as of today:

From ma fille
Fred Blaise @ 5:03 pm Edit This
Filed under: General
Closest book meme

Posted on Monday 17 November 2008

  • Grab the nearest book.
  • Open it to page 56.
  • Find the fifth sentence.
  • Post the text of the sentence in your blog along with these instructions.
  • Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.

Another approach for counting N(Ssub1 intersects Hsub2) is to use the fundamental counting principle.

Taken from “Probability and Statistics” (1991, 1st ed.), by Ronald l. Rothenberg. (which I bought to refresh my memory on stats, for my master’s degree)

Fred Blaise @ 6:04 pm Edit This
Filed under: General