Scroll to navigation

ipp3dprinter(1) Apple Inc. ipp3dprinter(1)

NAME

ipp3dprinter - an ipp 3d printer application

SYNOPSIS

ipp3dprinter[--help] [--no-web-forms] [--version] [-Ddevice-uri] [-Kkeypath] [-Mmanufacturer] [-afilename.conf] [-ccommand] [-dspool-directory] [-ftype/subtype[,...]] [-iiconfile.png] [-k] [-llocation] [-mmodel] [-nhostname] [-pport] [-rsubtype[,subtype]] [-v[vvv]]service-name

DESCRIPTION

ipp3dprinteris a simple Internet Printing Protocol (IPP) server conforming to the IPP 3D Printing Extensions (PWG 5100.21) 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.

OPTIONS

The following options are recognized byipp3dprinter:

Show program usage.
Disable the web interface forms used to update the media and supply levels.
Show the CUPS version.
Set the device URI for print output.The URI can be a filename, directory, or a network socket URI of the form "socket://ADDRESS[:PORT]" (where the default port number is 9100).When specifying a directory,ipp3dprinterwill create an output file using the job ID and name.
Set the manufacturer of the printer.The default is "Example".
Run the specified command for each document that is printed.If "command" is not an absolute path ("/path/to/command"),ipp3dprinterlooks for the command in the "command" subdirectory of the CUPS binary directory, typically /usr/lib/cups/command or /usr/libexec/cups/command.Thecups-config(1)command can be used to discover the correct binary directory ("cups-config --serverbin").In addition, the CUPS_SERVERBIN environment variable can be used to override the default location of this directory - see thecups(1)man page for more details.
Specifies the directory that will hold the print files.The default is a directory under the user's current temporary directory.
Specifies a list of MIME media types that the server will accept.The default depends on the type of printer created.
Specifies the printer icon file for the server.The file must be a PNG format image.The default is an internally-provided PNG image.
Keeps the print documents in the spool directory rather than deleting them.
Specifies the human-readable location string that is reported by the server.The default is the empty string.
Specifies the model name of the printer.The default is "Printer".
Specifies the hostname that is reported by the server.The default is the name returned by thehostname(1)command.
Specifies the port number to listen on.The default is a user-specific number from 8000 to 8999.
Specifies the DNS-SD subtype(s) to advertise.Separate multiple subtypes with a comma.The default is "_print".
Be (very) verbose when logging activity to standard error.

EXITSTATUS

Theipp3dprinterprogram returns 1 if it is unable to process the command-line arguments or register the IPP service.Otherwiseipp3dprinterwill run continuously until terminated.

CONFORMINGTO

Theipp3dprinterprogram is unique to CUPS and conforms to the IPP 3D Printing Extensions (PWG 5100.21) specification.

ENVIRONMENT

ipp3dprinteradds 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 "materials-col" Job Template attribute, the "IPP_MATERIALS_COL" environment variable will be set to the value of that attribute.

In addition, all IPP "xxx-default" and "pwg-xxx" Printer Description attributes are added to the environment.For example, the "IPP_MATERIALS_COL_DEFAULT" environment variable will be set to the default value for the "materials-col" Job Template 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".This string conversion only happens for standard Job Template attributes, currently "finishings" and "print-quality".

Finally, the "CONTENT_TYPE" environment variable contains the MIME media type of the document being printed and the "DEVICE_URI" environment variable contains the device URI as specified with the "-D" option.

COMMANDOUTPUT

Unless they communicate directly with a printer, print commands send printer-ready data to the standard output.

Print commands can send messages back toipp3dprinteron the standard error with one of the following prefixes:

Sets the named attribute(s) to the given values.Currently only the "printer-alert" and "printer-alert-description" Printer Status attributes can be set.
Logs a debugging message if at least two -v's have been specified.
Logs an error message and copies the message to the "job-state-message" attribute.
Logs an informational/progress message if -v has been specified and copies the message to the "job-state-message" attribute unless an error has been reported.
Sets the printer's "printer-state-reasons" attribute to the listed keywords.
Removes the listed keywords from the printer's "printer-state-reasons" attribute.
Adds the listed keywords to the printer's "printer-state-reasons" attribute.

EXAMPLES

Runipp3dprinterwith a service name of My Cool Printer:


ipp3dprinter "My Cool Printer"

Run thefile(1)command whenever a job is sent to the server:


ipp3dprinter -c /usr/bin/file "My Cool Printer"

SEEALSO

PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)

COPYRIGHT

Copyright © 2007-2019 by Apple Inc.

CUPS 26 September 2019