2 .\" ippserver man page for CUPS.
4 .\" Copyright 2014 by Apple Inc.
6 .\" These coded instructions, statements, and computer programs are the
7 .\" property of Apple Inc. and are protected by Federal copyright
8 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
9 .\" which should have been included with this file. If this file is
10 .\" file is missing or damaged, see the license at "http://www.cups.org/".
12 .TH ippserver 1 "CUPS" "28 August 2014" "Apple Inc."
14 ippserver \- a simple internet printing protocol server
57 .I speed[,color-speed]
64 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.
66 The following options are recognized by
70 Report support for two-sided (duplex) printing.
72 \fB\-M \fImanufacturer\fR
73 Set the manufacturer of the printer.
74 The default is "Test".
77 Report support for PIN printing.
80 Run the specified command for each document that is printed.
82 \fB\-d \fIspool-directory\fR
83 Specifies the directory that will hold the print files.
84 The default is a directory under the user's current temporary directory.
86 \fB\-f \fItype/subtype[,...]\fR
87 Specifies a list of MIME media types that the server will accept.
88 The default is "application/pdf,image/jpeg,image/pwg-raster".
93 \fB\-i \fIiconfile.png\fR
94 Specifies the printer icon file for the server.
95 The default is "printer.png".
98 Keeps the print documents in the spool directory rather than deleting them.
100 \fB\-l \fIlocation\fR
101 Specifies the human-readable location string that is reported by the server.
102 The default is the empty string.
105 Specifies the model name of the printer.
106 The default is "Printer".
108 \fB\-n \fIhostname\fR
109 Specifies the hostname that is reported by the server.
110 The default is the name returned by the
115 Specifies the port number to listen on.
116 The default is a user-specific number from 8000 to 8999.
119 Specifies the Bonjour subtype(s) to advertise.
120 Separate multiple subtypes with a comma.
121 The default is "_print".
123 \fB\-s \fIspeed[,color-speed]\fR
124 Specifies the printer speed in pages per minute.
125 If two numbers are specified and the second number is greater than zero, the server will report support for color printing.
126 The default is "10,0".
129 Be (very) verbose when logging activity to the standard output.
133 program returns 1 if it is unable to process the command-line arguments or register the IPP service.
136 will run continuously until terminated.
140 program is unique to CUPS and conforms to the IPP Everywhere (PWG 5100.14) specification.
143 adds environment variables starting with "IPP_" for all IPP Job attributes in the print request.
144 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.
146 Enumerated values are converted to their keyword equivalents.
147 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".
151 with a service name of My Cool Printer:
154 ippserver "My Cool Printer"
159 command whenever a job is sent to the server:
162 ippserver \-c file "My Cool Printer"
165 PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
167 Copyright \[co] 2007-2014 by Apple Inc.