/*
* "$Id$"
*
- * SNMP supplies test program for the Common UNIX Printing System (CUPS).
+ * SNMP supplies test program for CUPS.
*
- * Copyright 2008 by Apple Inc.
+ * Copyright 2008-2011 by Apple Inc.
*
* These coded instructions, statements, and computer programs are the
* property of Apple Inc. and are protected by Federal copyright
/*
* "$Id$"
*
- * USB port backend for the Common UNIX Printing System (CUPS).
+ * USB port backend for CUPS.
*
- * Copyright 2007-2009 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Berkeley commands makefile for the Common UNIX Printing System (CUPS).
+# Berkeley commands makefile for CUPS.
#
-# Copyright 2007-2009 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1997-2006 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Online help index routines for the Common UNIX Printing System (CUPS).
+ * Online help index routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
search->nodes = cupsArrayNew((cups_array_func_t)help_sort_by_name, NULL);
search->sorted = cupsArrayNew((cups_array_func_t)help_sort_by_score, NULL);
-
+
if (!search->nodes || !search->sorted)
{
cupsArrayDelete(search->nodes);
node->score = matches;
- cupsArrayAdd(search->nodes, node);
- cupsArrayAdd(search->sorted, node);
+ cupsArrayAdd(search->nodes, node);
+ cupsArrayAdd(search->sorted, node);
}
}
/*
* "$Id$"
*
- * Online help index definitions for the Common UNIX Printing System (CUPS).
+ * Online help index definitions for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Online help CGI for the Common UNIX Printing System (CUPS).
+ * Online help CGI for CUPS.
*
- * Copyright 2007-2009 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * CGI <-> IPP variable routines for the Common UNIX Printing System (CUPS).
+ * CGI <-> IPP variable routines for CUPS.
*
- * Copyright 2007-2009 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Job status CGI for the Common UNIX Printing System (CUPS).
+ * Job status CGI for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Search routines for the Common UNIX Printing System (CUPS).
+ * Search routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * CGI test program for the Common UNIX Printing System (CUPS).
+ * CGI test program for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
}
else
puts("FAIL (init)");
-
+
/*
* Return with no errors...
*/
/*
* "$Id$"
*
- * Help index test program for the Common UNIX Printing System (CUPS).
+ * Help index test program for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * CGI template test program for the Common UNIX Printing System (CUPS).
+ * CGI template test program for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Configuration file makefile for the Common UNIX Printing System (CUPS).
+# Configuration file makefile for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1993-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl 32/64-bit library support stuff for the Common UNIX Printing System (CUPS).
+dnl 32/64-bit library support stuff for CUPS.
dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl Directory stuff for the Common UNIX Printing System (CUPS).
+dnl Directory stuff for CUPS.
dnl
-dnl Copyright 2007 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
# Darwin and MacOS X...
if test -x /sbin/launchd; then
INITDDIR="/System/Library/LaunchDaemons"
- else
+ else
INITDDIR="/System/Library/StartupItems/PrintingServices"
fi
;;
dnl
dnl "$Id$"
dnl
-dnl DNS Service Discovery (aka Bonjour) stuff for the Common UNIX Printing System (CUPS).
+dnl DNS Service Discovery (aka Bonjour) stuff for CUPS.
dnl
-dnl http://www.dns-sd.org
-dnl http://www.multicastdns.org/
-dnl http://developer.apple.com/networking/bonjour/
-dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Apple Inc. and are protected by Federal copyright
dnl
dnl "$Id$"
dnl
-dnl GSSAPI/Kerberos library detection.
+dnl GSSAPI/Kerberos library detection for CUPS.
dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 2006-2007 by Easy Software Products.
dnl
dnl This file contains Kerberos support code, copyright 2006 by
dnl
dnl "$Id$"
dnl
-dnl Large file support stuff for the Common UNIX Printing System (CUPS).
+dnl Large file support stuff for CUPS.
dnl
-dnl Copyright 2007 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl LDAP configuration stuff for the Common UNIX Printing System (CUPS).
+dnl LDAP configuration stuff for CUPS.
dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 2003-2006 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl Libtool stuff for the Common UNIX Printing System (CUPS).
+dnl Libtool stuff for CUPS.
dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl Manpage stuff for the Common UNIX Printing System (CUPS).
+dnl Manpage stuff for CUPS.
dnl
-dnl Copyright 2007 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl Networking stuff for the Common UNIX Printing System (CUPS).
+dnl Networking stuff for CUPS.
dnl
-dnl Copyright 2007-2008 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl Operating system stuff for the Common UNIX Printing System (CUPS).
+dnl Operating system stuff for CUPS.
dnl
-dnl Copyright 2007 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl PAM stuff for the Common UNIX Printing System (CUPS).
+dnl PAM stuff for CUPS.
dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl Select/poll stuff for the Common UNIX Printing System (CUPS).
+dnl Select/poll stuff for CUPS.
dnl
-dnl Copyright 2007 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 2006 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl OpenSLP configuration stuff for the Common UNIX Printing System (CUPS).
+dnl OpenSLP configuration stuff for CUPS.
dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl
dnl "$Id$"
dnl
-dnl Threading stuff for the Common UNIX Printing System (CUPS).
+dnl Threading stuff for CUPS.
dnl
-dnl Copyright 2007-2009 by Apple Inc.
+dnl Copyright 2007-2011 by Apple Inc.
dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
<!--
"$Id$"
- Array API header for the Common UNIX Printing System (CUPS).
+ Array API header for CUPS.
- Copyright 2008-2009 by Apple Inc.
+ Copyright 2008-2011 by Apple Inc.
These coded instructions, statements, and computer programs are the
property of Apple Inc. and are protected by Federal copyright
<!--
"$Id$"
- CUPS API header for the Common UNIX Printing System (CUPS).
+ CUPS API header for CUPS.
- Copyright 2008-2009 by Apple Inc.
+ Copyright 2008-2011 by Apple Inc.
These coded instructions, statements, and computer programs are the
property of Apple Inc. and are protected by Federal copyright
<!--
"$Id$"
- File and Directory API header for the Common UNIX Printing System (CUPS).
+ File and Directory API header for CUPS.
- Copyright 2008-2009 by Apple Inc.
+ Copyright 2008-2011 by Apple Inc.
These coded instructions, statements, and computer programs are the
property of Apple Inc. and are protected by Federal copyright
<!--
"$Id$"
- Filter and backend programming header for the Common UNIX Printing System
- (CUPS).
+ Filter and backend programming header for CUPS.
- Copyright 2008-2009 by Apple Inc.
+ Copyright 2008-2011 by Apple Inc.
These coded instructions, statements, and computer programs are the
property of Apple Inc. and are protected by Federal copyright
<!--
"$Id$"
- HTTP and IPP API header for the Common UNIX Printing System (CUPS).
+ HTTP and IPP API header for CUPS.
- Copyright 2007-2009 by Apple Inc.
+ Copyright 2007-2011 by Apple Inc.
Copyright 1997-2006 by Easy Software Products, all rights reserved.
These coded instructions, statements, and computer programs are the
<!--
"$Id: api-cups.header 7279 2008-01-31 01:50:44Z mike $"
- Introduction to CUPS programming header for the Common UNIX Printing System
- (CUPS).
+ Introduction to CUPS programming header for CUPS.
- Copyright 2008-2009 by Apple Inc.
+ Copyright 2008-2011 by Apple Inc.
These coded instructions, statements, and computer programs are the
property of Apple Inc. and are protected by Federal copyright
<!--
"$Id$"
- PPD API header for the Common UNIX Printing System (CUPS).
+ PPD API header for CUPS.
- Copyright 2008-2009 by Apple Inc.
+ Copyright 2008-2011 by Apple Inc.
These coded instructions, statements, and computer programs are the
property of Apple Inc. and are protected by Federal copyright
/*
* "$Id$"
*
- * Backend definitions for the Common UNIX Printing System (CUPS).
+ * Backend definitions for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
const char *device_id,
const char *device_location)
_CUPS_API_1_4;
-
+
# ifdef __cplusplus
}
/*
* "$Id$"
*
- * Public directory definitions for the Common UNIX Printing System (CUPS).
+ * Public directory definitions for CUPS.
*
* This set of APIs abstracts enumeration of directory entries.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Public file definitions for the Common UNIX Printing System (CUPS).
+ * Public file definitions for CUPS.
*
* Since stdio files max out at 256 files on many systems, we have to
* write similar functions without this limit. At the same time, using
* our own file functions allows us to provide transparent support of
* gzip'd print files, PPD files, etc.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Multi-language support for the Common UNIX Printing System (CUPS).
+ * Multi-language support for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
- * Windows SSPI SSL implementation for the Common UNIX Printing System (CUPS).
+ * "$Id$"
*
- * Copyright 2010 by Apple Inc.
+ * Windows SSPI SSL implementation for CUPS.
+ *
+ * Copyright 2010-2011 by Apple Inc.
*
* These coded instructions, statements, and computer programs are the
* property of Apple Inc. and are protected by Federal copyright
*
* Contents:
*
- * _sspiAlloc() - Allocate and initialize SSPI/SSL data structure
- * _sspiAccept() - Accept a new SSL connection
- * _sspiConnect() - Connect an SSL connection
- * _sspiFree() - Close and deallocate SSPI/SSL connection
- * _sspiGetCredentials() - Get credentials associated with connection
- * _sspiPending() - Return number of bytes available to read
- * _sspiRead() - Read a buffer of bytes
- * _sspiSetAllowsAnyRoot() - Set client policy for untrusted root certs
- * _sspiSetAllowsExpiredCerts() - Set client policy for expired certs
- * _sspiWrite() - Write a buffer of bytes
- * sspi_verify_certificate() - Verify a server certificate
+ * sspi_alloc() - Allocate SSPI ssl object
+ * _sspiGetCredentials() - Retrieve an SSL/TLS certificate from the
+ * system store If one cannot be found, one is
+ * created.
+ * _sspiConnect() - Make an SSL connection. This function
+ * assumes a TCP/IP connection has already been
+ * successfully made
+ * _sspiAccept() - Accept an SSL/TLS connection
+ * _sspiSetAllowsAnyRoot() - Set the client cert policy for untrusted
+ * root certs
+ * _sspiSetAllowsExpiredCerts() - Set the client cert policy for expired root
+ * certs
+ * _sspiWrite() - Write a buffer to an ssl socket
+ * _sspiRead() - Read a buffer from an ssl socket
+ * _sspiPending() - Returns the number of available bytes
+ * _sspiFree() - Close a connection and free resources
+ * sspi_verify_certificate() - Verify a server certificate
*/
/*
#include "sspi-private.h"
#include "debug-private.h"
-
+
/* required to link this library for certificate functions */
#pragma comment(lib, "Crypt32.lib")
/* I - Cert container name */
const TCHAR *cn, /* I - Common name of certificate */
BOOL isServer)
- /* I - Is caller a server? */
+ /* I - Is caller a server? */
{
HCERTSTORE store = NULL; /* Certificate store */
PCCERT_CONTEXT storedContext = NULL;
- /* Context created from the store */
+ /* Context created from the store */
PCCERT_CONTEXT createdContext = NULL;
- /* Context created by us */
+ /* Context created by us */
DWORD dwSize = 0; /* 32 bit size */
PBYTE p = NULL; /* Temporary storage */
HCRYPTPROV hProv = (HCRYPTPROV) NULL;
}
dwSize = 0;
-
+
if (!CertStrToName(X509_ASN_ENCODING, cn, CERT_OID_NAME_STR,
NULL, NULL, &dwSize, NULL))
{
storedContext = CertFindCertificateInStore(store, X509_ASN_ENCODING|PKCS_7_ASN_ENCODING,
0, CERT_FIND_SUBJECT_NAME, &sib, NULL);
-
+
if (!storedContext)
{
- /*
+ /*
* If we couldn't find the context, then we'll
* create a new one
*/
createdContext = CertCreateSelfSignCertificate(hProv, &sib, 0, &kpi, NULL, NULL,
&et, &exts);
-
+
if (!createdContext)
{
DEBUG_printf(("_sspiGetCredentials: CertCreateSelfSignCertificate failed: %x",
/*
* Create an SSPI credential.
*/
- Status = AcquireCredentialsHandle(NULL, UNISP_NAME,
+ Status = AcquireCredentialsHandle(NULL, UNISP_NAME,
isServer ? SECPKG_CRED_INBOUND:SECPKG_CRED_OUTBOUND,
NULL, &SchannelCred, NULL, NULL, &conn->creds,
&tsExpiry);
*/
BOOL /* O - 1 on success, 0 on failure */
_sspiConnect(_sspi_struct_t *conn, /* I - Client connection */
- const CHAR *hostname) /* I - Server hostname */
+ const CHAR *hostname) /* I - Server hostname */
{
PCCERT_CONTEXT serverCert; /* Server certificate */
DWORD dwSSPIFlags; /* SSL connection attributes we want */
conn->decryptBufferUsed = 0;
- /*
+ /*
* Loop until the handshake is finished or an error occurs.
*/
scRet = SEC_I_CONTINUE_NEEDED;
while(scRet == SEC_I_CONTINUE_NEEDED ||
scRet == SEC_E_INCOMPLETE_MESSAGE ||
- scRet == SEC_I_INCOMPLETE_CREDENTIALS)
+ scRet == SEC_I_INCOMPLETE_CREDENTIALS)
{
if ((conn->decryptBufferUsed == 0) || (scRet == SEC_E_INCOMPLETE_MESSAGE))
{
- if (conn->decryptBufferLength <= conn->decryptBufferUsed)
+ if (conn->decryptBufferLength <= conn->decryptBufferUsed)
{
conn->decryptBufferLength += 4096;
conn->decryptBuffer = (BYTE*) realloc(conn->decryptBuffer, conn->decryptBufferLength);
goto cleanup;
}
}
-
- cbData = recv(conn->sock, conn->decryptBuffer + conn->decryptBufferUsed,
+
+ cbData = recv(conn->sock, conn->decryptBuffer + conn->decryptBufferUsed,
(int) (conn->decryptBufferLength - conn->decryptBufferUsed), 0);
-
+
if (cbData == SOCKET_ERROR)
{
DEBUG_printf(("_sspiConnect: recv failed: %d", WSAGetLastError()));
&outBuffer, &dwSSPIOutFlags, &tsExpiry);
/*
- * If InitializeSecurityContext was successful (or if the error was
+ * If InitializeSecurityContext was successful (or if the error was
* one of the special extended ones), send the contends of the output
* buffer to the server.
*/
if (outBuffers[0].cbBuffer && outBuffers[0].pvBuffer)
{
cbData = send(conn->sock, outBuffers[0].pvBuffer, outBuffers[0].cbBuffer, 0);
-
+
if ((cbData == SOCKET_ERROR) || !cbData)
{
DEBUG_printf(("_sspiConnect: send failed: %d", WSAGetLastError()));
continue;
/*
- * If InitializeSecurityContext returned SEC_E_OK, then the
+ * If InitializeSecurityContext returned SEC_E_OK, then the
* handshake completed successfully.
*/
if (scRet == SEC_E_OK)
/*
* If InitializeSecurityContext returned SEC_I_INCOMPLETE_CREDENTIALS,
- * then the server just requested client authentication.
+ * then the server just requested client authentication.
*/
if (scRet == SEC_I_INCOMPLETE_CREDENTIALS)
{
ok = FALSE;
goto cleanup;
}
-
+
/*
* Find out how big the header/trailer will be:
*/
ASC_REQ_STREAM;
conn->decryptBufferUsed = 0;
-
+
/*
* Set OutBuffer for AcceptSecurityContext call
*/
while (scRet == SEC_I_CONTINUE_NEEDED ||
scRet == SEC_E_INCOMPLETE_MESSAGE ||
- scRet == SEC_I_INCOMPLETE_CREDENTIALS)
+ scRet == SEC_I_INCOMPLETE_CREDENTIALS)
{
if ((conn->decryptBufferUsed == 0) || (scRet == SEC_E_INCOMPLETE_MESSAGE))
{
- if (conn->decryptBufferLength <= conn->decryptBufferUsed)
+ if (conn->decryptBufferLength <= conn->decryptBufferUsed)
{
conn->decryptBufferLength += 4096;
conn->decryptBuffer = (BYTE*) realloc(conn->decryptBuffer,
if (scRet == SEC_E_OK)
{
/*
- * If there's extra data then save it for
+ * If there's extra data then save it for
* next time we go to decrypt
*/
if (inBuffers[1].BufferType == SECBUFFER_EXTRA)
size_t chunk = min(conn->streamSizes.cbMaximumMessage, /* Size of data to write */
bytesLeft);
SECURITY_STATUS scRet; /* SSPI status */
-
+
/*
* Copy user data into the buffer, starting
* just past the header
}
/*
- * Send the data. Remember the size of
+ * Send the data. Remember the size of
* the total data to send is the size
* of the header, the size of the data
* the caller passed in and the size
DEBUG_printf(("_sspiWrite: send failed: %ld", WSAGetLastError()));
goto cleanup;
}
-
+
bytesLeft -= (int) chunk;
index += (int) chunk;
}
do
{
/*
- * If there is not enough space in the
+ * If there is not enough space in the
* buffer, then increase it's size
*/
- if (conn->decryptBufferLength <= conn->decryptBufferUsed)
+ if (conn->decryptBufferLength <= conn->decryptBufferUsed)
{
conn->decryptBufferLength += 4096;
- conn->decryptBuffer = (BYTE*) realloc(conn->decryptBuffer,
+ conn->decryptBuffer = (BYTE*) realloc(conn->decryptBuffer,
conn->decryptBufferLength);
if (!conn->decryptBuffer)
* then save those back in decryptBuffer. They will
* be processed the next time through the loop.
*/
- if (pExtraBuffer)
+ if (pExtraBuffer)
{
memmove(conn->decryptBuffer, pExtraBuffer->pvBuffer, pExtraBuffer->cbBuffer);
conn->decryptBufferUsed = pExtraBuffer->cbBuffer;
DWORD dwType; /* Type */
DWORD status; /* Status */
- /*
+ /*
* Notify schannel that we are about to close the connection.
*/
dwType = SCHANNEL_SHUTDOWN;
status = ApplyControlToken(&conn->context, &message);
- if (SUCCEEDED(status))
+ if (SUCCEEDED(status))
{
PBYTE pbMessage; /* Message buffer */
DWORD cbMessage; /* Message buffer count */
dwSSPIFlags, SECURITY_NATIVE_DREP, NULL,
&message, &dwSSPIOutFlags, &tsExpiry);
- if (SUCCEEDED(status))
+ if (SUCCEEDED(status))
{
pbMessage = buffers[0].pvBuffer;
cbMessage = buffers[0].cbBuffer;
/*
* Validate certificate chain.
- */
+ */
ZeroMemory(&httpsPolicy, sizeof(HTTPSPolicyCallbackData));
httpsPolicy.cbStruct = sizeof(HTTPSPolicyCallbackData);
httpsPolicy.dwAuthType = AUTHTYPE_SERVER;
return (status);
}
+
+
+/*
+ * End of "$Id$".
+ */
*%
*% "$Id$"
*%
-*% Test PPD file #2 for the Common UNIX Printing System (CUPS).
+*% Test PPD file #2 for CUPS.
*%
*% This file is used to test the CUPS PPD API functions and cannot be
*% used with any known printers. Look on the CUPS web site for working PPD
*% to create your PPD files - not only will it save you time, it produces
*% consistently high-quality files.
*%
-*% Copyright 2007-2009 by Apple Inc.
+*% Copyright 2007-2011 by Apple Inc.
*% Copyright 2002-2006 by Easy Software Products.
-*%
+*%
*% These coded instructions, statements, and computer programs are the
*% property of Apple Inc. and are protected by Federal copyright
*% law. Distribution and use rights are outlined in the file "LICENSE.txt"
*% file is missing or damaged, see the license at "http://www.cups.org/".
*FormatVersion: "4.3"
*FileVersion: "1.3"
-*LanguageVersion: English
+*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "TEST.PPD"
*Manufacturer: "ESP"
*fr_CA.PageRegion A4/French Canadian A4: ""
*fr_CA.PageRegion Env10/French Canadian #10 Envelope: ""
-*DefaultImageableArea: Letter
+*DefaultImageableArea: Letter
*ImageableArea Letter: "18 36 594 756"
*ImageableArea A4: "18 36 577 806"
*ImageableArea Env10: "18 36 279 648"
/*
* "$Id$"
*
- * Transcoding definitions for the Common UNIX Printing System (CUPS).
+ * Transcoding definitions for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Datafile makefile for the Common UNIX Printing System (CUPS).
+# Datafile makefile for CUPS.
#
-# Copyright 2007-2010 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1993-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# PPD compiler example makefile for the Common UNIX Printing System (CUPS).
+# PPD compiler example makefile for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 2002-2005 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Common filter routines for the Common UNIX Printing System (CUPS).
+ * Common filter routines for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Raster error handling for the Common UNIX Printing System (CUPS).
+ * Raster error handling for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
_cups_raster_error_t *buf; /* Pointer to error buffer */
- /*
+ /*
* Initialize the global data exactly once...
*/
/*
* "$Id$"
*
- * BMP image routines for the Common UNIX Printing System (CUPS).
+ * BMP image routines for CUPS.
*
- * Copyright 2007-2009 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * GIF image routines for the Common UNIX Printing System (CUPS).
+ * GIF image routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * JPEG image routines for the Common UNIX Printing System (CUPS).
+ * JPEG image routines for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * PhotoCD routines for the Common UNIX Printing System (CUPS).
+ * PhotoCD routines for CUPS.
*
* PhotoCD support is currently limited to the 768x512 base image, which
* is only YCC encoded. Support for the higher resolution images will
* require a lot of extra code...
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Alias PIX image routines for the Common UNIX Printing System (CUPS).
+ * Alias PIX image routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * PNG image routines for the Common UNIX Printing System (CUPS).
+ * PNG image routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Portable Any Map file routines for the Common UNIX Printing System (CUPS).
+ * Portable Any Map file routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * SGI image file routines for the Common UNIX Printing System (CUPS).
+ * SGI image file routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * SGI image file format library definitions for the Common UNIX Printing
- * System (CUPS).
+ * SGI image file format library definitions for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * SGI image file format library routines for the Common UNIX Printing
- * System (CUPS).
+ * SGI image file format library routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Sun Raster image file routines for the Common UNIX Printing System (CUPS).
+ * Sun Raster image file routines for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * TIFF file routines for the Common UNIX Printing System (CUPS).
+ * TIFF file routines for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Base image support for the Common UNIX Printing System (CUPS).
+ * Base image support for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Image library definitions for the Common UNIX Printing System (CUPS).
+ * Image library definitions for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Raster benchmark program for the Common UNIX Printing System (CUPS).
+ * Raster benchmark program for CUPS.
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Image library test program for the Common UNIX Printing System (CUPS).
+ * Image library test program for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Fonts makefile for the Common UNIX Printing System (CUPS).
+# Fonts makefile for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1993-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Locale file makefile for the Common UNIX Printing System (CUPS).
+# Locale file makefile for CUPS.
#
# Copyright 2007-2011 by Apple Inc.
# Copyright 1993-2007 by Easy Software Products.
#
# Dependencies...
#
-
+
include Dependencies
#
# "$Id$"
#
-# Spanish message catalog for the Common UNIX Printing System (CUPS).
+# Spanish message catalog for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 2005-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Message catalog template for the Common UNIX Printing System (CUPS).
+# Message catalog template for CUPS.
#
-# Copyright 2007-2009 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 2005-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Message catalog template for the Common UNIX Printing System (CUPS).
+# Message catalog template for CUPS.
#
-# Copyright 2007 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 2005-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Message catalog template for the Common UNIX Printing System (CUPS).
+# Message catalog template for CUPS.
#
-# Copyright 2007-2009 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 2005-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
.\"
.\" "$Id$"
.\"
-.\" cancel man page for the Common UNIX Printing System (CUPS).
+.\" cancel man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.I username
] [ -a ] [ -h
.I hostname[:port]
-] [ -u
+] [ -u
.I username
] [
.I id
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" classes.conf man page for the Common UNIX Printing System (CUPS).
+.\" classes.conf man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cups-config man page for the Common UNIX Printing System (CUPS).
+.\" cups-config man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.SH SEE ALSO
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cups-deviced man page for the Common UNIX Printing System (CUPS).
+.\" cups-deviced man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cups-lpd man page for the Common UNIX Printing System (CUPS).
+.\" cups-lpd man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cups-polld man page for the Common UNIX Printing System (CUPS).
+.\" cups-polld man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" snmp.conf man page for the Common UNIX Printing System (CUPS).
+.\" snmp.conf man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.SH SEE ALSO
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" accept/reject man page for the Common UNIX Printing System (CUPS).
+.\" accept/reject man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cupsaddsmb man page for the Common UNIX Printing System (CUPS).
+.\" cupsaddsmb man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
http://www.cups.org/windows/
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cupsd.conf man page for the Common UNIX Printing System (CUPS).
+.\" cupsd.conf man page for CUPS.
.\"
-.\" Copyright 2007-2010 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2010 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cupsd man page for the Common UNIX Printing System (CUPS).
+.\" cupsd man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cupsenable/cupsdisable man page for the Common UNIX Printing System
-.\" (CUPS).
+.\" cupsenable/cupsdisable man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\" "$Id$"
.\"
-.\" cupstestdsc man page for the Common UNIX Printing System (CUPS).
+.\" cupstestdsc man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
Adobe PostScript Language Document Structuring Conventions
Specification, Version 3.0.
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" cupstestppd man page for the Common UNIX Printing System (CUPS).
+.\" cupstestppd man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
Adobe PostScript Printer Description File Format Specification, Version 4.3.
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" filter man page for the Common UNIX Printing System (CUPS).
+.\" filter man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2007 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpc man page for the Common UNIX Printing System (CUPS).
+.\" lpc man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpinfo man page for the Common UNIX Printing System (CUPS).
+.\" lpinfo man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpmove man page for the Common UNIX Printing System (CUPS).
+.\" lpmove man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpoptions man page for the Common UNIX Printing System (CUPS).
+.\" lpoptions man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpadmin man page for the Common UNIX Printing System (CUPS).
+.\" lpadmin man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpq man page for the Common UNIX Printing System (CUPS).
+.\" lpq man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpr man page for the Common UNIX Printing System (CUPS).
+.\" lpr man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lprm man page for the Common UNIX Printing System (CUPS).
+.\" lprm man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" lpstat man page for the Common UNIX Printing System (CUPS).
+.\" lpstat man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" mailto.conf man page for the Common UNIX Printing System (CUPS).
+.\" mailto.conf man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" mime.convs man page for the Common UNIX Printing System (CUPS).
+.\" mime.convs man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" mime.types man page for the Common UNIX Printing System (CUPS).
+.\" mime.types man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" ppdc man page for the Common UNIX Printing System.
+.\" ppdc man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2007 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" ppdcfile man page for the Common UNIX Printing System.
+.\" ppdcfile man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2007 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" ppdhtml man page for the Common UNIX Printing System.
+.\" ppdhtml man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2007 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" ppdi man page for the Common UNIX Printing System.
+.\" ppdi man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2007 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" ppdmerge man page for the Common UNIX Printing System.
+.\" ppdmerge man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2007 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.PP
The \fI-o\fR option specifies the PPD file to create. If not specified,
the merged PPD file is written to the standard output. If the output file
-already exists, the new
+already exists, the new
.SH NOTES
\fIppdmerge\fR does not check whether the merged PPD files are for the
same device. Merging of different device PPDs will yield unpredictable
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" ppdpo man page for the Common UNIX Printing System.
+.\" ppdpo man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2007 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" printers.conf man page for the Common UNIX Printing System (CUPS).
+.\" printers.conf man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
.\"
.\" "$Id$"
.\"
-.\" subscriptions.conf man page for the Common UNIX Printing System (CUPS).
+.\" subscriptions.conf man page for CUPS.
.\"
-.\" Copyright 2007-2009 by Apple Inc.
+.\" Copyright 2007-2011 by Apple Inc.
.\" Copyright 2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007-2009 by Apple Inc.
+Copyright 2007-2011 by Apple Inc.
.\"
.\" End of "$Id$".
.\"
#
# "$Id$"
#
-# Port monitor makefile for the Common UNIX Printing System (CUPS).
+# Port monitor makefile for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
#
# Dependencies...
#
-
+
include Dependencies
#
# "$Id$"
#
-# Notifier makefile for the Common UNIX Printing System (CUPS).
+# Notifier makefile for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
//
// "$Id: foo.drv 361 2007-10-01 20:03:46Z mike $"
//
-// PPD file compiler test data file for the Common UNIX Printing
-// System (CUPS).
+// PPD file compiler test data file for CUPS.
//
-// Copyright 2007 by Apple Inc.
+// Copyright 2007-2011 by Apple Inc.
// Copyright 1997-2003 by Easy Software Products.
//
// These coded instructions, statements, and computer programs are the
Option Resolution PickOne AnySetup 10
Choice "600dpi/600 DPI" "<</HWResolution[600 600]/cupsBitsPerColor 8>>setpagedevice"
Choice "1200dpi/1200 DPI" "<</HWResolution[1200 1200]/cupsBitsPerColor 8>>setpagedevice"
-
+
//
// One printer is grayscale only, and the other does grayscale
#
# "$Id$"
#
-# Startup/shutdown script for the Common UNIX Printing System (CUPS).
+# Startup/shutdown script for CUPS.
#
-# Copyright 2007 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
# Linux chkconfig stuff:
#
# chkconfig: 235 99 00
-# description: Startup/shutdown script for the Common UNIX \
-# Printing System (CUPS).
+# description: Startup/shutdown script for CUPS.
#
#
#
# "$Id: Makefile 3572 2003-04-08 19:56:25Z mike $"
#
-# PHP Makefile for the Common UNIX Printing System (CUPS).
+# PHP Makefile for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
/*
* "$Id$"
*
- * Printing utilities for the Common UNIX Printing System (CUPS).
+ * Printing utilities for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
#include "phpcups.h"
-/*
+/*
* PHP function list...
*/
/*
* "$Id$"
*
- * PHP module include file for the Common UNIX Printing System (CUPS).
+ * PHP module include file for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
//
// "$Id: phpcups.php 3603 2003-04-11 18:42:52Z mike $"
//
-// PHP test script for the Common UNIX Printing System (CUPS).
+// PHP test script for CUPS.
//
-// Copyright 2007 by Apple Inc.
+// Copyright 2007-2011 by Apple Inc.
// Copyright 1997-2006 by Easy Software Products, all rights reserved.
//
// These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Template makefile for the Common UNIX Printing System (CUPS).
+# Template makefile for CUPS.
#
-# Copyright 2007-2009 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1993-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
#
# "$Id$"
#
-# Template makefile for the Common UNIX Printing System (CUPS).
+# Template makefile for CUPS.
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 1993-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
%%BeginProlog
%%BeginResource procset testprint 1.3 0
%
-% PostScript test page for the Common UNIX Printing System ("CUPS").
+% PostScript test page for CUPS.
%
-% Copyright 2007 Apple Inc.
+% Copyright 2007-2011 Apple Inc.
% Copyright 1993-2007 Easy Software Products
%
% These coded instructions, statements, and computer programs are the
*%
*% "$Id$"
*%
-*% Test PS PPD file for the Common UNIX Printing System (CUPS).
+*% Test PS PPD file for CUPS.
*%
-*% Copyright 2007 by Apple Inc.
+*% Copyright 2007-2011 by Apple Inc.
*% Copyright 1997-2005 by Easy Software Products.
*%
*% These coded instructions, statements, and computer programs are the
*%
*FormatVersion: "4.3"
*FileVersion: "1.1"
-*LanguageVersion: English
+*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "TESTPS.PPD"
*Manufacturer: "ESP"
*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion
-*DefaultImageableArea: Letter
+*DefaultImageableArea: Letter
*ImageableArea Letter/US Letter: "18 36 594 756"
*ImageableArea Legal/US Legal: "18 36 594 972"
*ImageableArea Executive/US Executive: "18 36 504 684"