]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cupsenable.man
Update more man pages.
[thirdparty/cups.git] / man / cupsenable.man
1 .\"
2 .\" "$Id$"
3 .\"
4 .\" cupsenable/cupsdisable man page for CUPS.
5 .\"
6 .\" Copyright 2007-2013 by Apple Inc.
7 .\" Copyright 1997-2006 by Easy Software Products.
8 .\"
9 .\" These coded instructions, statements, and computer programs are the
10 .\" property of Apple Inc. and are protected by Federal copyright
11 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 .\" which should have been included with this file. If this file is
13 .\" file is missing or damaged, see the license at "http://www.cups.org/".
14 .\"
15 .TH cupsenable 8 "CUPS" "9 October 2008" "Apple Inc."
16 .SH NAME
17 cupsdisable, cupsenable \- stop/start printers and classes
18 .SH SYNOPSIS
19 .B cupsdisable
20 [ -E ] [-U
21 .I username
22 ] [ -c ] [ -h
23 .I server[:port]
24 ] [ -r
25 .I reason
26 ] [ --hold ] destination(s)
27 .br
28 .B cupsenable
29 [ -E ] [-U
30 .I username
31 ] [ -c ] [ -h
32 .I server[:port]
33 ] [ --release ] destination(s)
34 .SH DESCRIPTION
35 \fIcupsenable\fR starts the named printers or classes.
36 .LP
37 \fIcupsdisable\fR stops the named printers or classes. The
38 following options may be used:
39 .TP 5
40 -E
41 .br
42 Forces encryption of the connection to the server.
43 .TP 5
44 -U username
45 .br
46 Uses the specified username when connecting to the server.
47 .TP 5
48 -c
49 .br
50 Cancels all jobs on the named destination.
51 .TP 5
52 -h server[:port]
53 .br
54 Uses the specified server and port.
55 .TP 5
56 --hold
57 .br
58 Holds remaining jobs on the named printer. Useful for allowing the current
59 job to complete before performing maintenance.
60 .TP 5
61 -r "reason"
62 .br
63 Sets the message associated with the stopped state. If no reason is specified
64 then the message is set to "Reason Unknown".
65 .TP 5
66 --release
67 .br
68 Releases pending jobs for printing. Use after running \fIcupsdisable\fR with
69 the \fI--hold\fR option to resume printing.
70 .SH COMPATIBILITY
71 Unlike the System V printing system, CUPS allows printer names to
72 contain any printable character except SPACE, TAB, "/", or "#".
73 Also, printer and class names are \fInot\fR case-sensitive.
74 .LP
75 The System V versions of these commands are \fIdisable\fR and
76 \fIenable\fR. They have been renamed to avoid conflicts with the
77 \fIbash(1)\fR build-in commands of the same name.
78 .LP
79 The CUPS versions of \fIdisable\fR and \fIenable\fR may ask the
80 user for an access password depending on the printing system
81 configuration. This differs from the System V versions which
82 require the root user to execute these commands.
83 .SH SEE ALSO
84 \fIcupsaccept(8)\fR, \fIcupsreject(8)\fR, \fIcancel(1)\fR, \fIlp(1)\fR,
85 \fIlpadmin(8)\fR, \fIlpstat(1)\fR,
86 .br
87 http://localhost:631/help
88 .SH COPYRIGHT
89 Copyright 2007-2013 by Apple Inc.
90
91 .\"
92 .\" End of "$Id$".
93 .\"