From efb349bcb837a6c6beb28e1ffd1055b7736ac20d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 22 Mar 2019 13:21:05 -0400 Subject: [PATCH] Add man page for and installation of ippeveprinter commands. --- doc/Makefile | 1 + doc/help/man-ippevepcl.html | 48 +++++++++++++++++++++++++++++++++++++ man/Makefile | 3 +++ man/ippevepcl.man | 47 ++++++++++++++++++++++++++++++++++++ test/Makefile | 8 +++++++ 5 files changed, 107 insertions(+) create mode 100644 doc/help/man-ippevepcl.html create mode 100644 man/ippevepcl.man diff --git a/doc/Makefile b/doc/Makefile index 0d7591612..e994e9679 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -70,6 +70,7 @@ HELPFILES = \ help/man-cupsenable.html \ help/man-cupstestppd.html \ help/man-filter.html \ + help/man-ippevepcl.html \ help/man-ippeveprinter.html \ help/man-ipptool.html \ help/man-ipptoolfile.html \ diff --git a/doc/help/man-ippevepcl.html b/doc/help/man-ippevepcl.html new file mode 100644 index 000000000..929657ec4 --- /dev/null +++ b/doc/help/man-ippevepcl.html @@ -0,0 +1,48 @@ + + + + + + ippevepcl/ps(7) + + +

ippevepcl/ps(7)

+

Name

+ippevepcl/ps - pcl and postscript print commands for ippeveprinter +

Synopsis

+ippevepcl +[ +filename +] +
+ippeveps +[ +filename +] +

Description

+ippevepcl +and +ippeveps +are print commands for +ippeveprinter(1). +As with all print commands, these commands read either the filename specified on the command-line or from the standard input. +Output is sent to the standard output. +

ippevepcl +prints to B&W HP PCL laser printers and some color inkjet printers and supports printing of PWG Raster (image/pwg-raster) and Apple Raster (image/urf) print files. +

ippeveps +print to Adobe PostScript printers and supports printing of PDF (application/pdf), JPEG (image/jpeg), PWG Raster (image/pwg-raster), and Apple Raster (image/urf) print files. +Printer-specific commands are read from a supplied PPD file. +If no PPD file is specified, generic commands suitable for any Level 2 or Level 3 PostScript printer are used instead to specify copies, duplex printing, and media size. +

Exit Status

+These programs return 1 on error and 0 on success. +

Environment

+These program inherit the environment provided by the +ippeveprinter +program. +

See Also

+ippeveprinter(8) +

Copyright

+Copyright © 2019 by Apple Inc. + + + diff --git a/man/Makefile b/man/Makefile index 554018e4f..f04a1a020 100644 --- a/man/Makefile +++ b/man/Makefile @@ -47,6 +47,7 @@ MAN5 = classes.conf.$(MAN5EXT) \ subscriptions.conf.$(MAN5EXT) MAN7 = backend.$(MAN7EXT) \ filter.$(MAN7EXT) \ + ippevepcl.$(MAN7EXT) \ notifier.$(MAN7EXT) MAN8 = cupsaccept.$(MAN8EXT) \ cupsctl.$(MAN8EXT) \ @@ -126,6 +127,8 @@ install-data: all echo Installing $$file in $(MANDIR)/man7...; \ $(INSTALL_MAN) $$file $(MANDIR)/man7; \ done + $(RM) $(MANDIR)/man7/ippeveps.$(MAN7EXT) + $(LN) ippevepcl.$(MAN7EXT) $(MANDIR)/man7/ippeveps.$(MAN7EXT) $(INSTALL_DIR) -m 755 $(AMANDIR)/man$(MAN8DIR) for file in $(MAN8); do \ echo Installing $$file in $(AMANDIR)/man$(MAN8DIR)...; \ diff --git a/man/ippevepcl.man b/man/ippevepcl.man new file mode 100644 index 000000000..02a9e33d4 --- /dev/null +++ b/man/ippevepcl.man @@ -0,0 +1,47 @@ +.\" +.\" ippeveprinter man page for CUPS. +.\" +.\" Copyright © 2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ippevepcl/ps 7 "CUPS" "22 March 2019" "Apple Inc." +.SH NAME +ippevepcl/ps \- pcl and postscript print commands for ippeveprinter +.SH SYNOPSIS +.B ippevepcl +[ +.I filename +] +.br +.B ippeveps +[ +.I filename +] +.SH DESCRIPTION +.B ippevepcl +and +.B ippeveps +are print commands for +.BR ippeveprinter (1). +As with all print commands, these commands read either the filename specified on the command-line or from the standard input. +Output is sent to the standard output. +.PP +.B ippevepcl +prints to B&W HP PCL laser printers and some color inkjet printers and supports printing of PWG Raster (image/pwg-raster) and Apple Raster (image/urf) print files. +.PP +.B ippeveps +print to Adobe PostScript printers and supports printing of PDF (application/pdf), JPEG (image/jpeg), PWG Raster (image/pwg-raster), and Apple Raster (image/urf) print files. +Printer-specific commands are read from a supplied PPD file. +If no PPD file is specified, generic commands suitable for any Level 2 or Level 3 PostScript printer are used instead to specify copies, duplex printing, and media size. +.SH EXIT STATUS +These programs return 1 on error and 0 on success. +.SH ENVIRONMENT +These program inherit the environment provided by the +.B ippeveprinter +program. +.SH SEE ALSO +.BR ippeveprinter (8) +.SH COPYRIGHT +Copyright \[co] 2019 by Apple Inc. diff --git a/test/Makefile b/test/Makefile index a1d007dc2..de9a541ca 100644 --- a/test/Makefile +++ b/test/Makefile @@ -133,6 +133,10 @@ install-exec: $(INSTALL_BIN) ippfind $(BINDIR); \ fi $(INSTALL_BIN) ipptool $(BINDIR) + $(INSTALL_DIR) -m 755 $(SERVERBIN)/ippeveprinter + for file in $(IPPEVECOMMANDS); do \ + $(INSTALL_BIN) $$file $(SERVERBIN)/ippeveprinter; \ + done if test "x$(SYMROOT)" != "x"; then \ $(INSTALL_DIR) $(SYMROOT); \ cp ippeveprinter $(SYMROOT); \ @@ -170,6 +174,10 @@ uninstall: $(RM) $(BINDIR)/$$file; \ done -$(RMDIR) $(BINDIR) + for file in $(IPPEVECOMMANDS); do \ + $(RM) $(SERVERBIN)/ippeveprinter/$$file; \ + done + -$(RMDIR) $(SERVERBIN)/ippeveprinter for file in $(DATAFILES); do \ $(RM) $(DATADIR)/ipptool/$$file; \ done -- 2.39.2