From: mike Date: Wed, 14 Mar 2001 13:45:35 +0000 (+0000) Subject: Add Classification directive and page-label attribute support. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d11458ffc51eed460cc0010a0be29d19d32068fb;p=thirdparty%2Fcups.git Add Classification directive and page-label attribute support. Still need to do GUI changes, update imagetoraster to redirect through imagetops and pstoraster if a classification is involved, and output labels from the texttopcl filter. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@1631 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/CHANGES.txt b/CHANGES.txt index 7e8d421eb9..8858457510 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,4 @@ -CHANGES.txt - 03/08/2001 +CHANGES.txt - 03/14/2001 ------------------------ CHANGES IN CUPS V1.1.7 @@ -92,6 +92,14 @@ CHANGES IN CUPS V1.1.7 attribute when altering a job. - The pstops filter did not handle PostScript files with lines longer than 8191 bytes. + - The scheduler no longer uses inet_addr() to convert IP + addresses in dot format (mmm.nnn.ooo.ppp) to the + 32-bit format, since it will not work for IPv6 + addresses. + - New "Classification" directive to force labeling of + the current classification on each page. + - New "page-label" attribute to add per-page labels + ("For Official Use Only", "Draft", etc.) - The scheduler now sets the HTTPS environment variable for CGI programs when a client connects using encryption. diff --git a/conf/cupsd.conf b/conf/cupsd.conf index 6ef62fba63..338b2b68b3 100644 --- a/conf/cupsd.conf +++ b/conf/cupsd.conf @@ -1,5 +1,5 @@ # -# "$Id: cupsd.conf,v 1.31 2001/03/02 22:33:58 andy Exp $" +# "$Id: cupsd.conf,v 1.32 2001/03/14 13:45:30 mike Exp $" # # Sample configuration file for the Common UNIX Printing System (CUPS) # scheduler. @@ -71,6 +71,17 @@ #AccessLog /var/log/cups/access_log +# +# Classification: the classification level of the server. If set, this +# classification is displayed on all pages, and raw printing is disabled. +# The default is the empty string. + +#Classification classified +#Classification confidential +#Classification secret +#Classification topsecret +#Classification unclassified + # # DataDir: the root directory for the CUPS data files. # By default /usr/share/cups. @@ -624,5 +635,5 @@ Allow From 127.0.0.1 # -# End of "$Id: cupsd.conf,v 1.31 2001/03/02 22:33:58 andy Exp $". +# End of "$Id: cupsd.conf,v 1.32 2001/03/14 13:45:30 mike Exp $". # diff --git a/doc/ipp.shtml b/doc/ipp.shtml index 465ffaf2a7..a08063b0bb 100644 --- a/doc/ipp.shtml +++ b/doc/ipp.shtml @@ -1638,6 +1638,15 @@ The default value is 6.

The page-bottom attribute specifies the bottom margin in points (72 points equals 1 inch). The default value is the device physical margin. +

page-label (text(MAX))

+ +

(CUPS 1.1.7 and higher) + +

The page-label attribute provides a text value to place in +the header and footer on each page. If a classification level is +set on the server, then this classification is printed before +the page label. +

page-left (integer(0:MAX))

The page-left attribute specifies the left margin in points (72 points diff --git a/doc/sam.shtml b/doc/sam.shtml index 90c77f38a6..a503cae5d7 100644 --- a/doc/sam.shtml +++ b/doc/sam.shtml @@ -830,7 +830,6 @@ determine how the server operates: