Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Karen Lilly Creations

 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, 106 guest(s) and 0 member(s) that are online.

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

  

lpadmin



SYNOPSIS

       lpadmin [ -E ] [ -h server ] -d destination
       lpadmin [ -E ] [ -h server ] -p printer option(s)
       lpadmin [ -E ] [ -h server ] -x destination


DESCRIPTION

       lpadmin  configures  printer  and class queues provided by
       CUPS. It can also  be  used  to  set  the  server  default
       printer or class.

       When  specified  before  the -d, -p, or -x options, the -E
       option forces encryption when connecting to the server.

       The first form of the command sets the default printer  or
       class to destination.  Subsequent print jobs submitted via
       the lp(1) or lpr(1) commands  will  use  this  destination
       unless  the user specifies otherwise with the lpoptions(1)
       command.

       The second  form  of  the  command  configures  the  named
       printer.  The additional options are described below.

       The third form of the command deletes the printer or class
       destination.  Any jobs that are pending for  the  destina­
       tion will be removed and any job that is currently printed
       will be aborted.


CONFIGURATION OPTIONS

       The following options are recognized  when  configuring  a
       printer queue:

       -c class
            Adds  the  named printer to class.  If class does not
            exist it is created automatically.

       -i interface
            Sets a  System  V  style  interface  script  for  the
            printer.  This option cannot be specified with the -P
            option (PPD file) and is intended for providing  sup­
            port for legacy printer drivers.

       -m model
            Sets a standard System V interface script or PPD file
            from the model directory.

       -o name=value
            Sets a PPD or server  option  for  the  printer.  PPD
            options  can  be  listed using the -l option with the
            lpoptions(1) command.

       -o job-k-limit=value
            Sets the kilobyte  limit  for  per-user  quotas.  The
            Sets the binary communications protocol to  use  when
            printing, None, BCP, or TBCP. The default protocol is
            None.

       -r class
            Removes the named printer from class.  If the result­
            ing class becomes empty it is removed.

       -u allow:user,user,@group
            -u deny:user,user,@group -u allow:all -u deny:none
            Sets  user-level  access  control on a printer. Names
            starting with "@" are interpreted as UNIX groups. The
            latter  two forms turn user-level access control off.

       -v device-uri
            Sets the device-uri attribute of the  printer  queue.
            If  device-uri is a filename it is automatically con­
            verted to the form file:/file/name.

       -D info
            Provides a textual description of the printer.

       -E
            Enables the printer and accepts  jobs;  this  is  the
            same  as running the accept(8) and enable(8) programs
            on the printer.

       -L location
            Provides a textual location of the printer.

       -P ppd-file
            Specifies a PostScript Printer  Description  file  to
            use with the printer. If specified, this option over­
            rides the -i option (interface script).


COMPATIBILITY

       Unlike the System V printing system, CUPS  allows  printer
       names  to contain any printable character except SPACE and
       TAB. Also, printer and class names are not case-sensitive.
       Finally,  the CUPS version of lpadmin may ask the user for
       an access password depending on the printing  system  con­
       figuration.   This differs from the System V version which
       requires the root user to execute this command.


LIMITATIONS

       The CUPS version of lpadmin does not support  all  of  the
       System V or Solaris printing system configuration options.


SEE ALSO

       accept(8),  cancel(1),   disable(8),   enable(8),   lp(1),
       lpstat(1), reject(8), CUPS Software Administrators Manual,
       http://localhost:631/documentation.html
  

Looking for a "printer friendly" version?


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 choose larger fonts by selecting a different themes.


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