Comparar commits

..

1 Commits

Autor SHA1 Mensagem Data
Michael Sweet a51f28ec99 Import CUPS v1.7.3 2016-03-15 10:37:18 -04:00
103 arquivos alterados com 7921 adições e 364 exclusões
+33 -2
Ver Arquivo
@@ -1,6 +1,37 @@
CHANGES.txt - 1.7.2 - 2014-04-10
CHANGES.txt - 1.7.3 - 2014-05-27
--------------------------------
CHANGES IN CUPS V1.7.3
- Added Brazilian Portuguese translation (STR #4409)
- Fixed mapping of OutputBin values such as "Tray1"
(<rdar://problem/16685606>)
- Several ippGet* functions incorrectly returned -1 instead of 0 on
error.
- The cupsGetResponse function did not work properly with
CUPS_HTTP_DEFAULT (<rdar://problem/16762593>)
- The IPP backend did not abort a job when the printer did not validate
the supplied options (<rdar://problem/16836752>)
- Fixed an authentication race condition in cupsSendRequest (STR #4403)
- The scheduler did not add the "job-hold-until-specified" reason when
holding a job using the lp command (STR #4405)
- The CUPS headers incorrectly needed libdispatch for blocks support
(STR #4397)
- The configure script incorrectly added libgcrypt as a GNU TLS
dependency (STR #4399)
- CUPS did not compile when Avahi or mDNSResponder was not present
(STR #4402)
- cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT
(STR #4414)
- Auto-typing of PWG Raster files did not work (STR #4417)
- IPP queues using hardcoded credentials would ask for credentials
(STR #4371)
- Dates in non-UTF-8 locales did not display correctly (STR #4388)
- The RPM spec file now looks for libusb-devel 1.0 or later.
- Fixed the "create-printer-subscription.test" file for IPPTOOL
(STR #4420)
CHANGES IN CUPS V1.7.2
- Security: The scheduler now blocks URLs containing embedded HTML
@@ -22,7 +53,7 @@ CHANGES IN CUPS V1.7.2
- cupsDoIORequest could miss the server status, causing failed lpadmin
and other administrative commands (STR #4386)
- cupsEnumDests didn't always call the callback function (STR #4380)
- "lp -i job-id -H hold" did not work (STR #nnn)
- "lp -i job-id -H hold" did not work (STR #4401)
- CUPS didn't compile on older platforms (STR #4338)
- Several libcups files did not have the Apple license exception
notice (STR #4361)
+1 -1
Ver Arquivo
@@ -1,4 +1,4 @@
INSTALL - CUPS v1.7.2 - 2014-04-10
INSTALL - CUPS v1.7.3 - 2014-05-27
----------------------------------
This file describes how to compile and install CUPS from source code. For more
+1 -1
Ver Arquivo
@@ -1,4 +1,4 @@
README - CUPS v1.7.2 - 2014-04-10
README - CUPS v1.7.3 - 2014-05-27
---------------------------------
Looking for compile instructions? Read the file "INSTALL.txt" instead...
+22 -15
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: ipp.c 11779 2014-03-28 20:48:44Z msweet $"
* "$Id: ipp.c 11890 2014-05-22 13:59:21Z msweet $"
*
* IPP backend for CUPS.
*
@@ -91,8 +91,10 @@ static const char * const jattrs[] = /* Job attributes we want */
"job-state",
"job-state-reasons"
};
static int job_canceled = 0;
static int job_canceled = 0,
/* Job cancelled? */
uri_credentials = 0;
/* Credentials supplied in URI? */
static char username[256] = "",
/* Username for device URI */
*password = NULL;
@@ -630,6 +632,7 @@ main(int argc, /* I - Number of command-line args */
*password++ = '\0';
cupsSetUser(username);
uri_credentials = 1;
}
else
{
@@ -1410,6 +1413,7 @@ main(int argc, /* I - Number of command-line args */
sleep(10);
}
else if (ipp_status == IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED ||
ipp_status == IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES ||
ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED ||
ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED ||
ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED ||
@@ -2985,20 +2989,23 @@ password_cb(const char *prompt, /* I - Prompt (not used) */
(void)method;
(void)resource;
/*
* Remember that we need to authenticate...
*/
auth_info_required = "username,password";
if (httpGetSubField(http, HTTP_FIELD_WWW_AUTHENTICATE, "username",
def_username))
if (!uri_credentials)
{
char quoted[HTTP_MAX_VALUE * 2 + 4];
/* Quoted string */
/*
* Remember that we need to authenticate...
*/
fprintf(stderr, "ATTR: auth-info-default=%s,\n",
quote_string(def_username, quoted, sizeof(quoted)));
auth_info_required = "username,password";
if (httpGetSubField(http, HTTP_FIELD_WWW_AUTHENTICATE, "username",
def_username))
{
char quoted[HTTP_MAX_VALUE * 2 + 4];
/* Quoted string */
fprintf(stderr, "ATTR: auth-info-default=%s,\n",
quote_string(def_username, quoted, sizeof(quoted)));
}
}
if (password && *password && *password_tries < 3)
@@ -3702,5 +3709,5 @@ update_reasons(ipp_attribute_t *attr, /* I - printer-state-reasons or NULL */
}
/*
* End of "$Id: ipp.c 11779 2014-03-28 20:48:44Z msweet $".
* End of "$Id: ipp.c 11890 2014-05-22 13:59:21Z msweet $".
*/
+12 -36
Ver Arquivo
@@ -1,31 +1,16 @@
/*
* "$Id: ipp-var.c 10996 2013-05-29 11:51:34Z msweet $"
* "$Id: ipp-var.c 11890 2014-05-22 13:59:21Z msweet $"
*
* CGI <-> IPP variable routines for CUPS.
* CGI <-> IPP variable routines for CUPS.
*
* Copyright 2007-2012 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
* Copyright 2007-2014 by Apple Inc.
* Copyright 1997-2007 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"
* which should have been included with this file. If this file is
* file is missing or damaged, see the license at "http://www.cups.org/".
*
* Contents:
*
* cgiGetAttributes() - Get the list of attributes that are needed by the
* template file.
* cgiGetIPPObjects() - Get the objects in an IPP response.
* cgiMoveJobs() - Move one or more jobs.
* cgiPrintCommand() - Print a CUPS command job.
* cgiPrintTestPage() - Print a test page.
* cgiRewriteURL() - Rewrite a printer URI into a web browser URL...
* cgiSetIPPObjectVars() - Set CGI variables from an IPP object.
* cgiSetIPPVars() - Set CGI variables from an IPP response.
* cgiShowIPPError() - Show the last IPP error message.
* cgiShowJobs() - Show print jobs.
* cgiText() - Return localized text.
* 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"
* which should have been included with this file. If this file is
* file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
@@ -958,7 +943,6 @@ cgiSetIPPObjectVars(
*nameptr, /* Pointer into name */
value[16384], /* Value(s) */
*valptr; /* Pointer into value */
struct tm *date; /* Date information */
fprintf(stderr, "DEBUG2: cgiSetIPPObjectVars(obj=%p, prefix=\"%s\", "
@@ -1186,17 +1170,9 @@ cgiSetIPPObjectVars(
case IPP_TAG_INTEGER :
case IPP_TAG_ENUM :
if (strncmp(name, "time_at_", 8) == 0)
{
time_t t; /* Temporary time value */
t = (time_t)attr->values[i].integer;
date = localtime(&t);
strftime(valptr, sizeof(value) - (valptr - value), "%c", date);
}
_cupsStrDate(valptr, sizeof(value) - (size_t)(valptr - value), (time_t)ippGetInteger(attr, i));
else
snprintf(valptr, sizeof(value) - (valptr - value),
"%d", attr->values[i].integer);
snprintf(valptr, sizeof(value) - (size_t)(valptr - value), "%d", ippGetInteger(attr, i));
break;
case IPP_TAG_BOOLEAN :
@@ -1589,5 +1565,5 @@ cgiText(const char *message) /* I - Message */
/*
* End of "$Id: ipp-var.c 10996 2013-05-29 11:51:34Z msweet $".
* End of "$Id: ipp-var.c 11890 2014-05-22 13:59:21Z msweet $".
*/
+13 -13
Ver Arquivo
@@ -1,20 +1,20 @@
#
# "$Id: mime.types 7670 2008-06-17 22:42:08Z mike $"
#
# Base MIME types file for CUPS.
# Base MIME types file for CUPS.
#
# DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
# VERSIONS OF CUPS. Instead, create a "local.types" file that
# reflects your local configuration changes.
# DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
# VERSIONS OF CUPS. Instead, create a "local.types" file that
# reflects your local configuration changes.
#
# Copyright 2007-2011 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products.
# Copyright 2007-2014 by Apple Inc.
# Copyright 1997-2007 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"
# which should have been included with this file. If this file is
# file is missing or damaged, see the license at "http://www.cups.org/".
# 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"
# which should have been included with this file. If this file is
# file is missing or damaged, see the license at "http://www.cups.org/".
#
########################################################################
@@ -92,7 +92,7 @@ image/jpeg jpeg jpg jpe string(0,<FFD8FF>) +\
char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\
char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\
char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef))
image/pwg-raster string(0,"RaS2") + string(4,PwgRaster<00>) priority(100)
image/pwg-raster string(0,"RaS2") + string(4,PwgRaster<00>) priority(150)
image/tiff tiff tif string(0,MM<002A>) string(0,II<2A00>)
image/x-photocd pcd string(2048,PCD_IPI)
image/x-portable-anymap pnm
@@ -152,7 +152,7 @@ application/vnd.cups-pdf
application/vnd.cups-postscript
application/vnd.cups-ppd ppd string(0,"*PPD-Adobe:")
application/vnd.cups-raster string(0,"RaSt") string(0,"tSaR") \
string(0,"RaS2") string(0,"2SaR") \
(string(0,"RaS2") + !string(4,PwgRaster<00>)) string(0,"2SaR") \
string(0,"RaS3") string(0,"3SaR")
application/vnd.cups-raw (string(0,<1B>E) + !string(2,<1B>%0B)) \
string(0,<1B>@) \
+1 -1
Ver Arquivo
@@ -20,7 +20,7 @@ dnl Set the name of the config header file...
AC_CONFIG_HEADER(config.h)
dnl Version number information...
CUPS_VERSION=1.7.2
CUPS_VERSION=1.7.3
CUPS_REVISION=
#if test -z "$CUPS_REVISION" -a -d .svn; then
# CUPS_REVISION="-r`svnversion . | awk -F: '{print $NF}' | sed -e '1,$s/[[a-zA-Z]]*//g'`"
externo
+1 -1
Ver Arquivo
@@ -2517,7 +2517,7 @@ esac
ac_config_headers="$ac_config_headers config.h"
CUPS_VERSION=1.7.2
CUPS_VERSION=1.7.3
CUPS_REVISION=
#if test -z "$CUPS_REVISION" -a -d .svn; then
# CUPS_REVISION="-r`svnversion . | awk -F: '{print $NF}' | sed -e '1,$s/[[a-zA-Z]]*//g'`"
+4 -4
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: cups.h 11551 2014-01-29 16:31:35Z msweet $"
* "$Id: cups.h 11812 2014-04-10 15:47:53Z msweet $"
*
* API definitions for CUPS.
*
@@ -53,10 +53,10 @@ extern "C" {
* Constants...
*/
# define CUPS_VERSION 1.0702
# define CUPS_VERSION 1.0703
# define CUPS_VERSION_MAJOR 1
# define CUPS_VERSION_MINOR 7
# define CUPS_VERSION_PATCH 2
# define CUPS_VERSION_PATCH 3
# define CUPS_BC_FD 3
/* Back-channel file descriptor for
@@ -627,5 +627,5 @@ extern const char *cupsUserAgent(void) _CUPS_API_1_7;
#endif /* !_CUPS_CUPS_H_ */
/*
* End of "$Id: cups.h 11551 2014-01-29 16:31:35Z msweet $".
* End of "$Id: cups.h 11812 2014-04-10 15:47:53Z msweet $".
*/
+57 -17
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: dest-options.c 11085 2013-07-03 13:53:05Z msweet $"
* "$Id: dest-options.c 11883 2014-05-16 21:04:07Z msweet $"
*
* Destination option/media support for CUPS.
*
@@ -886,7 +886,8 @@ cupsGetDestMediaByIndex(
unsigned flags, /* I - Media flags */
cups_size_t *size) /* O - Media size information */
{
cups_size_t *nsize; /* Size for N */
_cups_media_db_t *nsize; /* Size for N */
pwg_media_t *pwg; /* PWG media name for size */
/*
@@ -916,13 +917,30 @@ cupsGetDestMediaByIndex(
* Copy the size over and return...
*/
if ((nsize = (cups_size_t *)cupsArrayIndex(dinfo->cached_db, n)) == NULL)
if ((nsize = (_cups_media_db_t *)cupsArrayIndex(dinfo->cached_db, n)) == NULL)
{
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0);
return (0);
}
if (nsize->size_name)
strlcpy(size->media, nsize->size_name, sizeof(size->media));
else if (nsize->key)
strlcpy(size->media, nsize->key, sizeof(size->media));
else if ((pwg = pwgMediaForSize(nsize->width, nsize->length)) != NULL)
strlcpy(size->media, pwg->pwg, sizeof(size->media));
else
{
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0);
return (0);
}
memcpy(size, nsize, sizeof(cups_size_t));
size->width = nsize->width;
size->length = nsize->length;
size->bottom = nsize->bottom;
size->left = nsize->left;
size->right = nsize->right;
size->top = nsize->top;
return (1);
}
@@ -1281,6 +1299,8 @@ cups_create_cached(http_t *http, /* I - Connection to destination */
*first; /* First entry this size */
DEBUG_printf(("3cups_create_cached(http=%p, dinfo=%p, flags=%u)", http, dinfo, flags));
if (dinfo->cached_db)
cupsArrayDelete(dinfo->cached_db);
@@ -1289,11 +1309,15 @@ cups_create_cached(http_t *http, /* I - Connection to destination */
if (flags & CUPS_MEDIA_FLAGS_READY)
{
DEBUG_puts("4cups_create_cached: ready media");
cups_update_ready(http, dinfo);
db = dinfo->ready_db;
}
else
{
DEBUG_puts("4cups_create_cached: supported media");
if (!dinfo->media_db)
cups_create_media_db(dinfo, CUPS_MEDIA_FLAGS_DEFAULT);
@@ -1304,26 +1328,40 @@ cups_create_cached(http_t *http, /* I - Connection to destination */
mdb;
mdb = (_cups_media_db_t *)cupsArrayNext(db))
{
DEBUG_printf(("4cups_create_cached: %p key=\"%s\", type=\"%s\", %dx%d, B%d L%d R%d T%d", mdb, mdb->key, mdb->type, mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top));
if (flags & CUPS_MEDIA_FLAGS_BORDERLESS)
{
if (!mdb->left && !mdb->right && !mdb->top && !mdb->bottom)
{
DEBUG_printf(("4cups_create_cached: add %p", mdb));
cupsArrayAdd(dinfo->cached_db, mdb);
}
}
else if (flags & CUPS_MEDIA_FLAGS_DUPLEX)
{
if (first->width != mdb->width || first->length != mdb->length)
{
DEBUG_printf(("4cups_create_cached: add %p", first));
cupsArrayAdd(dinfo->cached_db, first);
first = mdb;
}
else if (mdb->left >= first->left && mdb->right >= first->right &&
mdb->top >= first->top && mdb->bottom >= first->bottom)
else if (mdb->left >= first->left && mdb->right >= first->right && mdb->top >= first->top && mdb->bottom >= first->bottom &&
(mdb->left != first->left || mdb->right != first->right || mdb->top != first->top || mdb->bottom != first->bottom))
first = mdb;
}
else
{
DEBUG_printf(("4cups_create_cached: add %p", mdb));
cupsArrayAdd(dinfo->cached_db, mdb);
}
}
if (flags & CUPS_MEDIA_FLAGS_DUPLEX)
{
DEBUG_printf(("4cups_create_cached: add %p", first));
cupsArrayAdd(dinfo->cached_db, first);
}
}
@@ -1757,8 +1795,7 @@ cups_get_media_db(http_t *http, /* I - Connection to destination */
* Look for the smallest margins...
*/
if (best->left != 0 || best->right != 0 || best->top != 0 ||
best->bottom != 0)
if (best->left != 0 || best->right != 0 || best->top != 0 || best->bottom != 0)
{
for (mdb = (_cups_media_db_t *)cupsArrayNext(db);
mdb && !cups_compare_media_db(mdb, &key);
@@ -1795,7 +1832,8 @@ cups_get_media_db(http_t *http, /* I - Connection to destination */
mdb = (_cups_media_db_t *)cupsArrayNext(db))
{
if (mdb->left >= best->left && mdb->right >= best->right &&
mdb->top >= best->top && mdb->bottom >= best->bottom)
mdb->top >= best->top && mdb->bottom >= best->bottom &&
(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top))
best = mdb;
}
}
@@ -1810,11 +1848,10 @@ cups_get_media_db(http_t *http, /* I - Connection to destination */
mdb = (_cups_media_db_t *)cupsArrayNext(db))
{
if (((mdb->left > 0 && mdb->left <= best->left) || best->left == 0) &&
((mdb->right > 0 && mdb->right <= best->right) ||
best->right == 0) &&
((mdb->right > 0 && mdb->right <= best->right) || best->right == 0) &&
((mdb->top > 0 && mdb->top <= best->top) || best->top == 0) &&
((mdb->bottom > 0 && mdb->bottom <= best->bottom) ||
best->bottom == 0))
((mdb->bottom > 0 && mdb->bottom <= best->bottom) || best->bottom == 0) &&
(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top))
best = mdb;
}
}
@@ -1892,7 +1929,8 @@ cups_get_media_db(http_t *http, /* I - Connection to destination */
mdb = (_cups_media_db_t *)cupsArrayNext(db))
{
if (mdb->left <= best->left && mdb->right <= best->right &&
mdb->top <= best->top && mdb->bottom <= best->bottom)
mdb->top <= best->top && mdb->bottom <= best->bottom &&
(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top))
{
best = mdb;
if (mdb->left == 0 && mdb->right == 0 && mdb->bottom == 0 &&
@@ -1913,7 +1951,8 @@ cups_get_media_db(http_t *http, /* I - Connection to destination */
mdb = (_cups_media_db_t *)cupsArrayNext(db))
{
if (mdb->left >= best->left && mdb->right >= best->right &&
mdb->top >= best->top && mdb->bottom >= best->bottom)
mdb->top >= best->top && mdb->bottom >= best->bottom &&
(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top))
best = mdb;
}
}
@@ -1932,7 +1971,8 @@ cups_get_media_db(http_t *http, /* I - Connection to destination */
best->right == 0) &&
((mdb->top > 0 && mdb->top <= best->top) || best->top == 0) &&
((mdb->bottom > 0 && mdb->bottom <= best->bottom) ||
best->bottom == 0))
best->bottom == 0) &&
(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top))
best = mdb;
}
}
@@ -2267,5 +2307,5 @@ cups_update_ready(http_t *http, /* I - Connection to destination */
/*
* End of "$Id: dest-options.c 11085 2013-07-03 13:53:05Z msweet $".
* End of "$Id: dest-options.c 11883 2014-05-16 21:04:07Z msweet $".
*/
+11 -42
Ver Arquivo
@@ -1,26 +1,18 @@
/*
* "$Id: encode.c 11734 2014-03-25 18:01:47Z msweet $"
* "$Id: encode.c 11867 2014-05-09 20:33:08Z msweet $"
*
* Option encoding routines for CUPS.
* Option encoding routines for CUPS.
*
* Copyright 2007-2013 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
* Copyright 2007-2014 by Apple Inc.
* Copyright 1997-2007 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"
* which should have been included with this file. If this file is
* file is missing or damaged, see the license at "http://www.cups.org/".
* 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"
* which should have been included with this file. If this file is
* file is missing or damaged, see the license at "http://www.cups.org/".
*
* This file is subject to the Apple OS-Developed Software exception.
*
* Contents:
*
* cupsEncodeOptions() - Encode printer options into IPP attributes.
* cupsEncodeOptions2() - Encode printer options into IPP attributes for
* a group.
* _ippFindOption() - Find the attribute information for an option.
* compare_ipp_options() - Compare two IPP options.
* This file is subject to the Apple OS-Developed Software exception.
*/
/*
@@ -80,17 +72,6 @@ static const ipp_op_t ipp_all_print[] =
IPP_OP_CUPS_NONE
};
static const ipp_op_t ipp_all_limit[] =
{
IPP_OP_GET_JOBS,
IPP_OP_GET_PRINTER_ATTRIBUTES,
IPP_OP_CUPS_GET_PRINTERS,
IPP_OP_CUPS_GET_CLASSES,
IPP_OP_CUPS_GET_DEVICES,
IPP_OP_CUPS_GET_PPDS,
IPP_OP_CUPS_NONE
};
static const ipp_op_t ipp_set_printer[] =
{
IPP_OP_SET_PRINTER_ATTRIBUTES,
@@ -99,18 +80,6 @@ static const ipp_op_t ipp_set_printer[] =
IPP_OP_CUPS_NONE
};
static const ipp_op_t cups_am_class[] =
{
IPP_OP_CUPS_ADD_MODIFY_CLASS,
IPP_OP_CUPS_NONE
};
static const ipp_op_t cups_am_printer[] =
{
IPP_OP_CUPS_ADD_MODIFY_PRINTER,
IPP_OP_CUPS_NONE
};
static const ipp_op_t cups_schemes[] =
{
IPP_OP_CUPS_GET_DEVICES,
@@ -878,5 +847,5 @@ compare_ipp_options(_ipp_option_t *a, /* I - First option */
/*
* End of "$Id: encode.c 11734 2014-03-25 18:01:47Z msweet $".
* End of "$Id: encode.c 11867 2014-05-09 20:33:08Z msweet $".
*/
+28 -20
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: ipp.c 11113 2013-07-10 14:08:39Z msweet $"
* "$Id: ipp.c 11864 2014-05-08 23:10:47Z msweet $"
*
* Internet Printing Protocol functions for CUPS.
*
@@ -2204,7 +2204,7 @@ ippFirstAttribute(ipp_t *ipp) /* I - IPP message */
* @since CUPS 1.6/OS X 10.8@
*/
int /* O - Boolean value or -1 on error */
int /* O - Boolean value or 0 on error */
ippGetBoolean(ipp_attribute_t *attr, /* I - IPP attribute */
int element) /* I - Value number (0-based) */
{
@@ -2214,7 +2214,7 @@ ippGetBoolean(ipp_attribute_t *attr, /* I - IPP attribute */
if (!attr || attr->value_tag != IPP_TAG_BOOLEAN ||
element < 0 || element >= attr->num_values)
return (-1);
return (0);
/*
* Return the value...
@@ -2260,7 +2260,7 @@ ippGetCollection(
* @since CUPS 1.6/OS X 10.8@
*/
int /* O - Number of values or -1 on error */
int /* O - Number of values or 0 on error */
ippGetCount(ipp_attribute_t *attr) /* I - IPP attribute */
{
/*
@@ -2268,7 +2268,7 @@ ippGetCount(ipp_attribute_t *attr) /* I - IPP attribute */
*/
if (!attr)
return (-1);
return (0);
/*
* Return the number of values...
@@ -2340,7 +2340,7 @@ ippGetGroupTag(ipp_attribute_t *attr) /* I - IPP attribute */
* @since CUPS 1.6/OS X 10.8@
*/
int /* O - Value or -1 on error */
int /* O - Value or 0 on error */
ippGetInteger(ipp_attribute_t *attr, /* I - IPP attribute */
int element) /* I - Value number (0-based) */
{
@@ -2350,7 +2350,7 @@ ippGetInteger(ipp_attribute_t *attr, /* I - IPP attribute */
if (!attr || (attr->value_tag != IPP_TAG_INTEGER && attr->value_tag != IPP_TAG_ENUM) ||
element < 0 || element >= attr->num_values)
return (-1);
return (0);
/*
* Return the value...
@@ -2429,7 +2429,7 @@ ippGetOctetString(
* @since CUPS 1.6/OS X 10.8@
*/
ipp_op_t /* O - Operation ID or -1 on error */
ipp_op_t /* O - Operation ID or 0 on error */
ippGetOperation(ipp_t *ipp) /* I - IPP request message */
{
/*
@@ -2437,7 +2437,7 @@ ippGetOperation(ipp_t *ipp) /* I - IPP request message */
*/
if (!ipp)
return ((ipp_op_t)-1);
return ((ipp_op_t)0);
/*
* Return the value...
@@ -2456,7 +2456,7 @@ ippGetOperation(ipp_t *ipp) /* I - IPP request message */
* @since CUPS 1.6/OS X 10.8@
*/
int /* O - Lower value of range or -1 */
int /* O - Lower value of range or 0 */
ippGetRange(ipp_attribute_t *attr, /* I - IPP attribute */
int element, /* I - Value number (0-based) */
int *uppervalue)/* O - Upper value of range */
@@ -2469,9 +2469,9 @@ ippGetRange(ipp_attribute_t *attr, /* I - IPP attribute */
element < 0 || element >= attr->num_values)
{
if (uppervalue)
*uppervalue = -1;
*uppervalue = 0;
return (-1);
return (0);
}
/*
@@ -2491,7 +2491,7 @@ ippGetRange(ipp_attribute_t *attr, /* I - IPP attribute */
* @since CUPS 1.6/OS X 10.8@
*/
int /* O - Request ID or -1 on error */
int /* O - Request ID or 0 on error */
ippGetRequestId(ipp_t *ipp) /* I - IPP message */
{
/*
@@ -2499,7 +2499,7 @@ ippGetRequestId(ipp_t *ipp) /* I - IPP message */
*/
if (!ipp)
return (-1);
return (0);
/*
* Return the request ID...
@@ -2518,7 +2518,7 @@ ippGetRequestId(ipp_t *ipp) /* I - IPP message */
* @since CUPS 1.6/OS X 10.8@
*/
int /* O - Horizontal/cross feed resolution or -1 */
int /* O - Horizontal/cross feed resolution or 0 */
ippGetResolution(
ipp_attribute_t *attr, /* I - IPP attribute */
int element, /* I - Value number (0-based) */
@@ -2531,7 +2531,15 @@ ippGetResolution(
if (!attr || attr->value_tag != IPP_TAG_RESOLUTION ||
element < 0 || element >= attr->num_values)
return (-1);
{
if (yres)
*yres = 0;
if (units)
*units = (ipp_res_t)0;
return (0);
}
/*
* Return the value...
@@ -2659,7 +2667,7 @@ ippGetValueTag(ipp_attribute_t *attr) /* I - IPP attribute */
* @since CUPS 1.6/OS X 10.8@
*/
int /* O - Major version number or -1 on error */
int /* O - Major version number or 0 on error */
ippGetVersion(ipp_t *ipp, /* I - IPP message */
int *minor) /* O - Minor version number or @code NULL@ */
{
@@ -2670,9 +2678,9 @@ ippGetVersion(ipp_t *ipp, /* I - IPP message */
if (!ipp)
{
if (minor)
*minor = -1;
*minor = 0;
return (-1);
return (0);
}
/*
@@ -7064,5 +7072,5 @@ ipp_write_file(int *fd, /* I - File descriptor */
/*
* End of "$Id: ipp.c 11113 2013-07-10 14:08:39Z msweet $".
* End of "$Id: ipp.c 11864 2014-05-08 23:10:47Z msweet $".
*/
+1
Ver Arquivo
@@ -23,6 +23,7 @@ _cupsNextDelay
_cupsSetError
_cupsSetLocale
_cupsStrAlloc
_cupsStrDate
_cupsStrFlush
_cupsStrFormatd
_cupsStrFree
+4 -2
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: ppd-cache.c 4274 2013-04-09 20:10:23Z msweet $"
* "$Id: ppd-cache.c 11833 2014-04-24 15:04:15Z msweet $"
*
* PPD cache implementation for CUPS.
*
@@ -2719,6 +2719,8 @@ pwg_unppdize_name(const char *ppd, /* I - PPD keyword */
if (!_cups_isupper(*ppd) && _cups_isalnum(*ppd) &&
_cups_isupper(ppd[1]) && ptr < end)
*ptr++ = '-';
else if (!isdigit(*ppd & 255) && isdigit(ppd[1] & 255))
*ptr++ = '-';
}
*ptr = '\0';
@@ -2726,5 +2728,5 @@ pwg_unppdize_name(const char *ppd, /* I - PPD keyword */
/*
* End of "$Id: ppd-cache.c 4274 2013-04-09 20:10:23Z msweet $".
* End of "$Id: ppd-cache.c 11833 2014-04-24 15:04:15Z msweet $".
*/
+40 -12
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: request.c 11739 2014-03-26 21:06:04Z msweet $"
* "$Id: request.c 11867 2014-05-09 20:33:08Z msweet $"
*
* IPP utilities for CUPS.
*
@@ -350,17 +350,31 @@ cupsGetResponse(http_t *http, /* I - Connection to server or @code CUPS_HTTP
DEBUG_printf(("cupsGetResponse(http=%p, resource=\"%s\")", http, resource));
DEBUG_printf(("1cupsGetResponse: http->state=%d", http ? http->state : HTTP_STATE_ERROR));
/*
* Connect to the default server as needed...
*/
if (!http)
http = _cupsConnect();
{
_cups_globals_t *cg = _cupsGlobals();
/* Pointer to library globals */
if (!http || (http->state != HTTP_STATE_POST_RECV &&
http->state != HTTP_STATE_POST_SEND))
if ((http = cg->http) == NULL)
{
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No active connection."), 1);
DEBUG_puts("1cupsGetResponse: No active connection - returning NULL.");
return (NULL);
}
}
if (http->state != HTTP_STATE_POST_RECV && http->state != HTTP_STATE_POST_SEND)
{
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request sent."), 1);
DEBUG_puts("1cupsGetResponse: Not in POST state - returning NULL.");
return (NULL);
}
/*
* Check for an unfinished chunked request...
@@ -749,9 +763,8 @@ cupsSendRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP
got_status = 0;
while ((state = ippWrite(http, request)) != IPP_STATE_DATA)
if (state == IPP_STATE_ERROR)
break;
else if (httpCheck(http))
{
if (httpCheck(http))
{
got_status = 1;
@@ -759,15 +772,30 @@ cupsSendRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP
if (status >= HTTP_STATUS_MULTIPLE_CHOICES)
break;
}
else if (state == IPP_STATE_ERROR)
break;
}
if (state == IPP_STATE_ERROR)
{
DEBUG_puts("1cupsSendRequest: Unable to send IPP request.");
/*
* We weren't able to send the IPP request. But did we already get a HTTP
* error status?
*/
http->status = HTTP_STATUS_ERROR;
http->state = HTTP_STATE_WAITING;
if (!got_status || status < HTTP_STATUS_MULTIPLE_CHOICES)
{
/*
* No, something else went wrong.
*/
return (HTTP_STATUS_ERROR);
DEBUG_puts("1cupsSendRequest: Unable to send IPP request.");
http->status = HTTP_STATUS_ERROR;
http->state = HTTP_STATE_WAITING;
return (HTTP_STATUS_ERROR);
}
}
/*
@@ -1177,5 +1205,5 @@ _cupsSetHTTPError(http_status_t status) /* I - HTTP status code */
/*
* End of "$Id: request.c 11739 2014-03-26 21:06:04Z msweet $".
* End of "$Id: request.c 11867 2014-05-09 20:33:08Z msweet $".
*/
+19 -11
Ver Arquivo
@@ -1,18 +1,18 @@
/*
* "$Id: string-private.h 11021 2013-06-06 22:08:14Z msweet $"
* "$Id: string-private.h 11890 2014-05-22 13:59:21Z msweet $"
*
* Private string definitions for CUPS.
* Private string definitions for CUPS.
*
* Copyright 2007-2013 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
* Copyright 2007-2014 by Apple Inc.
* Copyright 1997-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"
* which should have been included with this file. If this file is
* file is missing or damaged, see the license at "http://www.cups.org/".
* 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"
* which should have been included with this file. If this file is
* file is missing or damaged, see the license at "http://www.cups.org/".
*
* This file is subject to the Apple OS-Developed Software exception.
* This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_STRING_PRIVATE_H_
@@ -28,6 +28,7 @@
# include <ctype.h>
# include <errno.h>
# include <locale.h>
# include <time.h>
# include "config.h"
@@ -199,6 +200,13 @@ extern double _cupsStrScand(const char *buf, char **bufptr,
struct lconv *loc);
/*
* Date function...
*/
extern char *_cupsStrDate(char *buf, size_t bufsize, time_t timeval);
/*
* C++ magic...
*/
@@ -210,5 +218,5 @@ extern double _cupsStrScand(const char *buf, char **bufptr,
#endif /* !_CUPS_STRING_H_ */
/*
* End of "$Id: string-private.h 11021 2013-06-06 22:08:14Z msweet $".
* End of "$Id: string-private.h 11890 2014-05-22 13:59:21Z msweet $".
*/
+36 -6
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: string.c 10996 2013-05-29 11:51:34Z msweet $"
* "$Id: string.c 11890 2014-05-22 13:59:21Z msweet $"
*
* String functions for CUPS.
*
@@ -37,10 +37,7 @@
*/
#define _CUPS_STRING_C_
#include "string-private.h"
#include "debug-private.h"
#include "thread-private.h"
#include "array.h"
#include "cups-private.h"
#include <stddef.h>
#include <limits.h>
@@ -161,6 +158,39 @@ _cupsStrAlloc(const char *s) /* I - String */
}
/*
* '_cupsStrDate()' - Return a localized date for a given time value.
*
* This function works around the locale encoding issues of strftime...
*/
char * /* O - Buffer */
_cupsStrDate(char *buf, /* I - Buffer */
size_t bufsize, /* I - Size of buffer */
time_t timeval) /* I - Time value */
{
struct tm *dateval; /* Local date/time */
char temp[1024]; /* Temporary buffer */
_cups_globals_t *cg = _cupsGlobals(); /* Per-thread globals */
if (!cg->lang_default)
cg->lang_default = cupsLangDefault();
dateval = localtime(&timeval);
if (cg->lang_default->encoding != CUPS_UTF8)
{
strftime(temp, sizeof(temp), "%c", dateval);
cupsCharsetToUTF8((cups_utf8_t *)buf, temp, (int)bufsize, cg->lang_default->encoding);
}
else
strftime(buf, bufsize, "%c", dateval);
return (buf);
}
/*
* '_cupsStrFlush()' - Flush the string pool.
*/
@@ -759,5 +789,5 @@ compare_sp_items(_cups_sp_item_t *a, /* I - First item */
/*
* End of "$Id: string.c 10996 2013-05-29 11:51:34Z msweet $".
* End of "$Id: string.c 11890 2014-05-22 13:59:21Z msweet $".
*/
+3 -10
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: testipp.c 11215 2013-08-02 15:24:51Z msweet $"
* "$Id: testipp.c 11890 2014-05-22 13:59:21Z msweet $"
*
* IPP test program for CUPS.
*
@@ -901,17 +901,10 @@ print_attributes(ipp_t *ipp, /* I - IPP request */
case IPP_TAG_DATE :
{
time_t vtime; /* Date/Time value */
struct tm *vdate; /* Date info */
char vstring[256]; /* Formatted time */
for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++)
{
vtime = ippDateToTime(val->date);
vdate = localtime(&vtime);
strftime(vstring, sizeof(vstring), "%c", vdate);
printf(" (%s)", vstring);
}
printf(" (%s)", _cupsStrDate(vstring, sizeof(vstring), ippDateToTime(val->date)));
}
putchar('\n');
break;
@@ -1019,5 +1012,5 @@ write_cb(_ippdata_t *data, /* I - Data */
/*
* End of "$Id: testipp.c 11215 2013-08-02 15:24:51Z msweet $".
* End of "$Id: testipp.c 11890 2014-05-22 13:59:21Z msweet $".
*/
+2
Ver Arquivo
@@ -33,6 +33,8 @@ Name[ja]=印刷の管理
Comment[ja]=CUPS Web インタフェース
Name[pl]=Zarządzanie drukowaniem
Comment[pl]=Interfejs WWW CUPS
Name[pt_BR]=Gerenciador de impressão
Comment[pt_BR]=Interface web do CUPS
Name[ru]=Настройка печати
Comment[ru]=Настройка CUPS
Name[sv]=Hantera skrivare
+107
Ver Arquivo
@@ -0,0 +1,107 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>Home - CUPS @CUPS_VERSION@@CUPS_REVISION@</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css">
<LINK REL="SHORTCUT ICON" HREF="/images/cups-icon.png" TYPE="image/png">
</HEAD>
<BODY>
<TABLE CLASS="page" SUMMARY="{title}">
<TR><TD CLASS="body">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR HEIGHT="36">
<TD><A HREF="http://www.cups.org/" TARGET="_blank"><IMG
SRC="/images/left.gif" WIDTH="64" HEIGHT="36" BORDER="0" ALT=""></A></TD>
<TD CLASS="sel"><A HREF="/">&nbsp;&nbsp;In&iacute;cio&nbsp;&nbsp;</A></TD>
<TD CLASS="unsel"><A HREF="/admin">&nbsp;&nbsp;Administra&ccedil;&atilde;o&nbsp;&nbsp;</A></TD>
<TD CLASS="unsel"><A HREF="/classes/">&nbsp;&nbsp;Classes&nbsp;&nbsp;</A></TD>
<TD CLASS="unsel"><A HREF="/help/">&nbsp;&nbsp;Ajuda&nbsp;online&nbsp;&nbsp;</A></TD>
<TD CLASS="unsel"><A HREF="/jobs/">&nbsp;&nbsp;Trabalhos&nbsp;&nbsp;</A></TD>
<TD CLASS="unsel"><A HREF="/printers/">&nbsp;&nbsp;Impressoras&nbsp;&nbsp;</A></TD>
<TD CLASS="unsel" WIDTH="100%"><FORM ACTION="/help/" METHOD="GET"><INPUT
TYPE="SEARCH" NAME="QUERY" SIZE="20" PLACEHOLDER="Procurar ajuda"
AUTOSAVE="org.cups.help" RESULTS="20"></FORM></TD>
<TD><IMG SRC="/images/right.gif" WIDTH="4" HEIGHT="36" ALT=""></TD>
</TR>
</TABLE>
<TABLE CLASS="indent" SUMMARY="">
<TR><TD STYLE="padding-right: 20px;">
<H1>CUPS @CUPS_VERSION@</H1>
<P>CUPS &eacute; o sistema de impress&atilde;o de c&oacute;digo aberto e baseado em padr&otilde;es desenvolvido pela
<A HREF="http://www.apple.com/">Apple Inc.</A> para o OS<SUP>&reg;</SUP> X e
outros sistemas operacionais similares ao UNIX<SUP>&reg;</SUP>.</P>
</TD>
<TD><A HREF="http://www.cups.org/"><IMG SRC="images/cups-icon.png" WIDTH="128"
HEIGHT="128" ALT="CUPS"></A></TD>
</TR>
</TABLE>
<TABLE CLASS="indent" SUMMARY="">
<TR><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-right: 20px;">
<H2>CUPS para usu&aacute;rios</H2>
<P><A HREF="help/overview.html">Vis&atilde;o geral do CUPS</A></P>
<P><A HREF="help/options.html">Impress&atilde;o e op&ccedil;&otilde;es em linha de comando</A></P>
<P><A HREF="help/whatsnew.html">O que h&aacute; de novo no CUPS 1.7</A></P>
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">F&oacute;rum de usu&aacute;rios</A></P>
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
<H2>CUPS para administradores</H2>
<P><A HREF="admin">Adicionar impressoras e classes</A></P>
<P><A HREF="help/policies.html">Gerenciar pol&iacute;ticas de opera&ccedil;&atilde;o</A></P>
<P><A HREF="help/accounting.html">B&aacute;sico de contabilidade de impress&atilde;o</A></P>
<P><A HREF="help/security.html">Seguran&ccedil;a do servidor</A></P>
<P><A HREF="help/kerberos.html">Usar autentica&ccedil;&atilde;o via kerberos</A></P>
<P><A HREF="help/network.html">Usar impressoras de rede</A></P>
<P><A HREF="help/ref-cupsd-conf.html">Refer&ecirc;ncia para o cupsd.conf</A></P>
<P><A HREF="http://www.cups.org/ppd.php">Encontrar drivers de impressora</A></P>
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
<H2>CUPS para desenvolvedores</H2>
<P><A HREF="help/api-overview.html">Introdu&ccedil;&atilde;o &agrave; programa&ccedil;&atilde;o do CUPS</A></P>
<P><A HREF="help/api-cups.html">API do CUPS</A></P>
<P><A HREF="help/api-filter.html">Programa&ccedil;&atilde;o de filtros e retaguarda</A></P>
<P><A HREF="help/api-httpipp.html">APIs HTTP e IPP</A></P>
<P><A HREF="help/api-ppd.html">API PPD</A></P>
<P><A HREF="help/api-raster.html">API de rasteriza&ccedil;&atilde;o</A></P>
<P><A HREF="help/ref-ppdcfile.html">Refer&ecirc;ncia para o compilador de arquivos de informa&ccedil;&atilde;o de driver PPD</A></P>
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">F&oacute;rum de desenvolvedores</A></P>
</TD></TR>
</TABLE>
</TD></TR>
<TR><TD>&nbsp;</TD></TR>
<TR><TD CLASS="trailer">CUPS e o logo do CUPS s&atilde;o marcas registradas de
<A HREF="http://www.apple.com">Apple Inc.</A> Copyright 2007-2014 Apple
Inc. Todos os direitos reservados.</TD></TR>
</TABLE>
</BODY>
</HTML>
+83 -75
Ver Arquivo
@@ -30,7 +30,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CUPS 1.6\n"
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
"POT-Creation-Date: 2014-03-28 11:06-0400\n"
"POT-Creation-Date: 2014-05-09 13:32-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1539,172 +1539,172 @@ msgstr ""
msgid " PASS"
msgstr ""
#: cups/ipp.c:5246
#: cups/ipp.c:5254
#, c-format
msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 2911 section 4.1.5)."
msgstr ""
#: cups/ipp.c:5257
#: cups/ipp.c:5265
#, c-format
msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 2911 section 4.1.5)."
msgstr ""
#: cups/ipp.c:4877
#: cups/ipp.c:4885
#, c-format
msgid "\"%s\": Bad attribute name - bad length %d (RFC 2911 section 4.1.3)."
msgstr ""
#: cups/ipp.c:4869
#: cups/ipp.c:4877
#, c-format
msgid "\"%s\": Bad attribute name - invalid character (RFC 2911 section 4.1.3)."
msgstr ""
#: cups/ipp.c:4895
#: cups/ipp.c:4903
#, c-format
msgid "\"%s\": Bad boolen value %d (RFC 2911 section 4.1.11)."
msgstr ""
#: cups/ipp.c:5309
#: cups/ipp.c:5317
#, c-format
msgid "\"%s\": Bad charset value \"%s\" - bad characters (RFC 2911 section 4.1.7)."
msgstr ""
#: cups/ipp.c:5318
#: cups/ipp.c:5326
#, c-format
msgid "\"%s\": Bad charset value \"%s\" - bad length %d (RFC 2911 section 4.1.7)."
msgstr ""
#: cups/ipp.c:4995
#: cups/ipp.c:5003
#, c-format
msgid "\"%s\": Bad dateTime UTC hours %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:5003
#: cups/ipp.c:5011
#, c-format
msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4987
#: cups/ipp.c:4995
#, c-format
msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4947
#: cups/ipp.c:4955
#, c-format
msgid "\"%s\": Bad dateTime day %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4979
#: cups/ipp.c:4987
#, c-format
msgid "\"%s\": Bad dateTime deciseconds %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4955
#: cups/ipp.c:4963
#, c-format
msgid "\"%s\": Bad dateTime hours %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4963
#: cups/ipp.c:4971
#, c-format
msgid "\"%s\": Bad dateTime minutes %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4939
#: cups/ipp.c:4947
#, c-format
msgid "\"%s\": Bad dateTime month %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4971
#: cups/ipp.c:4979
#, c-format
msgid "\"%s\": Bad dateTime seconds %u (RFC 2911 section 4.1.14)."
msgstr ""
#: cups/ipp.c:4909
#: cups/ipp.c:4917
#, c-format
msgid "\"%s\": Bad enum value %d - out of range (RFC 2911 section 4.1.4)."
msgstr ""
#: cups/ipp.c:5224
#: cups/ipp.c:5232
#, c-format
msgid "\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 2911 section 4.1.3)."
msgstr ""
#: cups/ipp.c:5215
#: cups/ipp.c:5223
#, c-format
msgid "\"%s\": Bad keyword value \"%s\" - invalid character (RFC 2911 section 4.1.3)."
msgstr ""
#: cups/ipp.c:5418
#: cups/ipp.c:5426
#, c-format
msgid "\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 2911 section 4.1.9)."
msgstr ""
#: cups/ipp.c:5428
#: cups/ipp.c:5436
#, c-format
msgid "\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 2911 section 4.1.9)."
msgstr ""
#: cups/ipp.c:5186
#: cups/ipp.c:5194
#, c-format
msgid "\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 2911 section 4.1.2)."
msgstr ""
#: cups/ipp.c:5195
#: cups/ipp.c:5203
#, c-format
msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 2911 section 4.1.2)."
msgstr ""
#: cups/ipp.c:5364
#: cups/ipp.c:5372
#, c-format
msgid "\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 2911 section 4.1.8)."
msgstr ""
#: cups/ipp.c:5374
#: cups/ipp.c:5382
#, c-format
msgid "\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 2911 section 4.1.8)."
msgstr ""
#: cups/ipp.c:4923
#: cups/ipp.c:4931
#, c-format
msgid "\"%s\": Bad octetString value - bad length %d (RFC 2911 section 4.1.10)."
msgstr ""
#: cups/ipp.c:5066
#: cups/ipp.c:5074
#, c-format
msgid "\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 2911 section 4.1.13)."
msgstr ""
#: cups/ipp.c:5047
#: cups/ipp.c:5055
#, c-format
msgid "\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 2911 section 4.1.15)."
msgstr ""
#: cups/ipp.c:5016
#: cups/ipp.c:5024
#, c-format
msgid "\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be positive (RFC 2911 section 4.1.15)."
msgstr ""
#: cups/ipp.c:5031
#: cups/ipp.c:5039
#, c-format
msgid "\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC 2911 section 4.1.15)."
msgstr ""
#: cups/ipp.c:5128
#: cups/ipp.c:5136
#, c-format
msgid "\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 2911 section 4.1.1)."
msgstr ""
#: cups/ipp.c:5137
#: cups/ipp.c:5145
#, c-format
msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 2911 section 4.1.1)."
msgstr ""
#: cups/ipp.c:5280
#: cups/ipp.c:5288
#, c-format
msgid "\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 2911 section 4.1.6)."
msgstr ""
#: cups/ipp.c:5289
#: cups/ipp.c:5297
#, c-format
msgid "\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 2911 section 4.1.6)."
msgstr ""
@@ -3376,7 +3376,7 @@ msgstr ""
msgid "Cancel RSS Subscription"
msgstr ""
#: backend/ipp.c:2138
#: backend/ipp.c:2139
msgid "Canceling print job."
msgstr ""
@@ -4004,95 +4004,95 @@ msgstr ""
msgid "Help file not in index."
msgstr ""
#: cups/ipp.c:3201 cups/ipp.c:3228 cups/ipp.c:3251
#: cups/ipp.c:3209 cups/ipp.c:3236 cups/ipp.c:3259
msgid "IPP 1setOf attribute with incompatible value tags."
msgstr ""
#: cups/ipp.c:3164
#: cups/ipp.c:3172
msgid "IPP attribute has no name."
msgstr ""
#: cups/ipp.c:7018
#: cups/ipp.c:7026
msgid "IPP attribute is not a member of the message."
msgstr ""
#: cups/ipp.c:3613
#: cups/ipp.c:3621
msgid "IPP begCollection value not 0 bytes."
msgstr ""
#: cups/ipp.c:3394
#: cups/ipp.c:3402
msgid "IPP boolean value not 1 byte."
msgstr ""
#: cups/ipp.c:3455
#: cups/ipp.c:3463
msgid "IPP date value not 11 bytes."
msgstr ""
#: cups/ipp.c:3634
#: cups/ipp.c:3642
msgid "IPP endCollection value not 0 bytes."
msgstr ""
#: cups/ipp.c:3369
#: cups/ipp.c:3377
msgid "IPP enum value not 4 bytes."
msgstr ""
#: cups/ipp.c:3093
#: cups/ipp.c:3101
msgid "IPP extension tag larger than 0x7FFFFFFF."
msgstr ""
#: cups/ipp.c:3366
#: cups/ipp.c:3374
msgid "IPP integer value not 4 bytes."
msgstr ""
#: cups/ipp.c:3566
#: cups/ipp.c:3574
msgid "IPP language length overflows value."
msgstr ""
#: cups/ipp.c:3575
#: cups/ipp.c:3583
msgid "IPP language length too large."
msgstr ""
#: cups/ipp.c:3278
#: cups/ipp.c:3286
msgid "IPP member name is not empty."
msgstr ""
#: cups/ipp.c:3660
#: cups/ipp.c:3668
msgid "IPP memberName value is empty."
msgstr ""
#: cups/ipp.c:3652
#: cups/ipp.c:3660
msgid "IPP memberName with no attribute."
msgstr ""
#: cups/ipp.c:3147
#: cups/ipp.c:3155
msgid "IPP name larger than 32767 bytes."
msgstr ""
#: cups/ipp.c:3532
#: cups/ipp.c:3540
msgid "IPP nameWithLanguage value less than minimum 4 bytes."
msgstr ""
#: cups/ipp.c:3690
#: cups/ipp.c:3698
msgid "IPP octetString length too large."
msgstr ""
#: cups/ipp.c:3500
#: cups/ipp.c:3508
msgid "IPP rangeOfInteger value not 8 bytes."
msgstr ""
#: cups/ipp.c:3473
#: cups/ipp.c:3481
msgid "IPP resolution value not 9 bytes."
msgstr ""
#: cups/ipp.c:3593
#: cups/ipp.c:3601
msgid "IPP string length overflows value."
msgstr ""
#: cups/ipp.c:3528
#: cups/ipp.c:3536
msgid "IPP textWithLanguage value less than minimum 4 bytes."
msgstr ""
#: cups/ipp.c:3352
#: cups/ipp.c:3360
msgid "IPP value larger than 32767 bytes."
msgstr ""
@@ -4545,10 +4545,14 @@ msgstr ""
msgid "No Windows printer drivers are installed."
msgstr ""
#: cups/request.c:572 cups/request.c:921
#: cups/request.c:586 cups/request.c:949
msgid "No active connection"
msgstr ""
#: cups/request.c:366
msgid "No active connection."
msgstr ""
#: scheduler/ipp.c:3438
#, c-format
msgid "No active jobs on %s."
@@ -4619,6 +4623,10 @@ msgstr ""
msgid "No printer-uri in request."
msgstr ""
#: cups/request.c:374
msgid "No request sent."
msgstr ""
#: cups/snmp.c:1014
msgid "No request-id"
msgstr ""
@@ -4919,15 +4927,15 @@ msgstr ""
msgid "Print file sent."
msgstr ""
#: backend/ipp.c:2112
#: backend/ipp.c:2113
msgid "Print job canceled at printer."
msgstr ""
#: backend/ipp.c:2104
#: backend/ipp.c:2105
msgid "Print job too large."
msgstr ""
#: backend/ipp.c:1601
#: backend/ipp.c:1602
msgid "Print job was not accepted."
msgstr ""
@@ -4955,11 +4963,11 @@ msgstr ""
msgid "Printer Settings"
msgstr ""
#: backend/ipp.c:2107
#: backend/ipp.c:2108
msgid "Printer cannot print supplied content."
msgstr ""
#: backend/ipp.c:2110
#: backend/ipp.c:2111
msgid "Printer cannot print with supplied options."
msgstr ""
@@ -5306,7 +5314,7 @@ msgid "The printer did not respond."
msgstr ""
#: backend/ipp.c:784 backend/ipp.c:904 backend/ipp.c:1018 backend/ipp.c:1409
#: backend/ipp.c:1573 backend/lpd.c:845 backend/socket.c:384
#: backend/ipp.c:1574 backend/lpd.c:845 backend/socket.c:384
#: backend/usb-unix.c:131 backend/usb-unix.c:423 backend/usb-unix.c:506
msgid "The printer is in use."
msgstr ""
@@ -5532,7 +5540,7 @@ msgstr ""
msgid "Unable to add class"
msgstr ""
#: backend/ipp.c:1756
#: backend/ipp.c:1757
msgid "Unable to add document to print job."
msgstr ""
@@ -5561,7 +5569,7 @@ msgstr ""
msgid "Unable to cancel RSS subscription"
msgstr ""
#: backend/ipp.c:2159
#: backend/ipp.c:2160
msgid "Unable to cancel print job."
msgstr ""
@@ -5577,12 +5585,12 @@ msgstr ""
msgid "Unable to change server settings"
msgstr ""
#: cups/ipp.c:5408
#: cups/ipp.c:5416
#, c-format
msgid "Unable to compile mimeMediaType regular expression: %s."
msgstr ""
#: cups/ipp.c:5354
#: cups/ipp.c:5362
#, c-format
msgid "Unable to compile naturalLanguage regular expression: %s."
msgstr ""
@@ -5591,7 +5599,7 @@ msgstr ""
msgid "Unable to configure printer options."
msgstr ""
#: cups/adminutil.c:911 cups/request.c:1054
#: cups/adminutil.c:911 cups/request.c:1082
msgid "Unable to connect to host."
msgstr ""
@@ -5703,7 +5711,7 @@ msgstr ""
msgid "Unable to find printer."
msgstr ""
#: backend/ipp.c:3451
#: backend/ipp.c:3435
msgid "Unable to get backend exit status."
msgstr ""
@@ -5796,7 +5804,7 @@ msgstr ""
msgid "Unable to open help file."
msgstr ""
#: backend/ipp.c:376 backend/ipp.c:1502 backend/ipp.c:1711 backend/lpd.c:505
#: backend/ipp.c:376 backend/ipp.c:1503 backend/ipp.c:1712 backend/lpd.c:505
#: backend/socket.c:155 backend/usb.c:237 filter/gziptoany.c:71
#: filter/pstops.c:300
msgid "Unable to open print file"
@@ -5850,7 +5858,7 @@ msgstr ""
msgid "Unable to set server default"
msgstr ""
#: backend/ipp.c:3310 backend/ipp.c:3387 backend/ipp.c:3395
#: backend/ipp.c:3294 backend/ipp.c:3371 backend/ipp.c:3379
msgid "Unable to start backend process."
msgstr ""
@@ -6142,7 +6150,7 @@ msgstr ""
msgid "Version uses indefinite length"
msgstr ""
#: backend/ipp.c:1857
#: backend/ipp.c:1858
msgid "Waiting for job to complete."
msgstr ""
+2
Ver Arquivo
@@ -998,6 +998,7 @@
"No VarBind SEQUENCE" = "No VarBind SEQUENCE";
"No Windows printer drivers are installed." = "No Windows printer drivers are installed.";
"No active connection" = "No active connection";
"No active connection." = "No active connection.";
"No active jobs on %s." = "No active jobs on %s.";
"No attributes in request." = "No attributes in request.";
"No authentication information provided." = "No authentication information provided.";
@@ -1015,6 +1016,7 @@
"No printer-uri found" = "No printer-uri found";
"No printer-uri found for class" = "No printer-uri found for class";
"No printer-uri in request." = "No printer-uri in request.";
"No request sent." = "No request sent.";
"No request-id" = "No request-id";
"No subscription attributes in request." = "No subscription attributes in request.";
"No subscriptions found." = "No subscriptions found.";
+7 -1
Ver Arquivo
@@ -32,7 +32,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CUPS 1.4.6\n"
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
"POT-Creation-Date: 2014-03-28 11:06-0400\n"
"POT-Creation-Date: 2014-05-09 13:32-0700\n"
"PO-Revision-Date: 2012-09-29 11:21+0200\n"
"Last-Translator: Àngel Mompó <mecatxis@gmail.com>\n"
"Language-Team: Catalan <ca@dodds.net>\n"
@@ -3696,6 +3696,9 @@ msgstr "No hi ha cap controlador d'impressores de Windows instal·lat."
msgid "No active connection"
msgstr "No hi ha cap connexió activa"
msgid "No active connection."
msgstr ""
#, c-format
msgid "No active jobs on %s."
msgstr "No hi ha cap feina activa a %s."
@@ -3750,6 +3753,9 @@ msgstr "No s'ha trobat cap printer-uri per la classe"
msgid "No printer-uri in request."
msgstr "No hi ha cap printer-uri a la sol·licitud."
msgid "No request sent."
msgstr ""
msgid "No request-id"
msgstr "No hi ha cap request-id"
+7 -1
Ver Arquivo
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CUPS 1.6\n"
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
"POT-Creation-Date: 2014-03-28 11:06-0400\n"
"POT-Creation-Date: 2014-05-09 13:32-0700\n"
"PO-Revision-Date: 2012-07-01 20:21+0100\n"
"Last-Translator: Juan Pablo González Riopedre <riopedre13@yahoo.es>\n"
"Language-Team: Spanish\n"
@@ -3683,6 +3683,9 @@ msgstr "No está instalado ningún controlador de impresora de Windows."
msgid "No active connection"
msgstr "No hay conexión activa"
msgid "No active connection."
msgstr ""
#, c-format
msgid "No active jobs on %s."
msgstr "No hay trabajos activos en %s."
@@ -3737,6 +3740,9 @@ msgstr "No se encontró printer-uri para la clase"
msgid "No printer-uri in request."
msgstr "No hay printer-uri en la petición."
msgid "No request sent."
msgstr ""
msgid "No request-id"
msgstr "No hay request-id"
+7 -1
Ver Arquivo
@@ -29,7 +29,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CUPS 1.6\n"
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
"POT-Creation-Date: 2014-03-28 11:06-0400\n"
"POT-Creation-Date: 2014-05-09 13:32-0700\n"
"PO-Revision-Date: 2012-12-12 11:12+0100\n"
"Last-Translator: denis meramdjougoma <dcmeram@libertysurf.fr>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -3483,6 +3483,9 @@ msgstr ""
msgid "No active connection"
msgstr "Aucune connexion active"
msgid "No active connection."
msgstr ""
#, c-format
msgid "No active jobs on %s."
msgstr ""
@@ -3535,6 +3538,9 @@ msgstr ""
msgid "No printer-uri in request."
msgstr ""
msgid "No request sent."
msgstr ""
msgid "No request-id"
msgstr "Paramètre request-id absent"
+7 -1
Ver Arquivo
@@ -29,7 +29,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CUPS 1.6\n"
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
"POT-Creation-Date: 2014-03-28 11:06-0400\n"
"POT-Creation-Date: 2014-05-09 13:32-0700\n"
"PO-Revision-Date: 2013-07-14 12:00+0200\n"
"Last-Translator: Giovanni Scafora <giovanni@archlinux.org>\n"
"Language-Team: Arch Linux Italian Team <giovanni@archlinux.org>\n"
@@ -3770,6 +3770,9 @@ msgstr "Non è stato installato nessun driver della stampante di Windows."
msgid "No active connection"
msgstr "Nessuna connessione attiva"
msgid "No active connection."
msgstr ""
#, c-format
msgid "No active jobs on %s."
msgstr "Nessun processo attivo su %s."
@@ -3824,6 +3827,9 @@ msgstr "Non è stato trovato printer-uri per la classe"
msgid "No printer-uri in request."
msgstr "Nessun printer-uri nella richiesta."
msgid "No request sent."
msgstr ""
msgid "No request-id"
msgstr "Nessun request-id"
+7 -1
Ver Arquivo
@@ -28,7 +28,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CUPS 1.7\n"
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
"POT-Creation-Date: 2014-03-28 11:06-0400\n"
"POT-Creation-Date: 2014-05-09 13:32-0700\n"
"PO-Revision-Date: 2013-08-19 11:51+0900\n"
"Last-Translator: OPFC TRANSCUPS <opfc-transcups@sourceforge.jp>\n"
"Language-Team: OPFC TRANSCUPS <opfc-transcups@sourceforge.jp>\n"
@@ -3728,6 +3728,9 @@ msgstr "Windows プリンタードライバーがインストールされてい
msgid "No active connection"
msgstr "アクティブな接続はありません"
msgid "No active connection."
msgstr ""
#, c-format
msgid "No active jobs on %s."
msgstr "%s にはアクティブなジョブはありません。"
@@ -3780,6 +3783,9 @@ msgstr "クラスのプリンター URI が見つかりません。"
msgid "No printer-uri in request."
msgstr "プリンター URI のリクエストがありません。"
msgid "No request sent."
msgstr ""
msgid "No request-id"
msgstr "リクエストID がありません"
Diferenças do arquivo suprimidas por serem muito extensas Carregar Diff
+7 -1
Ver Arquivo
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CUPS 1.4\n"
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
"POT-Creation-Date: 2014-03-28 11:06-0400\n"
"POT-Creation-Date: 2014-05-09 13:32-0700\n"
"PO-Revision-Date: 2009-02-16 12:00-0800\n"
"Last-Translator: Apple Inc.\n"
"Language-Team: Apple Inc.\n"
@@ -3459,6 +3459,9 @@ msgstr ""
msgid "No active connection"
msgstr "Нет рабочего подключения"
msgid "No active connection."
msgstr ""
#, c-format
msgid "No active jobs on %s."
msgstr ""
@@ -3511,6 +3514,9 @@ msgstr "Не указан адрес printer-uri для класса"
msgid "No printer-uri in request."
msgstr ""
msgid "No request sent."
msgstr ""
msgid "No request-id"
msgstr "Нет идентификатора request-id"
+5 -5
Ver Arquivo
@@ -1,5 +1,5 @@
#
# "$Id: cups.spec.in 11808 2014-04-10 15:11:43Z msweet $"
# "$Id: cups.spec.in 11897 2014-05-27 15:02:42Z msweet $"
#
# RPM "spec" file for CUPS.
#
@@ -40,12 +40,12 @@
Summary: CUPS
Name: cups
Version: 1.7.2
Version: 1.7.3
Release: 1
Epoch: 1
License: GPL
Group: System Environment/Daemons
Source: http://www.cups.org/software/1.7.2/cups-1.7.2-source.tar.bz2
Source: http://www.cups.org/software/1.7.3/cups-1.7.3-source.tar.bz2
Url: http://www.cups.org
Packager: Anonymous <anonymous@foo.com>
Vendor: Apple Inc.
@@ -62,7 +62,7 @@ BuildRequires: avahi-devel
%endif
%if %{?_with_libusb1:1}%{!?_with_libusb1:0}
BuildRequires: libusbx-devel
BuildRequires: libusb-devel >= 1.0
%endif
# Use buildroot so as not to disturb the version already installed
@@ -396,5 +396,5 @@ rm -rf $RPM_BUILD_ROOT
#
# End of "$Id: cups.spec.in 11808 2014-04-10 15:11:43Z msweet $".
# End of "$Id: cups.spec.in 11897 2014-05-27 15:02:42Z msweet $".
#
+3 -3
Ver Arquivo
@@ -1,5 +1,5 @@
#
# "$Id: cups.spec.in 11808 2014-04-10 15:11:43Z msweet $"
# "$Id: cups.spec.in 11897 2014-05-27 15:02:42Z msweet $"
#
# RPM "spec" file for CUPS.
#
@@ -62,7 +62,7 @@ BuildRequires: avahi-devel
%endif
%if %{?_with_libusb1:1}%{!?_with_libusb1:0}
BuildRequires: libusbx-devel
BuildRequires: libusb-devel >= 1.0
%endif
# Use buildroot so as not to disturb the version already installed
@@ -396,5 +396,5 @@ rm -rf $RPM_BUILD_ROOT
#
# End of "$Id: cups.spec.in 11808 2014-04-10 15:11:43Z msweet $".
# End of "$Id: cups.spec.in 11897 2014-05-27 15:02:42Z msweet $".
#
+3 -10
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: testsub.c 10996 2013-05-29 11:51:34Z msweet $"
* "$Id: testsub.c 11890 2014-05-22 13:59:21Z msweet $"
*
* Scheduler notification tester for CUPS.
*
@@ -435,17 +435,10 @@ print_attributes(ipp_t *ipp, /* I - IPP request */
case IPP_TAG_DATE :
{
time_t vtime; /* Date/Time value */
struct tm *vdate; /* Date info */
char vstring[256]; /* Formatted time */
for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++)
{
vtime = ippDateToTime(val->date);
vdate = localtime(&vtime);
strftime(vstring, sizeof(vstring), "%c", vdate);
printf(" (%s)", vstring);
}
printf(" (%s)", _cupsStrDate(vstring, sizeof(vstring), ippDateToTime(val->date)));
}
putchar('\n');
break;
@@ -519,5 +512,5 @@ usage(void)
/*
* End of "$Id: testsub.c 10996 2013-05-29 11:51:34Z msweet $".
* End of "$Id: testsub.c 11890 2014-05-22 13:59:21Z msweet $".
*/
+5 -5
Ver Arquivo
@@ -1,5 +1,5 @@
/*
* "$Id: tls-gnutls.c 3755 2012-03-30 05:59:14Z msweet $"
* "$Id: tls-gnutls.c 11899 2014-05-27 15:10:09Z msweet $"
*
* TLS support code for the CUPS scheduler using GNU TLS.
*
@@ -117,7 +117,7 @@ cupsdStartTLS(cupsd_client_t *con) /* I - Client connection */
gnutls_set_default_priority(con->http.tls);
gnutls_credentials_set(con->http.tls, GNUTLS_CRD_CERTIFICATE, *credentials);
gnutls_transport_set_ptr(con->http.tls, (gnutls_transport_ptr)HTTP(con));
gnutls_transport_set_ptr(con->http.tls, (gnutls_transport_ptr_t)HTTP(con));
gnutls_transport_set_pull_function(con->http.tls, _httpReadGNUTLS);
gnutls_transport_set_push_function(con->http.tls, _httpWriteGNUTLS);
@@ -152,8 +152,8 @@ cupsdStartTLS(cupsd_client_t *con) /* I - Client connection */
static int /* O - 1 on success, 0 on failure */
make_certificate(cupsd_client_t *con) /* I - Client connection */
{
gnutls_x509_crt crt; /* Self-signed certificate */
gnutls_x509_privkey key; /* Encryption key */
gnutls_x509_crt_t crt; /* Self-signed certificate */
gnutls_x509_privkey_t key; /* Encryption key */
cups_lang_t *language; /* Default language info */
cups_file_t *fp; /* Key/cert file */
unsigned char buffer[8192]; /* Buffer for x509 data */
@@ -288,5 +288,5 @@ make_certificate(cupsd_client_t *con) /* I - Client connection */
/*
* End of "$Id: tls-gnutls.c 3755 2012-03-30 05:59:14Z msweet $".
* End of "$Id: tls-gnutls.c 11899 2014-05-27 15:10:09Z msweet $".
*/
+31 -54
Ver Arquivo
@@ -1,9 +1,9 @@
/*
* "$Id: lpstat.c 11395 2013-11-06 20:06:50Z msweet $"
* "$Id: lpstat.c 11890 2014-05-22 13:59:21Z msweet $"
*
* "lpstat" command for CUPS.
*
* Copyright 2007-2013 by Apple Inc.
* Copyright 2007-2014 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
@@ -649,7 +649,6 @@ show_accepting(const char *printers, /* I - Destinations */
*message; /* Printer device URI */
int accepting; /* Accepting requests? */
time_t ptime; /* Printer state time */
struct tm *pdate; /* Printer state date & time */
char printer_state_time[255];/* Printer state time */
static const char *pattrs[] = /* Attributes we need for printers... */
{
@@ -772,8 +771,7 @@ show_accepting(const char *printers, /* I - Destinations */
if (match_list(printers, printer))
{
pdate = localtime(&ptime);
strftime(printer_state_time, sizeof(printer_state_time), "%c", pdate);
_cupsStrDate(printer_state_time, sizeof(printer_state_time), ptime);
if (accepting)
_cupsLangPrintf(stdout, _("%s accepting requests since %s"),
@@ -1323,7 +1321,6 @@ show_jobs(const char *dests, /* I - Destinations */
jobid, /* job-id */
size; /* job-k-octets */
time_t jobtime; /* time-at-creation */
struct tm *jobdate; /* Date & time */
char temp[255], /* Temporary buffer */
date[255]; /* Date buffer */
static const char *jattrs[] = /* Attributes we need for jobs... */
@@ -1481,62 +1478,44 @@ show_jobs(const char *dests, /* I - Destinations */
if (match_list(dests, dest) && match_list(users, username))
{
jobdate = localtime(&jobtime);
snprintf(temp, sizeof(temp), "%s-%d", dest, jobid);
if (long_status == 3)
{
/*
* Show the consolidated output format for the SGI tools...
*/
_cupsStrDate(date, sizeof(date), jobtime);
if (!strftime(date, sizeof(date), "%b %d %H:%M", jobdate))
strlcpy(date, "Unknown", sizeof(date));
_cupsLangPrintf(stdout, "%s;%s;%d;%s;%s",
temp, username ? username : "unknown",
size, title ? title : "unknown", date);
}
if (ranking)
_cupsLangPrintf(stdout, "%3d %-21s %-13s %8.0f %s",
rank, temp, username ? username : "unknown",
1024.0 * size, date);
else
_cupsLangPrintf(stdout, "%-23s %-13s %8.0f %s",
temp, username ? username : "unknown",
1024.0 * size, date);
if (long_status)
{
if (!strftime(date, sizeof(date), "%c", jobdate))
strlcpy(date, "Unknown", sizeof(date));
if (message)
_cupsLangPrintf(stdout, _("\tStatus: %s"), message);
if (ranking)
_cupsLangPrintf(stdout, "%3d %-21s %-13s %8.0f %s",
rank, temp, username ? username : "unknown",
1024.0 * size, date);
else
_cupsLangPrintf(stdout, "%-23s %-13s %8.0f %s",
temp, username ? username : "unknown",
1024.0 * size, date);
if (long_status)
{
if (message)
_cupsLangPrintf(stdout, _("\tStatus: %s"), message);
if (reasons)
{
char alerts[1024], /* Alerts string */
*aptr; /* Pointer into alerts string */
if (reasons)
for (i = 0, aptr = alerts; i < reasons->num_values; i ++)
{
char alerts[1024], /* Alerts string */
*aptr; /* Pointer into alerts string */
if (i)
snprintf(aptr, sizeof(alerts) - (aptr - alerts), " %s",
reasons->values[i].string.text);
else
strlcpy(alerts, reasons->values[i].string.text,
sizeof(alerts));
for (i = 0, aptr = alerts; i < reasons->num_values; i ++)
{
if (i)
snprintf(aptr, sizeof(alerts) - (aptr - alerts), " %s",
reasons->values[i].string.text);
else
strlcpy(alerts, reasons->values[i].string.text,
sizeof(alerts));
aptr += strlen(aptr);
}
_cupsLangPrintf(stdout, _("\tAlerts: %s"), alerts);
aptr += strlen(aptr);
}
_cupsLangPrintf(stdout, _("\tqueued for %s"), dest);
_cupsLangPrintf(stdout, _("\tAlerts: %s"), alerts);
}
_cupsLangPrintf(stdout, _("\tqueued for %s"), dest);
}
}
@@ -1579,7 +1558,6 @@ show_printers(const char *printers, /* I - Destinations */
ipp_pstate_t pstate; /* Printer state */
cups_ptype_t ptype; /* Printer type */
time_t ptime; /* Printer state time */
struct tm *pdate; /* Printer state date & time */
int jobid; /* Job ID of current job */
char printer_uri[HTTP_MAX_URI],
/* Printer URI */
@@ -1823,8 +1801,7 @@ show_printers(const char *printers, /* I - Destinations */
* Display it...
*/
pdate = localtime(&ptime);
strftime(printer_state_time, sizeof(printer_state_time), "%c", pdate);
_cupsStrDate(printer_state_time, sizeof(printer_state_time), ptime);
switch (pstate)
{
@@ -2105,5 +2082,5 @@ show_scheduler(void)
/*
* End of "$Id: lpstat.c 11395 2013-11-06 20:06:50Z msweet $".
* End of "$Id: lpstat.c 11890 2014-05-22 13:59:21Z msweet $".
*/
+40
Ver Arquivo
@@ -0,0 +1,40 @@
<DIV CLASS="indent">
<H2 CLASS="title">Adicionar classe</H2>
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
<TABLE>
<TR>
<TH CLASS="label">Nome:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_NAME" SIZE="40" MAXLENGTH="127"><BR>
<SMALL>(Pode conter qualquer caracter imprim&iacute;vel, exceto "/", "#", e espa&ccedil;o em branco)</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Descri&ccedil;&atilde;o:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" SIZE="40" MAXLENGTH="127"><BR>
<SMALL>(Descri&ccedil;&atilde;o leg&iacute;vel para humanos, tal como "HP LaserJet com Duplexador")</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Localiza&ccedil;&atilde;o:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" SIZE="40" MAXLENGTH="127"><BR>
<SMALL>(Localiza&ccedil;&atilde;o leg&iacute;vel para humanos, tal como "Laborat&oacute;rio 1")</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Membros:</TH>
<TD>
<SELECT NAME="MEMBER_URIS" SIZE="10" MULTIPLE>
{[member_uris]<OPTION VALUE="{member_uris}" {?member_selected}>{member_names}}
</SELECT>
</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Adicionar Classe"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+47
Ver Arquivo
@@ -0,0 +1,47 @@
<DIV CLASS="indent">
<H2 CLASS="title">Adicionar impressora</H2>
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
{?current_make!?<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE" VALUE="{current_make}">:}
{?current_make_and_model!?<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE_AND_MODEL" VALUE="{current_make_and_model}">:}
<TABLE>
<TR>
<TH CLASS="label">Nome:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_NAME" SIZE="40" MAXLENGTH="127" VALUE="{?template_name}"><BR>
<SMALL>(Pode conter qualquer caracter imprimível, exceto "/", "#" e espaço em branco)</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Descrição:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" SIZE="40" MAXLENGTH="127" VALUE="{?PRINTER_INFO}"><BR>
<SMALL>(Descrição legível para humanos, tal como "HP LaserJet com Duplexador")</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Localização:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" SIZE="40" MAXLENGTH="127" VALUE="{?PRINTER_LOCATION}"><BR>
<SMALL>(Localização legível para humanos, tal como "Laboratório 1")</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Conexão:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
</TR>
<TR>
<TH CLASS="label">Compartilhamento:</TH>
<TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" {PRINTER_IS_SHARED=1?CHECKED:}>
Compartilhar essa Impressora</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Continue"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+44
Ver Arquivo
@@ -0,0 +1,44 @@
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="add-rss-subscription">
<H2 CLASS="title">Adicionar inscrição RSS</H2>
<TABLE SUMMARY="Formulário para adicionar inscrição RSS">
<TR>
<TH CLASS="label">Nome:</TH>
<TD COLSPAN="5"><INPUT TYPE="TEXT" NAME="SUBSCRIPTION_NAME" SIZE="40" MAXLENGTH="127" VALUE="{?SUBSCRIPTION_NAME}"><BR>
<SMALL>(Pode conter qualquer caracter imprimível, exceto espaço em branco, "/", "?", e "#")</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Fila:</TH>
<TD COLSPAN="5"><SELECT NAME="PRINTER_URI" SIZE="10"><OPTION VALUE="#ALL#"{?PRINTER_URI=#ALL#? SELECTED:}>All Queues</OPTION>{[printer_name]<OPTION VALUE="{printer_uri_supported}"{?PRINTER_URI={printer_uri_supported}? SELECTED:}>{printer_name}</OPTION>}</SELECT></TD>
</TR>
<TR VALIGN="TOP">
<TH CLASS="label">Eventos:</TH>
<TD><INPUT TYPE="CHECKBOX" NAME="EVENT_JOB_CREATED" {?EVENT_JOB_CREATED}>Trabalho criado<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_JOB_COMPLETED" {?EVENT_JOB_COMPLETED}>Trabalho concluído<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_JOB_STOPPED" {?EVENT_JOB_STOPPED}>Trabalho parado<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_JOB_CONFIG_CHANGED" {?EVENT_JOB_CONFIG_CHANGED}>Opções do Trabalho alteradas</TD>
<TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD><INPUT TYPE="CHECKBOX" NAME="EVENT_PRINTER_STOPPED" {?EVENT_PRINTER_STOPPED}>Fila parada<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_PRINTER_ADDED" {?EVENT_PRINTER_ADDED}>Fila adicionada<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_PRINTER_MODIFIED" {?EVENT_PRINTER_MODIFIED}>Fila modificada<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_PRINTER_DELETED" {?EVENT_PRINTER_DELETED}>Fila apagada</TD>
<TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD><INPUT TYPE="CHECKBOX" NAME="EVENT_SERVER_STARTED" {?EVENT_SERVER_STARTED}>Servidor iniciado<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_SERVER_STOPPED" {?EVENT_SERVER_STOPPED}>Servidor parado<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_SERVER_RESTARTED" {?EVENT_SERVER_RESTARTED}>Servidor reiniciado<BR>
<INPUT TYPE="CHECKBOX" NAME="EVENT_SERVER_AUDIT" {?EVENT_SERVER_AUDIT}>Auditoria de segurança do servidor</TD>
</TR>
<TR>
<TH CLASS="label">Máximo de eventos no Feed:</TH>
<TD COLSPAN="5"><INPUT TYPE="NUMBER" NAME="MAX_EVENTS" SIZE="4" MAXLENGTH="4" VALUE="{MAX_EVENTS?{MAX_EVENTS}:20}"></TD>
</TR>
<TR>
<TD></TD>
<TD COLSPAN="5"><INPUT TYPE="SUBMIT" VALUE="Adicionar inscrição RSS"></TD>
</TR>
</TABLE>
</FORM>
+102
Ver Arquivo
@@ -0,0 +1,102 @@
<TABLE CLASS="indent" SUMMARY="Tarefas Administrativas">
<TR><TD VALIGN="TOP">
<H2 CLASS="title">Impressoras</H2>
<P>
<FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="add-printer"><INPUT TYPE="SUBMIT" VALUE="Adicionar impressora"></FORM>
<FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="find-new-printers"><INPUT TYPE="SUBMIT" VALUE="Encontrar novas impressoras"></FORM>
<FORM ACTION="/printers/" METHOD="GET"><INPUT TYPE="SUBMIT" VALUE="Gerenciar impressoras"></FORM>
{have_samba?<FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="export-samba"><INPUT TYPE="SUBMIT" VALUE="Exportar impressoras ao Samba"></FORM>:}
</P>
<H2 CLASS="title">Classes</H2>
<P>
<FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="add-class"><INPUT TYPE="SUBMIT" VALUE="Adicionar classe"></FORM>
<FORM ACTION="/classes/" METHOD="GET"><INPUT TYPE="SUBMIT" VALUE="Gerenciar classes"></FORM>
</P>
<H2 CLASS="title">Trabalhos</H2>
<P>
<FORM ACTION="/jobs/" METHOD="GET"><INPUT TYPE="SUBMIT" VALUE="Gerenciar trabalhos"></FORM>
</P>
</TD><TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD><TD VALIGN="TOP">
<H2 CLASS="title">Servidor</H2>
<P>
<FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="config-server"><INPUT TYPE="SUBMIT" VALUE="Editar arquivo de configuração"></FORM>
<FORM ACTION="/admin/log/access_log" METHOD="GET"><INPUT TYPE="SUBMIT" VALUE="Ver log de acessos"></FORM>
<FORM ACTION="/admin/log/error_log" METHOD="GET"><INPUT TYPE="SUBMIT" VALUE="Ver log de erros"></FORM>
<FORM ACTION="/admin/log/page_log" METHOD="GET"><INPUT TYPE="SUBMIT" VALUE="Ver log de páginas"></FORM>
</P>
{SETTINGS_ERROR?<P>{SETTINGS_MESSAGE}</P>
<BLOCKQUOTE>{SETTINGS_ERROR}</BLOCKQUOTE>:
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
{ADVANCEDSETTINGS?<P><B>Configurações do servidor\:</B></P>
<P><A HREF="/admin/">Avançadas <SMALL>&#x25bc;</SMALL></A><BR>
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="config-server">
<INPUT TYPE="HIDDEN" NAME="ADVANCEDSETTINGS" VALUE="YES">
<INPUT TYPE="CHECKBOX" NAME="SHARE_PRINTERS" {?share_printers}> Compartilhar impressoras conectadas a este sistema<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Máximo de clientes\:
<INPUT TYPE="TEXT" NAME="MAX_CLIENTS" VALUE="{?max_clients}" SIZE="6"><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="CHECKBOX" NAME="REMOTE_ANY" {?remote_any}> Permitir impressão a partir da Internet<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="CHECKBOX" NAME="BROWSE_WEB_IF" {?browse_web_if}> Anunciar interface web<BR>
<INPUT TYPE="CHECKBOX" NAME="REMOTE_ADMIN" {?remote_admin}> Permitir administração remota<BR>
{have_gssapi?<INPUT TYPE="CHECKBOX" NAME="KERBEROS" {?kerberos}> Usar autenticação via Kerberos (<A HREF="/help/kerberos.html?TOPIC=Getting+Started">FAQ</A>)<BR>:}
<INPUT TYPE="CHECKBOX" NAME="USER_CANCEL_ANY" {?user_cancel_any}> Permitir aos usuários cancelar qualquer trabalho (não apenas os seus próprios)<BR>
<INPUT TYPE="CHECKBOX" NAME="PRESERVE_JOBS" {?preserve_jobs}> Preservar o histórico de trabalhos<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Máximo de trabalhos (0 para sem limite)\:
<INPUT TYPE="TEXT" NAME="MAX_JOBS" VALUE="{?max_jobs}" SIZE="6"><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reter metadados\:
<INPUT TYPE="TEXT" NAME="PRESERVE_JOB_HISTORY" VALUE="{?preserve_job_history}" SIZE="6"><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reter documentos\:
<INPUT TYPE="TEXT" NAME="PRESERVE_JOB_FILES" VALUE="{?preserve_job_files}" SIZE="6"><BR>
<INPUT TYPE="CHECKBOX" NAME="DEBUG_LOGGING" {?debug_logging}> Salvar informação de depuração para solução de problemas<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tamanho máximo do arquivo de log\:
<INPUT TYPE="TEXT" NAME="MAX_LOG_SIZE" VALUE="{?max_log_size}" SIZE="6"></P>
:<P><B>Configurações do servidor:</B></P>
<P><A HREF="/admin/?ADVANCEDSETTINGS=YES">Avançadas <SMALL>&#x25b6;</SMALL></A><BR>
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="config-server">
<INPUT TYPE="CHECKBOX" NAME="SHARE_PRINTERS" {?share_printers}> Compartilhar impressoras conectadas a este sistema<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="CHECKBOX" NAME="REMOTE_ANY" {?remote_any}> Permitir impressão a partir da Internet<BR>
<INPUT TYPE="CHECKBOX" NAME="REMOTE_ADMIN" {?remote_admin}> Permitir administração remota<BR>
{have_gssapi?<INPUT TYPE="CHECKBOX" NAME="KERBEROS" {?kerberos}> Usar autenticação via Kerberos (<A HREF="/help/kerberos.html?TOPIC=Getting+Started">FAQ</A>)<BR>:}
<INPUT TYPE="CHECKBOX" NAME="USER_CANCEL_ANY" {?user_cancel_any}> Permitir aos usuários cancelar qualquer trabalho (não apenas seus próprios)<BR>
<INPUT TYPE="CHECKBOX" NAME="DEBUG_LOGGING" {?debug_logging}> Salvar informações de depuração para solução de problemas</P>
}
<P><INPUT TYPE="SUBMIT" NAME="CHANGESETTINGS" VALUE="Alterar configurações"></P>
</FORM>}
</TD></TR>
</TABLE>
<DIV CLASS="indent">
<H2 CLASS="title">Inscrições RSS</H2>
<P>
<FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="add-rss-subscription"><INPUT TYPE="SUBMIT" VALUE="Adicionar inscrição RSS"></FORM>
</P>
</DIV>
{notify_subscription_id?<TABLE CLASS="list" SUMMARY="Inscrições RSS">
<THEAD><TR><TH>Nome</TH><TH>Eventos</TH><TH>Nome da fila</TH></TR></THEAD>
<TBODY>{[notify_subscription_id]
<TR><TD><A HREF="{notify_recipient_uri}">{notify_recipient_name}</A><BR>
<FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="cancel-subscription"><INPUT TYPE="HIDDEN" NAME="notify_subscription_id" VALUE="{notify_subscription_id}"><INPUT TYPE="SUBMIT" VALUE="Cancelar Assinatura"></FORM>&nbsp;</TD><TD>{notify_events}</TD><TD NOWRAP>&nbsp;{notify_printer_name?{notify_printer_name}:Todas as filas}</TD></TR>}
</TBODY>
</TABLE>:}
+53
Ver Arquivo
@@ -0,0 +1,53 @@
<DIV CLASS="indent">
<H2 CLASS="title">{op=modify-printer?Modificar {printer_name}:Adicionar impressora}</H2>
{CUPS_GET_DEVICES_DONE?<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
<TABLE>
{op=add-printer?:<TR>
<TH CLASS="label">Conexão atual\:</TH>
<TD><INPUT TYPE="RADIO" NAME="DEVICE_URI" VALUE="{current_device_uri}" CHECKED>
{current_device_uri}</TD>
</TR>}
<TR>
<TH CLASS="label">Impressoras locais\:</TH>
<TD>
{[device_uri]{device_class!network?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
{device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
:}}
</TD>
</TR>
<TR>
<TH CLASS="label">Impressoras de rede descobertas\:</TH>
<TD>
{[device_uri]{device_class=network?{device_uri~[a-z]+://?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
{device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
:}:}}
</TD>
</TR>
<TR>
<TR>
<TH CLASS="label">Outras impressoras de rede\:</TH>
<TD>
{[device_uri]{device_class=network?{device_uri~[a-z]+://?:<INPUT TYPE="RADIO" NAME="DEVICE_URI"
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
{device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
}:}}
</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Continar"></TD>
</TR>
</TABLE>
</FORM>:<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE"
ALT="Ocupado"> Procurando impressoras...</P>}
</DIV>
+64
Ver Arquivo
@@ -0,0 +1,64 @@
<DIV CLASS="indent">
<H2 CLASS="title">{op=modify-printer?Modificar {printer_name}:Adicionar impressora}</H2>
<FORM METHOD="POST" ACTION="/admin" ENCTYPE="multipart/form-data">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
<TABLE>
{op=modify-printer?:<TR>
<TH CLASS="label">Nome:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">{printer_name}</TD>
</TR>}
<TR>
<TH CLASS="label">Descrição:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{printer_info}">{printer_info}</TD>
</TR>
<TR>
<TH CLASS="label">Localização:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{printer_location}">{printer_location}</TD>
</TR>
<TR>
<TH CLASS="label">Conexão:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
</TR>
<TR>
<TH CLASS="label">Compartilhamento:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_IS_SHARED" VALUE="{?printer_is_shared}">
{?printer_is_shared=?Não compartilhar:{?printer_is_shared=0?Não compartilhar:Compartilhar}} esta impressora</TD>
</TR>
<TR>
<TH CLASS="label">Fabricante:</TH>
<TD>
<SELECT NAME="PPD_MAKE" SIZE="10">
{[ppd_make]<OPTION VALUE="{ppd_make}" {?current_make={ppd_make}?SELECTED:}>{ppd_make}}
</SELECT>
</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Continar"></TD>
</TR>
<TR>
<TD></TD>
<TD>&nbsp;</TD>
</TR>
<TR>
<TH CLASS="label">Ou forneça um arquivo PPD:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="262144"><INPUT
TYPE="FILE" NAME="PPD_FILE"></TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="{op=add-printer?Adicionar impressora:Modificar impressora}"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+60
Ver Arquivo
@@ -0,0 +1,60 @@
<DIV CLASS="indent">
<H2 CLASS="title">{op=modify-printer?Modificar {printer_name}:Adicionar impressora}</H2>
<FORM METHOD="POST" ACTION="/admin" ENCTYPE="multipart/form-data">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
<TABLE>
{op=modify-printer?:<TR>
<TH CLASS="label">Nome:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">{printer_name}</TD>
</TR>}
<TR>
<TH CLASS="label">Descrição:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{printer_info}">{printer_info}</TD>
</TR>
<TR>
<TH CLASS="label">Localização:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{printer_location}">{printer_location}</TD>
</TR>
<TR>
<TH CLASS="label">Conexão:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
</TR>
<TR>
<TH CLASS="label">Compartilhamento:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_IS_SHARED" VALUE="{?printer_is_shared}">
{?printer_is_shared=?Não compartilhar:{?printer_is_shared=0?Não compartilhar:Compartilhar}} esta impressora</TD>
</TR>
<TR>
<TH CLASS="label">Fabricante:</TH>
<TD>{PPD_MAKE} <INPUT TYPE="SUBMIT" NAME="SELECT_MAKE" VALUE="Selecione outro fabricante"></TD>
</TR>
<TR>
<TH CLASS="label">Modelo:</TH>
<TD>
<SELECT NAME="PPD_NAME" SIZE="10">
{op=add-printer?:<OPTION VALUE="__no_change__" SELECTED>Driver atual - {current_make_and_model}</OPTION>:}
{[ppd_name]<OPTION VALUE="{ppd_name}" {op=modify-printer?:{?current_make_and_model={ppd_make_and_model}?SELECTED:}}>{ppd_make_and_model} ({ppd_natural_language})
}</SELECT>
</TD>
</TR>
<TR>
<TH CLASS="label">Ou forneça um arquivo PPD:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="262144"><INPUT
TYPE="FILE" NAME="PPD_FILE"></TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="{op=add-printer?Adicionar impressora:Modificar impressora}"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+52
Ver Arquivo
@@ -0,0 +1,52 @@
<DIV CLASS="indent">
<H2 CLASS="title">{op=modify-printer?Modificar {printer_name}:Adicionar impressora}</H2>
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
<TABLE>
<TR>
<TH CLASS="label">Conexão:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
</TR>
<TR>
<TH CLASS="label">Taxa de dados (Baud Rate):</TH>
<TD><SELECT NAME="BAUDRATE">
{[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
</SELECT></TD>
</TR>
<TR>
<TH CLASS="label">Paridade:</TH>
<TD><SELECT NAME="PARITY">
<OPTION VALUE="none" {?parity=none?SELECTED:}>Nenhum
<OPTION VALUE="even" {?parity=even?SELECTED:}>Par
<OPTION VALUE="odd" {?parity=odd?SELECTED:}>Ímpar
</SELECT></TD>
</TR>
<TR>
<TH CLASS="label">Bits de Dados:</TH>
<TD><SELECT NAME="BITS">
<OPTION {?bits=8?SELECTED:}>8
<OPTION {?bits=7?SELECTED:}>7
</SELECT></TD>
</TR>
<TR>
<TH CLASS="label">Controle de Fluxo:</TH>
<TD><SELECT NAME="FLOW">
<OPTION VALUE="none" {?flow=none?SELECTED:}>Nenhum
<OPTION VALUE="soft" {?flow=soft?SELECTED:}>XON/XOFF (Software)
<OPTION VALUE="hard" {?flow=hard?SELECTED:}>RTS/CTS (Hardware)
<OPTION VALUE="dtrdsr" {?flow=dtrdsr?SELECTED:}>DTR/DSR (Hardware)
</SELECT></TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Continar"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+44
Ver Arquivo
@@ -0,0 +1,44 @@
<DIV CLASS="indent">
<H2 CLASS="title">{op=modify-printer?Modify {printer_name}:Add Printer}</H2>
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE_AND_MODEL" VALUE="{?current_make_and_model}">
<TABLE>
<TR>
<TH CLASS="label">Conexão:</TH>
<TD><INPUT TYPE="URL" SIZE="60" MAXLENGTH="1023" NAME="DEVICE_URI" VALUE="{current_device_uri?{current_device_uri}:{device_uri}}"></TD>
</TR>
<TR>
<TD></TD>
<TD>Exemplos:
<PRE>
http://hostname:631/ipp/
http://hostname:631/ipp/port1
ipp://hostname/ipp/
ipp://hostname/ipp/port1
lpd://hostname/queue
socket://hostname
socket://hostname:9100
</PRE>
<P>Veja <A HREF="/help/network.html" TARGET="_blank">"Network
Printers"</A> para a URI correta a ser usada para sua impressora.</P>
</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Continuar"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Adicionar classe</H2>
<P>Classe <A HREF="/classes/{printer_name}">{printer_name}</A> foi adicionada com sucesso.
</DIV>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Excluir classe {printer_name}</H2>
<P><B>Aviso:</B> Você tem certeza que quer excluir a classe {printer_name}?</P>
<P ALIGN="CENTER"><FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="op" VALUE="delete-class"><INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}"><INPUT TYPE="SUBMIT" NAME="confirm" VALUE="Excluir classe"></FORM></P>
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Excluir classe {printer_name}</H2>
<P>A classe {printer_name} foi excluída com sucesso.
</DIV>
+3
Ver Arquivo
@@ -0,0 +1,3 @@
<DIV CLASS="indent">
<H3 CLASS="title">Trabalhos</H3>
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Modificar classe {printer_name}</H2>
<P>A classe <A HREF="/classes/{printer_name}">{printer_name}</A> foi modificada com sucesso.
</DIV>
+44
Ver Arquivo
@@ -0,0 +1,44 @@
<DIV CLASS="indent">
<H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>
({printer_state=3?Inativa:{printer_state=4?Processando:Pausada}},
{printer_is_accepting_jobs=0?Rejeitando trabalhos:Aceitando trabalhos},
{server_is_sharing_printers=0?Não compartilhada:{printer_is_shared=0?Não compartilhada:Compartilhada}} {default_name={printer_name}?, Padrão do servidor:})</H2>
<FORM METHOD="POST" ACTION="{printer_uri_supported}" NAME="maintenance">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<SELECT NAME="OP" ONCHANGE="document.maintenance.submit();">
<OPTION VALUE="">Manutenção</OPTION>
<OPTION VALUE="print-test-page">Imprimir página de teste</OPTION>
{printer_state=5?<OPTION VALUE="start-class">Resumir classe</OPTION>:<OPTION VALUE="stop-class">Pausar classe</OPTION>}
{printer_is_accepting_jobs=0?<OPTION VALUE="accept-jobs">Aceitar trabalhos</OPTION>:<OPTION VALUE="reject-jobs">Rejeitar trabalhos</OPTION>}
<OPTION VALUE="move-jobs">Mover todos trabalhos/OPTION>
<OPTION VALUE="purge-jobs">Cancelar todos trabalhos</OPTION>
</SELECT>
<INPUT TYPE="SUBMIT" VALUE="Ir" STYLE="display: none;">
</FORM>
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">
<INPUT TYPE="HIDDEN" NAME="IS_CLASS" VALUE="1">
<SELECT NAME="OP" ONCHANGE="document.administration.submit();">
<OPTION VALUE="">Administração</OPTION>
<OPTION VALUE="modify-class">Modificar classe</OPTION>
<OPTION VALUE="delete-class">Excluir classe</OPTION>
<OPTION VALUE="set-class-options">Definir opções padrão</OPTION>
<OPTION VALUE="set-as-default">Definir como servidor padrão</OPTION>
<OPTION VALUE="set-allowed-users">Definir usuários permitidos</OPTION>
</SELECT>
<INPUT TYPE="SUBMIT" VALUE="Ir" STYLE="display: none;">
</FORM>
<TABLE SUMMARY="{printer_name}">
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Descrição:</TH><TD>{printer_info}</TD></TR>
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Localização:</TH><TD>{printer_location}</TD></TR>
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Membros:</TH><TD>{?member_uris=?None:{member_uris}}</TD></TR>
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Padrões:</TH><TD>job-sheets={job_sheets_default}
media={media_default?{media_default}:desconhecido}
{sides_default?sides={sides_default}:}</TD></TR>
</TABLE>
</DIV>
+1
Ver Arquivo
@@ -0,0 +1 @@
<P ALIGN="CENTER">{total=0?Nenhuma classe:Mostrando {#printer_name} de {total} classe{total=1?:s}}.</P>
+11
Ver Arquivo
@@ -0,0 +1,11 @@
{#printer_name=0?:
<TABLE CLASS="list" SUMMARY="Class List">
<THEAD>
<TR><TH><A HREF="{THISURL}?QUERY={?QUERY}&amp;WHICH_JOBS={?WHICH_JOBS}&amp;FIRST={FIRST}&amp;ORDER={ORDER=dec?asc:dec}">{ORDER=dec?<SMALL>&#x25b2;</SMALL> Nome da fila <SMALL>&#x25b2;</SMALL>:<SMALL>&#x25bc;</SMALL> Nome da fila <SMALL>&#x25bc;</SMALL>}</A></TH><TH>Descrição</TH><TH>Localização</TH><TH>Membros</TH><TH>Estado</TH></TR>
</THEAD>
<TBODY>
{[printer_name]
<TR><TD><A HREF="{printer_uri_supported}">{printer_name}</A></TD><TD>{printer_info}</TD><TD>{printer_location}</TD><TD>{?member_uris=?Nenhum:{member_uris}}</TD><TD>{printer_state=3?Inativa:{printer_state=4?Processando:Pausada}}{printer_state_message? - "{printer_state_message}":}</TD></TR>
}
</TBODY>
</TABLE></DIV>}
+12
Ver Arquivo
@@ -0,0 +1,12 @@
<DIV CLASS="indent">
<H2 CLASS="title">{title} em {printer_name}</H2>
<P>{job_state>5?:<IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16"
ALIGN="ABSMIDDLE" ALT="Busy Indicator"> }Trabalho de comando de impressora
{job_state=3?pendente:{job_state=4?retido:
{job_state=5?processando:{job_state=6?parada:
{job_state=7?cancelado:{job_state=8?abortado:completo}}}}}}{job_state=9?:{job_printer_state_message?,
<EM>"{job_printer_state_message}"</EM>:}}</P>
</DIV>
+24
Ver Arquivo
@@ -0,0 +1,24 @@
<SCRIPT TYPE="text/javascript">
function reset_config()
{
document.cups.CUPSDCONF.value = "{?cupsdconf_default}";
}
</SCRIPT>
<DIV CLASS="indent">
<H2 CLASS="title">Editar arquivo de configuração</H2>
<FORM NAME="cups" METHOD="POST" ACTION="/admin/">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="config-server">
<TEXTAREA NAME="CUPSDCONF" COLS="80" ROWS="25">{CUPSDCONF}</TEXTAREA>
<P><INPUT TYPE="SUBMIT" NAME="SAVECHANGES" VALUE="Salvar alterações">
<INPUT TYPE="BUTTON" VALUE="Usar arquivo de configuração padrão"
onClick="reset_config();"></P>
</FORM>
</DIV>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Erro {?title} {?printer_name}</H2>
<P>Erro:</P>
<BLOCKQUOTE>Operação desconhecida "{op}"!</BLOCKQUOTE>
</DIV>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Erro {?title} {?printer_name}</H2>
<P>{?message?{message}:Erro}:</P>
<BLOCKQUOTE>{error}</BLOCKQUOTE>
</DIV>
+38
Ver Arquivo
@@ -0,0 +1,38 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css">
<LINK REL="SHORTCUT ICON" HREF="/images/cups-icon.png" TYPE="image/png">
{refresh_page?<META HTTP-EQUIV="Refresh" CONTENT="{refresh_page}">:}
<SCRIPT TYPE="text/javascript"><!--
/* Show an error if cookies are disabled */
function check_cookies() {
if (!navigator.cookieEnabled) {
document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.';
}
}
--></SCRIPT>
</HEAD>
<BODY ONLOAD="check_cookies();">
<TABLE CLASS="page" SUMMARY="{title}">
<TR><TD CLASS="body">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR HEIGHT="36">
<TD><A HREF="http://www.cups.org/" TARGET="_blank"><IMG
SRC="/images/left.gif" WIDTH="64" HEIGHT="36" BORDER="0" ALT=""></A></TD>
<TD CLASS="unsel"><A HREF="/">&nbsp;&nbsp;In&iacute;cio&nbsp;&nbsp;</A></TD>
<TD CLASS="{SECTION=admin?:un}sel"><A HREF="/admin">&nbsp;&nbsp;Administra&ccedil;&atilde;o&nbsp;&nbsp;</A></TD>
<TD CLASS="{SECTION=classes?:un}sel"><A HREF="/classes/">&nbsp;&nbsp;Classes&nbsp;&nbsp;</A></TD>
<TD CLASS="{SECTION=help?:un}sel"><A HREF="/help/">&nbsp;&nbsp;Ajuda&nbsp;online&nbsp;&nbsp;</A></TD>
<TD CLASS="{SECTION=jobs?:un}sel"><A HREF="/jobs/">&nbsp;&nbsp;Trabalhos&nbsp;&nbsp;</A></TD>
<TD CLASS="{SECTION=printers?:un}sel"><A HREF="/printers/">&nbsp;&nbsp;Impressoras&nbsp;&nbsp;</A></TD>
<TD CLASS="unsel" WIDTH="100%"><FORM ACTION="/help/" METHOD="GET"><INPUT
TYPE="SEARCH" NAME="QUERY" SIZE="20" PLACEHOLDER="Procurar ajuda"
VALUE="{SECTION=help?{?QUERY}:}" AUTOSAVE="org.cups.help" RESULTS="20"></FORM></TD>
<TD><IMG SRC="/images/right.gif" WIDTH="4" HEIGHT="36" ALT=""></TD>
</TR>
</TABLE>
<DIV ID="body">
+51
Ver Arquivo
@@ -0,0 +1,51 @@
<DIV CLASS="indent">
<FORM ACTION="/help/{?HELPFILE}" METHOD="GET">
{TOPIC?<INPUT TYPE="HIDDEN" NAME="TOPIC" VALUE="{TOPIC}">:}
<P ALIGN="CENTER"><B>Pesquisar em
{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:todos os documentos}}:</B> <INPUT
TYPE="SEARCH" NAME="QUERY" VALUE="{?QUERY}" SIZE="40" PLACEHOLDER=""
AUTOSAVE="org.cups.help" RESULTS="20">
<INPUT TYPE="SUBMIT" NAME="SEARCH" VALUE="Pesquisar">
<INPUT TYPE="SUBMIT" NAME="CLEAR" VALUE="Limpar"></P>
</FORM>
<!-- Bookmarks -->
<DIV CLASS="sidebar"><TABLE CLASS="inset" SUMMARY="Conteúdo">
<TR><TD>
<H3 CLASS="title">Documentos de ajuda online</H3>
<P CLASS="l0"><A HREF="/help/{QUERY??QUERY={QUERY}:}">Todos os Documentos</A></P>
<HR>
{[BMTEXT]<P CLASS="l{BMINDENT}"><A HREF="{BMLINK}">{BMTEXT}</A></P>
}
</TD></TR>
</TABLE></DIV>
{QUERY?<P>Pesquisar resultados em {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:Todos os documentos}}\:</P>
{QTEXT?<UL>
{[QTEXT]<LI><A HREF="{QLINK}">{QTEXT}</A>{QPTEXT? (em <I><A HREF="{QPLINK}">{QPTEXT}</A></I>):}</LI>}
{QTEXT?</UL>:}
:<P>Nenhum resultado encontrado.</P>}
<HR NOSHADE>:}
{HELPTITLE?<H1>{HELPTITLE}</H1>
<FORM ACTION="/help/{?HELPFILE}" METHOD="GET"><INPUT TYPE="HIDDEN" NAME="PRINTABLE" VALUE="YES"><INPUT TYPE="SUBMIT" VALUE="Ver versão imprimível"></FORM>:
<H1>Ajuda online</H1>
<P>Essa é a interface de ajuda online do CUPS. Forneça expressões de pesquisa
acima ou clique em qualquer um dos links de documentação para mostrar
a informação de ajuda online.</P>
<P>Se você é novo no CUPS, leia a página "<a
href="/help/overview.html">Visão geral do CUPS</a>". Usuários veteranos
devem ler a página "<a href="/help/whatsnew.html">O que Há de Novo no CUPS
1.6</a>".</P>
<P>A <A HREF="http://www.cups.org/">Página inicial do CUPS</A> também
fornece muitos recursos incluindo fórums de discussão de usuários, respostas
a perguntas frequentes e um formulário para enviar registros de erros e
pedidos de melhorias.</P>}
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Cancelar trabalho {job_id}</H2>
<P><A HREF="{job_printer_uri}">Trabalho {job_id}</A> foi cancelado.
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Reter trabalho {job_id}</H2>
<P><A HREF="{job_printer_uri}">Trabalho {job_id}</A> foi retido para não ser impresso.
</DIV>
+27
Ver Arquivo
@@ -0,0 +1,27 @@
<DIV CLASS="indent">
<FORM METHOD="POST" ACTION="/{SECTION}/{job_id?:{printer_name}}">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{job_id?<INPUT TYPE="HIDDEN" NAME="JOB_ID" VALUE="{job_id}">:}
<H2 CLASS="title">{job_id?Mover trabalho {job_id}:Mover todos trabalhos}</H2>
<TABLE>
<TR>
<TH CLASS="label">Novo destino:</TH>
<TD>
<SELECT NAME="JOB_PRINTER_URI" SIZE="10">
{[job_printer_uri]<OPTION VALUE="{job_printer_uri}">{job_printer_name}}
</SELECT>
</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="{job_id?Mover trabalho:Mover trabalhos}"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+8
Ver Arquivo
@@ -0,0 +1,8 @@
<DIV CLASS="indent">
<H2 CLASS="title">{job_id?Mover trabalho {job_id}:Mover trabalhos}</H2>
<P>{job_id?<A HREF="/jobs/{job_id}">Trabalho {job_id} for movido</A>:Todos trabalhos foram movidos} para
<A HREF="/{is_class?classes:printers}/{job_printer_name}">{job_printer_name}</A>.</P>
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Liberar trabalho {job_id}</H2>
<P><A HREF="{job_printer_uri}">Trabalho {job_id}</A> foi liberado para impressão.
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Reimprimir trabalho {job_id}</H2>
<P><A HREF="{job_printer_uri}">Trabalho {job_id}</A> foi reiniciado.
</DIV>
+5
Ver Arquivo
@@ -0,0 +1,5 @@
<DIV CLASS="indent">{?which_jobs=?:<FORM ACTION="{?printer_name=?/jobs:{printer_uri_supported}}" METHOD="GET"><INPUT TYPE="SUBMIT" VALUE="Mostrar trabalhos ativos"></FORM>}
{?which_jobs=completed?:<FORM ACTION="{?printer_name=?/jobs:{printer_uri_supported}}" METHOD="GET"><INPUT TYPE="HIDDEN" NAME="which_jobs" VALUE="completed"><INPUT TYPE="SUBMIT" VALUE="Mostrar trabalhos completos"></FORM>}
{?which_jobs=all?:<FORM ACTION="{?printer_name=?/jobs:{printer_uri_supported}}" METHOD="GET"><INPUT TYPE="HIDDEN" NAME="which_jobs" VALUE="all"><INPUT TYPE="SUBMIT" VALUE="Mostrar todos trabalhos"></FORM>}</DIV>
<P ALIGN="CENTER">{total=0?Nenhum trabalho:Mostrando {#job_id} de {total} trabalho{total=1?:s}} {?which_jobs=?ativos:{which_jobs=all?:completos}} .</P>
+36
Ver Arquivo
@@ -0,0 +1,36 @@
{#job_id=0?:
<TABLE CLASS="list" SUMMARY="Job List">
<THEAD>
<TR><TH><A HREF="{THISURL}?QUERY={?QUERY}&amp;WHICH_JOBS={?WHICH_JOBS}&amp;FIRST={FIRST}&amp;ORDER={ORDER=dec?asc:dec}">{ORDER=dec?<SMALL>&#x25b2;</SMALL> ID <SMALL>&#x25b2;</SMALL>:<SMALL>&#x25bc;</SMALL> ID <SMALL>&#x25bc;</SMALL>}</A></TH><TH>Nome</TH><TH>Usuário</TH><TH>Tamanho</TH><TH>Páginas</TH><TH>Estado</TH><TH>Controle</TH></TR>
</THEAD>
<TBODY>
{[job_id]
<TR VALIGN="TOP">
<TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone? ({phone}):}&nbsp;</TD>
<TD>{?job_name=?Desconhecido:{job_name}}&nbsp;</TD>
<TD>{?job_originating_user_name=?Oculto:{job_originating_user_name}}&nbsp;</TD>
<TD>{job_k_octets}k&nbsp;</TD>
<TD>{job_media_sheets_completed=0?Desconhecido:{?job_media_sheets_completed}}&nbsp;</TD>
<TD>{job_state=3?pendente desde<BR>{time_at_creation}:{job_state=4?retido desde<BR>{time_at_creation}:
{job_state=5?processando desde<BR>{time_at_processing}:{job_state=6?parado:
{job_state=7?cancelado em<BR>{time_at_completed}:{job_state=8?abortado:completou em<BR>{time_at_completed}}}}}}}&nbsp;{job_printer_state_message?<BR>
<EM>"{job_printer_state_message}"</EM>:}</TD>
<TD>
{job_preserved>0?{job_state>5?
<FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="restart-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}"><INPUT TYPE="SUBMIT" VALUE="Reimprimir trabalho"></FORM>:}:}
{job_state=4?
<FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="release-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}">
<INPUT TYPE="SUBMIT" VALUE="Liberar trabalho"></FORM>:}
{job_state=3?
<FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="hold-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}">
<INPUT TYPE="SUBMIT" VALUE="Reter trabalho"></FORM>:}
{job_state<7?
<FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="cancel-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="HIDDEN" NAME="job_printer_uri" VALUE="{job_printer_uri}">
<INPUT TYPE="SUBMIT" VALUE="Cancelar trabalho"></FORM>
<FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="move-job"><INPUT TYPE="HIDDEN" NAME="job_id" VALUE="{job_id}"><INPUT TYPE="SUBMIT" VALUE="Mover trabalho"></FORM>:}
&nbsp;</TD>
</TR>
}
</TBODY>
</TABLE>
}
+11
Ver Arquivo
@@ -0,0 +1,11 @@
<DIV CLASS="indent">
<H2 CLASS="title">Impressoras disponíveis</H2>
{#device_uri=0?<P>Nenhuma impressora encontrada.</P>
:<UL>{[device_uri]
<LI><FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="add-printer"><INPUT TYPE="HIDDEN" NAME="TEMPLATE_NAME" VALUE="{template_name}"><INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="Local Printer"><INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{device_make_and_model}"><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}"><INPUT TYPE="SUBMIT" VALUE="Adicionar esta impressora"></FORM>
{device_make_and_model} ({device_info})</LI>
}</UL>}
</DIV>
+34
Ver Arquivo
@@ -0,0 +1,34 @@
<DIV CLASS="indent">
<H2 CLASS="title">Modificar classe {printer_name}</H2>
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
<TABLE>
<TR>
<TH CLASS="label">Descrição:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" VALUE="{?printer_info}" SIZE="40" MAXLENGTH="127"></TD>
</TR>
<TR>
<TH CLASS="label">Localização:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" VALUE="{?printer_location}" SIZE="40" MAXLENGTH="127"></TD>
</TR>
<TR>
<TH CLASS="label">Membros:</TH>
<TD>
<SELECT NAME="MEMBER_URIS" SIZE="10" MULTIPLE>
{[member_uris]<OPTION VALUE="{member_uris}" {?member_selected}>{member_names}}
</SELECT>
</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Modificar classe"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+42
Ver Arquivo
@@ -0,0 +1,42 @@
<DIV CLASS="indent">
<H2 CLASS="title">Modificar {printer_name}</H2>
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
<TABLE>
<TR>
<TH CLASS="label">Descrição:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" VALUE="{?printer_info}" SIZE="40" MAXLENGTH="127"><BR>
<SMALL>(Descrição legível para humanos, tal como "HP LaserJet com Duplexador")</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Localização:</TH>
<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" VALUE="{?printer_location}" SIZE="40" MAXLENGTH="127"><BR>
<SMALL>(Localização legível para humanos, tal como "Laboratório 1")</SMALL></TD>
</TR>
<TR>
<TH CLASS="label">Conexão:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
</TR>
<TR>
<TH CLASS="label">Compartilhamento:</TH>
<TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" {PRINTER_IS_SHARED=1?CHECKED:}>
Compartilhar esta impressora</TD>
</TR>
<TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Continar"></TD>
</TR>
</TABLE>
</FORM>
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Alterar configurações</H2>
<P>O servidor não foi reiniciado porque nenhuma alteração foi feita na configuração...</P>
</DIV>
+6
Ver Arquivo
@@ -0,0 +1,6 @@
<TR>
<TH {conflicted=1?CLASS="conflict":CLASS="label"} WIDTH="50%"><A NAME="{keyword}">{keytext}</A>:</TH>
<TD>
{[choices]<INPUT TYPE="RADIO" NAME="{keyword-1}" {choices={defchoice-1}?CHECKED:} VALUE="{choices}">{text}}
</TD>
</TR>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<P><B>Erro:</B> As seguintes opções estão conflitando:</P>
<UL>
{[ckeyword]<LI><A HREF="#{ckeyword}">{ckeytext}</A>: {cchoice}</LI>
}</UL>
<P>Por favor, altere uma ou mais opções para resolver os conflitos.</P>
+5
Ver Arquivo
@@ -0,0 +1,5 @@
<DIV CLASS="tab" ID="{group_id}">
<H3 ALIGN="CENTER">{group}</H3>
<TABLE WIDTH="100%">
+6
Ver Arquivo
@@ -0,0 +1,6 @@
<TR>
<TH {conflicted=1?CLASS="conflict":CLASS="label"} WIDTH="50%"><A NAME="{keyword}">{keytext}</A>:</TH>
<TD><SELECT NAME="{keyword}" MULTIPLE SIZE="10">
{[choices]<OPTION {choices={defchoice-1}?SELECTED:} VALUE="{choices}">{text}}
</SELECT></TD>
</TR>
+18
Ver Arquivo
@@ -0,0 +1,18 @@
<TR>
<TH {conflicted=1?CLASS="conflict":CLASS="label"} WIDTH="50%"><A NAME="{keyword}">{keytext}</A>:</TH>
<TD><SELECT NAME="{keyword}" ID="select-{keyword}" ONCHANGE="update_paramtable('{keyword}')">
{[choices]<OPTION {choices={defchoice-1}?SELECTED:} VALUE="{choices}">{text}}
</SELECT>
{iscustom=1?<TABLE NAME="paramtable" id="{keyword}-params">{[params]
<TR><TH CLASS="sublabel">{paramtext}:</TH>
<TD>{params=Units?<SELECT NAME="{keyword-1}.{params}">
<OPTION VALUE="pt"{paramvalue=pt? SELECTED:}>Pontos</OPTION>
<OPTION VALUE="mm"{paramvalue=mm? SELECTED:}>Milímetros</OPTION>
<OPTION VALUE="cm"{paramvalue=cm? SELECTED:}>Centímetros</OPTION>
<OPTION VALUE="in"{paramvalue=in? SELECTED:}>Polegadas</OPTION>
<OPTION VALUE="ft"{paramvalue=ft? SELECTED:}>Pés</OPTION>
<OPTION VALUE="m"{paramvalue=m? SELECTED:}>Metros</OPTION>
</SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword-1}.{params}" VALUE="{paramvalue}">}</TD></TR>
}</TABLE>
</TD>:}
</TR>
+5
Ver Arquivo
@@ -0,0 +1,5 @@
</TABLE>
<P ALIGN="CENTER"><INPUT TYPE="SUBMIT" VALUE="Definir opções padrão"></P>
</DIV>
+6
Ver Arquivo
@@ -0,0 +1,6 @@
<TABLE CLASS="inset" SUMMARY="Barra de paginação">
<TR>
<TD WIDTH="50%">{PREV?<FORM ACTION="{THISURL}" METHOD="GET"><INPUT TYPE="HIDDEN" NAME="QUERY" VALUE="{?QUERY}"><INPUT TYPE="HIDDEN" NAME="ORDER" VALUE="{?ORDER}"><INPUT TYPE="HIDDEN" NAME="WHICH_JOBS" VALUE="{?WHICH_JOBS}"><INPUT TYPE="HIDDEN" NAME="FIRST" VALUE="{PREV}"><INPUT TYPE="SUBMIT" VALUE="&#x25c0; Mostrar anterior"></FORM>:&nbsp;}</TD>
<TD WIDTH="50%" ALIGN="RIGHT">{NEXT?<FORM ACTION="{THISURL}" METHOD="GET"><INPUT TYPE="HIDDEN" NAME="QUERY" VALUE="{?QUERY}"><INPUT TYPE="HIDDEN" NAME="ORDER" VALUE="{?ORDER}"><INPUT TYPE="HIDDEN" NAME="WHICH_JOBS" VALUE="{?WHICH_JOBS}"><INPUT TYPE="HIDDEN" NAME="FIRST" VALUE="{NEXT}"><INPUT TYPE="SUBMIT" VALUE="Mostrar próximo &#x25b6;"></FORM>:&nbsp;}</TD>
</TR>
</TABLE>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Aceitar trabalhos na {is_class?classe:impressora} {printer_name}</H2>
<P>A {is_class?classe:impressora} <A
HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
agora está aceitando trabalhos.</P>
</DIV>
+8
Ver Arquivo
@@ -0,0 +1,8 @@
<DIV CLASS="indent">
<H2 CLASS="title">Adicionar impressora</H2>
<P>A impressora <A HREF="/printers/{printer_name}">{printer_name}</A> foi adicionada
com sucesso.
</DIV>
+8
Ver Arquivo
@@ -0,0 +1,8 @@
<DIV CLASS="indent">
<H2 CLASS="title">Configurar opções padrão para {printer_name}</H2>
<P>As opções padrão da {OP=set-class-options?classe <A HREF="/classes/{printer_name}">:impressora <A HREF="/printers/{printer_name}">}{printer_name}</A>
foram configuradas com sucesso.
</DIV>
+10
Ver Arquivo
@@ -0,0 +1,10 @@
<DIV CLASS="indent">
<H2 CLASS="title">Excluir impressora {printer_name}</H2>
<P><B>Aviso:</B> Tem certeza que deseja excluir a impressora
{printer_name}?</P>
<P ALIGN="CENTER"><FORM ACTION="/admin/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"><INPUT TYPE="HIDDEN" NAME="OP" VALUE="delete-printer"><INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}"><INPUT TYPE="SUBMIT" NAME="confirm" VALUE="Apagar impressora"></FORM></P>
</DIV>
+12
Ver Arquivo
@@ -0,0 +1,12 @@
<DIV CLASS="indent">
<H2 CLASS="title">Definir a {is_class?classe:impressora} {printer_name} como padrão</H2>
<P>A {is_class?classe:impressora} <A
HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
foi definida como a impressora padrão no servidor.</P>
<BLOCKQUOTE><B>Nota:</B> O padrão de qualquer usuário que tenha sido configurado via
do comando <TT>lpoptions</TT> vai sobrepor esta configuração padrão.</BLOCKQUOTE>
</DIV>
+7
Ver Arquivo
@@ -0,0 +1,7 @@
<DIV CLASS="indent">
<H2 CLASS="title">Excluir Impressora {printer_name}</H2>
<P>A impressora {printer_name} foi excluída com sucesso.
</DIV>
+3
Ver Arquivo
@@ -0,0 +1,3 @@
<DIV CLASS="indent">
<H3 CLASS="title">Trabalhos</H3>
</DIV>
+8
Ver Arquivo
@@ -0,0 +1,8 @@
<DIV CLASS="indent">
<H2 CLASS="title">Modificar impressora {printer_name}</H2>
<P>A impressora <A HREF="/printers/{printer_name}">{printer_name}</A> foi
modificada com sucesso.
</DIV>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Eliminar trabalhos na {is_class?classe:impressora} {printer_name}</H2>
<P>Todos os trabalhos da {is_class?classe:impressora} <A
HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
foram eliminados.</P>
</DIV>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Rejeitar trabalhos na {is_class?classe:impressora} {printer_name}</H2>
<P>A {is_class?classe:impressora} <A
HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
não está mais aceitando trabalhos.</P>
</DIV>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Resumir a {is_class?classe:impressora} {printer_name}</H2>
<P>A {is_class?classe:impressora} <A
HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
foi resumida com sucesso.</P>
</DIV>
+9
Ver Arquivo
@@ -0,0 +1,9 @@
<DIV CLASS="indent">
<H2 CLASS="title">Pausar a {is_class?classe:impressora} {printer_name}</H2>
<P>A {is_class?classe:impressora} <A
HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
foi pausada.</P>
</DIV>
+47
Ver Arquivo
@@ -0,0 +1,47 @@
<DIV CLASS="indent">
<H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>
({printer_state=3?Inativa:{printer_state=4?processando:pausada}},
{printer_is_accepting_jobs=0?rejeitando trabalhos:aceitando trabalhos},
{server_is_sharing_printers=0?não compartilhada:{printer_is_shared=0?não compartilhada:compartilhada}} {default_name={printer_name}?, padrão do servidor:})</H2>
<FORM METHOD="POST" ACTION="{printer_uri_supported}" NAME="maintenance">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<SELECT NAME="OP" ONCHANGE="document.maintenance.submit();">
<OPTION VALUE="">Manutenção</OPTION>
<OPTION VALUE="print-test-page">Imprimir página de teste</OPTION>
{printer_commands~.*Clean.*?<OPTION VALUE="clean-print-heads">Limpar cabeças de impressão</OPTION>:}
{printer_commands~.*PrintSelfTestPage.*?<OPTION VALUE="print-self-test-page">Imprimir página de auto-teste</OPTION>:}
{printer_state=5?<OPTION VALUE="start-printer">Pausar impressora</OPTION>:<OPTION VALUE="stop-printer">Pausar impressora</OPTION>}
{printer_is_accepting_jobs=0?<OPTION VALUE="accept-jobs">Aceitar trabalhos</OPTION>:<OPTION VALUE="reject-jobs">Rejeitar trabalhos</OPTION>}
<OPTION VALUE="move-jobs">Mover todos trabalhos</OPTION>
<OPTION VALUE="purge-jobs">Cancelar todos trabalhos</OPTION>
</SELECT>
<INPUT TYPE="SUBMIT" VALUE="Ir" STYLE="display: none;">
</FORM>
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">
<SELECT NAME="OP" ONCHANGE="document.administration.submit();">
<OPTION VALUE="">Administração</OPTION>
<OPTION VALUE="modify-printer">Modificar impressora</OPTION>
<OPTION VALUE="delete-printer">Excluir impressora</OPTION>
<OPTION VALUE="set-printer-options">Definir opções padrão</OPTION>
<OPTION VALUE="set-as-default">Definir com padrão do servidor</OPTION>
<OPTION VALUE="set-allowed-users">Definir usuários permitidos</OPTION>
</SELECT>
<INPUT TYPE="SUBMIT" VALUE="Ir" STYLE="display: none;">
</FORM>
<TABLE SUMMARY="{printer_name}">
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Descrição:</TH><TD>{printer_info}</TD></TR>
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Localização:</TH><TD>{printer_location}</TD></TR>
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Driver:</TH><TD>{printer_make_and_model} ({color_supported=1?color:grayscale}{sides_supported?, 2-sided printing:})<BR>
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Conexão:</TH><TD>{device_uri}</TD></TR>
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Padrões:</TH><TD>job-sheets={job_sheets_default}
media={media_default?{media_default}:desconhecido}
{sides_default?sides={sides_default}:}</TD></TR>
</TABLE>
</DIV>
+1
Ver Arquivo
@@ -0,0 +1 @@
<P ALIGN="CENTER">{total=0?Nenhuma impressora:Mostrando {#printer_name} de {total} impressora{total=1?:s}}.</P>
+11
Ver Arquivo
@@ -0,0 +1,11 @@
{#printer_name=0?:
<TABLE CLASS="list" SUMMARY="Lista de impressoras">
<THEAD>
<TR><TH><A HREF="{THISURL}?QUERY={?QUERY}&amp;WHICH_JOBS={?WHICH_JOBS}&amp;FIRST={FIRST}&amp;ORDER={ORDER=dec?asc:dec}">{ORDER=dec?<SMALL>&#x25b2;</SMALL> Nome da fila <SMALL>&#x25b2;</SMALL>:<SMALL>&#x25bc;</SMALL> Nome da fila <SMALL>&#x25bc;</SMALL>}</A></TH><TH>Descrição</TH><TH>Localização</TH><TH>Marca e modelo</TH><TH>Estado</TH></TR>
</THEAD>
<TBODY>
{[printer_name]
<TR><TD><A HREF="{printer_uri_supported}">{printer_name}</A></TD><TD>{printer_info}</TD><TD>{printer_location}</TD><TD>{printer_make_and_model}</TD><TD>{printer_state=3?Ociosa:{printer_state=4?Processando:Pausada}}{printer_state_message? - "{printer_state_message}":}</TD></TR>
}
</TBODY>
</TABLE></DIV>}
+8
Ver Arquivo
@@ -0,0 +1,8 @@
<DIV CLASS="indent">
<H2 CLASS="title">Alterar configurações</H2>
<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE"
ALT="Busy Indicator"> Por favor, aguarde enquanto o servidor é reiniciado...</P>
</DIV>
+54
Ver Arquivo
@@ -0,0 +1,54 @@
<SCRIPT TYPE="text/javascript"><!--
function select_printers() {
var list = document.export_samba.EXPORT_NAME;
var sel = document.export_samba.EXPORT_ALL.checked;
for (i = 0; i < list.length; i ++) {
list.options[i].selected = sel;
}
}
--></SCRIPT>
<FORM METHOD="POST" ACTION="/admin/" NAME="export_samba">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="export-samba">
<H2 CLASS="title">Exportar impressoras para o Samba</H2>
{error?<P>Não foi possível exportar impressoras para o Samba\:</P>
<BLOCKQUOTE>{error}</BLOCKQUOTE>
<P>Consulte o arquivo <A HREF="/admin/log/error_log"
TARGET="_blank">error_log</A> para mais informações.</P>:
<P>Essa página permite que você exporte impressoras para o Samba
para que clientes Windows possam acessá-las através do ícone de
<VAR>Meus locais de rede</VAR> nas suas áreas de trabalho.
Você deve primeiro instalar os drivers de impressora PostScript
do Windows como descrito na página de manual do
<A HREF="/help/man-cupsaddsmb.html" TARGET="_blank">cupsaddsmb(8)</A>.</P>}
<TABLE>
<TR>
<TH CLASS="label">Impressoras:</TH>
<TD>
<SELECT NAME="EXPORT_NAME" SIZE="10" MULTIPLE>
{[printer_name]<OPTION VALUE="{printer_name}"{export_all? SELECTED:{printer_export? SELECTED:}}>{printer_name}}
</SELECT><BR>
<INPUT TYPE="CHECKBOX" NAME="EXPORT_ALL"{export_all? CHECKED:}
onChange="select_printers()"> Exportar todas as impressoras
</TD>
</TR>
<TR>
<TH CLASS="label">Nome do usuário do Samba:</TH>
<TD><INPUT TYPE="TEXT" NAME="USERNAME" VALUE="{?USERNAME}"> (obrigatório)</TD>
</TR>
<TR>
<TH CLASS="label">Senha do Samba:</TH>
<TD><INPUT TYPE="PASSWORD" NAME="PASSWORD" VALUE=""> (obrigatório)</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="SUBMIT" VALUE="Exportar impressoras para o Samba"></TD>
</TR>
</TABLE>
</FORM>
+1
Ver Arquivo
@@ -0,0 +1 @@
<P>Impressoras exportadas para o samba com sucesso.</P>
+10
Ver Arquivo
@@ -0,0 +1,10 @@
<FORM ACTION="/{SECTION}/{?SEARCH_DEST}" METHOD="GET">
{WHICH_JOBS?<INPUT TYPE="HIDDEN" NAME="WHICH_JOBS" VALUE="{WHICH_JOBS}">:}
{ORDER?<INPUT TYPE="HIDDEN" NAME="ORDER" VALUE="{ORDER}">:}
<P ALIGN="CENTER"><B>Pesquisar em
{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?classes:{SECTION=jobs?Trabalhos:Impressoras}}}:</B>
<INPUT TYPE="SEARCH" NAME="QUERY" VALUE="{?QUERY}" SIZE="40" PLACEHOLDER="" AUTOSAVE="org.cups.{SECTION}" RESULTS="20"> <INPUT
TYPE="SUBMIT" VALUE="Pesquisar"> <INPUT TYPE="SUBMIT" NAME="CLEAR" VALUE="Limpar"></P>
</FORM>
@@ -0,0 +1,26 @@
<DIV CLASS="indent">
<H2 CLASS="title">Definir opções padrão para {printer_name}</H2>
<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{HAVE_AUTOCONFIGURE?<INPUT TYPE="SUBMIT" NAME="AUTOCONFIGURE" VALUE="Consultar impressora por opções padrão">:}
<SCRIPT TYPE="text/javascript"><!--
function update_paramtable(option)
{
var cb = document.getElementById("select-" + option)
var paramstable = document.getElementById(option + "-params");
if (cb.value == "Custom")
paramstable.style.display = "table";
else
paramstable.style.display = "none";
}
--></SCRIPT>
<H3 CLASS="title">{[group_id]
<A HREF="#{group_id}">{group}</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</H3>
<DIV CLASS="tabs">
@@ -0,0 +1,16 @@
</DIV>
<SCRIPT TYPE="text/javascript"><!--
// Hide custom options parameters for browsers that understand Javascript
var paramtables = document.getElementsByName("paramtable");
for (var i = 0; i < paramtables.length; i++)
{
var opt = paramtables[i].id.substr(0, paramtables[i].id.lastIndexOf("-"));
var cb = document.getElementById("select-" + opt);
if (cb.value != "Custom")
paramtables[i].style.display = "none";
}
--></SCRIPT>
</FORM>
</DIV>
+5
Ver Arquivo
@@ -0,0 +1,5 @@
<DIV CLASS="indent">
<P>A inscrição {subscription_name} foi adicionada com sucesso.</P>
</DIV>
+5
Ver Arquivo
@@ -0,0 +1,5 @@
<DIV CLASS="indent">
<P>A inscrição #{notify_subscription_id} foi cancelada.</P>
</DIV>
+8
Ver Arquivo
@@ -0,0 +1,8 @@
<DIV CLASS="indent">
<H2 CLASS="title">Imprimir página de teste em {printer_name}</H2>
<P>Página de teste enviada; o ID do trabalho é <A HREF="/{SECTION}/{printer_name}">
{printer_name}-{job_id}</A>.</P>
</DIV>

Alguns arquivos não foram exibidos porque demasiados arquivos foram alterados neste diff Mostrar Mais