Announcing GMSO 2

Years later discontinuing GMSO , a GNOME application to query inklevels of various printers, I started rewriting it in Java using Java-Gnome and JNI to interface with native libraries. The project’s home page is hosted at Google (http:/ and the source branches are hosted at Launchpad.

The project currently consists of 3 components

  • JInkLevel: Java bindings for libinklevel.
  • LibMso: JNI library to detect printers attached to the system. It uses libhd (part of hwinfo by SuSE)
  • GMSO 2: The main application

See the homepage for screenshots, downloads and javadoc of the libraries. The source code be browsed at Launchpad. Looking for the future I may be adding additional GUI’s based on the libraries (Java Swing, SWT, QT ….)


One Response to “Announcing GMSO 2”

  1. asddfsdfsdfsdafasdadafdsfsdfds Says:

    Hi Serkan Kaba,
    I set up a java program to find the ink level of printer by your code help.But here i am not able to run the main class because it is not getting the mso.dll in path.
    Exception in thread “main” java.lang.UnsatisfiedLinkError: no mso in java.library.path
    at java.lang.ClassLoader.loadLibrary(
    at java.lang.Runtime.loadLibrary0(
    at java.lang.System.loadLibrary(
    at LibMso.(
    at Main.main(

    So it would be helpful for me if you look into this problem.
    here is my project structure like ..
    Under package com.ssis

    And the C files under jni directory >

    So here when i will try execute Main Class it is throwing above exception and also i am new to this concept means calling c files from java using JNI(Java Native Intyerface) and how to get mso.dll files.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: