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