2 .\" ippserver man page for CUPS.
4 .\" Copyright 2014 by Apple Inc.
6 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
8 .TH ippserver 1 "CUPS" "28 August 2014" "Apple Inc."
10 ippserver \- a simple internet printing protocol server
53 .I speed[,color-speed]
60 is 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 The following options are recognized by
66 Report support for two-sided (duplex) printing.
68 \fB\-M \fImanufacturer\fR
69 Set the manufacturer of the printer.
70 The default is "Test".
73 Report support for PIN printing.
76 Run the specified command for each document that is printed.
78 \fB\-d \fIspool-directory\fR
79 Specifies the directory that will hold the print files.
80 The default is a directory under the user's current temporary directory.
82 \fB\-f \fItype/subtype[,...]\fR
83 Specifies a list of MIME media types that the server will accept.
84 The default is "application/pdf,image/jpeg,image/pwg-raster".
89 \fB\-i \fIiconfile.png\fR
90 Specifies the printer icon file for the server.
91 The default is "printer.png".
94 Keeps the print documents in the spool directory rather than deleting them.
97 Specifies the human-readable location string that is reported by the server.
98 The default is the empty string.
101 Specifies the model name of the printer.
102 The default is "Printer".
104 \fB\-n \fIhostname\fR
105 Specifies the hostname that is reported by the server.
106 The default is the name returned by the
111 Specifies the port number to listen on.
112 The default is a user-specific number from 8000 to 8999.
115 Specifies the Bonjour subtype(s) to advertise.
116 Separate multiple subtypes with a comma.
117 The default is "_print".
119 \fB\-s \fIspeed[,color-speed]\fR
120 Specifies the printer speed in pages per minute.
121 If two numbers are specified and the second number is greater than zero, the server will report support for color printing.
122 The default is "10,0".
125 Be (very) verbose when logging activity to the standard output.
129 program returns 1 if it is unable to process the command-line arguments or register the IPP service.
132 will run continuously until terminated.
136 program is unique to CUPS and conforms to the IPP Everywhere (PWG 5100.14) specification.
139 adds environment variables starting with "IPP_" for all IPP Job attributes in the print request.
140 For 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 Enumerated values are converted to their keyword equivalents.
143 For 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".
147 with a service name of My Cool Printer:
150 ippserver "My Cool Printer"
155 command whenever a job is sent to the server:
158 ippserver \-c file "My Cool Printer"
161 PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
163 Copyright \[co] 2007-2014 by Apple Inc.