ippserver(1) | Apple Inc. | ippserver(1) |
ippserver - a simple internet printing protocol server
ippserver [ -2 ] [ -M manufacturer ] [ -P ] [ -c command ] [ -d spool-directory ] [ -f type/subtype[,...] ] [ -h ] [ -i iconfile.png ] [ -k ] [ -l location ] [ -m model ] [ -n hostname ] [ -p port ] [ -r subtype ] [ -s speed[,color-speed] ] [ -v[vvv] ] service-name
ippserver 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.
The following options are recognized by ippserver:
The ippserver program returns 1 if it is unable to process the command-line arguments or register the IPP service. Otherwise ippserver will run continuously until terminated.
The ippserver program is unique to CUPS and conforms to the IPP Everywhere (PWG 5100.14) specification.
ippserver adds environment variables starting with "IPP_" for all IPP Job attributes in the print request. 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.
Enumerated values are converted to their keyword equivalents. 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".
Run ippserver with a service name of My Cool Printer:
ippserver "My Cool Printer"
Run the file(1) command whenever a job is sent to the server:
ippserver -c file "My Cool Printer"
PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
Copyright © 2007-2014 by Apple Inc.
CUPS | 28 August 2014 |