Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Let The Music Play: Join EFF Today

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 56 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       gtklp  [-P|-d  printer]  [-c configdir] [-S|-h server] [-p
       port] [-l] [-D] [-V] [-b] [-i] [-H] [-C] [-U user]  [-#|-n
       n] [-E] [-q priority] [-t|-J jobname] [-o option=value ...

       lp [-d printer] [-S|-h server] [-p port]  [-D]  [-V]  [-b]
       [-U user] [-#|-n n] [-E] [-q priority] [-t|-J jobname] [-P
       page-list  [-H  handling]  [-X]   [-o   option=value   ...

       lpr  [-P|-d  printer]  [-S|-h  server] [-p port] [-D] [-V]
       [-b] [-U user] [-#|-n n] [-E] [-q  priority]  [-t|-J|-C|-T
       jobname] [-X] [-o option=value ... ][file(s)]


       GtkLP  is  an graphical frontend for CUPS, the Common UNIX
       Printing System.
       It is used to have an easy (and graphical) access  to  all
       of the many options of cups-managed printers.


       The following options are recognized by gtklp:

       -P printer
            Use printer as default destination.

       -d printer
            This option is equivalent to "-P".

       -c configdir
            Use  configdir to set an alternative path to the con­
            figfiles for GtkLP.

       -S server
            The name of the CUPS-Server.

       -h server
            The same as -S.

       -p port
            The port of CUPS-Server, 631 per default.

            Only list the choosen options as a list  of  command­
            line-parameters for lpr.
            Nice for scripting purposes...


            Make n copies per default.

       -n n
            The same as -#.


            Force console-mode

       -o option=value
            Specify extra options, same syntax as lpr

            Forces encryption when connecting to the server.

       -q priority
            Specify the priority of the print job, from  1  (low­
            est) to 100 (highest)

       -t jobname
            Specify the jobname

       -J jobname
            The same as -t.

       If called as lp, the following options differ from GtkLP`s

       -X   Force X-Mode, even if GTKLP_FORCEX is not set to 1

       -P page-list
            Specifies which pages to print in the  document.  The
            list  can  contain a list of numbers and ranges (#-#)
            separated by commas (e.g. 1,3-5,16).

       -H handling
            Specifies  when the job should be printed. A value of
            immediate will print the file immediately, a value of
            hold will hold the job indefinitely, and a time value
            (HH:MM) will hold the job until the  specified  time.
            (does this option work ?)

       If  called  as  lpr,  the  following  options  differ from
       GtkLP`s options:

       -X   Force X-Mode, even if GTKLP_FORCEX is not set to 1

       -C jobname
            Specify the jobname

       Some  other  options  from systemv`s lp and berkeley`s lpr
       are ignored without error message


       GtkLP looks for config-files under
       then under
       and at last under

       To hide Printers from users, use the following pathes:

       Just put an empty file with the name of  the  printer  the
       user  should  see  by default to accept, put an empty file
       with the name of the printer the user should never see  to
       The accept values can be overwritten by the user, the deny
       values can't.


       In GtkLP you can define an Browser to open the  help  URL,
       the  CUPS-Homepage  and so on.  Just use the your favorite
       HTML-Browser. The first $1 in command-line will be substi­
       tuted by the URL.

       If  you  can`t  connect to an X-Server, GtkLP acts as con­

       If called as lpr, or lp, GtkLP acts  on  console  and  has
       some other command-line parameters, see above.


       You  can set the following environment variables to influ­
       ence the behaviour of GtkLP:

            The default CUPS-server to connect to

            The default Port of the CUPS-server to connect to

            The default printer to use

            Set to 1 to force X-Mode for lpr and lp




       This program was written by T. Mueller, 2000, 2001,  2002.
       It  is  licensed under the Terms of the GNU GENERAL PUBLIC
       see also http://www.gnu.org.


       The latest version of GtkLP is always available under
       Feel also free to contact me at
       Please mail also, if you like the software !!! ;-)

Tobias Mueller                 0.9p                      gtklp(1)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds