Comparar commits
2 Commits
| Autor | SHA1 | Data | |
|---|---|---|---|
| 215ef63830 | |||
| a51f28ec99 |
+56
-2
@@ -1,6 +1,60 @@
|
||||
CHANGES.txt - 1.7.2 - 2014-04-10
|
||||
CHANGES.txt - 1.7.4 - 2014-07-08
|
||||
--------------------------------
|
||||
|
||||
CHANGES IN CUPS V1.7.4
|
||||
|
||||
- Security: The web interface incorrectly served symlinked files and
|
||||
files that were not world-readable, potentially leading to a
|
||||
disclosure of information (STR #4450)
|
||||
- The CUPS headers incorrectly needed libdispatch for blocks support
|
||||
(STR #4397)
|
||||
- CUPS did not compile when Avahi or mDNSResponder was not present
|
||||
(STR #4402, STR #4424)
|
||||
- The "snmp" option did not work with the network backends (STR #4422)
|
||||
- The User directive in client.conf did not override the USER
|
||||
environment variable (STR #4426)
|
||||
- The web interface now properly shows a "Go" button for all text-based
|
||||
browsers (STR #4425)
|
||||
- The MaxJobTime directive now properly supports time values (STR #4434)
|
||||
- The RPM spec file did not work due to the new Brazilian Portuguese
|
||||
localization (STR #4436)
|
||||
- Fixed an "IPP read error" issue (STR #4440)
|
||||
- Fixed the --disable-libusb configure option (STR #4439)
|
||||
- Fixed the debug output from the DNS-SD backend when using Avahi
|
||||
(STR #4444)
|
||||
- Fixed a bug in the CUPS_SC_GET_DEVICE_ID handling by the network
|
||||
backends (STR #4447)
|
||||
- Added USB quirk rule for Lexmark E230 (STR #4448)
|
||||
- The LPD backend did not work with some versions of glibc (STR #4452)
|
||||
|
||||
|
||||
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 configure script incorrectly added libgcrypt as a GNU TLS
|
||||
dependency (STR #4399)
|
||||
- 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 +76,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
@@ -1,4 +1,4 @@
|
||||
INSTALL - CUPS v1.7.2 - 2014-04-10
|
||||
INSTALL - CUPS v1.7.4 - 2014-06-10
|
||||
----------------------------------
|
||||
|
||||
This file describes how to compile and install CUPS from source code. For more
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
README - CUPS v1.7.2 - 2014-04-10
|
||||
README - CUPS v1.7.4 - 2014-06-10
|
||||
---------------------------------
|
||||
|
||||
Looking for compile instructions? Read the file "INSTALL.txt" instead...
|
||||
|
||||
+15
-28
@@ -1,33 +1,17 @@
|
||||
/*
|
||||
* "$Id: dnssd.c 11623 2014-02-19 20:18:10Z msweet $"
|
||||
* "$Id: dnssd.c 11971 2014-07-01 14:38:29Z msweet $"
|
||||
*
|
||||
* DNS-SD discovery backend for CUPS.
|
||||
* DNS-SD discovery backend for CUPS.
|
||||
*
|
||||
* Copyright 2008-2012 by Apple Inc.
|
||||
* Copyright 2008-2014 by Apple Inc.
|
||||
*
|
||||
* 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"
|
||||
* "LICENSE" which should have been included with this file. If this
|
||||
* 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"
|
||||
* "LICENSE" which should have been included with this file. If this
|
||||
* 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:
|
||||
*
|
||||
* main() - Browse for printers.
|
||||
* browse_callback() - Browse devices.
|
||||
* browse_local_callback() - Browse local devices.
|
||||
* client_callback() - Avahi client callback function.
|
||||
* compare_devices() - Compare two devices.
|
||||
* exec_backend() - Execute the backend that corresponds to the
|
||||
* resolved service name.
|
||||
* device_type() - Get DNS-SD type enumeration from string.
|
||||
* get_device() - Create or update a device.
|
||||
* query_callback() - Process query data.
|
||||
* find_device() - Find a device from its name and domain.
|
||||
* sigterm_handler() - Handle termination signals.
|
||||
* unquote() - Unquote a name string.
|
||||
* This file is subject to the Apple OS-Developed Software exception.
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -924,8 +908,11 @@ get_device(cups_array_t *devices, /* I - Device array */
|
||||
* Yes, add the device...
|
||||
*/
|
||||
|
||||
fprintf(stderr, "DEBUG: Found \"%s.%s%s\"...\n", serviceName, regtype,
|
||||
replyDomain);
|
||||
#ifdef HAVE_DNSSD
|
||||
fprintf(stderr, "DEBUG: Found \"%s.%s%s\"...\n", serviceName, regtype, replyDomain);
|
||||
#else /* HAVE_AVAHI */
|
||||
fprintf(stderr, "DEBUG: Found \"%s.%s.%s\"...\n", serviceName, regtype, replyDomain);
|
||||
#endif /* HAVE_DNSSD */
|
||||
|
||||
device = calloc(sizeof(cups_device_t), 1);
|
||||
device->name = strdup(serviceName);
|
||||
@@ -1329,5 +1316,5 @@ unquote(char *dst, /* I - Destination buffer */
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: dnssd.c 11623 2014-02-19 20:18:10Z msweet $".
|
||||
* End of "$Id: dnssd.c 11971 2014-07-01 14:38:29Z msweet $".
|
||||
*/
|
||||
|
||||
+24
-17
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: ipp.c 11779 2014-03-28 20:48:44Z msweet $"
|
||||
* "$Id: ipp.c 11909 2014-06-09 18:58:16Z 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;
|
||||
@@ -526,8 +528,8 @@ main(int argc, /* I - Number of command-line args */
|
||||
*/
|
||||
|
||||
snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") ||
|
||||
_cups_strcasecmp(value, "yes") ||
|
||||
_cups_strcasecmp(value, "true");
|
||||
!_cups_strcasecmp(value, "yes") ||
|
||||
!_cups_strcasecmp(value, "true");
|
||||
}
|
||||
else if (!_cups_strcasecmp(name, "version"))
|
||||
{
|
||||
@@ -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 11909 2014-06-09 18:58:16Z msweet $".
|
||||
*/
|
||||
|
||||
+5
-5
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: lpd.c 10996 2013-05-29 11:51:34Z msweet $"
|
||||
* "$Id: lpd.c 12005 2014-07-08 15:46:59Z msweet $"
|
||||
*
|
||||
* Line Printer Daemon backend for CUPS.
|
||||
*
|
||||
@@ -393,8 +393,8 @@ main(int argc, /* I - Number of command-line arguments (6 or 7) */
|
||||
*/
|
||||
|
||||
snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") ||
|
||||
_cups_strcasecmp(value, "yes") ||
|
||||
_cups_strcasecmp(value, "true");
|
||||
!_cups_strcasecmp(value, "yes") ||
|
||||
!_cups_strcasecmp(value, "true");
|
||||
}
|
||||
else if (!_cups_strcasecmp(name, "timeout"))
|
||||
{
|
||||
@@ -1276,7 +1276,7 @@ rresvport_af(int *port, /* IO - Port number to bind to */
|
||||
* Try binding the port to the socket; return if all is OK...
|
||||
*/
|
||||
|
||||
if (!bind(fd, (struct sockaddr *)&addr, sizeof(addr)))
|
||||
if (!bind(fd, (struct sockaddr *)&addr, httpAddrSize(&addr)))
|
||||
return (fd);
|
||||
|
||||
/*
|
||||
@@ -1331,5 +1331,5 @@ sigterm_handler(int sig) /* I - Signal */
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: lpd.c 10996 2013-05-29 11:51:34Z msweet $".
|
||||
* End of "$Id: lpd.c 12005 2014-07-08 15:46:59Z msweet $".
|
||||
*/
|
||||
|
||||
+8
-8
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: network.c 3755 2012-03-30 05:59:14Z msweet $"
|
||||
* "$Id: network.c 11971 2014-07-01 14:38:29Z msweet $"
|
||||
*
|
||||
* Common backend network APIs for CUPS.
|
||||
*
|
||||
@@ -268,6 +268,12 @@ backendNetworkSideCB(
|
||||
datalen = 0;
|
||||
break;
|
||||
|
||||
case CUPS_SC_CMD_GET_CONNECTED :
|
||||
status = CUPS_SC_STATUS_OK;
|
||||
data[0] = device_fd != -1;
|
||||
datalen = 1;
|
||||
break;
|
||||
|
||||
case CUPS_SC_CMD_GET_DEVICE_ID :
|
||||
if (snmp_fd >= 0)
|
||||
{
|
||||
@@ -305,12 +311,6 @@ backendNetworkSideCB(
|
||||
break;
|
||||
}
|
||||
|
||||
case CUPS_SC_CMD_GET_CONNECTED :
|
||||
status = CUPS_SC_STATUS_OK;
|
||||
data[0] = device_fd != -1;
|
||||
datalen = 1;
|
||||
break;
|
||||
|
||||
default :
|
||||
status = CUPS_SC_STATUS_NOT_IMPLEMENTED;
|
||||
datalen = 0;
|
||||
@@ -322,5 +322,5 @@ backendNetworkSideCB(
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: network.c 3755 2012-03-30 05:59:14Z msweet $".
|
||||
* End of "$Id: network.c 11971 2014-07-01 14:38:29Z msweet $".
|
||||
*/
|
||||
|
||||
@@ -212,3 +212,6 @@
|
||||
|
||||
# Lexmark E238 (<rdar://problem/14493054>)
|
||||
0x043d 0x00d7 no-reattach
|
||||
|
||||
# Lexmark E238 (STR #4448)
|
||||
0x043d 0x009a no-reattach
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: socket.c 10996 2013-05-29 11:51:34Z msweet $"
|
||||
* "$Id: socket.c 11909 2014-06-09 18:58:16Z msweet $"
|
||||
*
|
||||
* AppSocket backend for CUPS.
|
||||
*
|
||||
@@ -250,8 +250,8 @@ main(int argc, /* I - Number of command-line arguments (6 or 7) */
|
||||
*/
|
||||
|
||||
snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") ||
|
||||
_cups_strcasecmp(value, "yes") ||
|
||||
_cups_strcasecmp(value, "true");
|
||||
!_cups_strcasecmp(value, "yes") ||
|
||||
!_cups_strcasecmp(value, "true");
|
||||
}
|
||||
else if (!_cups_strcasecmp(name, "contimeout"))
|
||||
{
|
||||
@@ -520,5 +520,5 @@ wait_bc(int device_fd, /* I - Socket */
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: socket.c 10996 2013-05-29 11:51:34Z msweet $".
|
||||
* End of "$Id: socket.c 11909 2014-06-09 18:58:16Z msweet $".
|
||||
*/
|
||||
|
||||
+12
-36
@@ -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
@@ -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>@) \
|
||||
|
||||
@@ -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.4
|
||||
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'`"
|
||||
@@ -230,7 +230,7 @@ AC_SUBST(LIBUSB)
|
||||
AC_SUBST(USBQUIRKS)
|
||||
|
||||
if test "x$PKGCONFIG" != x; then
|
||||
if test x$enable_libusb = xyes -o $uname != Darwin; then
|
||||
if test x$enable_libusb != xno -a $uname != Darwin; then
|
||||
AC_MSG_CHECKING(for libusb-1.0)
|
||||
if $PKGCONFIG --exists libusb-1.0; then
|
||||
AC_MSG_RESULT(yes)
|
||||
@@ -240,6 +240,9 @@ if test "x$PKGCONFIG" != x; then
|
||||
USBQUIRKS="\$(DATADIR)/usb"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test x$enable_libusb = xyes; then
|
||||
AC_MSG_ERROR(libusb required for --enable-libusb.)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
elif test x$enable_libusb = xyes; then
|
||||
|
||||
externo
+5
-2
@@ -2517,7 +2517,7 @@ esac
|
||||
ac_config_headers="$ac_config_headers config.h"
|
||||
|
||||
|
||||
CUPS_VERSION=1.7.2
|
||||
CUPS_VERSION=1.7.4
|
||||
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'`"
|
||||
@@ -5238,7 +5238,7 @@ USBQUIRKS=""
|
||||
|
||||
|
||||
if test "x$PKGCONFIG" != x; then
|
||||
if test x$enable_libusb = xyes -o $uname != Darwin; then
|
||||
if test x$enable_libusb != xno -a $uname != Darwin; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb-1.0" >&5
|
||||
$as_echo_n "checking for libusb-1.0... " >&6; }
|
||||
if $PKGCONFIG --exists libusb-1.0; then
|
||||
@@ -5252,6 +5252,9 @@ $as_echo "yes" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
if test x$enable_libusb = xyes; then
|
||||
as_fn_error $? "libusb required for --enable-libusb." "$LINENO" 5
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
elif test x$enable_libusb = xyes; then
|
||||
|
||||
+4
-8
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: cups.h 11551 2014-01-29 16:31:35Z msweet $"
|
||||
* "$Id: cups.h 11978 2014-07-02 10:35:09Z msweet $"
|
||||
*
|
||||
* API definitions for CUPS.
|
||||
*
|
||||
@@ -30,10 +30,6 @@
|
||||
typedef off_t ssize_t; /* @private@ */
|
||||
# endif /* WIN32 && !__CUPS_SSIZE_T_DEFINED */
|
||||
|
||||
# ifdef __BLOCKS__
|
||||
# include <dispatch/dispatch.h>
|
||||
# endif /* __BLOCKS__ */
|
||||
|
||||
# include "file.h"
|
||||
# include "ipp.h"
|
||||
# include "language.h"
|
||||
@@ -53,10 +49,10 @@ extern "C" {
|
||||
* Constants...
|
||||
*/
|
||||
|
||||
# define CUPS_VERSION 1.0702
|
||||
# define CUPS_VERSION 1.0704
|
||||
# define CUPS_VERSION_MAJOR 1
|
||||
# define CUPS_VERSION_MINOR 7
|
||||
# define CUPS_VERSION_PATCH 2
|
||||
# define CUPS_VERSION_PATCH 4
|
||||
|
||||
# define CUPS_BC_FD 3
|
||||
/* Back-channel file descriptor for
|
||||
@@ -627,5 +623,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 11978 2014-07-02 10:35:09Z msweet $".
|
||||
*/
|
||||
|
||||
+57
-17
@@ -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
@@ -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
@@ -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 $".
|
||||
*/
|
||||
|
||||
@@ -23,6 +23,7 @@ _cupsNextDelay
|
||||
_cupsSetError
|
||||
_cupsSetLocale
|
||||
_cupsStrAlloc
|
||||
_cupsStrDate
|
||||
_cupsStrFlush
|
||||
_cupsStrFormatd
|
||||
_cupsStrFree
|
||||
|
||||
+4
-2
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 $".
|
||||
*/
|
||||
|
||||
+20
-32
@@ -1,9 +1,9 @@
|
||||
/*
|
||||
* "$Id: usersys.c 11689 2014-03-05 21:22:12Z msweet $"
|
||||
* "$Id: usersys.c 11909 2014-06-09 18:58:16Z msweet $"
|
||||
*
|
||||
* User, system, and password routines 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
|
||||
@@ -851,29 +851,7 @@ _cupsSetDefaults(void)
|
||||
cups_anyroot = getenv("CUPS_ANYROOT");
|
||||
cups_expiredroot = getenv("CUPS_EXPIREDROOT");
|
||||
cups_expiredcerts = getenv("CUPS_EXPIREDCERTS");
|
||||
|
||||
if ((cups_user = getenv("CUPS_USER")) == NULL)
|
||||
{
|
||||
#ifndef WIN32
|
||||
/*
|
||||
* Try the USER environment variable...
|
||||
*/
|
||||
|
||||
if ((cups_user = getenv("USER")) != NULL)
|
||||
{
|
||||
/*
|
||||
* Validate USER matches the current UID, otherwise don't allow it to
|
||||
* override things... This makes sure that printing after doing su or
|
||||
* sudo records the correct username.
|
||||
*/
|
||||
|
||||
struct passwd *pw; /* Account information */
|
||||
|
||||
if ((pw = getpwnam(cups_user)) == NULL || pw->pw_uid != getuid())
|
||||
cups_user = NULL;
|
||||
}
|
||||
#endif /* !WIN32 */
|
||||
}
|
||||
cups_user = getenv("CUPS_USER");
|
||||
|
||||
/*
|
||||
* Then, if needed, read the ~/.cups/client.conf or /etc/cups/client.conf
|
||||
@@ -1089,20 +1067,30 @@ cups_read_client_conf(
|
||||
if (!GetUserName(cg->user, &size))
|
||||
#else
|
||||
/*
|
||||
* Get the user name corresponding to the current UID...
|
||||
* Try the USER environment variable as the default username...
|
||||
*/
|
||||
|
||||
struct passwd *pwd; /* User/password entry */
|
||||
const char *envuser = getenv("USER");
|
||||
/* Default username */
|
||||
struct passwd *pw = NULL; /* Account information */
|
||||
|
||||
setpwent();
|
||||
if ((pwd = getpwuid(getuid())) != NULL)
|
||||
if (envuser)
|
||||
{
|
||||
/*
|
||||
* Found a match!
|
||||
* Validate USER matches the current UID, otherwise don't allow it to
|
||||
* override things... This makes sure that printing after doing su or
|
||||
* sudo records the correct username.
|
||||
*/
|
||||
|
||||
strlcpy(cg->user, pwd->pw_name, sizeof(cg->user));
|
||||
if ((pw = getpwnam(envuser)) != NULL && pw->pw_uid != getuid())
|
||||
pw = NULL;
|
||||
}
|
||||
|
||||
if (!pw)
|
||||
pw = getpwuid(getuid());
|
||||
|
||||
if (pw)
|
||||
strlcpy(cg->user, pw->pw_name, sizeof(cg->user));
|
||||
else
|
||||
#endif /* WIN32 */
|
||||
{
|
||||
@@ -1141,5 +1129,5 @@ cups_read_client_conf(
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: usersys.c 11689 2014-03-05 21:22:12Z msweet $".
|
||||
* End of "$Id: usersys.c 11909 2014-06-09 18:58:16Z msweet $".
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">Novetats del CUPS 1.4</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Fòrum d'usuaris</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">Fòrum d'usuaris</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">Referència del cupsd.conf</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Cerca de controladors d'impressora</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS per desenvolupadors</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">Referència del fitxer d'inf. del compilador del controlador per PPD</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Fòrum de desenvolupadors</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Fòrum de desenvolupadors</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">Co je nového v CUPS 1.6</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Uživatelské fórum</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">Uživatelské fórum</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">Konfigurační soubor cupsd.conf</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Hedat ovladače tiskárny</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS pro vývojáře</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">PPD kompilátor Driver Information File Reference</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Vývojářské fórum</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Vývojářské fórum</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">Neues in CUPS 1.7</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Benutzerforum</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">Benutzerforum</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">cupsd.conf Referenz</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Druckertreiber finden</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS für Entwickler</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">PPD Compiler Treiber Dateireferenz</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Entwicklerforum</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Entwicklerforum</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">Qué hay de nuevo en CUPS 1.6</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Foro de usuarios</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">Foro de usuarios</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">Referencia de cupsd.conf</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Encontrar controladores de impresora</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS para desarrolladores</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">Referencia del archivo de información del compilador de controladores PPD</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Foro de desarrollo</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Foro de desarrollo</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">Quoi de neuf dans CUPS 1.6</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Forum utilisateur</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">Forum utilisateur</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">Références sur cupsd.conf</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Trouver des pilotes d'imprimantes</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS pour les développeurs</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">PPD Compiler Driver Information File Reference</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Forum développeurs</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Forum développeurs</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
+2
-4
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">What's New in CUPS 1.7</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">User Forum</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">User Forum</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">cupsd.conf Reference</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Find Printer Drivers</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS for Developers</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">PPD Compiler Driver Information File Reference</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Developer Forum</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Developer Forum</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">Le novità introdotte da CUPS 1.7</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Forum dell'utente</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">Forum dell'utente</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">Riferimenti a cupsd.conf</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Trovare i driver delle stampanti</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS per gli sviluppatori</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">File di riferimento del compilatore di driver PPD</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Forum dello sviluppatore</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Forum dello sviluppatore</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -52,7 +52,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">CUPS 1.6 の新機能</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">ユーザーフォーラム</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">ユーザーフォーラム</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -72,8 +72,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">cupsd.conf リファレンス</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">プリンタードライバーの検索</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>開発者向け</H2>
|
||||
@@ -92,7 +90,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">PPD コンパイラー用ドライバー情報ファイル リファレンス</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">開発者フォーラム</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">開発者フォーラム</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -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="/"> Início </A></TD>
|
||||
<TD CLASS="unsel"><A HREF="/admin"> Administração </A></TD>
|
||||
<TD CLASS="unsel"><A HREF="/classes/"> Classes </A></TD>
|
||||
<TD CLASS="unsel"><A HREF="/help/"> Ajuda online </A></TD>
|
||||
<TD CLASS="unsel"><A HREF="/jobs/"> Trabalhos </A></TD>
|
||||
<TD CLASS="unsel"><A HREF="/printers/"> Impressoras </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 é o sistema de impressão de código aberto e baseado em padrões desenvolvido pela
|
||||
<A HREF="http://www.apple.com/">Apple Inc.</A> para o OS<SUP>®</SUP> X e
|
||||
outros sistemas operacionais similares ao UNIX<SUP>®</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ários</H2>
|
||||
|
||||
<P><A HREF="help/overview.html">Visão geral do CUPS</A></P>
|
||||
|
||||
<P><A HREF="help/options.html">Impressão e opções em linha de comando</A></P>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">O que há de novo no CUPS 1.7</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Fórum de usuá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íticas de operação</A></P>
|
||||
|
||||
<P><A HREF="help/accounting.html">Básico de contabilidade de impressão</A></P>
|
||||
|
||||
<P><A HREF="help/security.html">Segurança do servidor</A></P>
|
||||
|
||||
<P><A HREF="help/kerberos.html">Usar autenticaçã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ê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ção à programaçã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çã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ção</A></P>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">Referência para o compilador de arquivos de informação de driver PPD</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Fórum de desenvolvedores</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
</TD></TR>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD CLASS="trailer">CUPS e o logo do CUPS sã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>
|
||||
@@ -50,7 +50,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/whatsnew.html">Что нового в CUPS 1.6</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.general">Форум пользователей</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups">Форум пользователей</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="border-right: dotted thin #cccccc; padding-left: 20px; padding-right: 20px;">
|
||||
|
||||
@@ -70,8 +70,6 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-cupsd-conf.html">Справочник по cupsd.conf</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/ppd.php">Поиск драйверов принтера</A></P>
|
||||
|
||||
</TD><TD VALIGN="top" STYLE="padding-left: 20px;">
|
||||
|
||||
<H2>CUPS для разработчиков</H2>
|
||||
@@ -90,7 +88,7 @@ HEIGHT="128" ALT="CUPS"></A></TD>
|
||||
|
||||
<P><A HREF="help/ref-ppdcfile.html">Справочник по компилятору PPD</A></P>
|
||||
|
||||
<P><A HREF="http://www.cups.org/newsgroups.php?gcups.development">Форум разработчиков</A></P>
|
||||
<P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Форум разработчиков</A></P>
|
||||
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
|
||||
+83
-75
@@ -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 ""
|
||||
|
||||
|
||||
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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"
|
||||
|
||||
|
||||
+14
-5
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# "$Id: cups.spec.in 11808 2014-04-10 15:11:43Z msweet $"
|
||||
# "$Id: cups.spec.in 11946 2014-06-24 18:01:58Z msweet $"
|
||||
#
|
||||
# RPM "spec" file for CUPS.
|
||||
#
|
||||
@@ -21,6 +21,11 @@
|
||||
# dnssd - Enable/disable DNS-SD support (default = enable)
|
||||
# libusb1 - Enable/disable LIBUSB 1.0 support (default = enable)
|
||||
# static - Enable/disable static libraries (default = enable)
|
||||
#
|
||||
# Note: Older Linux distributions use the name "libusbx-devel" or just
|
||||
# "libusb-devel" for LIBUSB 1.0. There is absolutely nothing we can
|
||||
# do to make this spec file build as-is on those distributions, you'll
|
||||
# need to change the "BuildRequires" line accordingly...
|
||||
|
||||
%{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}}
|
||||
%{?_with_dbus: %define _dbus --enable-dbus}
|
||||
@@ -40,12 +45,12 @@
|
||||
|
||||
Summary: CUPS
|
||||
Name: cups
|
||||
Version: 1.7.2
|
||||
Version: 1.7.4
|
||||
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.4/cups-1.7.4-source.tar.bz2
|
||||
Url: http://www.cups.org
|
||||
Packager: Anonymous <anonymous@foo.com>
|
||||
Vendor: Apple Inc.
|
||||
@@ -62,7 +67,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
|
||||
@@ -283,6 +288,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/doc/cups/it/*
|
||||
%dir /usr/share/doc/cups/ja
|
||||
/usr/share/doc/cups/ja/*
|
||||
%dir /usr/share/doc/cups/pt_BR
|
||||
/usr/share/doc/cups/pt_BR/*
|
||||
%dir /usr/share/doc/cups/ru
|
||||
/usr/share/doc/cups/ru/*
|
||||
|
||||
@@ -300,6 +307,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/locale/it/cups_it.po
|
||||
%dir /usr/share/locale/ja
|
||||
/usr/share/locale/ja/cups_ja.po
|
||||
%dir /usr/share/locale/pt_BR
|
||||
/usr/share/locale/pt_BR/cups_pt_BR.po
|
||||
%dir /usr/share/locale/ru
|
||||
/usr/share/locale/ru/cups_ru.po
|
||||
|
||||
@@ -396,5 +405,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 11946 2014-06-24 18:01:58Z msweet $".
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# "$Id: cups.spec.in 11808 2014-04-10 15:11:43Z msweet $"
|
||||
# "$Id: cups.spec.in 11946 2014-06-24 18:01:58Z msweet $"
|
||||
#
|
||||
# RPM "spec" file for CUPS.
|
||||
#
|
||||
@@ -21,6 +21,11 @@
|
||||
# dnssd - Enable/disable DNS-SD support (default = enable)
|
||||
# libusb1 - Enable/disable LIBUSB 1.0 support (default = enable)
|
||||
# static - Enable/disable static libraries (default = enable)
|
||||
#
|
||||
# Note: Older Linux distributions use the name "libusbx-devel" or just
|
||||
# "libusb-devel" for LIBUSB 1.0. There is absolutely nothing we can
|
||||
# do to make this spec file build as-is on those distributions, you'll
|
||||
# need to change the "BuildRequires" line accordingly...
|
||||
|
||||
%{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}}
|
||||
%{?_with_dbus: %define _dbus --enable-dbus}
|
||||
@@ -62,7 +67,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
|
||||
@@ -283,6 +288,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/doc/cups/it/*
|
||||
%dir /usr/share/doc/cups/ja
|
||||
/usr/share/doc/cups/ja/*
|
||||
%dir /usr/share/doc/cups/pt_BR
|
||||
/usr/share/doc/cups/pt_BR/*
|
||||
%dir /usr/share/doc/cups/ru
|
||||
/usr/share/doc/cups/ru/*
|
||||
|
||||
@@ -300,6 +307,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/locale/it/cups_it.po
|
||||
%dir /usr/share/locale/ja
|
||||
/usr/share/locale/ja/cups_ja.po
|
||||
%dir /usr/share/locale/pt_BR
|
||||
/usr/share/locale/pt_BR/cups_pt_BR.po
|
||||
%dir /usr/share/locale/ru
|
||||
/usr/share/locale/ru/cups_ru.po
|
||||
|
||||
@@ -396,5 +405,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 11946 2014-06-24 18:01:58Z msweet $".
|
||||
#
|
||||
|
||||
+31
-6
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: client.c 11642 2014-02-27 15:57:59Z msweet $"
|
||||
* "$Id: client.c 12009 2014-07-09 17:02:38Z msweet $"
|
||||
*
|
||||
* Client routines for the CUPS scheduler.
|
||||
*
|
||||
@@ -2143,6 +2143,9 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */
|
||||
* Grab any request data from the connection...
|
||||
*/
|
||||
|
||||
if (!httpWait(HTTP(con), 0))
|
||||
return;
|
||||
|
||||
if ((ipp_state = ippRead(&(con->http), con->request)) == IPP_ERROR)
|
||||
{
|
||||
cupsdLogMessage(CUPSD_LOG_ERROR,
|
||||
@@ -2210,7 +2213,8 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */
|
||||
{
|
||||
if (!httpWait(HTTP(con), 0))
|
||||
return;
|
||||
else if ((bytes = httpRead2(HTTP(con), line, sizeof(line))) < 0)
|
||||
|
||||
if ((bytes = httpRead2(HTTP(con), line, sizeof(line))) < 0)
|
||||
{
|
||||
if (con->http.error && con->http.error != EPIPE)
|
||||
cupsdLogMessage(CUPSD_LOG_DEBUG,
|
||||
@@ -3323,7 +3327,7 @@ get_file(cupsd_client_t *con, /* I - Client connection */
|
||||
if ((ptr = strchr(filename, '?')) != NULL)
|
||||
*ptr = '\0';
|
||||
|
||||
if ((status = stat(filename, filestats)) != 0)
|
||||
if ((status = lstat(filename, filestats)) != 0)
|
||||
{
|
||||
/*
|
||||
* Drop the language prefix and try the root directory...
|
||||
@@ -3335,12 +3339,33 @@ get_file(cupsd_client_t *con, /* I - Client connection */
|
||||
if ((ptr = strchr(filename, '?')) != NULL)
|
||||
*ptr = '\0';
|
||||
|
||||
status = stat(filename, filestats);
|
||||
status = lstat(filename, filestats);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* If we're found a directory, get the index.html file instead...
|
||||
* If we've found a symlink, 404 the sucker to avoid disclosing information.
|
||||
*/
|
||||
|
||||
if (!status && S_ISLNK(filestats->st_mode))
|
||||
{
|
||||
cupsdLogMessage(CUPSD_LOG_INFO, "[Client %d] Symlinks such as \"%s\" are not allowed.", con->http.fd, filename);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Similarly, if the file/directory does not have world read permissions, do
|
||||
* not allow access...
|
||||
*/
|
||||
|
||||
if (!status && !(filestats->st_mode & S_IROTH))
|
||||
{
|
||||
cupsdLogMessage(CUPSD_LOG_INFO, "[Client %d] Files/directories such as \"%s\" must be world-readable.", con->http.fd, filename);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* If we've found a directory, get the index.html file instead...
|
||||
*/
|
||||
|
||||
if (!status && S_ISDIR(filestats->st_mode))
|
||||
@@ -4370,5 +4395,5 @@ write_pipe(cupsd_client_t *con) /* I - Client connection */
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: client.c 11642 2014-02-27 15:57:59Z msweet $".
|
||||
* End of "$Id: client.c 12009 2014-07-09 17:02:38Z msweet $".
|
||||
*/
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: conf.c 11488 2013-12-22 05:04:41Z msweet $"
|
||||
* "$Id: conf.c 11932 2014-06-16 16:13:06Z msweet $"
|
||||
*
|
||||
* Configuration routines for the CUPS scheduler.
|
||||
*
|
||||
@@ -104,7 +104,7 @@ static const cupsd_var_t cupsd_vars[] =
|
||||
{ "MaxJobs", &MaxJobs, CUPSD_VARTYPE_INTEGER },
|
||||
{ "MaxJobsPerPrinter", &MaxJobsPerPrinter, CUPSD_VARTYPE_INTEGER },
|
||||
{ "MaxJobsPerUser", &MaxJobsPerUser, CUPSD_VARTYPE_INTEGER },
|
||||
{ "MaxJobTime", &MaxJobTime, CUPSD_VARTYPE_INTEGER },
|
||||
{ "MaxJobTime", &MaxJobTime, CUPSD_VARTYPE_TIME },
|
||||
{ "MaxLeaseDuration", &MaxLeaseDuration, CUPSD_VARTYPE_TIME },
|
||||
{ "MaxLogSize", &MaxLogSize, CUPSD_VARTYPE_INTEGER },
|
||||
{ "MaxRequestSize", &MaxRequestSize, CUPSD_VARTYPE_INTEGER },
|
||||
@@ -4063,5 +4063,5 @@ set_policy_defaults(cupsd_policy_t *pol)/* I - Policy */
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: conf.c 11488 2013-12-22 05:04:41Z msweet $".
|
||||
* End of "$Id: conf.c 11932 2014-06-16 16:13:06Z msweet $".
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: dirsvc.c 11688 2014-03-05 21:11:32Z msweet $"
|
||||
* "$Id: dirsvc.c 11906 2014-06-09 18:33:24Z msweet $"
|
||||
*
|
||||
* Directory services routines for the CUPS scheduler.
|
||||
*
|
||||
@@ -237,11 +237,13 @@ cupsdStartBrowsing(void)
|
||||
if (BrowseLocalProtocols & BROWSE_SMB)
|
||||
update_smb(1);
|
||||
|
||||
#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
|
||||
/*
|
||||
* Register the individual printers
|
||||
*/
|
||||
|
||||
dnssdRegisterAllPrinters(0);
|
||||
#endif /* HAVE_DNSSD || HAVE_AVAHI */
|
||||
}
|
||||
|
||||
|
||||
@@ -255,6 +257,7 @@ cupsdStopBrowsing(void)
|
||||
if (!Browsing || !BrowseLocalProtocols)
|
||||
return;
|
||||
|
||||
#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
|
||||
/*
|
||||
* De-register the individual printers
|
||||
*/
|
||||
@@ -265,7 +268,6 @@ cupsdStopBrowsing(void)
|
||||
* Shut down browsing sockets...
|
||||
*/
|
||||
|
||||
#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
|
||||
if ((BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster)
|
||||
dnssdStop();
|
||||
#endif /* HAVE_DNSSD || HAVE_AVAHI */
|
||||
@@ -1548,7 +1550,7 @@ get_auth_info_required(
|
||||
if (i)
|
||||
*bufptr++ = ',';
|
||||
|
||||
strlcpy(bufptr, p->auth_info_required[i], bufsize - (bufptr - buffer));
|
||||
strlcpy(bufptr, p->auth_info_required[i], bufsize - (size_t)(bufptr - buffer));
|
||||
bufptr += strlen(bufptr);
|
||||
}
|
||||
|
||||
@@ -1814,5 +1816,5 @@ update_smb(int onoff) /* I - 1 = turn on, 0 = turn off */
|
||||
|
||||
|
||||
/*
|
||||
* End of "$Id: dirsvc.c 11688 2014-03-05 21:11:32Z msweet $".
|
||||
* End of "$Id: dirsvc.c 11906 2014-06-09 18:33:24Z msweet $".
|
||||
*/
|
||||
|
||||
+3
-10
@@ -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 $".
|
||||
*/
|
||||
|
||||
@@ -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
@@ -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 $".
|
||||
*/
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">Mou totes les tasques</OPTION>
|
||||
<OPTION VALUE="purge-jobs">Cancel·la totes les tasques</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">Configura com a servidor per defecte</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">Configura els permisos dels usuaris</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">Přesun všech úloh</OPTION>
|
||||
<OPTION VALUE="purge-jobs">Výmaz všech úloh</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">Nastavení jako výchozí na serveru</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">Nastavení přístupu uživatelů</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">Alle Aufträge verschieben</OPTION>
|
||||
<OPTION VALUE="purge-jobs">Alle Aufträge abbrechen</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">Als Standard festlegen</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">Erlaubte Benutzer festlegen</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">Mover todos los trabajos</OPTION>
|
||||
<OPTION VALUE="purge-jobs">Cancelar todos los trabajos</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">Poner como predeterminada del servidor</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">Establecer usuarios permitidos</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">Transférer toutes les tâches</OPTION>
|
||||
<OPTION VALUE="purge-jobs">Purger toutes les tâches</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">Définir par défaut</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">Définir les autorisations</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">Sposta tutte le stampe</OPTION>
|
||||
<OPTION VALUE="purge-jobs">Elimina tutte le stampe</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">Imposta come predefinita</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">Imposta gli utenti autorizzati</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">すべてのジョブの移動</OPTION>
|
||||
<OPTION VALUE="purge-jobs">すべてのジョブをキャンセル</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="進む"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">サーバーのデフォルトの設定</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">許可するユーザーの設定</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="進む" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="進む"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<OPTION VALUE="move-jobs">Move All Jobs</OPTION>
|
||||
<OPTION VALUE="purge-jobs">Cancel All Jobs</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
||||
@@ -31,7 +31,7 @@
|
||||
<OPTION VALUE="set-as-default">Set As Server Default</OPTION>
|
||||
<OPTION VALUE="set-allowed-users">Set Allowed Users</OPTION>
|
||||
</SELECT>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
||||
<NOSCRIPT><INPUT TYPE="SUBMIT" VALUE="Go"></NOSCRIPT>
|
||||
</FORM>
|
||||
|
||||
<TABLE SUMMARY="{printer_name}">
|
||||
|
||||
@@ -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í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"><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"><BR>
|
||||
<SMALL>(Localização legível para humanos, tal como "Laborató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>
|
||||
@@ -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>
|
||||
@@ -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> </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> </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>
|
||||
@@ -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> </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>▼</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>
|
||||
Máximo de clientes\:
|
||||
<INPUT TYPE="TEXT" NAME="MAX_CLIENTS" VALUE="{?max_clients}" SIZE="6"><BR>
|
||||
<INPUT TYPE="CHECKBOX" NAME="REMOTE_ANY" {?remote_any}> Permitir impressão a partir da Internet<BR>
|
||||
<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>
|
||||
Máximo de trabalhos (0 para sem limite)\:
|
||||
<INPUT TYPE="TEXT" NAME="MAX_JOBS" VALUE="{?max_jobs}" SIZE="6"><BR>
|
||||
Reter metadados\:
|
||||
<INPUT TYPE="TEXT" NAME="PRESERVE_JOB_HISTORY" VALUE="{?preserve_job_history}" SIZE="6"><BR>
|
||||
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>
|
||||
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>▶</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>
|
||||
<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> </TD><TD>{notify_events}</TD><TD NOWRAP> {notify_printer_name?{notify_printer_name}:Todas as filas}</TD></TR>}
|
||||
</TBODY>
|
||||
</TABLE>:}
|
||||
@@ -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>
|
||||
@@ -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> </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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,3 @@
|
||||
<DIV CLASS="indent">
|
||||
<H3 CLASS="title">Trabalhos</H3>
|
||||
</DIV>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1 @@
|
||||
<P ALIGN="CENTER">{total=0?Nenhuma classe:Mostrando {#printer_name} de {total} classe{total=1?:s}}.</P>
|
||||
@@ -0,0 +1,11 @@
|
||||
{#printer_name=0?:
|
||||
<TABLE CLASS="list" SUMMARY="Class List">
|
||||
<THEAD>
|
||||
<TR><TH><A HREF="{THISURL}?QUERY={?QUERY}&WHICH_JOBS={?WHICH_JOBS}&FIRST={FIRST}&ORDER={ORDER=dec?asc:dec}">{ORDER=dec?<SMALL>▲</SMALL> Nome da fila <SMALL>▲</SMALL>:<SMALL>▼</SMALL> Nome da fila <SMALL>▼</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>}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,9 @@
|
||||
<DIV CLASS="indent">
|
||||
|
||||
<H2 CLASS="title">Erro {?title} {?printer_name}</H2>
|
||||
|
||||
<P>{?message?{message}:Erro}:</P>
|
||||
|
||||
<BLOCKQUOTE>{error}</BLOCKQUOTE>
|
||||
|
||||
</DIV>
|
||||
@@ -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="/"> Início </A></TD>
|
||||
<TD CLASS="{SECTION=admin?:un}sel"><A HREF="/admin"> Administração </A></TD>
|
||||
<TD CLASS="{SECTION=classes?:un}sel"><A HREF="/classes/"> Classes </A></TD>
|
||||
<TD CLASS="{SECTION=help?:un}sel"><A HREF="/help/"> Ajuda online </A></TD>
|
||||
<TD CLASS="{SECTION=jobs?:un}sel"><A HREF="/jobs/"> Trabalhos </A></TD>
|
||||
<TD CLASS="{SECTION=printers?:un}sel"><A HREF="/printers/"> Impressoras </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">
|
||||
|
||||
@@ -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>}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,36 @@
|
||||
{#job_id=0?:
|
||||
<TABLE CLASS="list" SUMMARY="Job List">
|
||||
<THEAD>
|
||||
<TR><TH><A HREF="{THISURL}?QUERY={?QUERY}&WHICH_JOBS={?WHICH_JOBS}&FIRST={FIRST}&ORDER={ORDER=dec?asc:dec}">{ORDER=dec?<SMALL>▲</SMALL> ID <SMALL>▲</SMALL>:<SMALL>▼</SMALL> ID <SMALL>▼</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}):} </TD>
|
||||
<TD>{?job_name=?Desconhecido:{job_name}} </TD>
|
||||
<TD>{?job_originating_user_name=?Oculto:{job_originating_user_name}} </TD>
|
||||
<TD>{job_k_octets}k </TD>
|
||||
<TD>{job_media_sheets_completed=0?Desconhecido:{?job_media_sheets_completed}} </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}}}}}}} {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>:}
|
||||
</TD>
|
||||
</TR>
|
||||
}
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,5 @@
|
||||
<DIV CLASS="tab" ID="{group_id}">
|
||||
|
||||
<H3 ALIGN="CENTER">{group}</H3>
|
||||
|
||||
<TABLE WIDTH="100%">
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Alguns arquivos não foram exibidos porque demasiados arquivos foram alterados neste diff Mostrar Mais
Referência em uma Nova Issue
Bloquear um usuário