From ef4d439c3bc3a9ffcfe103a3d76cd82ae66873c1 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 17 May 2019 10:02:27 -0400 Subject: Normalize ippeveprinter environment with ippserver: - Add -F option to specify the output format (default is application/postscript when PPDs are used) - Add pwg-xxx attributes and output format to environment. --- doc/help/man-ippeveprinter.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/help/man-ippeveprinter.html b/doc/help/man-ippeveprinter.html index ec25dabc0..d37d63559 100644 --- a/doc/help/man-ippeveprinter.html +++ b/doc/help/man-ippeveprinter.html @@ -23,6 +23,9 @@ ippeveprinter - an ipp everywhere printer application for cups -D device-uri ] [ +-F +output-type/subtype +] [ -K keypath ] [ @@ -94,6 +97,9 @@ The URI can be a filename, directory, or a network socket URI of the form "socke When specifying a directory, ippeveprinter will create an output file using the job ID and name. +
-F output-type/subtype[,...] +
Specifies the output MIME media type. +The default is "application/postscript" when the -P option is specified.
-M manufacturer
Set the manufacturer of the printer. The default is "Example". @@ -169,12 +175,12 @@ program is unique to CUPS and conforms to the IPP Everywhere (PWG 5100.14) speci ippeveprinter 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. -

In addition, all IPP "xxx-default" Printer Description attributes are added to the environment. +

In addition, all IPP "xxx-default" and "pwg-xxx" Printer Description attributes are added to the environment. For example, the "IPP_MEDIA_DEFAULT" environment variable will be set to the default value for the "media" 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", "orientation-requested", and "print-quality". -

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

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

Command Output

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

Print commands can send messages back to @@ -213,6 +219,8 @@ command whenever a job is sent to the server: ippeveprinter -c /usr/bin/file "My Cool Printer"

See Also

+ippevepcl(7), +ippeveps(7), PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)

Copyright

Copyright © 2007-2019 by Apple Inc. -- cgit v1.2.1