Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Cyber Angels

 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

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

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

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

  

gtklp



SYNOPSIS

       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 ...
       ][file(s)]

       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   ...
       ][file(s)]

       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)]


DESCRIPTION

       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.


OPTIONS

       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.

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

       -D
            Debug.

       -V
            Make n copies per default.

       -n n
            The same as -#.

       -H
            Help

       -C
            Force console-mode

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

       -E
            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
       options:

       -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


PATHS

       GtkLP looks for config-files under
       <configdir>
       then under
       $HOME/.gtklp/
       and at last under
       /etc/gtklp/.

       To hide Printers from users, use the following pathes:
       /etc/gtklp/accept/
       /etc/gtklp/deny/
       $HOME/.gtklp/

       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
       deny.
       The accept values can be overwritten by the user, the deny
       values can't.


SPECIAL

       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­
       sole-lpr.

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


VARIABLES

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

       CUPS_SERVER
            The default CUPS-server to connect to

       IPP_PORT
            The default Port of the CUPS-server to connect to

       PRINTER
            The default printer to use

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


ERROR

       http://localhost:631/documentation.html


COPYRIGHT

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


CONTACT

       The latest version of GtkLP is always available under
       http://gtklp.sourceforge.net/
       Feel also free to contact me at
       sirtobi@stud.uni-hannover.de
       Please mail also, if you like the software !!! ;-)

Tobias Mueller                 0.9p                      gtklp(1)
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

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?
You can get all the latest Site and Linux news by checking out our news page.


Friends



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