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