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