System specific issues
To install, you'll need at least:
Attention please: Gtk1 Support is only available up to version 1.2.6. You need Gtk2 for recent versions.
You should also have recent versions of:
Since version 0.9d you should be able to do it the following way:
... or just use some of the precompiled packages !
Since version 0.9d GtkLP uses gettext, so the language of your interface depends on the environment-variable
If your language is not support right now, please
You can call GtkLP in three ways:
When starting, GtkLP first looks for its config-files at the following places:
and asks the cups-libraries for the default server-settings.
In GtkLP you have also the chance to define the default browser.
You can choose every html-browser you like, the first "$1" will be substituted by the URL.
If you want to define global defaults for all users, just call GtkLP and save
the preferences you like for each printer.
Then you only have to put all files from your
Since version 0.9, you have also to add the default-ppd-options via the cups-webfrontend or lpadmin.
For some special circumstances it is also usefull to define then following environment
If you call GtkLP as lp, or as lpr (by alias or softlink), it tries to emulate the behaviour of this tools. So it has different command-line parameters and uses console-mode by default (if GTKLP_FORCEX not set).
Please have a look at the man-page to see the changes.
Since version 0.8 there is also an *very* small queue-tool, GtkLPQ, included.
It has no config-files, so you have to call it with command-line-parameters.
Look at the manpage to see them.
If you call it as lpq and acts as normal lpq, the same for lprm, enable, disable, accept, reject.
System specific issues
Sometimes the compilations fails due to missing libraries (shouldn't configure find them??), on Solaris 10 try to use
to compile GtkLP.
There are problems compiling gtklp-1.0c under IRIX 6.5.22f, cause "basename" was not found when linking gtklp.
to solve this Problem.
Also the fonts could look a little big ugly with Gtk2. In this case you should use Gtk1 instead:
./configure --enable-gtk1 LDFLAGS=-lgen
Attention please: This option is not available in versions later than 1.2.6.
Thanks to Dirk Engel for this hints!
Systems with too many printers
For GtkLP before version 1.0g:
If you have more than 100 printers in your network, you have to increase the value "MAX_PRT" in "includes/default.h" before compiling GtkLP or it won't work.
Since version 1.0g the default is 150 printers. You can change this value with the configure option "--with-maxprinters=".