Comparar commits
1 Commits
| Autor | SHA1 | Data | |
|---|---|---|---|
| 383d0dd8b6 |
@@ -1,6 +1,178 @@
|
||||
CHANGES.txt - 2007-02-06
|
||||
CHANGES.txt - 2007-07-09
|
||||
------------------------
|
||||
|
||||
CHANGES IN CUPS V1.2.12
|
||||
|
||||
- The PHP cups_print_file() function crashed if the options
|
||||
array contained non-string option values (STR #2430)
|
||||
- The image/tiff file matching rule incorrectly identified
|
||||
some text files as TIFF files (STR #2431)
|
||||
- The filter(7) man page incorrectly documented the
|
||||
"PAGE: total #-pages" message (STR #2427)
|
||||
- PCL text files were mis-identified as HP-GL/2 and
|
||||
caused the HP-GL/2 filter to hang (STR #2423)
|
||||
- When printing to a queue with user ACLs, the scheduler
|
||||
incorrectly returned a quota error instead of a "not
|
||||
allowed to print" error (STR #2409)
|
||||
- cupsaddsmb could get in a loop if no printer drivers
|
||||
were installed (STR #2407)
|
||||
- cupsRasterReadHeader() did not byte-swap the header
|
||||
properly when compiled with certain versions of GCC.
|
||||
- The IPP backend did not send the document-format
|
||||
attribute for filtered jobs (STR #2411)
|
||||
- Some PPD files could cause a crash in ppdOpen2 (STR
|
||||
#2408)
|
||||
- The web admin interface incorrectly handled the "share
|
||||
printers" and "show remote printers" settings (STR
|
||||
#2393)
|
||||
- The scheduler's log messages about AuthClass and
|
||||
AuthGroupName advised using a replacement directive but
|
||||
had the wrong syntax (STR #2400)
|
||||
- Updated the PostScript/PJL and HP-GL/2 MIME rules to
|
||||
look in the first 4k of the file, not just the first 1k
|
||||
(STR #2386)
|
||||
- Updated the Italian localization (STR #2382)
|
||||
|
||||
|
||||
CHANGES IN CUPS V1.2.11
|
||||
|
||||
- Updated the launchd support on Mac OS X to better
|
||||
support reconfiguration.
|
||||
- "make distclean" didn't remove all generated files
|
||||
(STR #2366)
|
||||
- Fixed a bug in the advertisement of classes (STR
|
||||
#2373)
|
||||
- The IPP backend now stays running until the job is
|
||||
actually printed by the remote server; previously
|
||||
it would stop monitoring the job if it was held or
|
||||
temporarily stopped (STR #2352)
|
||||
- PDF files were not always printed using the correct
|
||||
orientation (STR #2348)
|
||||
- The scheduler could crash if you specified a bad file:
|
||||
URI for a printer (STR #2351)
|
||||
- The Renew-Subscription operation now returns the
|
||||
notify-lease-duration value that was used (STR #2346)
|
||||
- The IPP backend sent job options to IPP printers,
|
||||
however some printers tried to override the options
|
||||
embedded in the PS/PCL stream with those job options
|
||||
(STR #2349)
|
||||
- ppdLocalize() now also tries a country-specific
|
||||
localization for when localizing to a generic locale
|
||||
name.
|
||||
- The cupstestppd program now allows for partial
|
||||
localizations to reduce the size of universal PPD
|
||||
files.
|
||||
- Chinese PPD files were incorrectly tagged with the
|
||||
"cn" locale (should have been "zh")
|
||||
- The backends now manage the printer-state-reasons
|
||||
attribute more accurately (STR #2345)
|
||||
- Java, PHP, Perl, and Python scripts did not work
|
||||
properly (STR #2342)
|
||||
- The scheduler would take forever to start if the
|
||||
maximum number of file descriptors was set to
|
||||
"unlimited" (STR #2329)
|
||||
- The page-ranges option was incorrectly applied to the
|
||||
banner pages (STR #2336)
|
||||
- Fixed some GCC compile warnings (STR #2340)
|
||||
- The DBUS notification code was broken for older
|
||||
versions of DBUS (STR #2327)
|
||||
- The IPv6 code did not compile on HP-UX 11.23 (STR
|
||||
#2331)
|
||||
- PPD constraints did not work properly with custom
|
||||
options.
|
||||
- Regular PPD options with the name "CustomFoo" did
|
||||
not work.
|
||||
- The USB backend did not work on NetBSD (STR #2324)
|
||||
- The printer-state-reasons attribute was incorrectly
|
||||
cleared after a job completed (STR #2323)
|
||||
- The scheduler did not set the printer operation policy
|
||||
on startup, only on soft reload (STR #2319)
|
||||
- The AP_FIRSTPAGE_InputSlot option did not clear any
|
||||
ManualFeed setting that was made, which caused problems
|
||||
with some PPD files (STR #2318)
|
||||
- cupsDoFileRequest() and cupsDoRequest() did not abort
|
||||
when getting an error in the response (STR #2315)
|
||||
- The scheduler did not schedule jobs properly to remote
|
||||
or nested classes (STR #2317)
|
||||
- Updated the mime.types and mime.convs headers to warn
|
||||
that the files are overwritten when CUPS is installed.
|
||||
Local changes should go in local.types or local.convs,
|
||||
respectively (STR #2310)
|
||||
- The scheduler could get in an infinite loop if a
|
||||
printer in an implicit class disappeared (STR #2311)
|
||||
- The pstops filter did not handle %%EndFeature comments
|
||||
properly (STR #2306)
|
||||
- Fixed a problem with the Polish web page printer icons
|
||||
(STR #2305)
|
||||
- ppdLocalize() now also localizes the cupsICCProfile
|
||||
attributes.
|
||||
- The scheduler still had a reference to the incorrect
|
||||
"notify-recipient" attribute (STR #2307)
|
||||
- The "make check" and "make test" subscription tests did
|
||||
not set the locale (STR #2307)
|
||||
- The "make check" and "make test" subscription tests
|
||||
incorrectly used the notify-recipient attribute instead
|
||||
of notify-recipient-uri (STR #2307)
|
||||
- cupsRasterInterpretPPD() incorrectly limited the
|
||||
cupsBorderlessScalingFactor when specified in the
|
||||
job options.
|
||||
|
||||
|
||||
CHANGES IN CUPS V1.2.10
|
||||
|
||||
- ppdLocalize() now supports localizing for Japanese
|
||||
using the "jp" locale name used by the ppdmerge
|
||||
program from the CUPS DDK 1.1.0 (STR #2301)
|
||||
- _cupsAdminSetServerSettings() did not support changing
|
||||
of top-level directives as designed.
|
||||
- The init script path check was broken.
|
||||
- CUPS incorrectly used the attribute "notify-recipient"
|
||||
instead of "notify-recicpient-uri" in several places
|
||||
(STR #2297)
|
||||
- Fixed a configure script bug on MirBSD (STR #2294)
|
||||
- The pdftops filter did not limit the amount of recursion
|
||||
of page sets (STR #2293)
|
||||
- Custom page sizes with fractional point sizes did not
|
||||
work (STR #2296)
|
||||
- The lpoptions command would crash when adding or removing
|
||||
options on a system with no printers (STR #2295)
|
||||
|
||||
|
||||
CHANGES IN CUPS V1.2.9
|
||||
|
||||
- The scheduler did not use the default job-sheets
|
||||
(banners) for implicit classes (STR #2284)
|
||||
- The scheduler could crash when listing complete jobs
|
||||
that had been unloaded from memory (STR #2288)
|
||||
- The French localization was doubled up (STR #2287)
|
||||
- Build system fixes for several platforms (STR #2260,
|
||||
STR #2275)
|
||||
- The scheduler's openssl certificate generation code was
|
||||
broken on some platforms (STR #2282)
|
||||
- The scheduler's log rotation check for devices was
|
||||
broken (STR #2278)
|
||||
- The LPD mini-daemon did not handle the document-format
|
||||
option correctly (STR #2266)
|
||||
- The pdftops filter ignored the "match" size option in the
|
||||
pdftops.conf file (STR #2285)
|
||||
- cupstestppd now validates UTF-8 text strings in
|
||||
globalized PPD files (STR #2283)
|
||||
- The outputorder=reverse option did not work with all
|
||||
printers (STR #2279)
|
||||
- Classes containing other classes did not always work
|
||||
(STR #2255)
|
||||
- Printer location and description information was lost
|
||||
if the corresponding string contained the "#" character
|
||||
(STR #2254)
|
||||
- cupsRemoveOption() did not work properly (STR #2264)
|
||||
- The USB backend did not work with some USB to parallel
|
||||
cables on Mac OS X.
|
||||
- The test page did not print the rulers properly on
|
||||
large media sizes (STR #2252)
|
||||
- The text filter could crash when pretty printing certain
|
||||
types of files (STR #2158)
|
||||
|
||||
|
||||
CHANGES IN CUPS V1.2.8
|
||||
|
||||
- Documentation fixes (STR #2141, STR #2157)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
INSTALL - CUPS v1.2.8 - 2007-02-14
|
||||
----------------------------------
|
||||
INSTALL - CUPS v1.2.11 - 2007-05-08
|
||||
-----------------------------------
|
||||
|
||||
This file describes how to compile and install CUPS from source
|
||||
code. For more information on CUPS see the file called
|
||||
|
||||
@@ -214,6 +214,9 @@ LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
|
||||
LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
|
||||
MANDIR = $(BUILDROOT)@mandir@
|
||||
PMANDIR = $(BUILDROOT)@PMANDIR@
|
||||
RCLEVELS = @RCLEVELS@
|
||||
RCSTART = @RCSTART@
|
||||
RCSTOP = @RCSTOP@
|
||||
REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
|
||||
SBINDIR = $(BUILDROOT)@sbindir@
|
||||
SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# Top-level Makefile for the Common UNIX Printing System (CUPS).
|
||||
#
|
||||
# Copyright 1997-2006 by Easy Software Products, all rights reserved.
|
||||
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
|
||||
#
|
||||
# These coded instructions, statements, and computer programs are the
|
||||
# property of Easy Software Products and are protected by Federal
|
||||
@@ -66,6 +66,7 @@ distclean: clean
|
||||
$(RM) cups-config conf/cupsd.conf conf/pam.std
|
||||
$(RM) doc/help/standard.html doc/index.html
|
||||
$(RM) init/cups.sh init/cups-lpd
|
||||
$(RM) man/client.conf.man
|
||||
$(RM) man/cups-deviced.man man/cups-driverd.man
|
||||
$(RM) man/cups-lpd.man man/cupsaddsmb.man man/cupsd.man
|
||||
$(RM) man/cupsd.conf.man man/lpoptions.man
|
||||
@@ -103,14 +104,17 @@ install: installhdrs
|
||||
echo Installing init scripts...; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \
|
||||
$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/init.d/cups; \
|
||||
for level in $(RCLEVELS); do \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc$${level}.d; \
|
||||
$(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc$${level}.d/S$(RCSTART)cups; \
|
||||
if test `uname` = HP-UX; then \
|
||||
level=`expr $$level - 1`; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc$${level}.d; \
|
||||
fi; \
|
||||
$(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc$${level}.d/K$(RCSTOP)cups; \
|
||||
done; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc0.d; \
|
||||
$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc0.d/K00cups; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc2.d; \
|
||||
$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc2.d/S99cups; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc3.d; \
|
||||
$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc3.d/S99cups; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc5.d; \
|
||||
$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc5.d/S99cups; \
|
||||
$(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc0.d/K$(RCSTOP)cups; \
|
||||
fi
|
||||
if test "x$(INITDIR)" = x -a "x$(INITDDIR)" != x; then \
|
||||
$(INSTALL_DIR) $(BUILDROOT)$(INITDDIR); \
|
||||
@@ -118,12 +122,21 @@ install: installhdrs
|
||||
echo Installing StartupItems files...; \
|
||||
$(INSTALL_SCRIPT) init/PrintingServices $(BUILDROOT)$(INITDDIR)/PrintingServices; \
|
||||
$(INSTALL_DATA) init/StartupParameters.plist $(BUILDROOT)$(INITDDIR)/StartupParameters.plist; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDDIR)/Resources/English.lproj; \
|
||||
$(INSTALL_DIR) $(BUILDROOT)$(INITDDIR)/Resources/English.lproj; \
|
||||
$(INSTALL_DATA) init/Localizable.strings $(BUILDROOT)$(INITDDIR)/Resources/English.lproj/Localizable.strings; \
|
||||
elif test "$(INITDDIR)" = "/System/Library/LaunchDaemons"; then \
|
||||
echo Installing LaunchDaemons configuration files...; \
|
||||
$(INSTALL_DATA) init/org.cups.cupsd.plist $(BUILDROOT)$(DEFAULT_LAUNCHD_CONF); \
|
||||
$(INSTALL_DATA) init/org.cups.cups-lpd.plist $(BUILDROOT)/System/Library/LaunchDaemons; \
|
||||
case `uname -r` in \
|
||||
8.*) \
|
||||
$(INSTALL_DIR) $(BUILDROOT)/System/Library/StartupItems/PrintingServices; \
|
||||
$(INSTALL_SCRIPT) init/PrintingServices.launchd $(BUILDROOT)/System/Library/StartupItems/PrintingServices/PrintingServices; \
|
||||
$(INSTALL_DATA) init/StartupParameters.plist $(BUILDROOT)/System/Library/StartupItems/PrintingServices/StartupParameters.plist; \
|
||||
$(INSTALL_DIR) $(BUILDROOT)/System/Library/StartupItems/PrintingServices/Resources/English.lproj; \
|
||||
$(INSTALL_DATA) init/Localizable.strings $(BUILDROOT)/System/Library/StartupItems/PrintingServices/Resources/English.lproj/Localizable.strings; \
|
||||
;; \
|
||||
esac \
|
||||
else \
|
||||
echo Installing RC script...; \
|
||||
$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDDIR)/cups; \
|
||||
@@ -198,7 +211,9 @@ uninstall:
|
||||
$(RM) $(BUILDROOT)$(INITDDIR)/Resources/English.lproj/Localizable.strings; \
|
||||
$(RMDIR) $(BUILDROOT)$(INITDDIR)/Resources/English.lproj; \
|
||||
elif test "$(INITDDIR)" = "/System/Library/LaunchDaemons"; then \
|
||||
$(RM) $(BUILDROOT)$(DEFAULT_LAUNCHD_CONF); \
|
||||
$(RM) $(BUILDROOT)$(INITDDIR)/org.cups.cupsd.plist; \
|
||||
$(RM) $(BUILDROOT)$(INITDDIR)/org.cups.cups-lpd.plist; \
|
||||
$(RMDIR) $(BUILDROOT)/System/Library/StartupItems/PrintingServices; \
|
||||
else \
|
||||
$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDDIR)/cups; \
|
||||
fi \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
README - CUPS v1.2.8 - 2007-02-14
|
||||
---------------------------------
|
||||
README - CUPS v1.2.11 - 2007-05-08
|
||||
----------------------------------
|
||||
|
||||
Looking for compile instructions? Read the file "INSTALL.txt"
|
||||
instead...
|
||||
|
||||
@@ -101,6 +101,7 @@ main(int argc, /* I - Number of command-line args */
|
||||
char *argv[]) /* I - Command-line arguments */
|
||||
{
|
||||
int i; /* Looping var */
|
||||
int send_options; /* Send job options? */
|
||||
int num_options; /* Number of printer options */
|
||||
cups_option_t *options; /* Printer options */
|
||||
char method[255], /* Method in URI */
|
||||
@@ -416,6 +417,8 @@ main(int argc, /* I - Number of command-line args */
|
||||
filename = tmpfilename;
|
||||
files = &filename;
|
||||
num_files = 1;
|
||||
|
||||
send_options = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -426,6 +429,8 @@ main(int argc, /* I - Number of command-line args */
|
||||
num_files = argc - 6;
|
||||
files = argv + 6;
|
||||
|
||||
send_options = strncasecmp(content_type, "application/vnd.cups-", 21) != 0;
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
if (compression)
|
||||
compress_files(num_files, files);
|
||||
@@ -853,6 +858,7 @@ main(int argc, /* I - Number of command-line args */
|
||||
content_type = "application/postscript";
|
||||
copies = 1;
|
||||
copies_remaining = 1;
|
||||
send_options = 0;
|
||||
}
|
||||
}
|
||||
#endif /* __APPLE__ */
|
||||
@@ -864,11 +870,11 @@ main(int argc, /* I - Number of command-line args */
|
||||
break;
|
||||
|
||||
if (i < format_sup->num_values)
|
||||
num_options = cupsAddOption("document-format", content_type,
|
||||
num_options, &options);
|
||||
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
|
||||
"document-format", NULL, content_type);
|
||||
}
|
||||
|
||||
if (copies_sup && version > 0)
|
||||
if (copies_sup && version > 0 && send_options)
|
||||
{
|
||||
/*
|
||||
* Only send options if the destination printer supports the copies
|
||||
@@ -1078,8 +1084,7 @@ main(int argc, /* I - Number of command-line args */
|
||||
* Stop polling if the job is finished or pending-held...
|
||||
*/
|
||||
|
||||
if (job_state->values[0].integer > IPP_JOB_PROCESSING ||
|
||||
job_state->values[0].integer == IPP_JOB_HELD)
|
||||
if (job_state->values[0].integer > IPP_JOB_STOPPED)
|
||||
{
|
||||
if ((job_sheets = ippFindAttribute(response,
|
||||
"job-media-sheets-completed",
|
||||
|
||||
@@ -101,7 +101,8 @@ backendRunLoop(int print_fd, /* I - Print file descriptor */
|
||||
* Now loop until we are out of data from print_fd...
|
||||
*/
|
||||
|
||||
for (print_bytes = 0, print_ptr = print_buffer, offline = 0, paperout = 0, total_bytes = 0;;)
|
||||
for (print_bytes = 0, print_ptr = print_buffer, offline = -1,
|
||||
paperout = -1, total_bytes = 0;;)
|
||||
{
|
||||
/*
|
||||
* Use select() to determine whether we have data to copy around...
|
||||
@@ -125,7 +126,7 @@ backendRunLoop(int print_fd, /* I - Print file descriptor */
|
||||
* Pause printing to clear any pending errors...
|
||||
*/
|
||||
|
||||
if (errno == ENXIO && !offline)
|
||||
if (errno == ENXIO && offline != 1)
|
||||
{
|
||||
fputs("STATE: +offline-error\n", stderr);
|
||||
fputs("INFO: Printer is currently off-line.\n", stderr);
|
||||
@@ -203,7 +204,7 @@ backendRunLoop(int print_fd, /* I - Print file descriptor */
|
||||
|
||||
if (errno == ENOSPC)
|
||||
{
|
||||
if (!paperout)
|
||||
if (paperout != 1)
|
||||
{
|
||||
fputs("ERROR: Out of paper!\n", stderr);
|
||||
fputs("STATE: +media-empty-error\n", stderr);
|
||||
@@ -212,7 +213,7 @@ backendRunLoop(int print_fd, /* I - Print file descriptor */
|
||||
}
|
||||
else if (errno == ENXIO)
|
||||
{
|
||||
if (!offline)
|
||||
if (offline != 1)
|
||||
{
|
||||
fputs("STATE: +offline-error\n", stderr);
|
||||
fputs("INFO: Printer is currently off-line.\n", stderr);
|
||||
|
||||
@@ -227,7 +227,7 @@ static void parse_pserror (char *sockBuffer, int len);
|
||||
* 'list_devices()' - List all USB devices.
|
||||
*/
|
||||
|
||||
void list_devices()
|
||||
static void list_devices()
|
||||
{
|
||||
iterate_printers(list_device_callback, NULL);
|
||||
}
|
||||
@@ -237,7 +237,7 @@ void list_devices()
|
||||
* 'print_device()' - Print a file to a USB device.
|
||||
*/
|
||||
|
||||
int /* O - Exit status */
|
||||
static int /* O - Exit status */
|
||||
print_device(const char *uri, /* I - Device URI */
|
||||
const char *hostname, /* I - Hostname/manufacturer */
|
||||
const char *resource, /* I - Resource/modelname */
|
||||
@@ -465,16 +465,27 @@ static Boolean list_device_callback(void *refcon, io_service_t obj)
|
||||
copy_devicestring(obj, &deviceIDString, &deviceLocation);
|
||||
if (deviceIDString != NULL) {
|
||||
CFStringRef make = NULL, model = NULL, serial = NULL;
|
||||
char uristr[1024], makestr[1024], modelstr[1024], serialstr[1024], optionsstr[1024];
|
||||
char idstr[1024];
|
||||
char uristr[1024], makestr[1024], modelstr[1024], serialstr[1024];
|
||||
char optionsstr[1024], idstr[1024];
|
||||
|
||||
copy_deviceinfo(deviceIDString, &make, &model, &serial);
|
||||
|
||||
modelstr[0] = '/';
|
||||
|
||||
CFStringGetCString(deviceIDString, idstr, sizeof(idstr), kCFStringEncodingUTF8);
|
||||
CFStringGetCString(make, makestr, sizeof(makestr), kCFStringEncodingUTF8);
|
||||
CFStringGetCString(model, &modelstr[1], sizeof(modelstr)-1, kCFStringEncodingUTF8);
|
||||
CFStringGetCString(deviceIDString, idstr, sizeof(idstr),
|
||||
kCFStringEncodingUTF8);
|
||||
|
||||
if (make)
|
||||
CFStringGetCString(make, makestr, sizeof(makestr),
|
||||
kCFStringEncodingUTF8);
|
||||
else
|
||||
strcpy(makestr, "Unknown");
|
||||
|
||||
if (model)
|
||||
CFStringGetCString(model, &modelstr[1], sizeof(modelstr)-1,
|
||||
kCFStringEncodingUTF8);
|
||||
else
|
||||
strcpy(modelstr + 1, "Printer");
|
||||
|
||||
/*
|
||||
* Fix common HP 1284 bug...
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* This file is included from "usb.c" when compiled on UNIX/Linux.
|
||||
*
|
||||
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
|
||||
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
|
||||
*
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* property of Easy Software Products and are protected by Federal
|
||||
@@ -44,7 +44,7 @@
|
||||
* Local functions...
|
||||
*/
|
||||
|
||||
int open_device(const char *uri, int *use_bc);
|
||||
static int open_device(const char *uri, int *use_bc);
|
||||
|
||||
|
||||
/*
|
||||
@@ -78,15 +78,28 @@ print_device(const char *uri, /* I - Device URI */
|
||||
|
||||
do
|
||||
{
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
/*
|
||||
* Disable backchannel data when printing to Canon or Minolta USB
|
||||
* printers - apparently these printers will return the IEEE-1284
|
||||
* device ID over and over and over when they get a read request...
|
||||
* *BSD's ulpt driver currently does not support the
|
||||
* back-channel, incorrectly returns data ready on a select(),
|
||||
* and locks up on read()...
|
||||
*/
|
||||
|
||||
use_bc = strcasecmp(hostname, "Canon") &&
|
||||
use_bc = 0;
|
||||
|
||||
#else
|
||||
/*
|
||||
* Disable backchannel data when printing to Brother, Canon, or
|
||||
* Minolta USB printers - apparently these printers will return
|
||||
* the IEEE-1284 device ID over and over and over when they get
|
||||
* a read request...
|
||||
*/
|
||||
|
||||
use_bc = strcasecmp(hostname, "Brother") &&
|
||||
strcasecmp(hostname, "Canon") &&
|
||||
strcasecmp(hostname, "Konica Minolta") &&
|
||||
strcasecmp(hostname, "Minolta");
|
||||
#endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__ */
|
||||
|
||||
if ((device_fd = open_device(uri, &use_bc)) == -1)
|
||||
{
|
||||
@@ -183,7 +196,7 @@ print_device(const char *uri, /* I - Device URI */
|
||||
* 'list_devices()' - List all USB devices.
|
||||
*/
|
||||
|
||||
void
|
||||
static void
|
||||
list_devices(void)
|
||||
{
|
||||
#ifdef __linux
|
||||
@@ -288,7 +301,7 @@ list_devices(void)
|
||||
* 'open_device()' - Open a USB device...
|
||||
*/
|
||||
|
||||
int /* O - File descriptor or -1 on error */
|
||||
static int /* O - File descriptor or -1 on error */
|
||||
open_device(const char *uri, /* I - Device URI */
|
||||
int *use_bc) /* O - Set to 0 for unidirectional */
|
||||
{
|
||||
@@ -508,7 +521,12 @@ open_device(const char *uri, /* I - Device URI */
|
||||
}
|
||||
#else
|
||||
{
|
||||
if ((fd = open(uri + 4, O_RDWR | O_EXCL)) < 0)
|
||||
if (use_bc)
|
||||
fd = open(uri + 4, O_RDWR | O_EXCL);
|
||||
else
|
||||
fd = -1;
|
||||
|
||||
if (fd < 0)
|
||||
{
|
||||
fd = open(uri + 4, O_WRONLY | O_EXCL);
|
||||
*use_bc = 0;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* USB port backend for the Common UNIX Printing System (CUPS).
|
||||
*
|
||||
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
|
||||
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
|
||||
*
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* property of Easy Software Products and are protected by Federal
|
||||
@@ -60,10 +60,10 @@
|
||||
* Local functions...
|
||||
*/
|
||||
|
||||
void list_devices(void);
|
||||
int print_device(const char *uri, const char *hostname,
|
||||
const char *resource, const char *options,
|
||||
int print_fd, int copies, int argc, char *argv[]);
|
||||
static void list_devices(void);
|
||||
static int print_device(const char *uri, const char *hostname,
|
||||
const char *resource, const char *options,
|
||||
int print_fd, int copies, int argc, char *argv[]);
|
||||
|
||||
|
||||
/*
|
||||
@@ -85,7 +85,7 @@ int print_device(const char *uri, const char *hostname,
|
||||
* 'list_devices()' - List all available USB devices to stdout.
|
||||
*/
|
||||
|
||||
void
|
||||
static void
|
||||
list_devices(void)
|
||||
{
|
||||
/*
|
||||
@@ -103,7 +103,7 @@ list_devices(void)
|
||||
* 'print_device()' - Print a file to a USB device.
|
||||
*/
|
||||
|
||||
int /* O - Exit status */
|
||||
static int /* O - Exit status */
|
||||
print_device(const char *uri, /* I - Device URI */
|
||||
const char *hostname, /* I - Hostname/manufacturer */
|
||||
const char *resource, /* I - Resource/modelname */
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* "lpr" command for the Common UNIX Printing System (CUPS).
|
||||
*
|
||||
* Copyright 1997-2006 by Easy Software Products.
|
||||
* Copyright 1997-2007 by Easy Software Products.
|
||||
*
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* property of Easy Software Products and are protected by Federal
|
||||
@@ -232,7 +232,7 @@ main(int argc, /* I - Number of command-line arguments */
|
||||
|
||||
snprintf(email, sizeof(email), "mailto:%s@%s", cupsUser(),
|
||||
httpGetHostname(NULL, buffer, sizeof(buffer)));
|
||||
num_options = cupsAddOption("notify-recipient", email,
|
||||
num_options = cupsAddOption("notify-recipient-uri", email,
|
||||
num_options, &options);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
#
|
||||
# "$Id: mime.convs 5402 2006-04-14 19:21:03Z mike $"
|
||||
# "$Id: mime.convs 6406 2007-03-27 16:11:27Z mike $"
|
||||
#
|
||||
# DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
|
||||
# VERSIONS OF CUPS. Instead, create a "local.convs" file that
|
||||
# reflects your local configuration changes.
|
||||
#
|
||||
# MIME converts file for the Common UNIX Printing System (CUPS).
|
||||
#
|
||||
# Copyright 1997-2005 by Easy Software Products.
|
||||
# Copyright 1997-2007 by Easy Software Products.
|
||||
#
|
||||
# These coded instructions, statements, and computer programs are the
|
||||
# property of Easy Software Products and are protected by Federal
|
||||
@@ -114,5 +118,5 @@ image/x-sun-raster application/vnd.cups-raster 100 imagetoraster
|
||||
#application/octet-stream application/vnd.cups-raw 0 -
|
||||
|
||||
#
|
||||
# End of "$Id: mime.convs 5402 2006-04-14 19:21:03Z mike $".
|
||||
# End of "$Id: mime.convs 6406 2007-03-27 16:11:27Z mike $".
|
||||
#
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
#
|
||||
# "$Id: mime.types 6003 2006-10-02 16:26:04Z mike $"
|
||||
# "$Id: mime.types 6625 2007-07-06 22:39:54Z mike $"
|
||||
#
|
||||
# MIME types file for the Common UNIX Printing System (CUPS).
|
||||
#
|
||||
# Copyright 1997-2005 by Easy Software Products.
|
||||
# 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 1997-2007 by Easy Software Products.
|
||||
#
|
||||
# These coded instructions, statements, and computer programs are the
|
||||
# property of Easy Software Products and are protected by Federal
|
||||
@@ -74,20 +78,20 @@
|
||||
application/pdf pdf string(0,%PDF)
|
||||
application/postscript ai eps ps string(0,%!) string(0,<04>%!) \
|
||||
contains(0,128,<1B>%-12345X) + \
|
||||
(contains(0,1024,"LANGUAGE=POSTSCRIPT") \
|
||||
contains(0,1024,"LANGUAGE = Postscript") \
|
||||
contains(0,1024,"LANGUAGE = PostScript") \
|
||||
contains(0,1024,"LANGUAGE = POSTSCRIPT") \
|
||||
(contains(0,1024,<0a>%!) + \
|
||||
!contains(0,1024,"ENTER LANGUAGE")))
|
||||
application/vnd.hp-HPGL hpgl string(0,<1B>&)\
|
||||
(contains(0,4096,"LANGUAGE=POSTSCRIPT") \
|
||||
contains(0,4096,"LANGUAGE = Postscript") \
|
||||
contains(0,4096,"LANGUAGE = PostScript") \
|
||||
contains(0,4096,"LANGUAGE = POSTSCRIPT") \
|
||||
(contains(0,4096,<0a>%!) + \
|
||||
!contains(0,4096,"ENTER LANGUAGE")))
|
||||
application/vnd.hp-HPGL hpgl \
|
||||
string(0,<1B>E<1B>%0B) \
|
||||
string(0,<1B>%-1B) string(0,<201B>)\
|
||||
string(0,BP;) string(0,IN;) string(0,DF;) \
|
||||
string(0,BPINPS;) \
|
||||
(contains(0,128,<1B>%-12345X) + \
|
||||
(contains(0,1024,"LANGUAGE=HPGL") \
|
||||
contains(0,1024,"LANGUAGE = HPGL")))
|
||||
(contains(0,4096,"LANGUAGE=HPGL") \
|
||||
contains(0,4096,"LANGUAGE = HPGL")))
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -101,7 +105,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/tiff tiff tif string(0,MM) string(0,II)
|
||||
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
|
||||
image/x-portable-bitmap pbm string(0,P1) string(0,P4)
|
||||
@@ -167,5 +171,5 @@ application/vnd.cups-raw (string(0,<1B>E) + !string(2,<1B>%0B)) \
|
||||
application/octet-stream
|
||||
|
||||
#
|
||||
# End of "$Id: mime.types 6003 2006-10-02 16:26:04Z mike $".
|
||||
# End of "$Id: mime.types 6625 2007-07-06 22:39:54Z mike $".
|
||||
#
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
dnl
|
||||
dnl "$Id: cups-common.m4 6145 2006-12-06 20:10:16Z mike $"
|
||||
dnl "$Id: cups-common.m4 6550 2007-06-04 15:38:28Z mike $"
|
||||
dnl
|
||||
dnl Common configuration stuff for the Common UNIX Printing System (CUPS).
|
||||
dnl
|
||||
dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
|
||||
dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
|
||||
dnl
|
||||
dnl These coded instructions, statements, and computer programs are the
|
||||
dnl property of Easy Software Products and are protected by Federal
|
||||
@@ -29,7 +29,7 @@ dnl Set the name of the config header file...
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl Version number information...
|
||||
CUPS_VERSION="1.2.8"
|
||||
CUPS_VERSION="1.2.12"
|
||||
CUPS_REVISION=""
|
||||
|
||||
AC_SUBST(CUPS_VERSION)
|
||||
@@ -264,5 +264,5 @@ AC_SUBST(DEFAULT_IPP_PORT)
|
||||
AC_DEFINE_UNQUOTED(CUPS_DEFAULT_IPP_PORT,$DEFAULT_IPP_PORT)
|
||||
|
||||
dnl
|
||||
dnl End of "$Id: cups-common.m4 6145 2006-12-06 20:10:16Z mike $".
|
||||
dnl End of "$Id: cups-common.m4 6550 2007-06-04 15:38:28Z mike $".
|
||||
dnl
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
dnl
|
||||
dnl "$Id: cups-compiler.m4 6145 2006-12-06 20:10:16Z mike $"
|
||||
dnl "$Id: cups-compiler.m4 6448 2007-04-10 18:24:19Z mike $"
|
||||
dnl
|
||||
dnl Compiler stuff for the Common UNIX Printing System (CUPS).
|
||||
dnl
|
||||
@@ -425,6 +425,10 @@ case $uname in
|
||||
# HP-UX 11.00 (at least) needs this definition to get the
|
||||
# u_short type used by the IP headers...
|
||||
OPTIM="$OPTIM -D_INCLUDE_HPUX_SOURCE"
|
||||
|
||||
# HP-UX 11.23 (at least) needs this definition to get the
|
||||
# IPv6 header to work...
|
||||
OPTIM="$OPTIM -D_HPUX_SOURCE"
|
||||
;;
|
||||
|
||||
OSF*)
|
||||
@@ -435,5 +439,5 @@ case $uname in
|
||||
esac
|
||||
|
||||
dnl
|
||||
dnl End of "$Id: cups-compiler.m4 6145 2006-12-06 20:10:16Z mike $".
|
||||
dnl End of "$Id: cups-compiler.m4 6448 2007-04-10 18:24:19Z mike $".
|
||||
dnl
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
dnl
|
||||
dnl "$Id: cups-defaults.m4 6234 2007-02-05 20:25:50Z mike $"
|
||||
dnl "$Id: cups-defaults.m4 6525 2007-05-08 18:56:05Z mike $"
|
||||
dnl
|
||||
dnl Default cupsd configuration settings for the Common UNIX Printing System
|
||||
dnl (CUPS).
|
||||
@@ -24,11 +24,12 @@ dnl WWW: http://www.cups.org
|
||||
dnl
|
||||
|
||||
dnl Default langugages...
|
||||
AC_ARG_WITH(languages, [ --with-languages set installed languages, default="de es et fr it ja pl sv" ],
|
||||
AC_ARG_WITH(languages, [ --with-languages set installed languages,
|
||||
default="de es et fr it ja pl sv zh_TW" ],
|
||||
if test "x$withval" != xno; then
|
||||
LANGUAGES="$withval"
|
||||
fi,
|
||||
LANGUAGES="de es et fr it ja pl sv")
|
||||
LANGUAGES="de es et fr it ja pl sv zh_TW")
|
||||
AC_SUBST(LANGUAGES)
|
||||
|
||||
dnl Default ConfigFilePerm
|
||||
@@ -252,5 +253,5 @@ fi
|
||||
AC_DEFINE_UNQUOTED(CUPS_DEFAULT_PRINTCAP, "$CUPS_DEFAULT_PRINTCAP")
|
||||
|
||||
dnl
|
||||
dnl End of "$Id: cups-defaults.m4 6234 2007-02-05 20:25:50Z mike $".
|
||||
dnl End of "$Id: cups-defaults.m4 6525 2007-05-08 18:56:05Z mike $".
|
||||
dnl
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
dnl
|
||||
dnl "$Id: cups-directories.m4 5905 2006-08-29 20:48:59Z mike $"
|
||||
dnl "$Id: cups-directories.m4 6353 2007-03-19 06:04:35Z mike $"
|
||||
dnl
|
||||
dnl Directory stuff for the Common UNIX Printing System (CUPS).
|
||||
dnl
|
||||
@@ -123,24 +123,24 @@ fi
|
||||
|
||||
dnl Setup init.d locations...
|
||||
AC_ARG_WITH(rcdir, [ --with-rcdir set path for rc scripts],rcdir="$withval",rcdir="")
|
||||
AC_ARG_WITH(rclevels, [ --with-rclevels set run levels for rc scripts],rclevels="$withval",rclevels="2 3 5")
|
||||
AC_ARG_WITH(rcstart, [ --with-rcstart set start number for rc scripts],rcstart="$withval",rcstart="99")
|
||||
AC_ARG_WITH(rcstop, [ --with-rcstop set stop number for rc scripts],rcstop="$withval",rcstop="00")
|
||||
|
||||
INITDIR=""
|
||||
INITDDIR=""
|
||||
RCLEVELS="$rclevels"
|
||||
RCSTART="$rcstart"
|
||||
RCSTOP="$rcstop"
|
||||
|
||||
if test x$rcdir = x; then
|
||||
case "$uname" in
|
||||
FreeBSD* | OpenBSD* | MirBsD* | ekkoBSD*)
|
||||
# FreeBSD and OpenBSD
|
||||
INITDIR=""
|
||||
INITDDIR=""
|
||||
;;
|
||||
|
||||
NetBSD*)
|
||||
# NetBSD
|
||||
INITDIR=""
|
||||
INITDDIR="/etc/rc.d"
|
||||
AIX*)
|
||||
INITDIR="/etc/rc.d"
|
||||
;;
|
||||
|
||||
Darwin*)
|
||||
# Darwin and MacOS X...
|
||||
INITDIR=""
|
||||
if test -x /sbin/launchd; then
|
||||
INITDDIR="/System/Library/LaunchDaemons"
|
||||
else
|
||||
@@ -148,48 +148,75 @@ if test x$rcdir = x; then
|
||||
fi
|
||||
;;
|
||||
|
||||
FreeBSD* | OpenBSD* | MirBSD* | ekkoBSD*)
|
||||
# FreeBSD and OpenBSD
|
||||
;;
|
||||
|
||||
HP-UX*)
|
||||
INITDIR="/sbin"
|
||||
RCLEVELS="2"
|
||||
RCSTART="620"
|
||||
RCSTOP="380"
|
||||
;;
|
||||
|
||||
IRIX*)
|
||||
# IRIX
|
||||
INITDIR="/etc"
|
||||
RCSTART="60"
|
||||
RCSTOP="25"
|
||||
;;
|
||||
|
||||
Linux | GNU)
|
||||
# Linux/HURD seems to choose an init.d directory at random...
|
||||
if test -d /sbin/init.d; then
|
||||
# SuSE
|
||||
INITDIR="/sbin/init.d"
|
||||
INITDDIR=".."
|
||||
else
|
||||
if test -d /etc/init.d; then
|
||||
# Others
|
||||
INITDIR="/etc"
|
||||
INITDDIR="../init.d"
|
||||
else
|
||||
# RedHat
|
||||
INITDIR="/etc/rc.d"
|
||||
INITDDIR="../init.d"
|
||||
fi
|
||||
fi
|
||||
RCSTART="81"
|
||||
RCSTOP="36"
|
||||
;;
|
||||
|
||||
OSF1* | HP-UX*)
|
||||
NetBSD*)
|
||||
# NetBSD
|
||||
INITDDIR="/etc/rc.d"
|
||||
;;
|
||||
|
||||
OSF1*)
|
||||
INITDIR="/sbin"
|
||||
INITDDIR="../init.d"
|
||||
;;
|
||||
|
||||
AIX*)
|
||||
INITDIR="/etc/rc.d"
|
||||
INITDDIR=".."
|
||||
SunOS*)
|
||||
# Solaris
|
||||
INITDIR="/etc"
|
||||
RCSTART="81"
|
||||
;;
|
||||
|
||||
*)
|
||||
INITDIR="/etc"
|
||||
INITDDIR="../init.d"
|
||||
;;
|
||||
|
||||
esac
|
||||
else
|
||||
INITDIR=""
|
||||
INITDDIR="$rcdir"
|
||||
if test "x$rclevels" = x; then
|
||||
INITDDIR="$rcdir"
|
||||
else
|
||||
INITDIR="$rcdir"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(INITDIR)
|
||||
AC_SUBST(INITDDIR)
|
||||
AC_SUBST(RCLEVELS)
|
||||
AC_SUBST(RCSTART)
|
||||
AC_SUBST(RCSTOP)
|
||||
|
||||
dnl Xinetd support...
|
||||
XINETD=""
|
||||
@@ -316,5 +343,5 @@ AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$localstatedir/run/cups")
|
||||
AC_SUBST(CUPS_STATEDIR)
|
||||
|
||||
dnl
|
||||
dnl End of "$Id: cups-directories.m4 5905 2006-08-29 20:48:59Z mike $".
|
||||
dnl End of "$Id: cups-directories.m4 6353 2007-03-19 06:04:35Z mike $".
|
||||
dnl
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
dnl
|
||||
dnl "$Id: cups-largefile.m4 4732 2005-09-30 23:23:25Z mike $"
|
||||
dnl "$Id: cups-largefile.m4 6333 2007-03-12 20:49:13Z mike $"
|
||||
dnl
|
||||
dnl Large file support stuff for the Common UNIX Printing System (CUPS).
|
||||
dnl
|
||||
@@ -30,11 +30,11 @@ LARGEFILE=""
|
||||
if test x$enable_largefile != xno; then
|
||||
LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
|
||||
|
||||
if test $ac_cv_sys_large_files = 1; then
|
||||
if test x$ac_cv_sys_large_files = x1; then
|
||||
LARGEFILE="$LARGEFILE -D_LARGE_FILES"
|
||||
fi
|
||||
|
||||
if test $ac_cv_sys_file_offset_bits = 64; then
|
||||
if test x$ac_cv_sys_file_offset_bits = x64; then
|
||||
LARGEFILE="$LARGEFILE -D_FILE_OFFSET_BITS=64"
|
||||
fi
|
||||
fi
|
||||
@@ -57,5 +57,5 @@ fi
|
||||
AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL))
|
||||
|
||||
dnl
|
||||
dnl End of "$Id: cups-largefile.m4 4732 2005-09-30 23:23:25Z mike $".
|
||||
dnl End of "$Id: cups-largefile.m4 6333 2007-03-12 20:49:13Z mike $".
|
||||
dnl
|
||||
|
||||
@@ -656,12 +656,15 @@ cupsAdminExportSamba(
|
||||
"are installed!")),
|
||||
sizeof(message));
|
||||
|
||||
_cupsSetError(IPP_INTERNAL_ERROR, message);
|
||||
_cupsSetError(IPP_NOT_FOUND, message);
|
||||
_cupsLangPrintf(logfile, "%s\n", message);
|
||||
}
|
||||
|
||||
if (have_drivers == 0)
|
||||
{
|
||||
_cupsSetError(IPP_NOT_FOUND, message);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Finally, associate the drivers we just added with the queue...
|
||||
@@ -1260,14 +1263,21 @@ _cupsAdminSetServerSettings(
|
||||
{
|
||||
if (!wrote_browsing)
|
||||
{
|
||||
int new_remote_printers = (remote_printers > 0 ||
|
||||
(remote_printers == -1 &&
|
||||
old_remote_printers > 0));
|
||||
int new_share_printers = (share_printers > 0 ||
|
||||
(share_printers == -1 &&
|
||||
old_share_printers > 0));
|
||||
|
||||
wrote_browsing = 1;
|
||||
|
||||
if (remote_printers > 0 || share_printers > 0)
|
||||
if (new_remote_printers || new_share_printers)
|
||||
{
|
||||
if (remote_printers > 0 && share_printers > 0)
|
||||
if (new_remote_printers && new_share_printers)
|
||||
cupsFilePuts(temp,
|
||||
"# Enable printer sharing and shared printers.\n");
|
||||
else if (remote_printers > 0)
|
||||
else if (new_remote_printers)
|
||||
cupsFilePuts(temp,
|
||||
"# Show shared printers on the local network.\n");
|
||||
else
|
||||
@@ -1277,10 +1287,10 @@ _cupsAdminSetServerSettings(
|
||||
cupsFilePuts(temp, "Browsing On\n");
|
||||
cupsFilePuts(temp, "BrowseOrder allow,deny\n");
|
||||
|
||||
if (remote_printers > 0)
|
||||
if (new_remote_printers)
|
||||
cupsFilePuts(temp, "BrowseAllow @LOCAL\n");
|
||||
|
||||
if (share_printers > 0)
|
||||
if (new_share_printers)
|
||||
cupsFilePuts(temp, "BrowseAddress @LOCAL\n");
|
||||
}
|
||||
else
|
||||
@@ -1508,14 +1518,13 @@ _cupsAdminSetServerSettings(
|
||||
}
|
||||
}
|
||||
else if (!in_policy && !in_location &&
|
||||
(val = cupsGetOption(line, num_settings, settings)) != NULL &&
|
||||
!cupsGetOption(line, cupsd_num_settings, cupsd_settings))
|
||||
(val = cupsGetOption(line, num_settings, settings)) != NULL)
|
||||
{
|
||||
/*
|
||||
* Add this directive to the list of directives we have written...
|
||||
* Replace this directive's value with the new one...
|
||||
*/
|
||||
|
||||
cupsd_num_settings = cupsAddOption(line, value, cupsd_num_settings,
|
||||
cupsd_num_settings = cupsAddOption(line, val, cupsd_num_settings,
|
||||
&cupsd_settings);
|
||||
|
||||
/*
|
||||
@@ -1523,7 +1532,7 @@ _cupsAdminSetServerSettings(
|
||||
* only support setting root directives, not in sections...
|
||||
*/
|
||||
|
||||
cupsFilePrintf(temp, "%s %s\n", line, value);
|
||||
cupsFilePrintf(temp, "%s %s\n", line, val);
|
||||
}
|
||||
else if (value)
|
||||
{
|
||||
@@ -1729,8 +1738,8 @@ _cupsAdminSetServerSettings(
|
||||
cupsd_num_settings, &cupsd_settings);
|
||||
|
||||
/*
|
||||
* Write the new value in its place, without indentation since we
|
||||
* only support setting root directives, not in sections...
|
||||
* Write the new value, without indentation since we only support
|
||||
* setting root directives, not in sections...
|
||||
*/
|
||||
|
||||
cupsFilePrintf(temp, "%s %s\n", setting->name, setting->value);
|
||||
|
||||
@@ -68,10 +68,10 @@ extern "C" {
|
||||
* Constants...
|
||||
*/
|
||||
|
||||
# define CUPS_VERSION 1.0208
|
||||
# define CUPS_VERSION 1.0212
|
||||
# define CUPS_VERSION_MAJOR 1
|
||||
# define CUPS_VERSION_MINOR 2
|
||||
# define CUPS_VERSION_PATCH 8
|
||||
# define CUPS_VERSION_PATCH 12
|
||||
# define CUPS_DATE_ANY -1
|
||||
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ static const _ipp_option_t ipp_options[] =
|
||||
{ "notify-lease-duration", IPP_TAG_INTEGER, IPP_TAG_SUBSCRIPTION },
|
||||
{ "notify-natural-language", IPP_TAG_LANGUAGE, IPP_TAG_SUBSCRIPTION },
|
||||
{ "notify-pull-method", IPP_TAG_KEYWORD, IPP_TAG_SUBSCRIPTION },
|
||||
{ "notify-recipient", IPP_TAG_URI, IPP_TAG_SUBSCRIPTION },
|
||||
{ "notify-recipient-uri", IPP_TAG_URI, IPP_TAG_SUBSCRIPTION },
|
||||
{ "notify-time-interval", IPP_TAG_INTEGER, IPP_TAG_SUBSCRIPTION },
|
||||
{ "notify-user-data", IPP_TAG_STRING, IPP_TAG_SUBSCRIPTION },
|
||||
{ "number-up", IPP_TAG_INTEGER, IPP_TAG_JOB },
|
||||
|
||||
@@ -508,7 +508,7 @@ cupsFileGetConf(cups_file_t *fp, /* I - CUPS file */
|
||||
*/
|
||||
|
||||
*value = NULL;
|
||||
|
||||
|
||||
while (cupsFileGets(fp, buf, buflen))
|
||||
{
|
||||
(*linenum) ++;
|
||||
@@ -519,15 +519,24 @@ cupsFileGetConf(cups_file_t *fp, /* I - CUPS file */
|
||||
|
||||
if ((ptr = strchr(buf, '#')) != NULL)
|
||||
{
|
||||
while (ptr > buf)
|
||||
if (ptr > buf && ptr[-1] == '\\')
|
||||
{
|
||||
if (!isspace(ptr[-1] & 255))
|
||||
break;
|
||||
|
||||
ptr --;
|
||||
// Unquote the #...
|
||||
_cups_strcpy(ptr - 1, ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Strip the comment and any trailing whitespace...
|
||||
while (ptr > buf)
|
||||
{
|
||||
if (!isspace(ptr[-1] & 255))
|
||||
break;
|
||||
|
||||
*ptr = '\0';
|
||||
ptr --;
|
||||
}
|
||||
|
||||
*ptr = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -603,7 +603,7 @@ cupsLangGet(const char *language) /* I - Language or locale */
|
||||
pthread_mutex_lock(&lang_mutex);
|
||||
#endif /* HAVE_PTHREAD_H */
|
||||
|
||||
if ((lang = cups_cache_lookup(langname, encoding)) != NULL)
|
||||
if ((lang = cups_cache_lookup(real, encoding)) != NULL)
|
||||
{
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
pthread_mutex_unlock(&lang_mutex);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* PPD custom option routines for the Common UNIX Printing System (CUPS).
|
||||
*
|
||||
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
|
||||
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
|
||||
*
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* property of Easy Software Products and are protected by Federal
|
||||
@@ -69,6 +69,7 @@ ppdLocalize(ppd_file_t *ppd) /* I - PPD file */
|
||||
ppd_choice_t *choice; /* Current choice */
|
||||
ppd_coption_t *coption; /* Current custom option */
|
||||
ppd_cparam_t *cparam; /* Current custom parameter */
|
||||
ppd_attr_t *attr; /* Current attribute */
|
||||
cups_lang_t *lang; /* Current language */
|
||||
char ckeyword[PPD_MAX_NAME], /* Custom keyword */
|
||||
ll_CC[6], /* Language + country locale */
|
||||
@@ -95,6 +96,32 @@ ppdLocalize(ppd_file_t *ppd) /* I - PPD file */
|
||||
strlcpy(ll_CC, lang->language, sizeof(ll_CC));
|
||||
strlcpy(ll, lang->language, sizeof(ll));
|
||||
|
||||
if (strlen(ll_CC) == 2)
|
||||
{
|
||||
/*
|
||||
* Map "ll" to primary/origin country locales to have the best
|
||||
* chance of finding a match...
|
||||
*/
|
||||
|
||||
if (!strcmp(ll_CC, "cs"))
|
||||
strcpy(ll_CC, "cs_CZ");
|
||||
else if (!strcmp(ll_CC, "en"))
|
||||
strcpy(ll_CC, "en_US");
|
||||
else if (!strcmp(ll_CC, "ja"))
|
||||
strcpy(ll_CC, "ja_JP");
|
||||
else if (!strcmp(ll_CC, "sv"))
|
||||
strcpy(ll_CC, "sv_SE");
|
||||
else if (!strcmp(ll_CC, "zh"))
|
||||
strcpy(ll_CC, "zh_CN"); /* Simplified Chinese */
|
||||
else
|
||||
{
|
||||
ll_CC[2] = '_';
|
||||
ll_CC[3] = toupper(ll_CC[0] & 255);
|
||||
ll_CC[4] = toupper(ll_CC[1] & 255);
|
||||
ll_CC[5] = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
DEBUG_printf((" lang->language=\"%s\", ll=\"%s\", ll_CC=\"%s\"...\n",
|
||||
lang->language, ll, ll_CC));
|
||||
|
||||
@@ -151,6 +178,29 @@ ppdLocalize(ppd_file_t *ppd) /* I - PPD file */
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Translate ICC profile names...
|
||||
*/
|
||||
|
||||
if ((attr = ppdFindAttr(ppd, "APCustomColorMatchingName", NULL)) != NULL)
|
||||
{
|
||||
if ((text = ppd_text(ppd, "APCustomColorMatchingName", attr->spec,
|
||||
ll_CC, ll)) != NULL)
|
||||
strlcpy(attr->text, text, sizeof(attr->text));
|
||||
}
|
||||
|
||||
for (attr = ppdFindAttr(ppd, "cupsICCProfile", NULL);
|
||||
attr;
|
||||
attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL))
|
||||
{
|
||||
cupsArraySave(ppd->sorted_attrs);
|
||||
|
||||
if ((text = ppd_text(ppd, "cupsICCProfile", attr->spec, ll_CC, ll)) != NULL)
|
||||
strlcpy(attr->text, text, sizeof(attr->text));
|
||||
|
||||
cupsArrayRestore(ppd->sorted_attrs);
|
||||
}
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -183,6 +233,19 @@ ppd_text(ppd_file_t *ppd, /* I - PPD file */
|
||||
{
|
||||
snprintf(lkeyword, sizeof(lkeyword), "%s.%s", ll, keyword);
|
||||
attr = ppdFindAttr(ppd, lkeyword, spec);
|
||||
|
||||
if (!attr && !strcmp(ll, "ja"))
|
||||
{
|
||||
/*
|
||||
* Due to a bug in the CUPS DDK 1.1.0 ppdmerge program, Japanese
|
||||
* PPD files were incorrectly assigned "jp" as the locale name
|
||||
* instead of "ja". Support both the old (incorrect) and new
|
||||
* locale names for Japanese...
|
||||
*/
|
||||
|
||||
snprintf(lkeyword, sizeof(lkeyword), "jp.%s", keyword);
|
||||
attr = ppdFindAttr(ppd, lkeyword, spec);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Option routines for the Common UNIX Printing System (CUPS).
|
||||
*
|
||||
* Copyright 1997-2006 by Easy Software Products.
|
||||
* Copyright 1997-2007 by Easy Software Products.
|
||||
*
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* property of Easy Software Products and are protected by Federal
|
||||
@@ -578,7 +578,7 @@ cupsParseOptions(
|
||||
|
||||
|
||||
/*
|
||||
* 'cupsRemoveOptions()' - Remove an option from an option array.
|
||||
* 'cupsRemoveOption()' - Remove an option from an option array.
|
||||
*
|
||||
* @since CUPS 1.2@
|
||||
*/
|
||||
@@ -622,7 +622,7 @@ cupsRemoveOption(
|
||||
free(option->value);
|
||||
|
||||
if (i > 0)
|
||||
memmove(option, option + 1, i * sizeof(cups_option_t *));
|
||||
memmove(option, option + 1, i * sizeof(cups_option_t));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -1003,7 +1003,7 @@ ppdOpen2(cups_file_t *fp) /* I - File to read from */
|
||||
for (i = 0, sptr = string; i < 4; i ++)
|
||||
ppd->custom_margins[i] = (float)_cupsStrScand(sptr, &sptr, loc);
|
||||
}
|
||||
else if (!strncmp(keyword, "Custom", 6) && !strcmp(name, "True"))
|
||||
else if (!strncmp(keyword, "Custom", 6) && !strcmp(name, "True") && !option)
|
||||
{
|
||||
DEBUG_puts("Processing Custom option...");
|
||||
|
||||
@@ -1013,11 +1013,15 @@ ppdOpen2(cups_file_t *fp) /* I - File to read from */
|
||||
|
||||
if ((option = ppdFindOption(ppd, keyword + 6)) == NULL)
|
||||
{
|
||||
int groupidx; /* Index for current group */
|
||||
ppd_group_t *gtemp; /* Temporary group */
|
||||
|
||||
|
||||
DEBUG_printf(("%s option not found for %s...\n", keyword + 6, keyword));
|
||||
|
||||
if (group)
|
||||
groupidx = group - ppd->groups; /* Save index for current group */
|
||||
|
||||
if ((gtemp = ppd_get_group(ppd, "General", _("General"), cg,
|
||||
encoding)) == NULL)
|
||||
{
|
||||
@@ -1026,6 +1030,9 @@ ppdOpen2(cups_file_t *fp) /* I - File to read from */
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (group)
|
||||
group = ppd->groups + groupidx; /* Restore group pointer */
|
||||
|
||||
if ((option = ppd_get_option(gtemp, keyword + 6)) == NULL)
|
||||
{
|
||||
DEBUG_printf(("Unable to get %s option!\n", keyword + 6));
|
||||
@@ -1076,6 +1083,41 @@ ppdOpen2(cups_file_t *fp) /* I - File to read from */
|
||||
*/
|
||||
|
||||
ppd_add_size(ppd, "Custom");
|
||||
|
||||
if ((option = ppdFindOption(ppd, "PageRegion")) == NULL)
|
||||
{
|
||||
int groupidx; /* Index to current group */
|
||||
ppd_group_t *gtemp; /* Temporary group */
|
||||
|
||||
if (group)
|
||||
groupidx = group - ppd->groups; /* Save index for current group */
|
||||
|
||||
if ((gtemp = ppd_get_group(ppd, "General", _("General"), cg,
|
||||
encoding)) == NULL)
|
||||
{
|
||||
DEBUG_puts("Unable to get general group!");
|
||||
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (group)
|
||||
group = ppd->groups + groupidx; /* Restore group pointer */
|
||||
|
||||
option = ppd_get_option(gtemp, "PageRegion");
|
||||
}
|
||||
|
||||
if ((choice = ppd_add_choice(option, "Custom")) == NULL)
|
||||
{
|
||||
DEBUG_puts("Unable to add Custom choice!");
|
||||
|
||||
cg->ppd_status = PPD_ALLOC_ERROR;
|
||||
|
||||
goto error;
|
||||
}
|
||||
|
||||
strlcpy(choice->text, text[0] ? text : _("Custom"),
|
||||
sizeof(choice->text));
|
||||
option = NULL;
|
||||
}
|
||||
}
|
||||
else if (!strcmp(keyword, "LandscapeOrientation"))
|
||||
@@ -1523,10 +1565,10 @@ ppdOpen2(cups_file_t *fp) /* I - File to read from */
|
||||
!strcmp(keyword, "NonUIConstraints"))
|
||||
{
|
||||
if (ppd->num_consts == 0)
|
||||
constraint = calloc(1, sizeof(ppd_const_t));
|
||||
constraint = calloc(2, sizeof(ppd_const_t));
|
||||
else
|
||||
constraint = realloc(ppd->consts,
|
||||
(ppd->num_consts + 1) * sizeof(ppd_const_t));
|
||||
(ppd->num_consts + 2) * sizeof(ppd_const_t));
|
||||
|
||||
if (constraint == NULL)
|
||||
{
|
||||
@@ -1687,6 +1729,34 @@ ppdOpen2(cups_file_t *fp) /* I - File to read from */
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* For CustomPageSize and InputSlot/ManualFeed, create a duplicate
|
||||
* constraint for PageRegion...
|
||||
*/
|
||||
|
||||
if (!strcasecmp(constraint->option1, "CustomPageSize") &&
|
||||
(!strcasecmp(constraint->option2, "InputSlot") ||
|
||||
!strcasecmp(constraint->option2, "ManualFeed")))
|
||||
{
|
||||
ppd->num_consts ++;
|
||||
|
||||
strcpy(constraint[1].option1, "PageRegion");
|
||||
strcpy(constraint[1].choice1, "Custom");
|
||||
strcpy(constraint[1].option2, constraint->option2);
|
||||
strcpy(constraint[1].choice2, constraint->choice2);
|
||||
}
|
||||
else if (!strcasecmp(constraint->option2, "CustomPageSize") &&
|
||||
(!strcasecmp(constraint->option1, "InputSlot") ||
|
||||
!strcasecmp(constraint->option1, "ManualFeed")))
|
||||
{
|
||||
ppd->num_consts ++;
|
||||
|
||||
strcpy(constraint[1].option1, constraint->option1);
|
||||
strcpy(constraint[1].choice1, constraint->choice1);
|
||||
strcpy(constraint[1].option2, "PageRegion");
|
||||
strcpy(constraint[1].choice2, "Custom");
|
||||
}
|
||||
|
||||
/*
|
||||
* Handle CustomFoo option constraints...
|
||||
*/
|
||||
|
||||
@@ -345,19 +345,22 @@ cupsDoFileRequest(http_t *http, /* I - HTTP connection to server */
|
||||
|
||||
while ((state = ippRead(http, response)) != IPP_DATA)
|
||||
if (state == IPP_ERROR)
|
||||
{
|
||||
/*
|
||||
* Delete the response...
|
||||
*/
|
||||
|
||||
DEBUG_puts("IPP read error!");
|
||||
ippDelete(response);
|
||||
response = NULL;
|
||||
|
||||
_cupsSetError(IPP_SERVICE_UNAVAILABLE, strerror(errno));
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
if (state == IPP_ERROR)
|
||||
{
|
||||
/*
|
||||
* Delete the response...
|
||||
*/
|
||||
|
||||
DEBUG_puts("IPP read error!");
|
||||
ippDelete(response);
|
||||
response = NULL;
|
||||
|
||||
_cupsSetError(IPP_SERVICE_UNAVAILABLE, strerror(errno));
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -266,9 +266,9 @@ _cupsStrFormatd(char *buf, /* I - String */
|
||||
tempptr < tempdec && bufptr < bufend;
|
||||
*bufptr++ = *tempptr++);
|
||||
|
||||
tempdec += declen;
|
||||
tempptr += declen;
|
||||
|
||||
if (*tempdec && bufptr < bufend)
|
||||
if (*tempptr && bufptr < bufend)
|
||||
{
|
||||
*bufptr++ = '.';
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include "i18n.h"
|
||||
#include "string.h"
|
||||
|
||||
|
||||
/*
|
||||
@@ -44,10 +45,24 @@ int /* O - Exit status */
|
||||
main(int argc, /* I - Number of command-line arguments */
|
||||
char *argv[]) /* I - Command-line arguments */
|
||||
{
|
||||
int i; /* Looping var */
|
||||
int errors = 0; /* Number of errors */
|
||||
cups_lang_t *language; /* Message catalog */
|
||||
cups_lang_t *language2; /* Message catalog */
|
||||
struct lconv *loc; /* Locale data */
|
||||
char buffer[1024]; /* String buffer */
|
||||
double number; /* Number */
|
||||
static const char * const tests[] = /* Test strings */
|
||||
{
|
||||
"1",
|
||||
"-1",
|
||||
"3",
|
||||
"5.125"
|
||||
};
|
||||
|
||||
|
||||
_cupsSetLocale(argv);
|
||||
|
||||
if (argc == 1)
|
||||
{
|
||||
language = cupsLangDefault();
|
||||
@@ -61,6 +76,8 @@ main(int argc, /* I - Number of command-line arguments */
|
||||
|
||||
if (language != language2)
|
||||
{
|
||||
errors ++;
|
||||
|
||||
puts("**** ERROR: Language cache did not work! ****");
|
||||
puts("First result from cupsLangGet:");
|
||||
}
|
||||
@@ -80,7 +97,26 @@ main(int argc, /* I - Number of command-line arguments */
|
||||
printf("Yes = \"%s\"\n", _cupsLangString(language2, "Yes"));
|
||||
}
|
||||
|
||||
return (0);
|
||||
loc = localeconv();
|
||||
|
||||
for (i = 0; i < (int)(sizeof(tests) / sizeof(tests[0])); i ++)
|
||||
{
|
||||
number = _cupsStrScand(tests[i], NULL, loc);
|
||||
|
||||
printf("_cupsStrScand(\"%s\") number=%f\n", tests[i], number);
|
||||
|
||||
_cupsStrFormatd(buffer, buffer + sizeof(buffer), number, loc);
|
||||
|
||||
printf("_cupsStrFormatd(%f) buffer=\"%s\"\n", number, buffer);
|
||||
|
||||
if (strcmp(buffer, tests[i]))
|
||||
{
|
||||
errors ++;
|
||||
puts("**** ERROR: Bad formatted number! ****");
|
||||
}
|
||||
}
|
||||
|
||||
return (errors > 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%%DocumentSuppliedResources: procset testprint/1.2
|
||||
%%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
|
||||
%%Creator: Michael Sweet, Easy Software Products
|
||||
%%CreationDate: D:20060114093000+0500
|
||||
%%CreationDate: D:20070220113000+0500
|
||||
%%Title: Test Page
|
||||
%%EndComments
|
||||
%%BeginProlog
|
||||
@@ -14,7 +14,7 @@
|
||||
%
|
||||
% PostScript test page for the Common UNIX Printing System ("CUPS").
|
||||
%
|
||||
% Copyright 1993-2006 Easy Software Products
|
||||
% Copyright 1993-2007 Easy Software Products
|
||||
%
|
||||
% These coded instructions, statements, and computer programs are the
|
||||
% property of Easy Software Products and are protected by Federal
|
||||
@@ -198,7 +198,8 @@ gsave
|
||||
/CENTIMETER 72 2.54 div def
|
||||
/MILLIMETER 72 25.4 div def
|
||||
|
||||
smallFont setfont % Font
|
||||
/Times-Roman findfont % Font for ruler numbers
|
||||
11 scalefont setfont % 11 points
|
||||
|
||||
gsave % Left side inches
|
||||
pageLeft 72 mul 0 translate % Offset left edge
|
||||
@@ -631,6 +632,6 @@ gsave
|
||||
grestore
|
||||
showpage
|
||||
%
|
||||
% End of "$Id: testprint.ps 4930 2006-01-14 16:54:03Z mike $".
|
||||
% End of "$Id: testprint.ps 6296 2007-02-20 16:33:25Z mike $".
|
||||
%
|
||||
%%EOF
|
||||
|
||||
@@ -27,3 +27,5 @@ Name[pl]=Zarządzanie drukowaniem
|
||||
Comment[pl]=Interfejs WWW CUPS
|
||||
Name[it]=Gestione stampa
|
||||
Comment[it]=Interfaccia web di CUPS
|
||||
Name[zh_TW]=印表管理
|
||||
Comment[zh_TW]=CUPS 網頁介面
|
||||
|
||||
@@ -137,142 +137,3 @@ WIDTH="15" HEIGHT="15" ALT=""></TD>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
||||
<TITLE>Accueil - CUPS @CUPS_VERSION@@CUPS_REVISION@</TITLE>
|
||||
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css">
|
||||
<LINK REL="SHORTCUT ICON" HREF="/favicon.ico" TYPE="image/x-icon">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<TABLE WIDTH="100%" STYLE="height: 100%;" BORDER="0" CELLSPACING="0" CELLPADDING="0" SUMMARY="Common UNIX Printing System @CUPS_VERSION@">
|
||||
<TR CLASS="header">
|
||||
<TD VALIGN="TOP" WIDTH="15" ROWSPAN="2"><IMG SRC="/images/top-left.gif" WIDTH="15" HEIGHT="80" ALT=""></TD>
|
||||
<TD VALIGN="TOP" WIDTH="55" ROWSPAN="2"><IMG SRC="/images/top-middle.gif" WIDTH="55" HEIGHT="80" ALT=""></TD>
|
||||
<TD WIDTH="100%" HEIGHT="60"><H1>Common UNIX Printing System @CUPS_VERSION@@CUPS_REVISION@</H1></TD>
|
||||
<TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="15" ROWSPAN="2"><IMG
|
||||
SRC="/images/top-right.gif" WIDTH="15" HEIGHT="15" ALT=""></TD>
|
||||
</TR>
|
||||
<TR CLASS="header"><TD WIDTH="100%" VALIGN="BOTTOM" NOWRAP>
|
||||
|
||||
<A CLASS="sel" HREF="/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> Accueil <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/admin/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> Administration <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/classes/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> Classes <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/help/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> Documentation/Aide <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/jobs/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> Tâches <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/printers/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> Imprimantes <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
</TD></TR>
|
||||
<TR CLASS="page">
|
||||
<TD WIDTH="15"> </TD>
|
||||
<TD COLSPAN="2" WIDTH="100%" VALIGN="TOP" CLASS="page">
|
||||
|
||||
<H2 CLASS="title">Bienvenue !</H2>
|
||||
|
||||
<P>Ces pages Web vous permettent de gérer vos imprimantes et vos tâches
|
||||
d'impression comme d'administrer le système. Cliquez sur les onglets ci-dessus ou
|
||||
sur les boutons ci-dessous pour effectuer une action.</P>
|
||||
|
||||
<P>
|
||||
<A HREF="/help/"><IMG SRC="/images/button-help.gif" CLASS="button" ALT="Aide"></A>
|
||||
<A HREF="/admin?OP=add-class"><IMG SRC="/images/button-add-class.gif" CLASS="button" ALT="Ajouter une classe"></A>
|
||||
<A HREF="/admin?OP=add-printer"><IMG SRC="/images/button-add-printer.gif" CLASS="button" ALT="Ajouter une imprimante"></A>
|
||||
<A HREF="/classes"><IMG SRC="/images/button-manage-classes.gif" CLASS="button" ALT="Administrer les classes"></A>
|
||||
<A HREF="/jobs"><IMG SRC="/images/button-manage-jobs.gif" CLASS="button" ALT="Administrer les tâches"></A>
|
||||
<A HREF="/printers"><IMG SRC="/images/button-manage-printers.gif" CLASS="button" ALT="Administrer les imprimantes"></A>
|
||||
<A HREF="/admin"><IMG SRC="/images/button-manage-server.gif" CLASS="button" ALT="Administrer le serveur"></A>
|
||||
</P>
|
||||
|
||||
<P><I>Si l'on vous demande de vous identifier, utilisez votre nom d'utilisateur et
|
||||
votre mot de passe UNIX ou bien identifiez-vous en tant que "root".</I></P>
|
||||
|
||||
<H2 CLASS="title">À propos de CUPS</H2>
|
||||
|
||||
<P>
|
||||
<IMG SRC="/images/happy.gif" ALIGN="LEFT" WIDTH="196" HEIGHT="144"
|
||||
STYLE="padding-right: 10px;" ALT="Ordinateur content et imprimante">
|
||||
|
||||
<A HREF="http://www.easysw.com/"><IMG SRC="/images/esp-logo.gif"
|
||||
ALIGN="RIGHT" WIDTH="110" HEIGHT="68" BORDER="0"
|
||||
STYLE="padding-left: 10px; padding-bottom: 10px;"
|
||||
ALT="Easy Software Products"></A>
|
||||
|
||||
CUPS propose une interface portable pour l'impression sur les systèmes
|
||||
UNIX<SUP>®</SUP>. Ce logiciel est développé et maintenu par <A HREF="http://www.easysw.com">Easy Software
|
||||
Products</a> afin de promouvoir une solution standard pour l'impression. CUPS
|
||||
est le système d'impression standard de MacOS<SUP>®</SUP> X et de la
|
||||
plupart des distributions Linux<SUP>®</SUP>.</P>
|
||||
|
||||
<P>CUPS repose sur le protocole <A HREF="http://www.pwg.org/ipp/"
|
||||
TARGET="_blank">IPP ( Internet Printing Protocol )</A> pour la gestion des tâches
|
||||
d'impression et, pour être utilisable en pratique, y ajoute la détection
|
||||
d'imprimantes en réseau et des options d'impression fondées sur le format PPD (
|
||||
PostScript Printer Description ).<BR CLEAR="ALL"></P>
|
||||
|
||||
<H2 CLASS="title">Pilotes d'imprimante et Assistance</H2>
|
||||
|
||||
<P>Visitez le site officiel de CUPS pour avoir des pilotes d'imprimante ou toute
|
||||
autre assistance:</P>
|
||||
|
||||
<PRE>
|
||||
<A HREF="http://www.cups.org/" TARGET="_blank">www.cups.org</A>
|
||||
</PRE>
|
||||
|
||||
<P>Vous pouvez obtenir un suivi commercial et une version améliorée de CUPS, <A
|
||||
HREF="http://www.easysw.com/printpro/">ESP Print Pro</A>, à l'adresse suivante:</P>
|
||||
|
||||
<PRE>
|
||||
<A HREF="http://www.easysw.com/" TARGET="_blank">www.easysw.com</A>
|
||||
</PRE>
|
||||
|
||||
</TD>
|
||||
<TD WIDTH="15"> </TD>
|
||||
</TR>
|
||||
<TR CLASS="header">
|
||||
<TD VALIGN="BOTTOM" WIDTH="15"><IMG SRC="/images/bottom-left.gif"
|
||||
WIDTH="15" HEIGHT="15" ALT=""></TD>
|
||||
<TD COLSPAN="2" WIDTH="100%" STYLE="padding: 5;">
|
||||
|
||||
<P><SMALL>Le logiciel CUPS ( Common UNIX Printing System ) et son logo sont
|
||||
propriété commerciale de <A HREF="http://www.easysw.com">Easy Software
|
||||
Products</A>. CUPS est sous copyright 1997-2006 par Easy Software Products, Tous
|
||||
Droits Réservés.</SMALL></P>
|
||||
|
||||
</TD>
|
||||
|
||||
<TD ALIGN="RIGHT" VALIGN="BOTTOM" WIDTH="15"><IMG SRC="/images/bottom-right.gif"
|
||||
WIDTH="15" HEIGHT="15" ALT=""></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -38,16 +38,16 @@ encryption settings for the client.</P>
|
||||
<PRE CLASS="command">
|
||||
ServerName foo.bar.com
|
||||
ServerName 11.22.33.44
|
||||
ServerName foo.bar.com:8631
|
||||
</PRE>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <CODE>ServerName</CODE> directive specifies sets the
|
||||
remote server that is to be used for all client operations. That
|
||||
is, it redirects all client requests to the remote server.</P>
|
||||
<P>The <CODE>ServerName</CODE> directive specifies sets the remote server that is to be used for all client operations. That is, it redirects all client requests to the remote server.</P>
|
||||
|
||||
<P>The default is to use the local server
|
||||
("<VAR>localhost</VAR>") or domain socket, if so configured.</P>
|
||||
<P>The default port number is 631 but can be overridden by adding a colon followed by the desired port number to the value.</P>
|
||||
|
||||
<P>The default is to use the local server ("<VAR>localhost</VAR>") or domain socket, if so configured.</P>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
"$Id: spec-ppd.html 6158 2006-12-17 01:44:21Z mike $"
|
||||
"$Id: spec-ppd.html 6458 2007-04-17 19:22:41Z mike $"
|
||||
|
||||
CUPS PPD extensions specification for the Common UNIX Printing System (CUPS).
|
||||
|
||||
@@ -204,13 +204,13 @@ http://www.vendor.com/help"
|
||||
|
||||
<p>This attribute describes which language localizations are
|
||||
included in the PPD. The "locale list" string is a space-delimited
|
||||
list of locale names ("en", "en_US", "fr_FR", etc.)</p>
|
||||
list of locale names ("en", "en_US", "fr_CA", etc.)</p>
|
||||
|
||||
<p>Example:</p>
|
||||
|
||||
<pre class='command'>
|
||||
<em>*% Specify Canadian, UK, and US English, and Candian and French French</em>
|
||||
*cupsLanguages: "en_CA en_UK en_US fr_CA fr_FR"
|
||||
*cupsLanguages: "en_CA en_UK en_US fr_CA fr_CA"
|
||||
</pre>
|
||||
|
||||
<h3>cupsManualCopies</h3>
|
||||
@@ -540,7 +540,10 @@ languages by following the following additional rules:</p>
|
||||
<li>Localizations are specified using a locale prefix of
|
||||
the form "ll" or "ll_CC." where "ll" is the 2-letter ISO
|
||||
language code and "CC" is the 2-letter ISO country
|
||||
code</li>
|
||||
code<ul>
|
||||
<li>A generic language translation ("ll") SHOULD be provided with country-specific differences ("ll_CC") provided only as needed</li>
|
||||
<li>For historical reasons, the "zh" and "zh_CN" locales map to Simplified Chinese while the "zh_TW" locale maps to Traditional Chinese</li>
|
||||
</ul></li>
|
||||
|
||||
<li>Locale-specific translation strings MUST be encoded
|
||||
using UTF-8.</li>
|
||||
@@ -577,17 +580,17 @@ in the PPD file for a given locale.</blockquote>
|
||||
<pre class='command'>
|
||||
*LanguageVersion: English
|
||||
*LanguageEncoding: ISOLatin1
|
||||
*cupsLanguages: "de_DE fr_FR"
|
||||
*cupsLanguages: "de fr_CA"
|
||||
*ModelName: "Foobar Laser 9999"
|
||||
|
||||
<em>*% Localize ModelName for French and German</em>
|
||||
*fr_FR.Translation ModelName/La Foobar Laser 9999: ""
|
||||
*de_DE.Translation ModelName/Foobar LaserDrucken 9999: ""
|
||||
*fr_CA.Translation ModelName/La Foobar Laser 9999: ""
|
||||
*de.Translation ModelName/Foobar LaserDrucken 9999: ""
|
||||
|
||||
*cupsIPPReason com.vendor-error/A serious error occurred: "/help/com.vendor/error.html"
|
||||
<em>*% Localize printer-state-reason for French and German</em>
|
||||
*fr_FR.cupsIPPReason com.vendor-error/Une erreur sèrieuse s'est produite: "/help/com.vendor/error.html"
|
||||
*de_DE.cupsIPPReason com.vendor-error/Eine ernste Störung trat: "/help/com.vendor/error.html"
|
||||
*fr_CA.cupsIPPReason com.vendor-error/Une erreur sèrieuse s'est produite: "/help/com.vendor/error.html"
|
||||
*de.cupsIPPReason com.vendor-error/Eine ernste Störung trat: "/help/com.vendor/error.html"
|
||||
|
||||
...
|
||||
|
||||
@@ -595,16 +598,16 @@ in the PPD file for a given locale.</blockquote>
|
||||
*OrderDependency: 10 AnySetup *InputSlot
|
||||
*DefaultInputSlot: Auto
|
||||
<em>*% Localize InputSlot for French and German</em>
|
||||
*fr_FR.Translation InputSlot/Papier source: ""
|
||||
*de_DE.Translation InputSlot/Papiereinzug: ""
|
||||
*fr_CA.Translation InputSlot/Papier source: ""
|
||||
*de.Translation InputSlot/Papiereinzug: ""
|
||||
*InputSlot Auto/Default: "<</ManualFeed false>>setpagedevice"
|
||||
<em>*% Localize InputSlot=Auto for French and German</em>
|
||||
*fr_FR.InputSlot Auto/Par Defaut: ""
|
||||
*de_DE.InputSlot Auto/Standard: ""
|
||||
*fr_CA.InputSlot Auto/Par Defaut: ""
|
||||
*de.InputSlot Auto/Standard: ""
|
||||
*InputSlot Manual/Manual Feed: "<</ManualFeed true>>setpagedevice"
|
||||
<em>*% Localize InputSlot=Manual for French and German</em>
|
||||
*fr_FR.InputSlot Manual/Manuel mecanisme de alimentation: ""
|
||||
*de_DE.InputSlot Manual/Manueller Einzug: ""
|
||||
*fr_CA.InputSlot Manual/Manuel mecanisme de alimentation: ""
|
||||
*de.InputSlot Manual/Manueller Einzug: ""
|
||||
*CloseUI: *InputSlot
|
||||
</pre>
|
||||
|
||||
|
||||
|
Depois Largura: | Altura: | Tamanho: 1.3 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.3 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.3 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 775 B |
|
Depois Largura: | Altura: | Tamanho: 1.2 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.8 KiB |
|
Depois Largura: | Altura: | Tamanho: 749 B |
|
Depois Largura: | Altura: | Tamanho: 1.3 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.3 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.7 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.3 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 764 B |
|
Depois Largura: | Altura: | Tamanho: 1.8 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.7 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.3 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.4 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.5 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.8 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.7 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.7 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.7 KiB |
|
Depois Largura: | Altura: | Tamanho: 1.6 KiB |
@@ -0,0 +1,137 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
||||
<TITLE>首頁 - CUPS @CUPS_VERSION@@CUPS_REVISION@</TITLE>
|
||||
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css">
|
||||
<LINK REL="SHORTCUT ICON" HREF="/favicon.ico" TYPE="image/x-icon">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<TABLE WIDTH="100%" STYLE="height: 100%;" BORDER="0" CELLSPACING="0" CELLPADDING="0" SUMMARY="Common UNIX Printing System @CUPS_VERSION@">
|
||||
<TR CLASS="header">
|
||||
<TD VALIGN="TOP" WIDTH="15" ROWSPAN="2"><IMG SRC="/images/top-left.gif" WIDTH="15" HEIGHT="80" ALT=""></TD>
|
||||
<TD VALIGN="TOP" WIDTH="55" ROWSPAN="2"><IMG SRC="/images/top-middle.gif" WIDTH="55" HEIGHT="80" ALT=""></TD>
|
||||
<TD WIDTH="100%" HEIGHT="60"><H1>Common UNIX Printing System @CUPS_VERSION@@CUPS_REVISION@</H1></TD>
|
||||
<TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="15" ROWSPAN="2"><IMG
|
||||
SRC="/images/top-right.gif" WIDTH="15" HEIGHT="15" ALT=""></TD>
|
||||
</TR>
|
||||
<TR CLASS="header"><TD WIDTH="100%" VALIGN="BOTTOM" NOWRAP>
|
||||
|
||||
<A CLASS="sel" HREF="/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> 首頁 <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/admin/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> 管理 <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/classes/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> 分類 <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/help/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> 文件/求助 <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/jobs/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> 工作 <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
<A CLASS="unsel" HREF="/printers/"><IMG SRC="/images/tab-left.gif" WIDTH="4"
|
||||
HEIGHT="4" ALIGN="TOP" BORDER="0"
|
||||
ALT=""> 印表機 <IMG
|
||||
SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
|
||||
BORDER="0" ALT=""></A>
|
||||
|
||||
</TD></TR>
|
||||
<TR CLASS="page">
|
||||
<TD WIDTH="15"> </TD>
|
||||
<TD COLSPAN="2" WIDTH="100%" VALIGN="TOP" CLASS="page">
|
||||
|
||||
<H2 CLASS="title">歡迎!</H2>
|
||||
|
||||
<P>此處的網頁讓您監看您的印表機和工作,以及
|
||||
進行系統管理任務。按下上方任何的分頁頁標或是
|
||||
下方的按鈕,以執行某個作業。</P>
|
||||
|
||||
<P>
|
||||
<A HREF="/help/"><IMG SRC="/images/button-help.gif" CLASS="button" ALT="求助"></A>
|
||||
<A HREF="/admin?OP=add-class"><IMG SRC="/images/button-add-class.gif" CLASS="button" ALT="增加分類"></A>
|
||||
<A HREF="/admin?OP=add-printer"><IMG SRC="/images/button-add-printer.gif" CLASS="button" ALT="增加印表機"></A>
|
||||
<A HREF="/classes"><IMG SRC="/images/button-manage-classes.gif" CLASS="button" ALT="管理分類"></A>
|
||||
<A HREF="/jobs"><IMG SRC="/images/button-manage-jobs.gif" CLASS="button" ALT="管理工作"></A>
|
||||
<A HREF="/printers"><IMG SRC="/images/button-manage-printers.gif" CLASS="button" ALT="管理印表機"></A>
|
||||
<A HREF="/admin"><IMG SRC="/images/button-manage-server.gif" CLASS="button" ALT="管理伺服器"></A>
|
||||
</P>
|
||||
|
||||
<P><I>如果向您要求使用者名稱與密碼,請輸入
|
||||
您的使用者名稱與密碼,或是 "root" 的使用者名稱與密碼。</I></P>
|
||||
|
||||
<H2 CLASS="title">關於 CUPS</H2>
|
||||
|
||||
<P>
|
||||
<IMG SRC="/images/happy.gif" ALIGN="LEFT" WIDTH="196" HEIGHT="144"
|
||||
STYLE="padding-right: 10px;" ALT="快樂的電腦與印表機">
|
||||
|
||||
<A HREF="http://www.easysw.com/"><IMG SRC="/images/esp-logo.gif"
|
||||
ALIGN="RIGHT" WIDTH="110" HEIGHT="68" BORDER="0"
|
||||
STYLE="padding-left: 10px; padding-bottom: 10px;"
|
||||
ALT="Easy Software Products"></A>
|
||||
|
||||
CUPS 提供以 UNIX<SUP>®</SUP> 為基礎的作業系統
|
||||
一層具有可攜性的列印介面。它是由 <A HREF="http://www.easysw.com">Easy Software
|
||||
Products</a> 為了推動一個標準的列印解決方案所開發與維護。CUPS 是目前用於
|
||||
MacOS<SUP>®</SUP> X 與大部份 Linux<SUP>®</SUP> 發行版本的標準列印系統。</P>
|
||||
|
||||
<P>CUPS 使用 <A HREF="http://www.pwg.org/ipp/"
|
||||
TARGET="_blank"> Internet Printing Protocol ("IPP")</A> 做為
|
||||
管理列印工作與佇列的基礎,並且加入瀏覽網路印表機和基於
|
||||
PostScript Printer Description ("PPD") 的列印選項,
|
||||
以支援真實世界中的列印。<BR CLEAR="ALL"></P>
|
||||
|
||||
<H2 CLASS="title">印表機驅動程式與協助</H2>
|
||||
|
||||
<P>造訪 CUPS 的官方網站以獲得印表機驅動程式與協助:</P>
|
||||
|
||||
<PRE>
|
||||
<A HREF="http://www.cups.org/" TARGET="_blank">www.cups.org</A>
|
||||
</PRE>
|
||||
|
||||
<P>CUPS 的商業支援與進階版本名為 <A
|
||||
HREF="http://www.easysw.com/printpro/">ESP Print Pro</A> 是提供自:</P>
|
||||
|
||||
<PRE>
|
||||
<A HREF="http://www.easysw.com/" TARGET="_blank">www.easysw.com</A>
|
||||
</PRE>
|
||||
|
||||
</TD>
|
||||
<TD WIDTH="15"> </TD>
|
||||
</TR>
|
||||
<TR CLASS="header">
|
||||
<TD VALIGN="BOTTOM" WIDTH="15"><IMG SRC="/images/bottom-left.gif"
|
||||
WIDTH="15" HEIGHT="15" ALT=""></TD>
|
||||
<TD COLSPAN="2" WIDTH="100%" STYLE="padding: 5;">
|
||||
|
||||
<P><SMALL>The Common UNIX Printing System, CUPS, and the CUPS logo are the
|
||||
trademark property of <A HREF="http://www.easysw.com">Easy Software
|
||||
Products</A>. CUPS is copyright 1997-2007 by Easy Software Products,
|
||||
All Rights Reserved.</SMALL></P>
|
||||
|
||||
</TD>
|
||||
|
||||
<TD ALIGN="RIGHT" VALIGN="BOTTOM" WIDTH="15"><IMG SRC="/images/bottom-right.gif"
|
||||
WIDTH="15" HEIGHT="15" ALT=""></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -182,7 +182,9 @@ ParseCommand(FILE *fp, /* I - File to read from */
|
||||
{
|
||||
bufptr = buf;
|
||||
while ((ch = getc(fp)) != ';')
|
||||
if (bufptr < (buf + sizeof(buf) - 1))
|
||||
if (ch == EOF)
|
||||
break;
|
||||
else if (bufptr < (buf + sizeof(buf) - 1))
|
||||
*bufptr++ = ch;
|
||||
*bufptr = '\0';
|
||||
|
||||
@@ -194,6 +196,10 @@ ParseCommand(FILE *fp, /* I - File to read from */
|
||||
while (!done)
|
||||
switch (ch = getc(fp))
|
||||
{
|
||||
case EOF :
|
||||
done = 1;
|
||||
break;
|
||||
|
||||
case ',' :
|
||||
case ' ' :
|
||||
case '\n' :
|
||||
|
||||
@@ -248,7 +248,7 @@ cupsRasterInterpretPPD(
|
||||
{
|
||||
float sc = atof(val);
|
||||
|
||||
if (sc >= 0.9 && sc <= 1.1)
|
||||
if (sc >= 0.5 && sc <= 2.0)
|
||||
h->cupsBorderlessScalingFactor = sc;
|
||||
}
|
||||
|
||||
|
||||
@@ -937,13 +937,20 @@ copy_dsc(cups_file_t *fp, /* I - File to read from */
|
||||
ppdEmitJCL(ppd, stdout, doc->job_id, doc->user, doc->title);
|
||||
|
||||
puts("%!PS-Adobe-3.0");
|
||||
|
||||
pageinfo = (pstops_page_t *)cupsArrayFirst(doc->pages);
|
||||
copy_bytes(doc->temp, 0, pageinfo->offset);
|
||||
|
||||
number = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Copy the prolog as needed...
|
||||
*/
|
||||
|
||||
if (!number)
|
||||
{
|
||||
pageinfo = (pstops_page_t *)cupsArrayFirst(doc->pages);
|
||||
copy_bytes(doc->temp, 0, pageinfo->offset);
|
||||
}
|
||||
|
||||
/*
|
||||
* Then copy all of the pages...
|
||||
*/
|
||||
@@ -1238,7 +1245,9 @@ copy_page(cups_file_t *fp, /* I - File to read from */
|
||||
pageinfo->num_options = cupsAddOption("InputSlot", doc->ap_input_slot,
|
||||
pageinfo->num_options,
|
||||
&(pageinfo->options));
|
||||
pageinfo->num_options = cupsAddOption("ManualFeed", doc->ap_manual_feed,
|
||||
pageinfo->num_options = cupsAddOption("ManualFeed",
|
||||
doc->ap_input_slot ? "False" :
|
||||
doc->ap_manual_feed,
|
||||
pageinfo->num_options,
|
||||
&(pageinfo->options));
|
||||
}
|
||||
@@ -1251,7 +1260,9 @@ copy_page(cups_file_t *fp, /* I - File to read from */
|
||||
pageinfo->num_options = cupsAddOption("InputSlot", doc->input_slot,
|
||||
pageinfo->num_options,
|
||||
&(pageinfo->options));
|
||||
pageinfo->num_options = cupsAddOption("ManualFeed", doc->manual_feed,
|
||||
pageinfo->num_options = cupsAddOption("ManualFeed",
|
||||
doc->input_slot ? "False" :
|
||||
doc->manual_feed,
|
||||
pageinfo->num_options,
|
||||
&(pageinfo->options));
|
||||
}
|
||||
@@ -1530,7 +1541,7 @@ copy_page(cups_file_t *fp, /* I - File to read from */
|
||||
if (doc->number_up > 1 || doc->fitplot)
|
||||
continue;
|
||||
}
|
||||
else if (!strncmp(line, "%%EndFeature:", 13))
|
||||
else if (!strncmp(line, "%%EndFeature", 12))
|
||||
{
|
||||
feature = 0;
|
||||
|
||||
|
||||
@@ -171,6 +171,8 @@ cupsRasterOpen(int fd, /* I - File descriptor */
|
||||
r->sync == CUPS_RASTER_REVSYNCv1 ||
|
||||
r->sync == CUPS_RASTER_REVSYNCv2)
|
||||
r->swapped = 1;
|
||||
|
||||
DEBUG_printf(("r->swapped=%d, r->sync=%08x\n", r->swapped, r->sync));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -524,10 +526,8 @@ cupsRasterWritePixels(cups_raster_t *r, /* I - Raster stream */
|
||||
unsigned char *p, /* I - Bytes to write */
|
||||
unsigned len)/* I - Number of bytes to write */
|
||||
{
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "cupsRasterWritePixels(r=%p, p=%p, len=%u), remaining=%u\n",
|
||||
r, p, len, r->remaining);
|
||||
#endif /* DEBUG */
|
||||
DEBUG_printf(("cupsRasterWritePixels(r=%p, p=%p, len=%u), remaining=%u\n",
|
||||
r, p, len, r->remaining));
|
||||
|
||||
if (r == NULL || r->mode != CUPS_RASTER_WRITE || r->remaining == 0)
|
||||
return (0);
|
||||
@@ -550,12 +550,7 @@ static unsigned /* O - 1 on success, 0 on fail */
|
||||
cups_raster_read_header(
|
||||
cups_raster_t *r) /* I - Raster stream */
|
||||
{
|
||||
int len; /* Number of words to swap */
|
||||
union swap_s /* Swapping structure */
|
||||
{
|
||||
unsigned char b[4];
|
||||
unsigned v;
|
||||
} *s;
|
||||
int len; /* Length for read/swap */
|
||||
|
||||
|
||||
if (r == NULL || r->mode != CUPS_RASTER_READ)
|
||||
@@ -584,10 +579,28 @@ cups_raster_read_header(
|
||||
*/
|
||||
|
||||
if (r->swapped)
|
||||
for (len = 81, s = (union swap_s *)&(r->header.AdvanceDistance);
|
||||
{
|
||||
unsigned *s, /* Current word */
|
||||
temp; /* Temporary copy */
|
||||
|
||||
|
||||
DEBUG_puts("Swapping header bytes...");
|
||||
|
||||
for (len = 81, s = &(r->header.AdvanceDistance);
|
||||
len > 0;
|
||||
len --, s ++)
|
||||
s->v = (((((s->b[3] << 8) | s->b[2]) << 8) | s->b[1]) << 8) | s->b[0];
|
||||
{
|
||||
DEBUG_printf(("%08x =>", *s));
|
||||
|
||||
temp = *s;
|
||||
*s = ((temp & 0xff) << 24) |
|
||||
((temp & 0xff00) << 8) |
|
||||
((temp & 0xff0000) >> 8) |
|
||||
((temp & 0xff000000) >> 24);
|
||||
|
||||
DEBUG_printf((" %08x\n", *s));
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Update the header and row count...
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Text to PostScript filter for the Common UNIX Printing System (CUPS).
|
||||
*
|
||||
* Copyright 1993-2005 by Easy Software Products.
|
||||
* Copyright 1993-2007 by Easy Software Products.
|
||||
*
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* property of Easy Software Products and are protected by Federal
|
||||
@@ -812,7 +812,7 @@ WriteProlog(const char *title, /* I - Title of job */
|
||||
|
||||
puts("% Reencode base fonts");
|
||||
|
||||
for (i = 1 + PrettyPrint; i >= 0; i --)
|
||||
for (i = PrettyPrint ? 2 : 1; i >= 0; i --)
|
||||
for (j = 0; j < NumFonts; j ++)
|
||||
{
|
||||
printf("/%s findfont\n", Fonts[j][i]);
|
||||
@@ -831,7 +831,7 @@ WriteProlog(const char *title, /* I - Title of job */
|
||||
|
||||
puts("% Create composite fonts...");
|
||||
|
||||
for (i = 1 + PrettyPrint; i >= 0; i --)
|
||||
for (i = PrettyPrint ? 2 : 1; i >= 0; i --)
|
||||
{
|
||||
puts("8 dict begin");
|
||||
puts("/FontType 0 def/FontMatrix[1.0 0 0 1.0 0 0]def/FMapType 2 def/Encoding[");
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
##
|
||||
# PrintingServices - a.k.a. CUPS
|
||||
##
|
||||
|
||||
. /etc/rc.common
|
||||
|
||||
StartService ()
|
||||
{
|
||||
ConsoleMessage "Starting printing services"
|
||||
launchctl start org.cups.cupsd
|
||||
}
|
||||
|
||||
StopService ()
|
||||
{
|
||||
ConsoleMessage "Stopping printing services"
|
||||
launchctl stop org.cups.cupsd
|
||||
}
|
||||
|
||||
RestartService ()
|
||||
{
|
||||
ConsoleMessage "Restarting printing services"
|
||||
launchctl stop org.cups.cupsd
|
||||
launchctl start org.cups.cupsd
|
||||
}
|
||||
|
||||
RunService "$1"
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# Startup/shutdown script for the Common UNIX Printing System (CUPS).
|
||||
#
|
||||
# Copyright 1997-2005 by Easy Software Products, all rights reserved.
|
||||
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
|
||||
#
|
||||
# These coded instructions, statements, and computer programs are the
|
||||
# property of Easy Software Products and are protected by Federal
|
||||
@@ -135,6 +135,20 @@ fi
|
||||
unset TMPDIR
|
||||
|
||||
|
||||
#
|
||||
# Make sure we have the standard program directories in the path
|
||||
# since some operating systems (this means YOU HP-UX!) don't
|
||||
# provide a standard path on boot-up...
|
||||
#
|
||||
|
||||
if test "x$PATH" = x; then
|
||||
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
||||
else
|
||||
PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH"
|
||||
fi
|
||||
|
||||
export PATH
|
||||
|
||||
#
|
||||
# See if the CUPS server (cupsd) is running...
|
||||
#
|
||||
@@ -201,6 +215,16 @@ case $1 in
|
||||
fi
|
||||
;;
|
||||
|
||||
start_msg)
|
||||
# HP-UX non-standard...
|
||||
echo "Starting CUPS Server"
|
||||
;;
|
||||
|
||||
stop_msg)
|
||||
# HP-UX non-standard...
|
||||
echo "Starting CUPS Server"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: cups {reload|restart|start|status|stop}"
|
||||
exit 1
|
||||
|
||||
@@ -6,13 +6,21 @@
|
||||
<string>org.cups.cupsd</string>
|
||||
<key>OnDemand</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<dict>
|
||||
<key>PathState</key>
|
||||
<dict>
|
||||
<key>/private/var/spool/cups/cache/org.cups.cupsd</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>RunAtLoad</key>
|
||||
<false/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/usr/sbin/cupsd</string>
|
||||
<string>-l</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>ServiceIPC</key>
|
||||
<true/>
|
||||
<key>Sockets</key>
|
||||
@@ -21,7 +29,13 @@
|
||||
<array>
|
||||
<dict>
|
||||
<key>SockNodeName</key>
|
||||
<string>localhost</string>
|
||||
<string>::1</string>
|
||||
<key>SockServiceName</key>
|
||||
<string>ipp</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>SockNodeName</key>
|
||||
<string>127.0.0.1</string>
|
||||
<key>SockServiceName</key>
|
||||
<string>ipp</string>
|
||||
</dict>
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
# EMail: cups-info@cups.org
|
||||
# WWW: http://www.cups.org
|
||||
#
|
||||
# Vincenzo Reale <smart2128@baslug.org>, 2006.
|
||||
# Vincenzo Reale <smart2128@baslug.org>, 2006, 2007.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cups_it\n"
|
||||
"Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
|
||||
"POT-Creation-Date: 2007-01-23 09:19-0500\n"
|
||||
"PO-Revision-Date: 2006-11-16 00:34+0100\n"
|
||||
"PO-Revision-Date: 2007-05-13 07:50+0200\n"
|
||||
"Last-Translator: Vincenzo Reale <smart2128@baslug.org>\n"
|
||||
"Language-Team: Italian <kde-i18n-it@mail.kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -104,10 +104,8 @@ msgstr "%s non supportato!"
|
||||
msgid "The printer or class was not found."
|
||||
msgstr "La stampante o la classe non è stata trovata."
|
||||
|
||||
msgid ""
|
||||
"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"."
|
||||
msgstr ""
|
||||
"printer-uri deve essere nella forma \"ipp://NOMEHOST/classes/NOMECLASSE\"."
|
||||
msgid "The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"."
|
||||
msgstr "printer-uri deve essere nella forma \"ipp://NOMEHOST/classes/NOMECLASSE\"."
|
||||
|
||||
#, c-format
|
||||
msgid "The printer-uri \"%s\" contains invalid characters."
|
||||
@@ -144,14 +142,12 @@ msgstr "Lingua \"%s\" non supportata!"
|
||||
msgid "The notify-user-data value is too large (%d > 63 octets)!"
|
||||
msgstr "Il valore notify-user-data è troppo grande (%d > 63 ottetti)!"
|
||||
|
||||
msgid ""
|
||||
"The notify-lease-duration attribute cannot be used with job subscriptions."
|
||||
msgid "The notify-lease-duration attribute cannot be used with job subscriptions."
|
||||
msgstr ""
|
||||
"L'attributo notify-lease-duration non può essere usato con le sottoscrizioni "
|
||||
"delle operazioni."
|
||||
|
||||
msgid ""
|
||||
"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"."
|
||||
msgid "The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"."
|
||||
msgstr ""
|
||||
"printer-uri deve essere nella forma \"ipp://NOMEHOST/printers/NOMESTAMPANTE"
|
||||
"\"."
|
||||
@@ -216,8 +212,7 @@ msgstr "L'operazione #%d non è bloccata per l'autenticazione!"
|
||||
|
||||
#, c-format
|
||||
msgid "You are not authorized to authenticate job #%d owned by \"%s\"!"
|
||||
msgstr ""
|
||||
"Non sei autorizzato ad autenticare l'operazione #%d di proprietà di \"%s\"!"
|
||||
msgstr "Non sei autorizzato ad autenticare l'operazione #%d di proprietà di \"%s\"!"
|
||||
|
||||
msgid "The printer-uri attribute is required!"
|
||||
msgstr "L'attributo printer-uri è richiesto!"
|
||||
@@ -235,8 +230,7 @@ msgstr "Nessuna operazione attiva su %s!"
|
||||
|
||||
#, c-format
|
||||
msgid "You are not authorized to delete job #%d owned by \"%s\"!"
|
||||
msgstr ""
|
||||
"Non sei autorizzato ad eliminare l'operazione #%d di proprietà di \"%s\"!"
|
||||
msgstr "Non sei autorizzato ad eliminare l'operazione #%d di proprietà di \"%s\"!"
|
||||
|
||||
#, c-format
|
||||
msgid "Job #%d is already %s - can't cancel."
|
||||
@@ -281,10 +275,10 @@ msgid "No default printer"
|
||||
msgstr "Nessuna stampante predefinita"
|
||||
|
||||
msgid "cups-deviced failed to execute."
|
||||
msgstr "esecuzione di cups-deviced fallita."
|
||||
msgstr "esecuzione di cups-deviced non riuscita."
|
||||
|
||||
msgid "cups-driverd failed to execute."
|
||||
msgstr "esecuzione di cups-driverd fallita."
|
||||
msgstr "esecuzione di cups-driverd non riuscita."
|
||||
|
||||
msgid "No destinations added."
|
||||
msgstr "Nessuna destinazione aggiunta."
|
||||
@@ -314,8 +308,7 @@ msgstr "L'operazione #%d è terminata e non può essere modificata!"
|
||||
|
||||
#, c-format
|
||||
msgid "You are not authorized to move job #%d owned by \"%s\"!"
|
||||
msgstr ""
|
||||
"Non sei autorizzato a spostare l'operazione #%d di proprietà di \"%s\"!"
|
||||
msgstr "Non sei autorizzato a spostare l'operazione #%d di proprietà di \"%s\"!"
|
||||
|
||||
msgid "job-printer-uri attribute missing!"
|
||||
msgstr "attributo job-printer-uri mancante!"
|
||||
@@ -470,8 +463,7 @@ msgid "lpq: Unknown destination \"%s\"!\n"
|
||||
msgstr "lpq: Destinazione \"%s\" sconosciuta!\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"lp: error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgid "lp: error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgstr ""
|
||||
"lp: errore - i nomi della variabile d'ambiente %s non esistono nella "
|
||||
"destinazione \"%s\"!\n"
|
||||
@@ -481,10 +473,9 @@ msgstr "lpq: errore - nessuna destinazione predefinita disponibile.\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpq: get-jobs failed: %s\n"
|
||||
msgstr "lpq: get-jobs fallito: %s\n"
|
||||
msgstr "lpq: get-jobs non riuscito: %s\n"
|
||||
|
||||
msgid ""
|
||||
"Rank Owner Pri Job Files Total Size\n"
|
||||
msgid "Rank Owner Pri Job Files Total Size\n"
|
||||
msgstr "Posiz. Proprietario Stamp. Operaz. File Dim. totali\n"
|
||||
|
||||
msgid "Rank Owner Job File(s) Total Size\n"
|
||||
@@ -511,7 +502,7 @@ msgstr "nessuna voce\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpq: get-printer-attributes failed: %s\n"
|
||||
msgstr "lpq: get-printer-attributes fallito: %s\n"
|
||||
msgstr "lpq: get-printer-attributes non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s is ready\n"
|
||||
@@ -544,8 +535,7 @@ msgid "lpr: error - expected option=value after -o option!\n"
|
||||
msgstr "lpr: errore - attesa opzione=valore dopo l'opzione -o !\n"
|
||||
|
||||
msgid "lpr: warning - email notification is not currently supported!\n"
|
||||
msgstr ""
|
||||
"lpr: attenzione - le notifiche via email non sono al momento supportate!\n"
|
||||
msgstr "lpr: attenzione - le notifiche via email non sono al momento supportate!\n"
|
||||
|
||||
msgid "lpr: error - expected destination after -P option!\n"
|
||||
msgstr "lpr: errore - destinazione attesa dopo l'opzione -P!\n"
|
||||
@@ -573,8 +563,7 @@ msgid "lpr: error - too many files - \"%s\"\n"
|
||||
msgstr "lpr: errore - troppi file - \"%s\"\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"lpr: error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgid "lpr: error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgstr ""
|
||||
"lpr: errore - i nomi della variabile d'ambiente %s non esistono nella "
|
||||
"destinazione \"%s\"!\n"
|
||||
@@ -587,11 +576,11 @@ msgstr "lpr: errore - il pianificatore di operazioni non risponde!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpr: error - unable to create temporary file \"%s\" - %s\n"
|
||||
msgstr "lpr: errore - impossible creare il file temporaneo \"%s\" - %s\n"
|
||||
msgstr "lpr: errore - impossibile creare il file temporaneo \"%s\" - %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpr: error - unable to write to temporary file \"%s\" - %s\n"
|
||||
msgstr "lpr: errore - impossible scrivere il file temporaneo \"%s\" - %s\n"
|
||||
msgstr "lpr: errore - impossibile scrivere il file temporaneo \"%s\" - %s\n"
|
||||
|
||||
msgid "lpr: error - stdin is empty, so no job has been sent.\n"
|
||||
msgstr "lpr: errore - stdin è vuoto, nessuna operazione può essere inviata.\n"
|
||||
@@ -649,7 +638,7 @@ msgstr "%s: Impossibile connettersi al server: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: Operation failed: %s\n"
|
||||
msgstr "%s: Operazione fallita: %s\n"
|
||||
msgstr "%s: Operazione non riuscita: %s\n"
|
||||
|
||||
msgid "cancel: Error - expected hostname after '-h' option!\n"
|
||||
msgstr "cancel: Errore - nome host atteso dopo l'opzione '-h'!\n"
|
||||
@@ -670,7 +659,7 @@ msgstr "cancel: Impossibile contattare il server!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "cancel: %s failed: %s\n"
|
||||
msgstr "cancel: %s fallito: %s\n"
|
||||
msgstr "cancel: %s non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "cupsaddsmb: Missing value on line %d!\n"
|
||||
@@ -694,7 +683,7 @@ msgstr "cupsaddsmb: Nessun file PPD per la stampante \"%s\" - omesso!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "cupsaddsmb: get-printer-attributes failed for \"%s\": %s\n"
|
||||
msgstr "cupsaddsmb: get-printer-attributes fallito per \"%s\": %s\n"
|
||||
msgstr "cupsaddsmb: get-printer-attributes non riuscito per \"%s\": %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "cupsaddsmb: Unable to convert PPD file for %s - %s\n"
|
||||
@@ -708,8 +697,7 @@ msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "cupsaddsmb: Unable to copy CUPS printer driver files (%d)!\n"
|
||||
msgstr ""
|
||||
"cupsaddsmb: Impossibile copiare i file del driver di stampa di CUPS (%d)!\n"
|
||||
msgstr "cupsaddsmb: Impossibile copiare i file del driver di stampa di CUPS (%d)!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "cupsaddsmb: Unable to install Windows 2000 printer driver files (%d)!\n"
|
||||
@@ -1183,7 +1171,7 @@ msgstr ""
|
||||
" WARN %s condivide un prefisso comune con %s\n"
|
||||
" RIF: Pagina 15, sezione 3.2.\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid " %d ERROR%s FOUND\n"
|
||||
msgstr " %d ERROR%s TROVATI\n"
|
||||
|
||||
@@ -1234,7 +1222,7 @@ msgstr "lpstat: Impossibile connettersi al server %s alla porta %d: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpstat: get-printers failed: %s\n"
|
||||
msgstr "lpstat: get-printers fallita: %s\n"
|
||||
msgstr "lpstat: get-printers non riuscita: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s accepting requests since Jan 01 00:00\n"
|
||||
@@ -1262,7 +1250,7 @@ msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "lpstat: get-classes failed: %s\n"
|
||||
msgstr "lpstat: get-classes fallita: %s\n"
|
||||
msgstr "lpstat: get-classes non riuscita: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "members of class %s:\n"
|
||||
@@ -1289,8 +1277,7 @@ msgstr "nessuna destinazione predefinita di sistema\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Output for printer %s is sent to remote printer %s on %s\n"
|
||||
msgstr ""
|
||||
"L'uscita per la stampante %s è inviata alla stampante remota %s su %s\n"
|
||||
msgstr "L'uscita per la stampante %s è inviata alla stampante remota %s su %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Output for printer %s is sent to %s\n"
|
||||
@@ -1298,8 +1285,7 @@ msgstr "L'uscita per la stampante %s è inviata a %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Output for printer %s/%s is sent to remote printer %s on %s\n"
|
||||
msgstr ""
|
||||
"L'uscita per la stampante %s/%s è inviata alla stampante remota %s su %s\n"
|
||||
msgstr "L'uscita per la stampante %s/%s è inviata alla stampante remota %s su %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Output for printer %s/%s is sent to %s\n"
|
||||
@@ -1315,7 +1301,7 @@ msgstr "dispositivo per %s/%s: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpstat: get-jobs failed: %s\n"
|
||||
msgstr "lpstat: get-jobs fallita: %s\n"
|
||||
msgstr "lpstat: get-jobs non riuscita: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "\tqueued for %s\n"
|
||||
@@ -1443,15 +1429,13 @@ msgid "lpadmin: Expected class name after '-c' option!\n"
|
||||
msgstr "lpadmin: Atteso nome classe dopo l'opzione '-c'!\n"
|
||||
|
||||
msgid "lpadmin: Class name can only contain printable characters!\n"
|
||||
msgstr ""
|
||||
"lpadmin: Il nome della classe può contenere solo caratteri stampabili!\n"
|
||||
msgstr "lpadmin: Il nome della classe può contenere solo caratteri stampabili!\n"
|
||||
|
||||
msgid "lpadmin: Expected printer name after '-d' option!\n"
|
||||
msgstr "lpadmin: Atteso nome stampante dopo l'opzione '-d'!\n"
|
||||
|
||||
msgid "lpadmin: Printer name can only contain printable characters!\n"
|
||||
msgstr ""
|
||||
"lpadmin: Il nome della stampante può contenere solo caratteri stampabili!\n"
|
||||
msgstr "lpadmin: Il nome della stampante può contenere solo caratteri stampabili!\n"
|
||||
|
||||
msgid "lpadmin: Expected hostname after '-h' option!\n"
|
||||
msgstr "lpadmin: Atteso nome host dopo l'opzione '-h'!\n"
|
||||
@@ -1596,15 +1580,15 @@ msgstr "lpadmin: Impossibile aprire il file \"%s\": %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpadmin: add-printer (set model) failed: %s\n"
|
||||
msgstr "lpadmin: add-printer (impostazione modello) fallito: %s\n"
|
||||
msgstr "lpadmin: add-printer (impostazione modello) non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpadmin: add-printer (set description) failed: %s\n"
|
||||
msgstr "lpadmin: add-printer (impostazione descrizione) fallito: %s\n"
|
||||
msgstr "lpadmin: add-printer (impostazione descrizione) non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpadmin: add-printer (set location) failed: %s\n"
|
||||
msgstr "lpadmin: add-printer (impostazione posizione) fallito: %s\n"
|
||||
msgstr "lpadmin: add-printer (impostazione posizione) non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpadmin: Unable to create temporary file - %s\n"
|
||||
@@ -1616,7 +1600,7 @@ msgstr "lpadmin: Impossibile aprire il file PPD \"%s\" - %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpadmin: %s failed: %s\n"
|
||||
msgstr "lpadmin: %s fallito: %s\n"
|
||||
msgstr "lpadmin: %s non riuscito: %s\n"
|
||||
|
||||
msgid "lp: Expected destination after -d option!\n"
|
||||
msgstr "lp: Attesa destinazione dopo l'opzione -d\n"
|
||||
@@ -1685,10 +1669,8 @@ msgstr "lp: Attenzione - opzione del tipo di contenuto ignorata!\n"
|
||||
msgid "lp: Unknown option '%c'!\n"
|
||||
msgstr "lp: Opzione '%c' sconosciuta!\n"
|
||||
|
||||
msgid ""
|
||||
"lp: Error - cannot print from stdin if files or a job ID are provided!\n"
|
||||
msgstr ""
|
||||
"lp: Errore - impossibile stampare da stdin senza file o ID dell'operazione!\n"
|
||||
msgid "lp: Error - cannot print from stdin if files or a job ID are provided!\n"
|
||||
msgstr "lp: Errore - impossibile stampare da stdin senza file o ID dell'operazione!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lp: Unable to access \"%s\" - %s\n"
|
||||
@@ -1725,11 +1707,11 @@ msgstr "l'id richiesto è %s-%d (%d file)\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lp: restart-job failed: %s\n"
|
||||
msgstr "lp: restart-job fallito: %s\n"
|
||||
msgstr "lp: restart-job non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lp: set-job-attributes failed: %s\n"
|
||||
msgstr "lp: set-job-attributes fallito: %s\n"
|
||||
msgstr "lp: set-job-attributes non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpinfo: Unable to connect to server: %s\n"
|
||||
@@ -1745,7 +1727,7 @@ msgstr "lpinfo: Argomento '%s' sconosciuto!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpinfo: cups-get-devices failed: %s\n"
|
||||
msgstr "lpinfo: cups-get-devices fallito: %s\n"
|
||||
msgstr "lpinfo: cups-get-devices non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
@@ -1761,7 +1743,7 @@ msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "lpinfo: cups-get-ppds failed: %s\n"
|
||||
msgstr "lpinfo: cups-get-ppds fallito: %s\n"
|
||||
msgstr "lpinfo: cups-get-ppds non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
@@ -1790,7 +1772,7 @@ msgstr "lpmove: Impossibile connettersi al server: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lpmove: move-job failed: %s\n"
|
||||
msgstr "lpmove: move-job fallito: %s\n"
|
||||
msgstr "lpmove: move-job non riuscito: %s\n"
|
||||
|
||||
msgid "lpoptions: Unknown printer or class!\n"
|
||||
msgstr "lpoptions: Stampante o classe sconosciuta!\n"
|
||||
@@ -1872,12 +1854,11 @@ msgstr "lppasswd: File delle password non aggiornato!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lppasswd: failed to backup old password file: %s\n"
|
||||
msgstr ""
|
||||
"lppasswd: copia di sicurezza del vecchio file delle password fallita: %s\n"
|
||||
msgstr "lppasswd: copia di sicurezza del vecchio file delle password non riuscita: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "lppasswd: failed to rename password file: %s\n"
|
||||
msgstr "lppasswd: rinomina del file delle password fallita: %s\n"
|
||||
msgstr "lppasswd: rinomina del file delle password non riuscita: %s\n"
|
||||
|
||||
msgid "Usage: lppasswd [-g groupname]\n"
|
||||
msgstr "Uso: lppasswd [-g nomegruppo]\n"
|
||||
@@ -2069,7 +2050,7 @@ msgstr "Impossibile eseguire il comando cupsaddsmb!"
|
||||
|
||||
#, c-format
|
||||
msgid "cupsaddsmb failed with status %d"
|
||||
msgstr "cupsaddsmb fallito con stato %d"
|
||||
msgstr "cupsaddsmb non riuscito con stato %d"
|
||||
|
||||
#, c-format
|
||||
msgid "cupsaddsmb crashed on signal %d"
|
||||
@@ -2133,7 +2114,7 @@ msgid "Jobs"
|
||||
msgstr "Operazioni"
|
||||
|
||||
msgid "Job operation failed:"
|
||||
msgstr "Operazione fallita:"
|
||||
msgstr "Operazione non riuscita:"
|
||||
|
||||
msgid "Printers"
|
||||
msgstr "Stampanti"
|
||||
@@ -2330,8 +2311,7 @@ msgid "%s: Error - expected hostname after '-h' option!\n"
|
||||
msgstr "%s: Errore - atteso nome host dopo l'opzione '-h'!\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgid "%s: error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgstr ""
|
||||
"%s: errore - i nomi della variabile d'ambiente %s non esistono nella "
|
||||
"destinazione \"%s\"!\n"
|
||||
@@ -2340,10 +2320,8 @@ msgstr ""
|
||||
msgid "%s: error - no default destination available.\n"
|
||||
msgstr "%s: errore - nessuna destinazione predefinita disponibile.\n"
|
||||
|
||||
msgid ""
|
||||
"Usage: lpq [-P dest] [-U username] [-h hostname[:port]] [-l] [+interval]\n"
|
||||
msgstr ""
|
||||
"Uso: lpq [-P dest] [-U nomeutente] [-h nomehost[:porta]] [-l] [+intervallo]\n"
|
||||
msgid "Usage: lpq [-P dest] [-U username] [-h hostname[:port]] [-l] [+interval]\n"
|
||||
msgstr "Uso: lpq [-P dest] [-U nomeutente] [-h nomehost[:porta]] [-l] [+intervallo]\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: Error - expected hostname after '-H' option!\n"
|
||||
@@ -2390,8 +2368,7 @@ msgid "%s: Error - too many files - \"%s\"\n"
|
||||
msgstr "%s: Errore - troppi file - \"%s\"\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: Error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgid "%s: Error - %s environment variable names non-existent destination \"%s\"!\n"
|
||||
msgstr ""
|
||||
"%s: Errore - i nomi della variabile d'ambiente %s non esistono nella "
|
||||
"destinazione \"%s\"!\n"
|
||||
@@ -2430,7 +2407,7 @@ msgstr "%s: Errore - atteso nome utente dopo l'opzione '-u'!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: %s failed: %s\n"
|
||||
msgstr "%s: %s fallito: %s\n"
|
||||
msgstr "%s: %s non riuscito: %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: Error - expected destination after '-d' option!\n"
|
||||
@@ -2492,8 +2469,7 @@ msgstr "%s: Errore - atteso nome di blocco dopo l'opzione '-H'!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: Need job ID ('-i jobid') before '-H restart'!\n"
|
||||
msgstr ""
|
||||
"%s: Usare l'ID dell'operazione ('-i idoperazione') prima di '-H restart'!\n"
|
||||
msgstr "%s: Usare l'ID dell'operazione ('-i idoperazione') prima di '-H restart'!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: Error - expected page list after '-P' option!\n"
|
||||
@@ -2516,10 +2492,8 @@ msgid "%s: Warning - content type option ignored!\n"
|
||||
msgstr "%s: Attenzione - opzione del tipo di contenuto ignorata!\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: Error - cannot print from stdin if files or a job ID are provided!\n"
|
||||
msgstr ""
|
||||
"%s: Errore - impossibile stampare da stdin senza file o ID dell'operazione!\n"
|
||||
msgid "%s: Error - cannot print from stdin if files or a job ID are provided!\n"
|
||||
msgstr "%s: Errore - impossibile stampare da stdin senza file o ID dell'operazione!\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
@@ -2587,8 +2561,7 @@ msgid "cupsd: Expected config filename after \"-c\" option!\n"
|
||||
msgstr "cupsd: Atteso nome file di configurazione dopo l'opzione \"-c\"!\n"
|
||||
|
||||
msgid "cupsd: launchd(8) support not compiled in, running in normal mode.\n"
|
||||
msgstr ""
|
||||
"cupsd: supporto launchd(8) non compilato, esecuzione in modalità normale.\n"
|
||||
msgstr "cupsd: supporto launchd(8) non compilato, esecuzione in modalità normale.\n"
|
||||
|
||||
#, c-format
|
||||
msgid "cupsd: Unknown option \"%c\" - aborting!\n"
|
||||
@@ -2619,8 +2592,7 @@ msgstr ""
|
||||
msgid " WARN Line %d only contains whitespace!\n"
|
||||
msgstr " WARN La riga %d contiene solamente spazi bianchi!\n"
|
||||
|
||||
msgid ""
|
||||
" WARN File contains a mix of CR, LF, and CR LF line endings!\n"
|
||||
msgid " WARN File contains a mix of CR, LF, and CR LF line endings!\n"
|
||||
msgstr ""
|
||||
" WARN Il file contiene un misto di interruzioni di riga CR, LF, e "
|
||||
"CR LF!\n"
|
||||
@@ -2652,8 +2624,7 @@ msgstr " **FAIL** Lingua \"%s\" errata!\n"
|
||||
|
||||
#, c-format
|
||||
msgid " **FAIL** Missing \"%s\" translation string for option %s!\n"
|
||||
msgstr ""
|
||||
" **FAIL** Stringa di traduzione \"%s\" mancante per l'opzione %s!\n"
|
||||
msgstr " **FAIL** Stringa di traduzione \"%s\" mancante per l'opzione %s!\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
@@ -2664,8 +2635,7 @@ msgstr ""
|
||||
"contiene caratteri di 8-bit!\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
" **FAIL** Missing \"%s\" translation string for option %s, choice %s!\n"
|
||||
msgid " **FAIL** Missing \"%s\" translation string for option %s, choice %s!\n"
|
||||
msgstr ""
|
||||
" **FAIL** Stringa di traduzione \"%s\" mancante per l'opzione %s, "
|
||||
"scelta %s!\n"
|
||||
@@ -2699,8 +2669,7 @@ msgstr "Opzione + scelta errata alla riga %d!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Unable to copy Windows 2000 printer driver files (%d)!\n"
|
||||
msgstr ""
|
||||
"Impossibile copiare i file dei driver di stampa di Windows 2000 (%d)!\n"
|
||||
msgstr "Impossibile copiare i file dei driver di stampa di Windows 2000 (%d)!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Unable to copy CUPS printer driver files (%d)!\n"
|
||||
@@ -2708,8 +2677,7 @@ msgstr "Impossibile copiare i file dei driver di stampa di CUPS (%d)!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Unable to install Windows 2000 printer driver files (%d)!\n"
|
||||
msgstr ""
|
||||
"Impossibile installare i file dei driver di stampa di Windows 2000 (%d)!\n"
|
||||
msgstr "Impossibile installare i file dei driver di stampa di Windows 2000 (%d)!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Unable to copy Windows 9x printer driver files (%d)!\n"
|
||||
@@ -2717,8 +2685,7 @@ msgstr "Impossibile copiare i file dei driver di stampa di Windows 9x (%d)!\n"
|
||||
|
||||
#, c-format
|
||||
msgid "Unable to install Windows 9x printer driver files (%d)!\n"
|
||||
msgstr ""
|
||||
"Impossibile installare i file dei driver di stampa di Windows 9x (%d)!\n"
|
||||
msgstr "Impossibile installare i file dei driver di stampa di Windows 9x (%d)!\n"
|
||||
|
||||
msgid "No Windows printer drivers are installed!\n"
|
||||
msgstr "Nessun driver di stampa di Windows è installato!\n"
|
||||
@@ -2763,8 +2730,7 @@ msgstr "Impossibile copiare i file dei driver di stampa di CUPS (%d)!"
|
||||
|
||||
#, c-format
|
||||
msgid "Unable to install Windows 2000 printer driver files (%d)!"
|
||||
msgstr ""
|
||||
"Impossibile installare i file dei driver di stampa di Windows 2000 (%d)!"
|
||||
msgstr "Impossibile installare i file dei driver di stampa di Windows 2000 (%d)!"
|
||||
|
||||
#, c-format
|
||||
msgid "Unable to copy Windows 9x printer driver files (%d)!"
|
||||
@@ -2782,7 +2748,7 @@ msgstr "Attenzione, nessun driver di stampa Windows 2000 è installato!"
|
||||
|
||||
#, c-format
|
||||
msgid "open of %s failed: %s"
|
||||
msgstr "apertura di %s fallita: %s"
|
||||
msgstr "apertura di %s non riuscita: %s"
|
||||
|
||||
#, c-format
|
||||
msgid "Running command: %s %s -N -A %s -c '%s'\n"
|
||||
@@ -2790,7 +2756,7 @@ msgstr "Esecuzione del comando: %s %s -N -A %s -c '%s'\n"
|
||||
|
||||
#, c-format
|
||||
msgid "stat of %s failed: %s"
|
||||
msgstr "verifica di %s fallita: %s"
|
||||
msgstr "verifica di %s non riuscita: %s"
|
||||
|
||||
#, c-format
|
||||
msgid "Job #%d is already cancelled - can't cancel."
|
||||
@@ -2948,54 +2914,54 @@ msgstr ""
|
||||
" **FAIL** 1284DeviceId deve essere 1284DeviceID!\n"
|
||||
" RIF: Pagina 72, sezione 5.5\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "Missing value on line %d!"
|
||||
msgstr "Valore mancante alla riga %d!\n"
|
||||
msgstr "Valore mancante alla riga %d!"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "Missing double quote on line %d!"
|
||||
msgstr "Doppi apici mancanti alla riga %d!\n"
|
||||
msgstr "Doppi apici mancanti alla riga %d!"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "Bad option + choice on line %d!"
|
||||
msgstr "Opzione + scelta errata alla riga %d!\n"
|
||||
msgstr "Opzione + scelta errata alla riga %d!"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Empty PPD file!"
|
||||
msgstr "Impossibile copiare il file PPD!"
|
||||
msgstr "File PPD vuoto!"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "Unable to set Windows printer driver (%d)!"
|
||||
msgstr "Impossibile configurare il driver di stampa di Windows (%d)!\n"
|
||||
msgstr "Impossibile configurare il driver di stampa di Windows (%d)!"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "Unable to run \"%s\": %s\n"
|
||||
msgstr "cupsaddsmb: Impossibile eseguire \"%s\": %s\n"
|
||||
msgstr "Impossibile eseguire \"%s\": %s\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "Job #%d is already canceled - can't cancel."
|
||||
msgstr "L'operazione #%d è già annullata - impossibile annullare."
|
||||
msgstr "L'operazione #%d è stata già annullata - impossibile annullare."
|
||||
|
||||
#, c-format
|
||||
msgid "Bad notify-recipient URI \"%s\"!"
|
||||
msgstr ""
|
||||
msgstr "URI notify-recipient \"%s\" errato!"
|
||||
|
||||
#, c-format
|
||||
msgid "notify-recipient URI \"%s\" uses unknown scheme!"
|
||||
msgstr ""
|
||||
msgstr "L'URI notify-recipient \"%s\" utilizza uno schema sconosciuto!"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "Bad notify-pull-method \"%s\"!"
|
||||
msgstr "port-monitor \"%s\" errato!"
|
||||
msgstr "notify-pull-method \"%s\" errato!"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
" **FAIL** %s must be 1284DeviceID!\n"
|
||||
" REF: Page 72, section 5.5\n"
|
||||
msgstr ""
|
||||
" **FAIL** 1284DeviceId deve essere 1284DeviceID!\n"
|
||||
" **FAIL** %s deve essere 1284DeviceID!\n"
|
||||
" RIF: Pagina 72, sezione 5.5\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "lpoptions: Unable to get PPD file for %s: %s\n"
|
||||
msgstr "lpoptions: Impossibile aprire il file PPD per %s!\n"
|
||||
msgstr "lpoptions: Impossibile ottenere il file PPD per %s: %s\n"
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
.\"
|
||||
.\" "$Id: filter.man 5327 2006-03-23 19:53:24Z mike $"
|
||||
.\" "$Id: filter.man 6625 2007-07-06 22:39:54Z mike $"
|
||||
.\"
|
||||
.\" filter man page for the Common UNIX Printing System (CUPS).
|
||||
.\"
|
||||
.\" Copyright 1997-2006 by Easy Software Products.
|
||||
.\" Copyright 1997-2007 by Easy Software Products.
|
||||
.\"
|
||||
.\" These coded instructions, statements, and computer programs are the
|
||||
.\" property of Easy Software Products and are protected by Federal
|
||||
@@ -21,7 +21,7 @@
|
||||
.\" EMail: cups-info@cups.org
|
||||
.\" WWW: http://www.cups.org
|
||||
.\"
|
||||
.TH filter 7 "Common UNIX Printing System" "23 March 2006" "Easy Software Products"
|
||||
.TH filter 7 "Common UNIX Printing System" "6 July 2007" "Easy Software Products"
|
||||
.SH NAME
|
||||
filter \- cups file conversion filter interface
|
||||
.SH SYNOPSIS
|
||||
@@ -104,7 +104,7 @@ message to the current \fIErrorLog\fR using the "notice" log level.
|
||||
.TP 5
|
||||
PAGE: page-number #-copies
|
||||
.TP 5
|
||||
PAGE: #-pages total
|
||||
PAGE: total #-pages
|
||||
.br
|
||||
Adds an entry to the current \fIPageLog\fR. The first form adds
|
||||
#-copies to the job-media-sheets-completed attribute. The second
|
||||
@@ -226,5 +226,5 @@ http://localhost:631/help
|
||||
.SH COPYRIGHT
|
||||
Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
|
||||
.\"
|
||||
.\" End of "$Id: filter.man 5327 2006-03-23 19:53:24Z mike $".
|
||||
.\" End of "$Id: filter.man 6625 2007-07-06 22:39:54Z mike $".
|
||||
.\"
|
||||
|
||||