]> git.ipfire.org Git - thirdparty/cups.git/blame - man/ippeveprinter.man
More cleanup of web interfaces, add --no-web-forms option to disable the web
[thirdparty/cups.git] / man / ippeveprinter.man
CommitLineData
83ce8172 1.\"
d46dbe1b 2.\" ippeveprinter man page for CUPS.
83ce8172 3.\"
d46dbe1b 4.\" Copyright © 2014-2019 by Apple Inc.
83ce8172 5.\"
d46dbe1b
MS
6.\" Licensed under Apache License v2.0. See the file "LICENSE" for more
7.\" information.
83ce8172 8.\"
d46dbe1b 9.TH ippeveprinter 1 "CUPS" "20 March 2019" "Apple Inc."
83ce8172 10.SH NAME
d46dbe1b 11ippeveprinter \- an ipp everywhere printer application for cups
83ce8172 12.SH SYNOPSIS
d46dbe1b 13.B ippeveprinter
83ce8172
MS
14[
15.B \-2
16] [
17.B \-M
18.I manufacturer
19] [
20.B \-P
21] [
22.B \-c
23.I command
24] [
25.B \-d
26.I spool-directory
27] [
28.B \-f
29.I type/subtype[,...]
30] [
31.B \-h
32] [
33.B \-i
34.I iconfile.png
35] [
36.B \-k
37] [
38.B \-l
39.I location
40] [
41.B \-m
42.I model
43] [
44.B \-n
45.I hostname
46] [
47.B \-p
48.I port
49] [
50.B \-r
51.I subtype
52] [
53.B \-s
54.I speed[,color-speed]
55] [
56.B \-v[vvv]
57]
58.I service-name
59.SH DESCRIPTION
d46dbe1b 60.B ippeveprinter
83ce8172
MS
61is a simple Internet Printing Protocol (IPP) server conforming to the IPP Everywhere (PWG 5100.14) specification. It can be used to test client software or act as a very basic print server that runs a command for every job that is printed.
62.SH OPTIONS
63The following options are recognized by
d46dbe1b 64.B ippeveprinter:
83ce8172
MS
65.TP 5
66.B \-2
67Report support for two-sided (duplex) printing.
68.TP 5
69\fB\-M \fImanufacturer\fR
70Set the manufacturer of the printer.
71The default is "Test".
72.TP 5
73.B \-P
74Report support for PIN printing.
75.TP 5
76\fB\-c \fIcommand\fR
77Run the specified command for each document that is printed.
78.TP 5
79\fB\-d \fIspool-directory\fR
80Specifies the directory that will hold the print files.
81The default is a directory under the user's current temporary directory.
82.TP 5
83\fB\-f \fItype/subtype[,...]\fR
84Specifies a list of MIME media types that the server will accept.
85The default is "application/pdf,image/jpeg,image/pwg-raster".
86.TP 5
87.B \-h
88Shows program help.
89.TP 5
90\fB\-i \fIiconfile.png\fR
91Specifies the printer icon file for the server.
92The default is "printer.png".
93.TP 5
94.B \-k
95Keeps the print documents in the spool directory rather than deleting them.
96.TP 5
97\fB\-l \fIlocation\fR
98Specifies the human-readable location string that is reported by the server.
99The default is the empty string.
100.TP 5
101\fB\-m \fImodel\fR
102Specifies the model name of the printer.
103The default is "Printer".
104.TP 5
105\fB\-n \fIhostname\fR
106Specifies the hostname that is reported by the server.
107The default is the name returned by the
108.BR hostname (1)
109command.
110.TP 5
111\fB\-p \fIport\fR
112Specifies the port number to listen on.
113The default is a user-specific number from 8000 to 8999.
114.TP 5
115\fB\-r \fIsubtype\fR
116Specifies the Bonjour subtype(s) to advertise.
117Separate multiple subtypes with a comma.
118The default is "_print".
119.TP 5
120\fB\-s \fIspeed[,color-speed]\fR
121Specifies the printer speed in pages per minute.
122If two numbers are specified and the second number is greater than zero, the server will report support for color printing.
123The default is "10,0".
124.TP 5
125.B \-v[vvv]
126Be (very) verbose when logging activity to the standard output.
127.SH EXIT STATUS
128The
d46dbe1b 129.B ippeveprinter
83ce8172
MS
130program returns 1 if it is unable to process the command-line arguments or register the IPP service.
131Otherwise
d46dbe1b 132.B ippeveprinter
83ce8172
MS
133will run continuously until terminated.
134.SH CONFORMING TO
135The
d46dbe1b 136.B ippeveprinter
83ce8172
MS
137program is unique to CUPS and conforms to the IPP Everywhere (PWG 5100.14) specification.
138.SH ENVIRONMENT
d46dbe1b 139.B ippeveprinter
83ce8172
MS
140adds environment variables starting with "IPP_" for all IPP Job attributes in the print request.
141For example, when executing a command for an IPP Job containing the "media" Job Template attribute, the "IPP_MEDIA" environment variable will be set to the value of that attribute.
142.LP
143Enumerated values are converted to their keyword equivalents.
144For example, a "print-quality" Job Template attribute with a enum value of 3 will become the "IPP_PRINT_QUALITY" environment variable with a value of "draft".
145.SH EXAMPLES
146Run
d46dbe1b 147.B ippeveprinter
83ce8172
MS
148with a service name of My Cool Printer:
149.nf
150
d46dbe1b 151 ippeveprinter "My Cool Printer"
83ce8172
MS
152.fi
153.LP
154Run the
155.BR file (1)
156command whenever a job is sent to the server:
157.nf
158
d46dbe1b 159 ippeveprinter \-c file "My Cool Printer"
83ce8172
MS
160.fi
161.SH SEE ALSO
162PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
163.SH COPYRIGHT
d46dbe1b 164Copyright \[co] 2007-2019 by Apple Inc.