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