]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Load cups into easysw/current.
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>
Mon, 22 May 2006 23:39:03 +0000 (23:39 +0000)
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>
Mon, 22 May 2006 23:39:03 +0000 (23:39 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@161 a1ca3aef-8c08-0410-bb20-df032aa958be

129 files changed:
CHANGES-1.2.txt [deleted file]
CHANGES.txt
INSTALL.txt
Makedefs.in
Makefile
README.txt
backend/ipp.c
backend/serial.c
backend/usb-unix.c
cgi-bin/admin.c
cgi-bin/classes.c
cgi-bin/html.c
cgi-bin/ipp-var.c
cgi-bin/printers.c
cgi-bin/template.c
cgi-bin/var.c
config-scripts/cups-common.m4
config-scripts/cups-compiler.m4
config-scripts/cups-directories.m4
config-scripts/cups-ldap.m4
config-scripts/cups-sharedlibs.m4
config-scripts/cups-ssl.m4
cups-config.in
cups/Makefile
cups/auth.c
cups/backchannel.c
cups/cups.h
cups/encode.c
cups/getifaddrs.c
cups/http-private.h
cups/mark.c
cups/page.c
cups/request.c
cups/snprintf.c
doc/Makefile
doc/help/spec-pdf.html [deleted file]
doc/help/spec-postscript.html [deleted file]
doc/pl/images/button-accept-jobs.gif
doc/pl/images/button-add-class.gif
doc/pl/images/button-add-printer.gif
doc/pl/images/button-add-this-printer.gif
doc/pl/images/button-cancel-all-jobs.gif
doc/pl/images/button-cancel-job.gif
doc/pl/images/button-change-settings.gif
doc/pl/images/button-clean-print-heads.gif
doc/pl/images/button-clear.gif
doc/pl/images/button-continue.gif
doc/pl/images/button-delete-class.gif
doc/pl/images/button-delete-printer.gif
doc/pl/images/button-edit-configuration-file.gif
doc/pl/images/button-export-samba.gif
doc/pl/images/button-help.gif
doc/pl/images/button-hold-job.gif
doc/pl/images/button-manage-classes.gif
doc/pl/images/button-manage-jobs.gif
doc/pl/images/button-manage-printers.gif
doc/pl/images/button-manage-server.gif
doc/pl/images/button-modify-class.gif
doc/pl/images/button-modify-printer.gif
doc/pl/images/button-move-job.gif
doc/pl/images/button-move-jobs.gif
doc/pl/images/button-print-self-test-page.gif
doc/pl/images/button-print-test-page.gif
doc/pl/images/button-publish-printer.gif
doc/pl/images/button-reject-jobs.gif
doc/pl/images/button-release-job.gif
doc/pl/images/button-restart-job.gif
doc/pl/images/button-save-changes.gif
doc/pl/images/button-search.gif
doc/pl/images/button-set-allowed-users.gif
doc/pl/images/button-set-as-default.gif
doc/pl/images/button-set-printer-options.gif
doc/pl/images/button-show-active.gif
doc/pl/images/button-show-all.gif
doc/pl/images/button-show-completed.gif
doc/pl/images/button-show-next.gif
doc/pl/images/button-show-previous.gif
doc/pl/images/button-sort-ascending.gif
doc/pl/images/button-sort-descending.gif
doc/pl/images/button-start-class.gif
doc/pl/images/button-start-printer.gif
doc/pl/images/button-stop-class.gif
doc/pl/images/button-stop-printer.gif
doc/pl/images/button-unpublish-printer.gif
doc/pl/images/button-use-default-config.gif
doc/pl/images/button-view-access-log.gif
doc/pl/images/button-view-error-log.gif
doc/pl/images/button-view-page-log.gif
doc/pl/images/button-view-printable-version.gif
filter/Makefile
filter/image-bmp.c
filter/image-colorspace.c
filter/image-gif.c
filter/image-jpeg.c
filter/image-photocd.c
filter/image-pix.c
filter/image-png.c
filter/image-pnm.c
filter/image-sgi.c
filter/image-sun.c
filter/image-tiff.c
filter/imagetoraster.c
filter/interpret.c
filter/pstops.c
filter/raster.c
filter/raster.h
filter/rastertolabel.c
locale/cups.pot
locale/cups_es.po
locale/cups_ja.po
locale/cups_pl.po
locale/cups_sv.po
packaging/WELCOME.rtf
packaging/cups.readme
ppd/intelbar.ppd [deleted file]
ppd/zebra.ppd
scheduler/auth.c
scheduler/client.c
scheduler/dirsvc.c
scheduler/ipp.c
scheduler/job.c
scheduler/printers.c
scheduler/printers.h
scheduler/testmime.c
systemv/cupstestppd.c
systemv/lpadmin.c
systemv/lpstat.c
tools/makesrcdist
tools/testosx

diff --git a/CHANGES-1.2.txt b/CHANGES-1.2.txt
deleted file mode 100644 (file)
index 5195095..0000000
+++ /dev/null
@@ -1,622 +0,0 @@
-CHANGES-1.2.txt
----------------
-
-CHANGES IN CUPS V1.2.1
-
-       - The web interface support programs crashed on Solaris
-         (STR #1699)
-       - cupstestppd incorrectly reported problems with
-         *1284DeviceID attributes (STR #1710)
-       - Browsing could get disabled after a restart (STR #1670)
-       - Custom page sizes were not parsed properly (STR #1709)
-       - The -U option wasn't supported by lpadmin (STR #1702)
-       - The -u option didn't work with lpadmin (STR #1703)
-       - The scheduler did not create non-blocking back-channel
-         pipes, which caused problems when the printer driver
-         did not read the back-channel data (STR #1705)
-       - The scheduler no longer uses chunking in responses to
-         clients - this caused problems with older versions of
-         CUPS like 1.1.17 (PR #6143)
-       - Automatic raw printing was broken (STR #1667)
-       - 6-up printing was broken (STR #1697)
-       - The pstops filter did not disable CTRL-D processing on
-         the printer/RIP.
-       - ppdOpen*() did not load custom options properly (STR
-         #1680)
-       - "Set Printer Options" in the web interface did not
-         update the DefaultImageableArea or
-         DefaultPaperDimension attributes in the PPD file (STR
-         #1689)
-       - Fixed compile errors (STR #1682, STR #1684, STR #1685,
-         STR #1690)
-       - The lpstat command displayed the wrong error message
-         for a missing destination (STR #1683)
-       - Revised and completed the Polish translation (STR
-         #1669)
-       - Stopped jobs did not show up in the list of active jobs
-         (STR #1676)
-       - The configure script did not use the GNU TLS
-         "libgnutls-config" script to find the proper compiler
-         and linker options.
-       - The imagetoraster filter did not correctly generate
-         several 1, 2, and 4-bit color modes.
-       - cupsRasterWritePixels() could lose track of the current
-         output row.
-       - cupsRasterReadPixels() did not automatically swap
-         12/16-bit chunked pixel data.
-       - Moved the private _cups_raster_s structure out of the
-         public header.
-       - Updated the CUPS raster format specification to include
-         encoding rules and colorspace definitions.
-       - The Zebra PPD files had the wrong PostScript code for
-         the "default" option choices.
-       - The imagetoraster filter did not generate correct CIE
-         XYZ or Lab color data.
-       - The cups-config script did not work when invoked from a
-         source directory (STR #1673)
-       - The SNMP backend did not compile on systems that used
-         the getifaddrs emulation functions (STR #1668)
-
-
-CHANGES IN CUPS V1.2
-
-       - Documentation updates (STR #1618, STR #1620, STR #1622,
-         STR #1637)
-       - Static file copy buffers reduced from 64k to 32k to
-         work around bogus MallocDebug library assumptions (STR
-         #1660)
-       - The scheduler did not decode the backend exit code
-         properly (STR #1648)
-       - The MacOS X USB backend did not report the 1284 device ID,
-         nor did it fix device IDs returned by HP printers.
-       - The scheduler started more slowly than 1.1.x with large
-         numbers of printers (STR #1653)
-       - cupsRasterInterpretPPD() didn't support the
-         cupsPreferredBitsPerColor attribute, and imagetoraster
-         didn't use the new API.
-       - The "make test" script did not create all of the necessary
-         subdirectories for testing (STR #1638)
-       - The scheduler did not prevent rotation of logs
-         redirected to /dev/null (STR #1651)
-       - "make test" did not include the SNMP backend in the
-         test environment (STR #1625)
-       - The EPM packaging files did not work (STR #1621)
-       - "Use Default Configuration" inserted a broken
-         configuration file (STR #1624)
-       - Redirects in the web interface did not always preserve
-         the encrypted status of a connection (STR #1603)
-       - Added the Apple "pap" backend.
-       - Added CUPS library to CUPS Image shared library
-         linkage to support Linux --as-needed linker option
-         (STR #1606)
-       - Fixed support for --enable-pie (STR #1609)
-       - The pdftops filter did not validate the length of the
-         encryption key (STR #1608)
-       - Updated the Polish localization.
-       - "Encryption Required" in the cupsd.conf file now only
-         requires encryption when the connection is not over the
-         loopback interface or domain socket.
-       - Printer names containing "+" were not quoted properly in
-         the web interface (STR #1600)
-       - The SNMP backend now reports the make and model in the
-         information string so that the auto-generated printer
-         name is more useful than just an IP address.
-
-
-CHANGES IN CUPS V1.2rc3
-
-       - The cups-lpd program always did reverse lookups on the
-         client address, which could be a performance problem.
-         Added a "-n" option to disable lookups.
-       - When configured with SSL support, require encryption by
-         default when displaying the /admin location (STR #1592)
-       - The next job ID was not computed correctly if the job
-         cache file got out of sync with the spool directory
-         (STR #1582)
-       - The PNG image handling code used deprecated functions
-         from libpng (STR #1587)
-       - Added a Polish translation (STR #1584, STR #1586)
-       - More changes to the scheduler to improve battery life
-         on portable devices (STR #1583)
-       - Changed the default log level for status messages back
-         to "DEBUG" to be consistent with CUPS 1.1.x (STR #1579)
-       - The error string was not set properly when
-         cupsDoFileRequest() was given the name of a directory
-         (STR #1578)
-       - Fixed handling of job-hold-until (STR #1581)
-       - Added explicit notes to the cupsaddsmb man page
-         explaining that the driver filenames are case-sensitive
-         under UNIX and that they must be all lowercase (Windows
-         2000) or all UPPERCASE (Windows 95/98/Me) to work (STR
-         #1568)
-       - The USB backend incorrectly split the manufacturer name
-         if it contained spaces (STR #1566)
-       - The scheduler would hang when listing PPD files for a
-         manufacturer whose name contained spaces (STR #1567)
-       - Added the SNMP backend for network printer discovery
-         (STR #1555)
-       - cupstestppd now fails PPD files with 1284DeviceId
-         instead of 1284DeviceID, and cups-driverd uses a
-         case-insensitive comparison when looking for it (STR
-         #1573)
-       - cupsDoFileRequest() and cupsDoRequest() now work
-         properly with non-blocking HTTP connections.
-       - Added Swedish translation (STR #1569)
-       - "make install" now installs the MIME files with world
-         read permissions (STR #1565)
-       - More CDSA encryption support fixes (STR #1563)
-       - Updated the default mime.types file to support printing
-         of files that do not have a locally-recognized MIME
-         media type to raw or System V queues.
-       - Updated the serial port detection code on Linux (STR
-         #1562)
-       - Added some more error checking to httpGetHostname()
-         (STR #1561)
-       - The title of some administration pages was not
-         localized (STR #1548)
-       - The edit-config.tmpl file was not generated or
-         installed for the Spanish or Japanese localizations
-         (STR #1547)
-       - The mimeDelete() function freed the types before the
-         filters, but the filters needed the type data (STR #1558)
-       - The scheduler didn't keep track of the status pipes
-         properly, leading to a bad select() for multi-file jobs
-         (STR #1559)
-       - The cupstestdsc program didn't validate the ordinal
-         page number value for %%Page: comments.
-
-
-CHANGES IN CUPS V1.2rc2
-
-       - The scheduler was not always using the string pool,
-         causing random crashes.
-       - The lpmove and the web interface's Move Job button did
-         not work with stopped jobs (STR #1534)
-       - The PostScript filter did not handle the page-set
-         option properly with number-up printing (STR #1543)
-       - The scheduler now only warns about unsupported ACLs
-         once (STR #1532)
-       - The "fitplot" option did not work with output from
-         Mozilla (STR #1542)
-       - The imagetops filter did not work with Level 2 or 3
-         printers (STR #1533)
-       - The scheduler now recognizes PostScript files with PJL
-         commands that do not include an ENTER LANGUAGE command.
-       - Added --with-printcap configure option.
-       - 64-bit SSL fixes for MacOS X.
-       - The scheduler didn't send some printer state change
-         events.
-       - The scheduler didn't send jobs to busy remote printers.
-       - Fixed some problems with the launchd support.
-       - Added new USB printer backend for MacOS X.
-       - The PostScript filter now handles files that start with
-         an incomplete PJL header (PR #6076)
-       - The web interface language selection code did not try
-         the generic language localization (STR #1531)
-       - The language cache, string pool, and transcoding caches
-         are now process global instead of per-thread to avoid
-         problems with GNOME and to allow for data sharing
-         between threads (STR #1530)
-       - Fixed a CUPS 1.1.x compatibility bug (STR #1528)
-       - The web interface redirection after certain printer
-         administration tasks was broken (STR #1516)
-       - Web interface authorization could get stuck (STR #1512)
-       - Localization updates (STR #1513, STR #1518, STR #1520)
-       - The pstops filter didn't work with some files (STR
-         #1523)
-       - "./configure --enable-static" didn't work (STR #1522)
-       - The scheduler was not using the configured default
-         Group (STR #1521)
-       - The web interface still did not show the localized time
-         and date for some locales and systems (STR #1509)
-       - httpAddrGetList() would crash on systems without
-         getaddrinfo().
-       - Socket URIs without a trailing slash would cause the
-         port number to not be accepted (STR #1519)
-       - Local raw and System V printers were not advertised as
-         such for printer browsing (STR #1502)
-       - The RPM spec file incorrectly put duplicate copies of
-         the Japanese and Spanish web interface templates in the
-         main cups package (STR #1517)
-       - cupsSetDests() did not explicitly set the permissions
-         of the /etc/cups/lpoptions file (STR #1508)
-       - The lpq command crashed with the -h option (STR #1515)
-
-
-CHANGES IN CUPS V1.2rc1
-
-       - Documentation updates (STR #1497, STR #1498)
-       - The scheduler now redirects browsers to https: URLs
-         when encryption is required.
-       - The scheduler would crash when printing with a banner
-         (STR #1500)
-       - cups-driverd did not use the LanguageEncoding attribute
-         in PPD files to convert the NickName to UTF-8 (STR
-         #1503)
-       - The lpadmin command could not set the
-         printer-error-policy attribute (STR #1504)
-       - The web interface did not show the time and date in the
-         correct format for the locale (STR #1505)
-       - CUPS no longer accepts print jobs if a printer does not
-         support the file format (STR #1501)
-       - Cleaned up the PostScript filter (pstops) so that it
-         properly supports %%IncludeFeature and page scaling
-         (STR #1453)
-       - Fixed the cupsFileRewind() and cupsFileSeek() functions
-         to work properly with uncompressed files.
-       - Added cupsFileGetLine(), cupsFileStderr(),
-         cupsFileStdin(), and cupsFileStdout() functions to the
-         CUPS library.
-       - Added a new cupstestdsc program to test the DSC
-         conformance of PostScript files.
-       - Added KDE/GNOME icons and a Manage Printers menu item.
-       - Added --enable-image and --enable-pdftops configure
-         options to control whether the image and PDF filters
-         are built and installed (default = yes for all
-         platforms but MacOS X)
-       - Fixed a minor memory leak in the PPD API.
-       - Fixed transcoding issues (STR #1493)
-       - The scheduler now enforces a minimum job cost of 100
-         when doing FilterLimit checks.
-       - The scheduler would leak file descriptors when printing
-         to raw queues (STR #1491)
-       - The IPv6 support did not compile on Tru64 UNIX (STR
-         #1488)
-       - ppdOpen2() now converts the NickName and all UI text to
-         UTF-8 (STR #1475)
-       - The Set Allowed Users web page did not work (STR #1486)
-       - When the default policy was not set or set to a non-
-         existing policy, the scheduler did not set the default
-         policy name to "default" (STR #1484)
-       - The Zebra CPCL driver did not use the correct righthand
-         margin for the 4" wide label sizes.
-       - Fixed a problem with the parsing of fractional real
-         numbers in PPD files.
-       - Added Spanish localization files (STR #1480)
-       - Fixed localization of a few scheduler messages (STR
-         #1478)
-       - Fixed support for HEAD requests in the scheduler (STR
-         #1481)
-
-
-CHANGES IN CUPS V1.2b2
-
-       - Updated the CUPS design description.
-       - Added --enable-32bit and --enable-64bit configure
-         options to allow building of separate 32/64-bit
-         libraries on systems that support both environments
-         (STR #1472)
-       - Various compiler warning fixes.
-       - Fixes for Solaris 10 builds against old GNU TLS and
-         LDAP libraries.
-       - Added a cupsArrayUserData() function to retrieve the
-         user data pointer for an array (useful for typing
-         arrays)
-       - The ppdEmitString() function did not compute the
-         required buffer size properly, leading to dropped
-         characters on the end of the printer commands in pstops
-         and imagetops (STR #1470)
-
-
-CHANGES IN CUPS V1.2b1
-
-       - The serial backend now supports Equinox 8-port serial
-         hubs (STR #526)
-       - The IPP backend now supports a compression option to
-         compress print files as they are sent to the remote
-         server (STR #956)
-       - The CUPS browse protocol now supports passing of
-         default options and browse timeout values from the
-         server to the clients (STR #800)
-       - Implicit classes that timed out could cause the
-         scheduler to crash (STR #1439)
-       - Added DragonFly support in local device backends (STR
-         #1362)
-       - Added LDAP printer browsing support (STR #338)
-       - Added official support for printer maintenance commands
-         via the CUPS Command file format and hooks in the
-         printer-type and web interfaces (STR #932)
-       - The HP-GL/2 filter could get in an infinite loop trying
-         to convert HP-PCL files (STR #1415)
-       - CUPS now implements the HTTP/1.1 Expect header (STR
-         #1407)
-       - Options in PPD files are no longer automatically put in
-         an "Extra" group; rather, all options that are not
-         inside an Open/CloseGroup will be placed in the
-         "General" group (STR #1385)
-       - The scheduler now creates a job-uuid attribute that
-         uniquely identifies a job on a network (STR #1410)
-       - The init script now unsets the TMPDIR environment
-         variable to prevent user temporary directories from
-         being used by cupsd accidentally (STR #1424)
-       - Added support for launchd on MacOS X.
-       - Added support for notify_post on MacOS X.
-       - Added support for DBUS on Linux.
-       - All of the Berkeley (except for lpc) and System V
-         commands now support specification of user, host, and
-         port (STR #1028, STR #1029, STR #1087)
-       - The lpmove command now allows you to move all jobs for
-         a given queue (STR #56)
-       - The web interface now supports moving of a job or jobs
-         to another queue (STR #56)
-       - The web interface now provides searching, paging, and
-         changing of the sort/display order of classes, jobs,
-         and printers.
-       - cupsaddsmb now accepts a password on the command-line
-         and supports passwords with special characters (STR
-         #822, STR #1236)
-       - ppdLoad*() no longer tries to "fix" bad characters in
-         UI text (STR #1101)
-       - Printer names can now (reliably) contain Unicode
-         characters (STR #896)
-       - The lpstat command now shows the time and date of the
-         last printer state change instead of the hardcoded "Jan
-         01 00:00" (STR #659)
-       - The scheduler now adds a job-actual-printer-uri
-         attribute to job objects when printing to a class (STR
-         #116)
-       - The scheduler now logs log file open errors to the
-         system log (STR #1289)
-       - The scheduler now sets the job-originating-user-name to
-         the authenticated username, if available (STR #1318)
-       - The scheduler now only updates the permissions of SSL
-         keys and certificates when they are under the
-         ServerRoot directory (STR #1324)
-       - The rastertodymo driver has been renamed to
-         rastertolabel (a symlink is installed so that existing
-         queues continue to work) and now also supports Zebra's
-         CPCL language.
-       - The lpstat command could show the wrong active job for
-         a printer (STR #1301)
-       - Fixed a potential crash problem in the scheduler when
-         aborting a CGI program (STR #1290)
-       - Added a "cancel all jobs" button to the class and
-         printer web interfaces (STR #1140)
-       - The add-printer web page now shows the
-         set-printer-options page after the printer has been
-         added (STR #690)
-       - The classes web page now provides links to each of the
-         member printers (STR #307)
-       - CUPS now handles HTTP request/response lines up to 32k
-         in length; this is mainly for better cookie support
-         (STR #1274)
-       - Added support for the Apache PassEnv and SetEnv
-         directives to cupsd.conf (STR #853)
-       - Added large file (64-bit) support (STR #541)
-       - Fixed a performance issue with the ippReadIO()
-         implementation (STR #1284)
-       - Fixed a performance issue with the scheduler's implicit
-         class implementation (STR #1283)
-       - The pdftops filter now adds the Title and Creator
-         fields from the PDF file to the PostScript document
-         comments section (STR #539, STR #830)
-       - Added a new cups_array_t and cupsArray*() functions to
-         the CUPS API to support sorted lists of data.
-       - Made the CUPS API library thread-safe (STR #1276)
-       - Added "media" option support for EFI EFMediaType option
-         (STR #902)
-       - Added write buffering to the HTTP code to improve
-         performance (STR #547)
-       - The scheduler now uses the attributes-natural-language
-         attribute to localize banner pages (STR #386)
-       - The scheduler now returns the address that was used to
-         connect to it (STR #1076)
-       - Fixed a problem with N-up printing and OpenOffice (STR
-         #576)
-       - Added support for the GCC position independent
-         executable options (STR #1209)
-       - Added new BrowseLocalProtocols and
-         BrowseRemoteProtocols directives to cupsd.conf,
-         allowing for different browse protocols for local and
-         remote printers (STR #877)
-       - PPD files can now contain strings up to 256k in length
-         (STR #1215)
-       - The pstops filter now supports the IncludeFeature DSC
-         comment (STR #1212)
-       - The pstops filter now disables the setpagedevice
-         procedure when doing N-up printing (STR #1161)
-       - The serial backend now supports "stop=1", "stop=2",
-         "parity=space", and "parity=mark" options (STR #1155)
-       - "make install" no longer overwrites an existing PAM
-         configuration file (STR #1064)
-       - The scheduler now closes all files on startup when run
-         in daemon mode (STR #1009)
-       - Added a new RGBW colorspace to the CUPS raster format
-         (STR #1071)
-       - The pdftops filter now sets the page size based on the
-         media box when not scaling the output (STR #912)
-       - The pdftops filter now supports masked images (STR
-         #281)
-       - The pdftops filter produced large output when rendering
-         PDF files containing lot of repeated images (STR #327)
-       - The pdftops filter now minimizes print processing of
-         PDF files when using the page-ranges option (STR #273)
-       - Updated pdftops filter to Xpdf 3.01.
-       - Added new cupsBackchannelRead() and
-         cupsBackchannelWrite() functions, as well as
-         backchannel support to the parallel, serial, socket,
-         and USB backends (STR #1252)
-       - The parallel and USB backends now treat a "no space
-         available" error as an out-of-paper condition (STR
-         #1225)
-       - The "lpc" command now supports the "status all" command
-         (STR #1004)
-       - ippReadIO() did not read collections properly (STR
-         #1249)
-       - The "make test" script now creates the test files in
-         "/tmp/cups-$USER" instead of "/tmp/$USER" (STR #981)
-       - All backends now abort on error when printing a job to
-         a class - this allows the next printer in the class to
-         print the job (STR #1084)
-       - The scheduler now verifies that a printer supports
-         Letter or A4 media sizes before setting them as the
-         initial default (STR #1250)
-       - The cupstestppd program now flags bad Resolution
-         options (STR #1269)
-       - The USB backend now retries printing when the printer
-         is disconnected or turned off (STR #1267)
-       - Added new httpGetHostname() function to CUPS API, and
-         use it instead of gethostname() so that the web
-         interface will work correctly on systems whose hostname
-         is not the FQDN (STR #1266)
-       - The scheduler now stops printers if the backend for the
-         queue is missing on startup (STR #1265)
-       - The configure script now supports "--disable-library"
-         to disable particular image file format support
-         libraries, even if they are available on the build
-         system (STR #1248)
-       - The IPP backend did not always report on the total
-         number of pages that were printed (STR #1251)
-       - The lpstat program could display garbage date and time
-         values for locales whose date format exceeded 31
-         characters (STR #1263)
-       - The cupstestppd program would segfault when testing
-         certain broken PPD files (STR #1268)
-       - Dramatically reduced the overhead of implicit classes.
-       - Added new cupsDir*() functions to CUPS API.
-       - Printers can now be published individually for sharing.
-       - Fixed a bug in the scheduler's startup signalling code
-         which caused cupsd to send the SIGUSR1 signal to the
-         init process instead of the original parent process
-         (STR #1258)
-       - Added new on-line help CGI to web interface to provide
-         searchable help.
-       - Devices are now tracked dynamically, with each query
-         doing a new device scan.  This eliminates a previous
-         startup delay caused by slow backends and allows new
-         printers to be seen without restarting the server,
-         however it limits the amount of device URI checking
-         that can be done (basically now the scheduler only
-         requires a URI with a method that is a listed backend)
-       - Added new printer auto-detection, server configuration,
-         and log file viewing to the administration web page.
-       - Added new "set allowed users" web interface to set the
-         list of allowed users for a printer or class.
-       - The scheduler, command-line, and web interfaces now
-         limit the list of printers and classes to those
-         accessible by a user.
-       - cupsMarkOptions() now handles more non-standard
-         duplexing options and choices (STR #915)
-       - cups-lpd now honors remote banner requests with the
-         "standard" banner whenever a printer does not have one
-         defined (STR #1220)
-       - The scheduler's denial-of-service checks did not work
-         properly with IPv6 addresses (STR #1134)
-       - The lp and lpr commands did not error out properly when
-         they were unable to write to a temporary file (STR
-         #1129)
-       - The pstops filter did not handle Adobe-specific
-         comments in Windows NT driver output (STR #1085)
-       - "lpstat -l -p" incorrectly reported the printer
-         interface (STR #936)
-       - The web interface now operates exclusively with the
-         UTF-8 encoding, and sends the appropriate character set
-         and header information to the web browser (STR #919,
-         STR #1007)
-       - Added a "set allowed users" interface to the web
-         interface so that you can set the list of allowed or
-         denied users/groups for a printer or class.
-       - Disallow the "#" character in printer names, since it
-         has special meaning in the shell, config files, and in
-         URIs (STR #917, STR #1202)
-       - Added a new application/x-csource MIME type, and
-         support for it to the texttops filter so that you can
-         pretty print plain text files without the C/C++
-         keywords being highlighted.
-       - The pdftops filter did not compile with GCC 4.0 (STR
-         #1226)
-       - The texttops filter did not highlight preprocessor
-         directives followed by a tab properly.
-       - HP PJL output now uses both JOB DISPLAY and RDYMSG
-         commands to show the current job on the printer's
-         display (STR #1218)
-       - Local authentication certificates are now stored in
-         /var/run/cups/certs by default instead of
-         /etc/cups/certs (STR #1211)
-       - Backends now use "&" to separate options in device
-         URIs; "+" is still recognized but is deprecated (STR
-         #842)
-       - The USB backend no longer supports the usb:/dev/foo
-         format on systems that support device ID queries.
-       - Forced classification markings did not work when the
-         job-sheets parameters were "none,none".
-       - "lpstat -l -p" incorrectly showed all users as allowed,
-         even if the queue was restricted to certain users (STR
-         #801)
-       - The scheduler now automatically detects SSL/TLS clients
-         without using the SSLPort/SSLListen directives.
-       - The CUPS API and scheduler no longer support SSLv2-
-         encrypted connections.
-       - Updated the cupsaddsmb utility to correctly export the
-         CUPS driver for Windows.
-       - Fixed a signal-handling bug in httpRead() which
-         ultimately caused the server to print multiple copies
-         when it was busy (STR #1184)
-       - The cupsFile API now uses the O_APPEND option when
-         opening files in append mode (STR #990)
-       - The md5.h header and md5_* functions are now officially
-         private and have been renamed to avoid conflicts with
-         other implementations with the same name.
-       - The pdftops filter incorrectly embedded some Type1
-         fonts (STR #1093)
-       - The scheduler didn't detect a closed connection in the
-         middle of an IPP request (STR #1153)
-       - The scheduler could block trying to read the job status
-         if there was input pending and the job was cancelled in
-         the same input cycle (STR #1157)
-       - The scheduler could crash when deleting a class due to
-         infinite recursion.
-       - Updated the Zebra ZPL label printer driver to use the
-         run-length encoding and support more options.
-       - Updated serial backend to scan for /dev/ttyC* as well
-         as /dev/ttyc* for Cyclades serial ports (STR #1049)
-       - The scheduler could hang reading the job status under
-         certain circumstances (STR #1068)
-       - The USB backend termination signal code was inverted
-         (STR #1046)
-       - Moved enable and disable commands to sbindir to be
-         consistent.
-       - Added new cupsRasterInterpretPPD() function for RIP
-         filters to setup the raster page header from
-         PostScript commands in a PPD file.
-       - The CUPS browsing protocol now offers a "delete" bit
-         to remove printers as soon as they are deleted on the
-         server or as soon as the server shuts down gracefully
-         (STR #793)
-       - The CUPS_SERVER and ServerName directives (client.conf
-         and ~/.cupsrc) may now contain names of the form
-         "server:port" and "/path/to/domain/socket".
-       - The "cancel -u user" command now works for ordinary
-         users (STR #751)
-       - Added test run support to "make test" target (STR #64)
-       - Added domain socket support (STR #656)
-       - Added BrowseLocalOptions directive to allow the
-         administrator to add printer URI options to the browse
-         URI, e.g. "encryption=required" (STR #732)
-       - Added BrowseRemoteOptions directive to allow the
-         administrator to add standard URI options to the
-         remote printer URI, e.g. "encryption=required" (STR
-         #732)
-       - Now put "-I.." compiler option in front of all others
-         to ensure that local CUPS headers are used before
-         installed headers (STR #437)
-       - New cupsLangPrintf() and cupsLangPuts() for localized
-         interfaces.
-       - Now support custom attributes and extended options in
-         PPD files.
-       - Now provide functions to save PPD files.
-       - New policy mechanism allows per-operation and
-         per-printer control over what users and groups are
-         allowed to do various IPP operations.
-       - New error policy mechanism to control how aborted
-         backend errors are handled by the scheduler
-         (abort-job, retry-job, requeue-job, stop-printer)
-       - Updated the printer test page with a better color
-         wheel and a separate grayscale ramp.
-       - A single backend process is now run to send all print
-         data for a job.
-       - Backends and filters can now send and receive
-         backchannel data over file descriptor 3.
-       - Updated the raster stream format to support more
-         user-defined attributes and to do compression of the
-         page data.
index 2791e58658fe3d95be50738eefc299ea0079fe0c..87691a8c70334c673ddb8d000104a1e28d340f71 100644 (file)
@@ -1,8 +1,639 @@
-CHANGES.txt - 2006-05-16
+CHANGES.txt - 2006-05-22
 ------------------------
 
-CHANGES IN CUPS V1.3
+CHANGES IN CUPS V1.2.1
 
-       - Added support for setting the document-format-default
-         attribute on a per-printer basis.
-       - Added support for IntelliBar label printers.
+       - The web interface did not handle reloads properly for
+         MSIE (STR #1716)
+       - The configure script no longer adds linker rpath
+         options when they are unnecessary.
+       - The scheduler could crash printing a debug message on
+         Solaris (STR #1714)
+       - The --enable-32bit and --enable-64bit configure options
+         did not always work.
+       - The password prompt showed the domain socket address
+         instead of "localhost" for local authentication (STR
+         #1706)
+       - The web interface filtered the list of printers even if
+         the user wasn't logged in (STR #1700)
+       - The IPP backend did not work reliably with some Xerox
+         printers (STR #1704)
+       - Trailing banners were not added when printing a single
+         file (STR #1698)
+       - The web interface support programs crashed on Solaris
+         (STR #1699)
+       - cupstestppd incorrectly reported problems with
+         *1284DeviceID attributes (STR #1710)
+       - Browsing could get disabled after a restart (STR #1670)
+       - Custom page sizes were not parsed properly (STR #1709)
+       - The -U option wasn't supported by lpadmin (STR #1702)
+       - The -u option didn't work with lpadmin (STR #1703)
+       - The scheduler did not create non-blocking back-channel
+         pipes, which caused problems when the printer driver
+         did not read the back-channel data (STR #1705)
+       - The scheduler no longer uses chunking in responses to
+         clients - this caused problems with older versions of
+         CUPS like 1.1.17 (PR #6143)
+       - Automatic raw printing was broken (STR #1667)
+       - 6-up printing was broken (STR #1697)
+       - The pstops filter did not disable CTRL-D processing on
+         the printer/RIP.
+       - ppdOpen*() did not load custom options properly (STR
+         #1680)
+       - "Set Printer Options" in the web interface did not
+         update the DefaultImageableArea or
+         DefaultPaperDimension attributes in the PPD file (STR
+         #1689)
+       - Fixed compile errors (STR #1682, STR #1684, STR #1685,
+         STR #1690)
+       - The lpstat command displayed the wrong error message
+         for a missing destination (STR #1683)
+       - Revised and completed the Polish translation (STR
+         #1669)
+       - Stopped jobs did not show up in the list of active jobs
+         (STR #1676)
+       - The configure script did not use the GNU TLS
+         "libgnutls-config" script to find the proper compiler
+         and linker options.
+       - The imagetoraster filter did not correctly generate
+         several 1, 2, and 4-bit color modes.
+       - cupsRasterWritePixels() could lose track of the current
+         output row.
+       - cupsRasterReadPixels() did not automatically swap
+         12/16-bit chunked pixel data.
+       - Moved the private _cups_raster_s structure out of the
+         public header.
+       - Updated the CUPS raster format specification to include
+         encoding rules and colorspace definitions.
+       - The Zebra PPD files had the wrong PostScript code for
+         the "default" option choices.
+       - The imagetoraster filter did not generate correct CIE
+         XYZ or Lab color data.
+       - The cups-config script did not work when invoked from a
+         source directory (STR #1673)
+       - The SNMP backend did not compile on systems that used
+         the getifaddrs emulation functions (STR #1668)
+
+
+CHANGES IN CUPS V1.2.0
+
+       - Documentation updates (STR #1618, STR #1620, STR #1622,
+         STR #1637)
+       - Static file copy buffers reduced from 64k to 32k to
+         work around bogus MallocDebug library assumptions (STR
+         #1660)
+       - The scheduler did not decode the backend exit code
+         properly (STR #1648)
+       - The MacOS X USB backend did not report the 1284 device ID,
+         nor did it fix device IDs returned by HP printers.
+       - The scheduler started more slowly than 1.1.x with large
+         numbers of printers (STR #1653)
+       - cupsRasterInterpretPPD() didn't support the
+         cupsPreferredBitsPerColor attribute, and imagetoraster
+         didn't use the new API.
+       - The "make test" script did not create all of the necessary
+         subdirectories for testing (STR #1638)
+       - The scheduler did not prevent rotation of logs
+         redirected to /dev/null (STR #1651)
+       - "make test" did not include the SNMP backend in the
+         test environment (STR #1625)
+       - The EPM packaging files did not work (STR #1621)
+       - "Use Default Configuration" inserted a broken
+         configuration file (STR #1624)
+       - Redirects in the web interface did not always preserve
+         the encrypted status of a connection (STR #1603)
+       - Added the Apple "pap" backend.
+       - Added CUPS library to CUPS Image shared library
+         linkage to support Linux --as-needed linker option
+         (STR #1606)
+       - Fixed support for --enable-pie (STR #1609)
+       - The pdftops filter did not validate the length of the
+         encryption key (STR #1608)
+       - Updated the Polish localization.
+       - "Encryption Required" in the cupsd.conf file now only
+         requires encryption when the connection is not over the
+         loopback interface or domain socket.
+       - Printer names containing "+" were not quoted properly in
+         the web interface (STR #1600)
+       - The SNMP backend now reports the make and model in the
+         information string so that the auto-generated printer
+         name is more useful than just an IP address.
+
+
+CHANGES IN CUPS V1.2rc3
+
+       - The cups-lpd program always did reverse lookups on the
+         client address, which could be a performance problem.
+         Added a "-n" option to disable lookups.
+       - When configured with SSL support, require encryption by
+         default when displaying the /admin location (STR #1592)
+       - The next job ID was not computed correctly if the job
+         cache file got out of sync with the spool directory
+         (STR #1582)
+       - The PNG image handling code used deprecated functions
+         from libpng (STR #1587)
+       - Added a Polish translation (STR #1584, STR #1586)
+       - More changes to the scheduler to improve battery life
+         on portable devices (STR #1583)
+       - Changed the default log level for status messages back
+         to "DEBUG" to be consistent with CUPS 1.1.x (STR #1579)
+       - The error string was not set properly when
+         cupsDoFileRequest() was given the name of a directory
+         (STR #1578)
+       - Fixed handling of job-hold-until (STR #1581)
+       - Added explicit notes to the cupsaddsmb man page
+         explaining that the driver filenames are case-sensitive
+         under UNIX and that they must be all lowercase (Windows
+         2000) or all UPPERCASE (Windows 95/98/Me) to work (STR
+         #1568)
+       - The USB backend incorrectly split the manufacturer name
+         if it contained spaces (STR #1566)
+       - The scheduler would hang when listing PPD files for a
+         manufacturer whose name contained spaces (STR #1567)
+       - Added the SNMP backend for network printer discovery
+         (STR #1555)
+       - cupstestppd now fails PPD files with 1284DeviceId
+         instead of 1284DeviceID, and cups-driverd uses a
+         case-insensitive comparison when looking for it (STR
+         #1573)
+       - cupsDoFileRequest() and cupsDoRequest() now work
+         properly with non-blocking HTTP connections.
+       - Added Swedish translation (STR #1569)
+       - "make install" now installs the MIME files with world
+         read permissions (STR #1565)
+       - More CDSA encryption support fixes (STR #1563)
+       - Updated the default mime.types file to support printing
+         of files that do not have a locally-recognized MIME
+         media type to raw or System V queues.
+       - Updated the serial port detection code on Linux (STR
+         #1562)
+       - Added some more error checking to httpGetHostname()
+         (STR #1561)
+       - The title of some administration pages was not
+         localized (STR #1548)
+       - The edit-config.tmpl file was not generated or
+         installed for the Spanish or Japanese localizations
+         (STR #1547)
+       - The mimeDelete() function freed the types before the
+         filters, but the filters needed the type data (STR #1558)
+       - The scheduler didn't keep track of the status pipes
+         properly, leading to a bad select() for multi-file jobs
+         (STR #1559)
+       - The cupstestdsc program didn't validate the ordinal
+         page number value for %%Page: comments.
+
+
+CHANGES IN CUPS V1.2rc2
+
+       - The scheduler was not always using the string pool,
+         causing random crashes.
+       - The lpmove and the web interface's Move Job button did
+         not work with stopped jobs (STR #1534)
+       - The PostScript filter did not handle the page-set
+         option properly with number-up printing (STR #1543)
+       - The scheduler now only warns about unsupported ACLs
+         once (STR #1532)
+       - The "fitplot" option did not work with output from
+         Mozilla (STR #1542)
+       - The imagetops filter did not work with Level 2 or 3
+         printers (STR #1533)
+       - The scheduler now recognizes PostScript files with PJL
+         commands that do not include an ENTER LANGUAGE command.
+       - Added --with-printcap configure option.
+       - 64-bit SSL fixes for MacOS X.
+       - The scheduler didn't send some printer state change
+         events.
+       - The scheduler didn't send jobs to busy remote printers.
+       - Fixed some problems with the launchd support.
+       - Added new USB printer backend for MacOS X.
+       - The PostScript filter now handles files that start with
+         an incomplete PJL header (PR #6076)
+       - The web interface language selection code did not try
+         the generic language localization (STR #1531)
+       - The language cache, string pool, and transcoding caches
+         are now process global instead of per-thread to avoid
+         problems with GNOME and to allow for data sharing
+         between threads (STR #1530)
+       - Fixed a CUPS 1.1.x compatibility bug (STR #1528)
+       - The web interface redirection after certain printer
+         administration tasks was broken (STR #1516)
+       - Web interface authorization could get stuck (STR #1512)
+       - Localization updates (STR #1513, STR #1518, STR #1520)
+       - The pstops filter didn't work with some files (STR
+         #1523)
+       - "./configure --enable-static" didn't work (STR #1522)
+       - The scheduler was not using the configured default
+         Group (STR #1521)
+       - The web interface still did not show the localized time
+         and date for some locales and systems (STR #1509)
+       - httpAddrGetList() would crash on systems without
+         getaddrinfo().
+       - Socket URIs without a trailing slash would cause the
+         port number to not be accepted (STR #1519)
+       - Local raw and System V printers were not advertised as
+         such for printer browsing (STR #1502)
+       - The RPM spec file incorrectly put duplicate copies of
+         the Japanese and Spanish web interface templates in the
+         main cups package (STR #1517)
+       - cupsSetDests() did not explicitly set the permissions
+         of the /etc/cups/lpoptions file (STR #1508)
+       - The lpq command crashed with the -h option (STR #1515)
+
+
+CHANGES IN CUPS V1.2rc1
+
+       - Documentation updates (STR #1497, STR #1498)
+       - The scheduler now redirects browsers to https: URLs
+         when encryption is required.
+       - The scheduler would crash when printing with a banner
+         (STR #1500)
+       - cups-driverd did not use the LanguageEncoding attribute
+         in PPD files to convert the NickName to UTF-8 (STR
+         #1503)
+       - The lpadmin command could not set the
+         printer-error-policy attribute (STR #1504)
+       - The web interface did not show the time and date in the
+         correct format for the locale (STR #1505)
+       - CUPS no longer accepts print jobs if a printer does not
+         support the file format (STR #1501)
+       - Cleaned up the PostScript filter (pstops) so that it
+         properly supports %%IncludeFeature and page scaling
+         (STR #1453)
+       - Fixed the cupsFileRewind() and cupsFileSeek() functions
+         to work properly with uncompressed files.
+       - Added cupsFileGetLine(), cupsFileStderr(),
+         cupsFileStdin(), and cupsFileStdout() functions to the
+         CUPS library.
+       - Added a new cupstestdsc program to test the DSC
+         conformance of PostScript files.
+       - Added KDE/GNOME icons and a Manage Printers menu item.
+       - Added --enable-image and --enable-pdftops configure
+         options to control whether the image and PDF filters
+         are built and installed (default = yes for all
+         platforms but MacOS X)
+       - Fixed a minor memory leak in the PPD API.
+       - Fixed transcoding issues (STR #1493)
+       - The scheduler now enforces a minimum job cost of 100
+         when doing FilterLimit checks.
+       - The scheduler would leak file descriptors when printing
+         to raw queues (STR #1491)
+       - The IPv6 support did not compile on Tru64 UNIX (STR
+         #1488)
+       - ppdOpen2() now converts the NickName and all UI text to
+         UTF-8 (STR #1475)
+       - The Set Allowed Users web page did not work (STR #1486)
+       - When the default policy was not set or set to a non-
+         existing policy, the scheduler did not set the default
+         policy name to "default" (STR #1484)
+       - The Zebra CPCL driver did not use the correct righthand
+         margin for the 4" wide label sizes.
+       - Fixed a problem with the parsing of fractional real
+         numbers in PPD files.
+       - Added Spanish localization files (STR #1480)
+       - Fixed localization of a few scheduler messages (STR
+         #1478)
+       - Fixed support for HEAD requests in the scheduler (STR
+         #1481)
+
+
+CHANGES IN CUPS V1.2b2
+
+       - Updated the CUPS design description.
+       - Added --enable-32bit and --enable-64bit configure
+         options to allow building of separate 32/64-bit
+         libraries on systems that support both environments
+         (STR #1472)
+       - Various compiler warning fixes.
+       - Fixes for Solaris 10 builds against old GNU TLS and
+         LDAP libraries.
+       - Added a cupsArrayUserData() function to retrieve the
+         user data pointer for an array (useful for typing
+         arrays)
+       - The ppdEmitString() function did not compute the
+         required buffer size properly, leading to dropped
+         characters on the end of the printer commands in pstops
+         and imagetops (STR #1470)
+
+
+CHANGES IN CUPS V1.2b1
+
+       - The serial backend now supports Equinox 8-port serial
+         hubs (STR #526)
+       - The IPP backend now supports a compression option to
+         compress print files as they are sent to the remote
+         server (STR #956)
+       - The CUPS browse protocol now supports passing of
+         default options and browse timeout values from the
+         server to the clients (STR #800)
+       - Implicit classes that timed out could cause the
+         scheduler to crash (STR #1439)
+       - Added DragonFly support in local device backends (STR
+         #1362)
+       - Added LDAP printer browsing support (STR #338)
+       - Added official support for printer maintenance commands
+         via the CUPS Command file format and hooks in the
+         printer-type and web interfaces (STR #932)
+       - The HP-GL/2 filter could get in an infinite loop trying
+         to convert HP-PCL files (STR #1415)
+       - CUPS now implements the HTTP/1.1 Expect header (STR
+         #1407)
+       - Options in PPD files are no longer automatically put in
+         an "Extra" group; rather, all options that are not
+         inside an Open/CloseGroup will be placed in the
+         "General" group (STR #1385)
+       - The scheduler now creates a job-uuid attribute that
+         uniquely identifies a job on a network (STR #1410)
+       - The init script now unsets the TMPDIR environment
+         variable to prevent user temporary directories from
+         being used by cupsd accidentally (STR #1424)
+       - Added support for launchd on MacOS X.
+       - Added support for notify_post on MacOS X.
+       - Added support for DBUS on Linux.
+       - All of the Berkeley (except for lpc) and System V
+         commands now support specification of user, host, and
+         port (STR #1028, STR #1029, STR #1087)
+       - The lpmove command now allows you to move all jobs for
+         a given queue (STR #56)
+       - The web interface now supports moving of a job or jobs
+         to another queue (STR #56)
+       - The web interface now provides searching, paging, and
+         changing of the sort/display order of classes, jobs,
+         and printers.
+       - cupsaddsmb now accepts a password on the command-line
+         and supports passwords with special characters (STR
+         #822, STR #1236)
+       - ppdLoad*() no longer tries to "fix" bad characters in
+         UI text (STR #1101)
+       - Printer names can now (reliably) contain Unicode
+         characters (STR #896)
+       - The lpstat command now shows the time and date of the
+         last printer state change instead of the hardcoded "Jan
+         01 00:00" (STR #659)
+       - The scheduler now adds a job-actual-printer-uri
+         attribute to job objects when printing to a class (STR
+         #116)
+       - The scheduler now logs log file open errors to the
+         system log (STR #1289)
+       - The scheduler now sets the job-originating-user-name to
+         the authenticated username, if available (STR #1318)
+       - The scheduler now only updates the permissions of SSL
+         keys and certificates when they are under the
+         ServerRoot directory (STR #1324)
+       - The rastertodymo driver has been renamed to
+         rastertolabel (a symlink is installed so that existing
+         queues continue to work) and now also supports Zebra's
+         CPCL language.
+       - The lpstat command could show the wrong active job for
+         a printer (STR #1301)
+       - Fixed a potential crash problem in the scheduler when
+         aborting a CGI program (STR #1290)
+       - Added a "cancel all jobs" button to the class and
+         printer web interfaces (STR #1140)
+       - The add-printer web page now shows the
+         set-printer-options page after the printer has been
+         added (STR #690)
+       - The classes web page now provides links to each of the
+         member printers (STR #307)
+       - CUPS now handles HTTP request/response lines up to 32k
+         in length; this is mainly for better cookie support
+         (STR #1274)
+       - Added support for the Apache PassEnv and SetEnv
+         directives to cupsd.conf (STR #853)
+       - Added large file (64-bit) support (STR #541)
+       - Fixed a performance issue with the ippReadIO()
+         implementation (STR #1284)
+       - Fixed a performance issue with the scheduler's implicit
+         class implementation (STR #1283)
+       - The pdftops filter now adds the Title and Creator
+         fields from the PDF file to the PostScript document
+         comments section (STR #539, STR #830)
+       - Added a new cups_array_t and cupsArray*() functions to
+         the CUPS API to support sorted lists of data.
+       - Made the CUPS API library thread-safe (STR #1276)
+       - Added "media" option support for EFI EFMediaType option
+         (STR #902)
+       - Added write buffering to the HTTP code to improve
+         performance (STR #547)
+       - The scheduler now uses the attributes-natural-language
+         attribute to localize banner pages (STR #386)
+       - The scheduler now returns the address that was used to
+         connect to it (STR #1076)
+       - Fixed a problem with N-up printing and OpenOffice (STR
+         #576)
+       - Added support for the GCC position independent
+         executable options (STR #1209)
+       - Added new BrowseLocalProtocols and
+         BrowseRemoteProtocols directives to cupsd.conf,
+         allowing for different browse protocols for local and
+         remote printers (STR #877)
+       - PPD files can now contain strings up to 256k in length
+         (STR #1215)
+       - The pstops filter now supports the IncludeFeature DSC
+         comment (STR #1212)
+       - The pstops filter now disables the setpagedevice
+         procedure when doing N-up printing (STR #1161)
+       - The serial backend now supports "stop=1", "stop=2",
+         "parity=space", and "parity=mark" options (STR #1155)
+       - "make install" no longer overwrites an existing PAM
+         configuration file (STR #1064)
+       - The scheduler now closes all files on startup when run
+         in daemon mode (STR #1009)
+       - Added a new RGBW colorspace to the CUPS raster format
+         (STR #1071)
+       - The pdftops filter now sets the page size based on the
+         media box when not scaling the output (STR #912)
+       - The pdftops filter now supports masked images (STR
+         #281)
+       - The pdftops filter produced large output when rendering
+         PDF files containing lot of repeated images (STR #327)
+       - The pdftops filter now minimizes print processing of
+         PDF files when using the page-ranges option (STR #273)
+       - Updated pdftops filter to Xpdf 3.01.
+       - Added new cupsBackchannelRead() and
+         cupsBackchannelWrite() functions, as well as
+         backchannel support to the parallel, serial, socket,
+         and USB backends (STR #1252)
+       - The parallel and USB backends now treat a "no space
+         available" error as an out-of-paper condition (STR
+         #1225)
+       - The "lpc" command now supports the "status all" command
+         (STR #1004)
+       - ippReadIO() did not read collections properly (STR
+         #1249)
+       - The "make test" script now creates the test files in
+         "/tmp/cups-$USER" instead of "/tmp/$USER" (STR #981)
+       - All backends now abort on error when printing a job to
+         a class - this allows the next printer in the class to
+         print the job (STR #1084)
+       - The scheduler now verifies that a printer supports
+         Letter or A4 media sizes before setting them as the
+         initial default (STR #1250)
+       - The cupstestppd program now flags bad Resolution
+         options (STR #1269)
+       - The USB backend now retries printing when the printer
+         is disconnected or turned off (STR #1267)
+       - Added new httpGetHostname() function to CUPS API, and
+         use it instead of gethostname() so that the web
+         interface will work correctly on systems whose hostname
+         is not the FQDN (STR #1266)
+       - The scheduler now stops printers if the backend for the
+         queue is missing on startup (STR #1265)
+       - The configure script now supports "--disable-library"
+         to disable particular image file format support
+         libraries, even if they are available on the build
+         system (STR #1248)
+       - The IPP backend did not always report on the total
+         number of pages that were printed (STR #1251)
+       - The lpstat program could display garbage date and time
+         values for locales whose date format exceeded 31
+         characters (STR #1263)
+       - The cupstestppd program would segfault when testing
+         certain broken PPD files (STR #1268)
+       - Dramatically reduced the overhead of implicit classes.
+       - Added new cupsDir*() functions to CUPS API.
+       - Printers can now be published individually for sharing.
+       - Fixed a bug in the scheduler's startup signalling code
+         which caused cupsd to send the SIGUSR1 signal to the
+         init process instead of the original parent process
+         (STR #1258)
+       - Added new on-line help CGI to web interface to provide
+         searchable help.
+       - Devices are now tracked dynamically, with each query
+         doing a new device scan.  This eliminates a previous
+         startup delay caused by slow backends and allows new
+         printers to be seen without restarting the server,
+         however it limits the amount of device URI checking
+         that can be done (basically now the scheduler only
+         requires a URI with a method that is a listed backend)
+       - Added new printer auto-detection, server configuration,
+         and log file viewing to the administration web page.
+       - Added new "set allowed users" web interface to set the
+         list of allowed users for a printer or class.
+       - The scheduler, command-line, and web interfaces now
+         limit the list of printers and classes to those
+         accessible by a user.
+       - cupsMarkOptions() now handles more non-standard
+         duplexing options and choices (STR #915)
+       - cups-lpd now honors remote banner requests with the
+         "standard" banner whenever a printer does not have one
+         defined (STR #1220)
+       - The scheduler's denial-of-service checks did not work
+         properly with IPv6 addresses (STR #1134)
+       - The lp and lpr commands did not error out properly when
+         they were unable to write to a temporary file (STR
+         #1129)
+       - The pstops filter did not handle Adobe-specific
+         comments in Windows NT driver output (STR #1085)
+       - "lpstat -l -p" incorrectly reported the printer
+         interface (STR #936)
+       - The web interface now operates exclusively with the
+         UTF-8 encoding, and sends the appropriate character set
+         and header information to the web browser (STR #919,
+         STR #1007)
+       - Added a "set allowed users" interface to the web
+         interface so that you can set the list of allowed or
+         denied users/groups for a printer or class.
+       - Disallow the "#" character in printer names, since it
+         has special meaning in the shell, config files, and in
+         URIs (STR #917, STR #1202)
+       - Added a new application/x-csource MIME type, and
+         support for it to the texttops filter so that you can
+         pretty print plain text files without the C/C++
+         keywords being highlighted.
+       - The pdftops filter did not compile with GCC 4.0 (STR
+         #1226)
+       - The texttops filter did not highlight preprocessor
+         directives followed by a tab properly.
+       - HP PJL output now uses both JOB DISPLAY and RDYMSG
+         commands to show the current job on the printer's
+         display (STR #1218)
+       - Local authentication certificates are now stored in
+         /var/run/cups/certs by default instead of
+         /etc/cups/certs (STR #1211)
+       - Backends now use "&" to separate options in device
+         URIs; "+" is still recognized but is deprecated (STR
+         #842)
+       - The USB backend no longer supports the usb:/dev/foo
+         format on systems that support device ID queries.
+       - Forced classification markings did not work when the
+         job-sheets parameters were "none,none".
+       - "lpstat -l -p" incorrectly showed all users as allowed,
+         even if the queue was restricted to certain users (STR
+         #801)
+       - The scheduler now automatically detects SSL/TLS clients
+         without using the SSLPort/SSLListen directives.
+       - The CUPS API and scheduler no longer support SSLv2-
+         encrypted connections.
+       - Updated the cupsaddsmb utility to correctly export the
+         CUPS driver for Windows.
+       - Fixed a signal-handling bug in httpRead() which
+         ultimately caused the server to print multiple copies
+         when it was busy (STR #1184)
+       - The cupsFile API now uses the O_APPEND option when
+         opening files in append mode (STR #990)
+       - The md5.h header and md5_* functions are now officially
+         private and have been renamed to avoid conflicts with
+         other implementations with the same name.
+       - The pdftops filter incorrectly embedded some Type1
+         fonts (STR #1093)
+       - The scheduler didn't detect a closed connection in the
+         middle of an IPP request (STR #1153)
+       - The scheduler could block trying to read the job status
+         if there was input pending and the job was cancelled in
+         the same input cycle (STR #1157)
+       - The scheduler could crash when deleting a class due to
+         infinite recursion.
+       - Updated the Zebra ZPL label printer driver to use the
+         run-length encoding and support more options.
+       - Updated serial backend to scan for /dev/ttyC* as well
+         as /dev/ttyc* for Cyclades serial ports (STR #1049)
+       - The scheduler could hang reading the job status under
+         certain circumstances (STR #1068)
+       - The USB backend termination signal code was inverted
+         (STR #1046)
+       - Moved enable and disable commands to sbindir to be
+         consistent.
+       - Added new cupsRasterInterpretPPD() function for RIP
+         filters to setup the raster page header from
+         PostScript commands in a PPD file.
+       - The CUPS browsing protocol now offers a "delete" bit
+         to remove printers as soon as they are deleted on the
+         server or as soon as the server shuts down gracefully
+         (STR #793)
+       - The CUPS_SERVER and ServerName directives (client.conf
+         and ~/.cupsrc) may now contain names of the form
+         "server:port" and "/path/to/domain/socket".
+       - The "cancel -u user" command now works for ordinary
+         users (STR #751)
+       - Added test run support to "make test" target (STR #64)
+       - Added domain socket support (STR #656)
+       - Added BrowseLocalOptions directive to allow the
+         administrator to add printer URI options to the browse
+         URI, e.g. "encryption=required" (STR #732)
+       - Added BrowseRemoteOptions directive to allow the
+         administrator to add standard URI options to the
+         remote printer URI, e.g. "encryption=required" (STR
+         #732)
+       - Now put "-I.." compiler option in front of all others
+         to ensure that local CUPS headers are used before
+         installed headers (STR #437)
+       - New cupsLangPrintf() and cupsLangPuts() for localized
+         interfaces.
+       - Now support custom attributes and extended options in
+         PPD files.
+       - Now provide functions to save PPD files.
+       - New policy mechanism allows per-operation and
+         per-printer control over what users and groups are
+         allowed to do various IPP operations.
+       - New error policy mechanism to control how aborted
+         backend errors are handled by the scheduler
+         (abort-job, retry-job, requeue-job, stop-printer)
+       - Updated the printer test page with a better color
+         wheel and a separate grayscale ramp.
+       - A single backend process is now run to send all print
+         data for a job.
+       - Backends and filters can now send and receive
+         backchannel data over file descriptor 3.
+       - Updated the raster stream format to support more
+         user-defined attributes and to do compression of the
+         page data.
index 329409b374ef25a32f1a1aa4ae22786d8dfbe7e7..df6022b46d195ad7c83cf0c127c15bfa4ec08f16 100644 (file)
@@ -1,5 +1,5 @@
-INSTALL - CUPS v1.2rc1 - 2006-03-24
------------------------------------
+INSTALL - CUPS v1.2.0 - 2006-05-08
+----------------------------------
 
 This file describes how to compile and install CUPS from source
 code. For more information on CUPS see the file called
index 8629f6a573bf595a326887339d29ad22b94e1627..122d437b219384e067df05ca4d8cba0dc6769b8f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makedefs.in 5563 2006-05-21 17:18:40Z mike $"
+# "$Id: Makedefs.in 5564 2006-05-22 00:59:11Z mike $"
 #
 #   Common makefile definitions for the Common UNIX Printing System (CUPS).
 #
@@ -263,5 +263,5 @@ DBUSDIR             =       @DBUSDIR@
 
 
 #
-# End of "$Id: Makedefs.in 5563 2006-05-21 17:18:40Z mike $"
+# End of "$Id: Makedefs.in 5564 2006-05-22 00:59:11Z mike $"
 #
index e9a1f6d92bedebb179eba7e127ff3f9c9288c244..d1fe2d02dcfe51ed48cc8c02231e6789a2d8649c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile 5546 2006-05-19 12:44:15Z mike $"
+# "$Id: Makefile 5547 2006-05-19 12:44:29Z mike $"
 #
 #   Top-level Makefile for the Common UNIX Printing System (CUPS).
 #
@@ -239,5 +239,5 @@ epm:
 
 
 #
-# End of "$Id: Makefile 5546 2006-05-19 12:44:15Z mike $".
+# End of "$Id: Makefile 5547 2006-05-19 12:44:29Z mike $".
 #
index fc0a146b4847dc1a8c4523c6caf87b423c30dcae..4595be8c4ce528609aa45acf54072dbc43d5f408 100644 (file)
@@ -1,5 +1,5 @@
-README - CUPS v1.2rc1 - 2006-03-24
-----------------------------------
+README - CUPS v1.2.0 - 2006-05-08
+---------------------------------
 
 Looking for compile instructions?  Read the file "INSTALL.txt"
 instead...
index 8061d42cbb0ca5adb04f5a6614552b1f84d829c8..315f8e0585dd61e5b54d9952a4bce8702eb5d8e9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.c 5553 2006-05-20 12:22:27Z mike $"
+ * "$Id: ipp.c 5554 2006-05-20 12:23:40Z mike $"
  *
  *   IPP backend for the Common UNIX Printing System (CUPS).
  *
@@ -1619,5 +1619,5 @@ sigterm_handler(int sig)          /* I - Signal */
 
 
 /*
- * End of "$Id: ipp.c 5553 2006-05-20 12:22:27Z mike $".
+ * End of "$Id: ipp.c 5554 2006-05-20 12:23:40Z mike $".
  */
index 0442c29261730254b4270744b7cd30a63c1476c9..33d74f8b50b4479dd1b8351ab21a253c2906d371 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: serial.c 5553 2006-05-20 12:22:27Z mike $"
+ * "$Id: serial.c 5554 2006-05-20 12:23:40Z mike $"
  *
  *   Serial port backend for the Common UNIX Printing System (CUPS).
  *
@@ -1169,5 +1169,5 @@ list_devices(void)
 
 
 /*
- * End of "$Id: serial.c 5553 2006-05-20 12:22:27Z mike $".
+ * End of "$Id: serial.c 5554 2006-05-20 12:23:40Z mike $".
  */
index 39df2e67d8c7cb175cf36398c7d4592b4c47b683..90d58e2a8023a2573e2c872de5f66107fe5052ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: usb-unix.c 5553 2006-05-20 12:22:27Z mike $"
+ * "$Id: usb-unix.c 5554 2006-05-20 12:23:40Z mike $"
  *
  *   USB port backend for the Common UNIX Printing System (CUPS).
  *
@@ -633,5 +633,5 @@ open_device(const char *uri)                /* I - Device URI */
 
 
 /*
- * End of "$Id: usb-unix.c 5553 2006-05-20 12:22:27Z mike $".
+ * End of "$Id: usb-unix.c 5554 2006-05-20 12:23:40Z mike $".
  */
index db6baa4b6f383b9aba54cf073563b481c06c031a..85142e3a0f26d840b3e298e06ecd8657eeedff0d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: admin.c 5571 2006-05-22 18:46:55Z mike $"
+ * "$Id: admin.c 5572 2006-05-22 18:47:09Z mike $"
  *
  *   Administration CGI for the Common UNIX Printing System (CUPS).
  *
@@ -2893,5 +2893,5 @@ match_string(const char *a,               /* I - First string */
 
     
 /*
- * End of "$Id: admin.c 5571 2006-05-22 18:46:55Z mike $".
+ * End of "$Id: admin.c 5572 2006-05-22 18:47:09Z mike $".
  */
index 1c22d513e2d2277a6142f617603aeb7fb414b45d..f639525cc3983a6bc05436d87069fe4a92fba6ab 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: classes.c 5571 2006-05-22 18:46:55Z mike $"
+ * "$Id: classes.c 5572 2006-05-22 18:47:09Z mike $"
  *
  *   Class status CGI for the Common UNIX Printing System (CUPS).
  *
@@ -463,5 +463,5 @@ show_class(http_t     *http,                /* I - Connection to server */
 
 
 /*
- * End of "$Id: classes.c 5571 2006-05-22 18:46:55Z mike $".
+ * End of "$Id: classes.c 5572 2006-05-22 18:47:09Z mike $".
  */
index 62e0cc517bca7cf60769a5a9d0ed10cd5b6b877e..da5f7cd2036df764a106f9b84be678a2d98b4bff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: html.c 5548 2006-05-19 19:38:31Z mike $"
+ * "$Id: html.c 5549 2006-05-19 19:39:28Z mike $"
  *
  *   HTML support functions for the Common UNIX Printing System (CUPS).
  *
@@ -183,5 +183,5 @@ cgi_null_passwd(const char *prompt) /* I - Prompt string (unused) */
 
 
 /*
- * End of "$Id: html.c 5548 2006-05-19 19:38:31Z mike $".
+ * End of "$Id: html.c 5549 2006-05-19 19:39:28Z mike $".
  */
index 83dc0af745dd174f1e2636596f6ae814cb8aaed9..0b515f123d4101beda87bed81a83f7e81f6cdff3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp-var.c 5571 2006-05-22 18:46:55Z mike $"
+ * "$Id: ipp-var.c 5572 2006-05-22 18:47:09Z mike $"
  *
  *   CGI <-> IPP variable routines for the Common UNIX Printing System (CUPS).
  *
@@ -1279,5 +1279,5 @@ cgiText(const char *message)              /* I - Message */
 
 
 /*
- * End of "$Id: ipp-var.c 5571 2006-05-22 18:46:55Z mike $".
+ * End of "$Id: ipp-var.c 5572 2006-05-22 18:47:09Z mike $".
  */
index 50dc2b32231afa278d0834c098cfb3c53dcdb0ae..e8ec0d2b3ac4da31870f803712e0678adf8c4e7a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: printers.c 5571 2006-05-22 18:46:55Z mike $"
+ * "$Id: printers.c 5572 2006-05-22 18:47:09Z mike $"
  *
  *   Printer status CGI for the Common UNIX Printing System (CUPS).
  *
@@ -638,5 +638,5 @@ show_printer(http_t     *http,              /* I - Connection to server */
 
 
 /*
- * End of "$Id: printers.c 5571 2006-05-22 18:46:55Z mike $".
+ * End of "$Id: printers.c 5572 2006-05-22 18:47:09Z mike $".
  */
index d2fd9b8e3c09de431b237dabedd789a86c61965d..82cf0e45df604dd7349a35bb2cabad471561ae5e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: template.c 5548 2006-05-19 19:38:31Z mike $"
+ * "$Id: template.c 5549 2006-05-19 19:39:28Z mike $"
  *
  *   CGI template function.
  *
@@ -670,5 +670,5 @@ cgi_puturi(const char *s,           /* I - String to output */
 
 
 /*
- * End of "$Id: template.c 5548 2006-05-19 19:38:31Z mike $".
+ * End of "$Id: template.c 5549 2006-05-19 19:39:28Z mike $".
  */
index 113b8d026ed33de582c3f4015d55ee18744613fc..17d507756d8928723f9c7dfc5076d2876db3c3fa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: var.c 5548 2006-05-19 19:38:31Z mike $"
+ * "$Id: var.c 5549 2006-05-19 19:39:28Z mike $"
  *
  *   CGI form variable and array functions.
  *
@@ -1027,5 +1027,5 @@ cgi_unlink_file(void)
 
 
 /*
- * End of "$Id: var.c 5548 2006-05-19 19:38:31Z mike $".
+ * End of "$Id: var.c 5549 2006-05-19 19:39:28Z mike $".
  */
index f31fc36914fc47ba8a1dacdb237c4d5ff3be2c9c..5495beaa0b9dc57dd68679a1320fbd67c04ebbb0 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-common.m4 5502 2006-05-08 21:09:15Z mike $"
+dnl "$Id: cups-common.m4 5466 2006-04-26 19:52:27Z mike $"
 dnl
 dnl   Common configuration stuff for the Common UNIX Printing System (CUPS).
 dnl
@@ -29,7 +29,7 @@ dnl Set the name of the config header file...
 AC_CONFIG_HEADER(config.h)
 
 dnl Versio number information...
-CUPS_VERSION="1.3svn"
+CUPS_VERSION="1.2svn"
 CUPS_REVISION=""
 if test -z "$CUPS_REVISION" -a -d .svn; then
        CUPS_REVISION="-r`svnversion . | awk -F: '{print $NF}' | sed -e '1,$s/[[a-zA-Z]]*//g'`"
@@ -265,5 +265,5 @@ AC_SUBST(DEFAULT_IPP_PORT)
 AC_DEFINE_UNQUOTED(CUPS_DEFAULT_IPP_PORT,$DEFAULT_IPP_PORT)
 
 dnl
-dnl End of "$Id: cups-common.m4 5502 2006-05-08 21:09:15Z mike $".
+dnl End of "$Id: cups-common.m4 5466 2006-04-26 19:52:27Z mike $".
 dnl
index 964931f9d184a484da6538d212fd23462db940c8..5619374f216eb8f6fa534463ec0e2e2eea66068f 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-compiler.m4 5565 2006-05-22 01:08:19Z mike $"
+dnl "$Id: cups-compiler.m4 5566 2006-05-22 01:10:11Z mike $"
 dnl
 dnl   Compiler stuff for the Common UNIX Printing System (CUPS).
 dnl
@@ -488,5 +488,5 @@ if test $uname = HP-UX; then
 fi
 
 dnl
-dnl End of "$Id: cups-compiler.m4 5565 2006-05-22 01:08:19Z mike $".
+dnl End of "$Id: cups-compiler.m4 5566 2006-05-22 01:10:11Z mike $".
 dnl
index 7a378ad3ad391fbaa768814cbe330726fdda1dd4..afbeba5aa2cfcc4c933ed8a7bd22e3c20b571dc2 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-directories.m4 5546 2006-05-19 12:44:15Z mike $"
+dnl "$Id: cups-directories.m4 5547 2006-05-19 12:44:29Z mike $"
 dnl
 dnl   Directory stuff for the Common UNIX Printing System (CUPS).
 dnl
@@ -302,5 +302,5 @@ AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$localstatedir/run/cups")
 AC_SUBST(CUPS_STATEDIR)
 
 dnl
-dnl End of "$Id: cups-directories.m4 5546 2006-05-19 12:44:15Z mike $".
+dnl End of "$Id: cups-directories.m4 5547 2006-05-19 12:44:29Z mike $".
 dnl
index d2171eb302f5b30c927f49f9ccff4bd2240ad827..c78e175098bd314216fad1e91a6a42488572b0cc 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-ldap.m4 5563 2006-05-21 17:18:40Z mike $"
+dnl "$Id: cups-ldap.m4 5564 2006-05-22 00:59:11Z mike $"
 dnl
 dnl   LDAP configuration stuff for the Common UNIX Printing System (CUPS).
 dnl
@@ -46,5 +46,5 @@ AC_SUBST(LIBLDAP)
 
 
 dnl
-dnl End of "$Id: cups-ldap.m4 5563 2006-05-21 17:18:40Z mike $".
+dnl End of "$Id: cups-ldap.m4 5564 2006-05-22 00:59:11Z mike $".
 dnl
index d6f224f257529dd5da4a8ee456e7928df2b3e41a..0654faf8949dd3306696583b43477427970fb7cf 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-sharedlibs.m4 5567 2006-05-22 15:33:11Z mike $"
+dnl "$Id: cups-sharedlibs.m4 5568 2006-05-22 15:34:01Z mike $"
 dnl
 dnl   Shared library support for the Common UNIX Printing System (CUPS).
 dnl
@@ -173,5 +173,5 @@ AC_SUBST(IMGLIBS)
 AC_SUBST(EXPORT_LDFLAGS)
 
 dnl
-dnl End of "$Id: cups-sharedlibs.m4 5567 2006-05-22 15:33:11Z mike $".
+dnl End of "$Id: cups-sharedlibs.m4 5568 2006-05-22 15:34:01Z mike $".
 dnl
index 35d025c7fbd3ca6a6a7c90c63c179dc271c3226b..4446f22aca31f8233127a2ae0657ea43c63c4ff1 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-ssl.m4 5524 2006-05-15 13:52:09Z mike $"
+dnl "$Id: cups-ssl.m4 5525 2006-05-15 13:52:16Z mike $"
 dnl
 dnl   OpenSSL/GNUTLS stuff for the Common UNIX Printing System (CUPS).
 dnl
@@ -114,5 +114,5 @@ AC_SUBST(EXPORT_SSLLIBS)
 
 
 dnl
-dnl End of "$Id: cups-ssl.m4 5524 2006-05-15 13:52:09Z mike $".
+dnl End of "$Id: cups-ssl.m4 5525 2006-05-15 13:52:16Z mike $".
 dnl
index 0c88b72b929cfddeba62bd99b09637d76848f689..77541e48c0584c8e7744b6dc4f4367347e6acc3e 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# "$Id: cups-config.in 5503 2006-05-10 18:55:39Z mike $"
+# "$Id: cups-config.in 5504 2006-05-10 18:57:46Z mike $"
 # 
 #   CUPS configuration utility.
 #
@@ -24,7 +24,7 @@
 #
 
 VERSION="@CUPS_VERSION@"
-APIVERSION="1.3"
+APIVERSION="1.2"
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
@@ -150,5 +150,5 @@ while test $# -gt 0; do
 done
 
 #
-# End of "$Id: cups-config.in 5503 2006-05-10 18:55:39Z mike $".
+# End of "$Id: cups-config.in 5504 2006-05-10 18:57:46Z mike $".
 #
index 8bd7f808e4885ccc8877a9de45a831b6969516bd..6f2fc67b63b05341bd2e73630b773cbdf41b457f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile 5563 2006-05-21 17:18:40Z mike $"
+# "$Id: Makefile 5564 2006-05-22 00:59:11Z mike $"
 #
 #   API library Makefile for the Common UNIX Printing System (CUPS).
 #
@@ -449,5 +449,5 @@ include Dependencies
 
 
 #
-# End of "$Id: Makefile 5563 2006-05-21 17:18:40Z mike $".
+# End of "$Id: Makefile 5564 2006-05-22 00:59:11Z mike $".
 #
index 6dd85bbd39a20d57f7d8898b518f04aeb7d50edb..8f515f8e0cd30cd9753a42565e4f147db52bfeef 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: auth.c 5558 2006-05-21 13:58:56Z mike $"
+ * "$Id: auth.c 5559 2006-05-21 13:59:42Z mike $"
  *
  *   Authentication functions for the Common UNIX Printing System (CUPS).
  *
@@ -249,5 +249,5 @@ cups_local_auth(http_t *http)               /* I - HTTP connection to server */
 
 
 /*
- * End of "$Id: auth.c 5558 2006-05-21 13:58:56Z mike $".
+ * End of "$Id: auth.c 5559 2006-05-21 13:59:42Z mike $".
  */
index f2a7f0ede7cf4c70812970d794521c3c9ba440f3..09833fe46a238ed4726011fc6cade5bf287971d5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: backchannel.c 5550 2006-05-19 20:20:15Z mike $"
+ * "$Id: backchannel.c 5551 2006-05-19 20:20:32Z mike $"
  *
  *   Backchannel functions for the Common UNIX Printing System (CUPS).
  *
@@ -197,5 +197,5 @@ cups_setup(fd_set         *set,             /* I - Set for select() */
 
 
 /*
- * End of "$Id: backchannel.c 5550 2006-05-19 20:20:15Z mike $".
+ * End of "$Id: backchannel.c 5551 2006-05-19 20:20:32Z mike $".
  */
index 94f9b8981b1a2debc49d3afe8cfed2665694e5cf..64b389a08f6c2ee0729bdc3c34c52530cac047c0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: cups.h 5502 2006-05-08 21:09:15Z mike $"
+ * "$Id: cups.h 5233 2006-03-06 03:39:28Z mike $"
  *
  *   API definitions for the Common UNIX Printing System (CUPS).
  *
@@ -61,9 +61,9 @@ extern "C" {
  * Constants...
  */
 
-#  define CUPS_VERSION         1.0300
+#  define CUPS_VERSION         1.0200
 #  define CUPS_VERSION_MAJOR   1
-#  define CUPS_VERSION_MINOR   3
+#  define CUPS_VERSION_MINOR   2
 #  define CUPS_VERSION_PATCH   0
 #  define CUPS_DATE_ANY                -1
 
@@ -244,5 +244,5 @@ extern cups_file_t  *cupsTempFile2(char *filename, int len);
 #endif /* !_CUPS_CUPS_H_ */
 
 /*
- * End of "$Id: cups.h 5502 2006-05-08 21:09:15Z mike $".
+ * End of "$Id: cups.h 5233 2006-03-06 03:39:28Z mike $".
  */
index 7d6f4cec47fef4bebc8d93ba1a5ab182f47dc4c9..a00e2c52a2e77369731fd8c812d8bdc09ca9ee77 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: encode.c 5544 2006-05-18 21:00:16Z mike $"
+ * "$Id: encode.c 5545 2006-05-18 21:00:56Z mike $"
  *
  *   Option encoding routines for the Common UNIX Printing System (CUPS).
  *
@@ -67,7 +67,6 @@ static const _ipp_option_t ipp_options[] =
   { "copies",                  IPP_TAG_INTEGER,        IPP_TAG_JOB },
   { "copies-default",          IPP_TAG_INTEGER,        IPP_TAG_PRINTER },
   { "document-format",         IPP_TAG_MIMETYPE,       IPP_TAG_OPERATION },
-  { "document-format-default", IPP_TAG_MIMETYPE,       IPP_TAG_PRINTER },
   { "finishings",              IPP_TAG_ENUM,           IPP_TAG_JOB },
   { "finishings-default",      IPP_TAG_ENUM,           IPP_TAG_PRINTER },
   { "fitplot",                 IPP_TAG_BOOLEAN,        IPP_TAG_JOB },
@@ -89,7 +88,6 @@ static const _ipp_option_t ipp_options[] =
   { "natural-scaling-default", IPP_TAG_INTEGER,        IPP_TAG_PRINTER },
   { "notify-charset",          IPP_TAG_CHARSET,        IPP_TAG_SUBSCRIPTION },
   { "notify-events",           IPP_TAG_KEYWORD,        IPP_TAG_SUBSCRIPTION },
-  { "notify-events-default",   IPP_TAG_KEYWORD,        IPP_TAG_PRINTER },
   { "notify-lease-time",       IPP_TAG_INTEGER,        IPP_TAG_SUBSCRIPTION },
   { "notify-natural-language", IPP_TAG_LANGUAGE,       IPP_TAG_SUBSCRIPTION },
   { "notify-pull-method",      IPP_TAG_KEYWORD,        IPP_TAG_SUBSCRIPTION },
@@ -561,5 +559,5 @@ compare_ipp_options(_ipp_option_t *a,       /* I - First option */
 
 
 /*
- * End of "$Id: encode.c 5544 2006-05-18 21:00:16Z mike $".
+ * End of "$Id: encode.c 5545 2006-05-18 21:00:56Z mike $".
  */
index 7653cfde9481adc79b77ba9382a94ff4bbb89df6..abfd0fac6b6dae1436cf3be9ec1fa9d011617a5b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: getifaddrs.c 5503 2006-05-10 18:55:39Z mike $"
+ * "$Id: getifaddrs.c 5504 2006-05-10 18:57:46Z mike $"
  *
  *   Network interface functions for the Common UNIX Printing System
  *   (CUPS) scheduler.
@@ -272,5 +272,5 @@ _cups_freeifaddrs(struct ifaddrs *addrs)/* I - Interface list to free */
 
 
 /*
- * End of "$Id: getifaddrs.c 5503 2006-05-10 18:55:39Z mike $".
+ * End of "$Id: getifaddrs.c 5504 2006-05-10 18:57:46Z mike $".
  */
index b95b007d8ec243a0514ee3db5411dcac2b028ad5..bef934ed92e2cbed8cccd2dec17b113425360c45 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: http-private.h 5503 2006-05-10 18:55:39Z mike $"
+ * "$Id: http-private.h 5504 2006-05-10 18:57:46Z mike $"
  *
  *   Private HTTP definitions for the Common UNIX Printing System (CUPS).
  *
@@ -187,5 +187,5 @@ extern void _cups_freeifaddrs(struct ifaddrs *addrs);
 #endif /* !_CUPS_HTTP_PRIVATE_H_ */
 
 /*
- * End of "$Id: http-private.h 5503 2006-05-10 18:55:39Z mike $".
+ * End of "$Id: http-private.h 5504 2006-05-10 18:57:46Z mike $".
  */
index a7d8fd7bd4dcf7178de2f5bd3bd8ea90997b15b5..3b2226774f6ab35a01d255fadbab83684c33f422 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: mark.c 5528 2006-05-15 20:03:12Z mike $"
+ * "$Id: mark.c 5529 2006-05-15 20:06:46Z mike $"
  *
  *   Option marking routines for the Common UNIX Printing System (CUPS).
  *
@@ -679,5 +679,5 @@ ppd_defaults(ppd_file_t  *ppd,      /* I - PPD file */
 
 
 /*
- * End of "$Id: mark.c 5528 2006-05-15 20:03:12Z mike $".
+ * End of "$Id: mark.c 5529 2006-05-15 20:06:46Z mike $".
  */
index f835c41c0f9585d43eb3f485babe3c26b587d069..f8b79832f0823eb305639e92813f960522b3c059 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: page.c 5548 2006-05-19 19:38:31Z mike $"
+ * "$Id: page.c 5549 2006-05-19 19:39:28Z mike $"
  *
  *   Page size functions for the Common UNIX Printing System (CUPS).
  *
@@ -193,5 +193,5 @@ ppdPageLength(ppd_file_t *ppd,      /* I - PPD file */
 
 
 /*
- * End of "$Id: page.c 5548 2006-05-19 19:38:31Z mike $".
+ * End of "$Id: page.c 5549 2006-05-19 19:39:28Z mike $".
  */
index 6aff5126d84451bf179bd48330c1edd1f910304b..329cce8813dc133c8103544185f87edad3720fe3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: request.c 5556 2006-05-21 13:55:23Z mike $"
+ * "$Id: request.c 5555 2006-05-20 13:35:58Z mike $"
  *
  *   IPP utilities for the Common UNIX Printing System (CUPS).
  *
@@ -479,5 +479,5 @@ _cupsSetError(ipp_status_t status,  /* I - IPP status code */
 
 
 /*
- * End of "$Id: request.c 5556 2006-05-21 13:55:23Z mike $".
+ * End of "$Id: request.c 5555 2006-05-20 13:35:58Z mike $".
  */
index 19dff87af73cc3993392a72afe79e15110d41335..683551b054585c4d047c6ff520de010c330e15e2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: snprintf.c 5527 2006-05-15 19:37:11Z mike $"
+ * "$Id: snprintf.c 5529 2006-05-15 20:06:46Z mike $"
  *
  *   snprintf functions for the Common UNIX Printing System (CUPS).
  *
@@ -368,6 +368,6 @@ _cups_snprintf(char       *buffer,  /* O - Output buffer */
 
 
 /*
- * End of "$Id: snprintf.c 5527 2006-05-15 19:37:11Z mike $".
+ * End of "$Id: snprintf.c 5529 2006-05-15 20:06:46Z mike $".
  */
 
index e5d8b85712a1cd862c0fd399092c20b21e8d1880..2e701b76c6739db4eb31c604c1a0fa5c7856f5b8 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile 5428 2006-04-18 20:45:30Z mike $"
+# "$Id: Makefile 5500 2006-05-08 20:32:27Z mike $"
 #
 #   Documentation makefile for the Common UNIX Printing System (CUPS).
 #
@@ -167,7 +167,6 @@ HELPFILES   =       \
                        help/spec-command.html \
                        help/spec-design.html \
                        help/spec-ipp.html \
-                       help/spec-postscript.html \
                        help/spec-ppd.html \
                        help/spec-raster.html \
                        help/spec-stp.html \
diff --git a/doc/help/spec-pdf.html b/doc/help/spec-pdf.html
deleted file mode 100644 (file)
index 862eb0c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<HTML>
-<!-- SECTION: Specifications -->
-<HEAD>
-       <TITLE>CUPS PDF Format</TITLE>
-       <LINK REL="STYLESHEET" TYPE="test/css" HREF="../cups.css">
-</HEAD>
-<BODY>
-
-<P>CUPS PDF files (application/vnd.cups-pdf) are device-dependent
-PDF/A files that contain a job ticket information. These files
-are typically produced by the CUPS <CODE>pdftopdf</CODE> filter
-which handles job ticket generation, imposition, page labeling,
-scaling, and other formatting options requested by the user. CUPS
-PDF files are intended for direct consumption by a PDF-capable
-printer, PDF RIP, or the <CODE>pdftops</CODE> filter.</P>
-
-<P>More information will be posted here as the PDF workflow
-filters are added to CUPS.</P>
-
-</BODY>
-</HTML>
diff --git a/doc/help/spec-postscript.html b/doc/help/spec-postscript.html
deleted file mode 100644 (file)
index 7e9f9a8..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
-<html>
-<!-- SECTION: Specifications -->
-<head>
-       <title>Generating PostScript for CUPS</title>
-       <meta name='keywords' content='Programming, PostScript, Document Structuring Conventions'>
-       <link rel='stylesheet' type='text/css' href='../cups.css'>
-</head>
-<body>
-<!--
-  "$Id$"
-
-  CUPS PostScript file specification for the Common UNIX Printing System (CUPS).
-
-  Copyright 2006 by Easy Software Products.
-
-  These coded instructions, statements, and computer programs are the
-  property of Easy Software Products and are protected by Federal
-  copyright law.  Distribution and use rights are outlined in the file
-  "LICENSE.txt" which should have been included with this file.  If this
-  file is missing or damaged please contact Easy Software Products
-  at:
-
-      Attn: CUPS Licensing Information
-      Easy Software Products
-      44141 Airport View Drive, Suite 204
-      Hollywood, Maryland 20636 USA
-
-      Voice: (301) 373-9600
-      EMail: cups-info@cups.org
-        WWW: http://www.cups.org
--->
-
-<h2 class='title'><a name='INTRODUCTION'>Introduction</a></h2>
-
-<p>This document describes how to generate PostScript output for
-CUPS and is largely based on the <a
-href="http://partners.adobe.com/public/developer/en/ps/5001.DSC_Spec.pdf">
-Adobe TechNote #5001: PostScript Language Document Structuring
-Conventions Specification Version 3.0</a>. While CUPS can
-generally print any PostScript file, following the rules in the
-Adobe TechNote and this document will ensure that your PostScript
-output will work reliably.</p>
-
-<blockquote><b>Note:</b> While PostScript is currently the
-defacto-standard print job file format/language for UNIX-based
-applications, it is slowly being phased out in favor of Adobe's
-Portable Document Format ("PDF") which offers many advantages
-over PostScript. MacOS X uses PDF as the primary print job file
-format, and we expect Linux to soon follow. Both PostScript and
-PDF are complex formats, and we highly recommend using high-level
-toolkits whenever possible.</blockquote>
-
-<h3>Anatomy of a PostScript File</h3>
-
-<p>PostScript files are ASCII text files starting with a header
-line (<tt>%!PS-Adobe-3.0</tt>) followed by a combination of
-comment lines starting with two percent signs (<tt>%%</tt>) and
-PostScript code lines. The lines themselves should not exceed 255
-characters to conform to the DSC. The following short PostScript
-file produces a box with a smiley face in it:</p>
-
-<pre class="command">
-%!PS-Adobe-3.0
-%%BoundingBox: 36 36 576 756
-%%Pages: 1
-%%LanguageLevel: 2
-%%EndComments
-%%Page: (1) 1
-% Draw a black box around the page
-0 setgray
-1 setlinewidth
-36 36 540 720 rectstroke
-
-% Draw a two inch blue circle in the middle of the page
-0 0 1 setrgbcolor
-306 396 144 0 360 arc closepath fill
-
-% Draw two half inch yellow circles for eyes
-1 1 0 setrgbcolor
-252 432 36 0 360 arc closepath fill
-360 432 36 0 360 arc closepath fill
-
-% Draw the smile
-1 setlinecap
-18 setlinewidth
-306 396 99 200 340 arc stroke
-
-% Print it!
-showpage
-%%EOF
-</pre>
-
-<div class="figure"><table summary="Sample PostScript File Output">
-<caption>Figure 1: <a name="FIGURE_1">Sample PostScript File Output</a></caption>
-<tr><td align="center"><img src="../images/smiley.jpg"
-width="445" height="570" alt="Sample PostScript File Output"></td></tr>
-</table></div>
-
-
-<h2>Embedding Printer Options</h2>
-
-
-<h2>Embedding Fonts and Text</h2>
-
-
-<h2>Embedding Images</h2>
-
-
-<blockquote><b>Note:</b> While some printers support arbitrary
-binary data in PostScript files, we do not recommend this
-practice because it does not work with all printers or
-interfaces. In most cases, the Base-85 encoding and compression
-filters can be used to embed images with very little, if any,
-increase in data size.</blockquote>
-
-
-
-</body>
-</html>
index 8013e5de5cd0f6e5b6a6a863fcdf546dcd98f4f1..5b8cd5b217b72db7ac0113641d84564d17fa70ea 100644 (file)
Binary files a/doc/pl/images/button-accept-jobs.gif and b/doc/pl/images/button-accept-jobs.gif differ
index ca9b8c616f085e7bdde577ff8eb1e9b71b078ef0..ce7ea6ccf4c2d6a095df4ad448d17a13805d66b3 100644 (file)
Binary files a/doc/pl/images/button-add-class.gif and b/doc/pl/images/button-add-class.gif differ
index 1e099e647ae049ce64d0d697b77fd750b78acb5b..0f284487f7a42cd2397f2ccf8fe0bca294ac3a5e 100644 (file)
Binary files a/doc/pl/images/button-add-printer.gif and b/doc/pl/images/button-add-printer.gif differ
index 4fa4e4d4ba77682d7b7d2a6c17c7185c1fc88faa..dc00856bd5ec775d88874a9831f743fe70274565 100644 (file)
Binary files a/doc/pl/images/button-add-this-printer.gif and b/doc/pl/images/button-add-this-printer.gif differ
index 093b3e7fdbc7f3b0cfb98f8870ef0c96112060e9..84e724b258420db708c42248ab002418fbe5dc5b 100644 (file)
Binary files a/doc/pl/images/button-cancel-all-jobs.gif and b/doc/pl/images/button-cancel-all-jobs.gif differ
index 1cc3be3af2398d36578903bc1341dc62b6d830df..2d122bac5a2493f0056932e388fd41d57539f5e0 100644 (file)
Binary files a/doc/pl/images/button-cancel-job.gif and b/doc/pl/images/button-cancel-job.gif differ
index 8abeb0774aeb7e0870a6999a202c3000d2f1716d..73de99527d7687050eee99b40815191d6ceb6452 100644 (file)
Binary files a/doc/pl/images/button-change-settings.gif and b/doc/pl/images/button-change-settings.gif differ
index 0daf9a9ac2c66b59b5f12818924d33af253e6ef3..2f45608d8ebb47781af49a95f59a286a0b6a8a1c 100644 (file)
Binary files a/doc/pl/images/button-clean-print-heads.gif and b/doc/pl/images/button-clean-print-heads.gif differ
index 9e1c36d36fec58c7adb8e81b7f91c39658b7fd92..e15a4bb3ddd3b399131d94750fdd62ef23aad5bb 100644 (file)
Binary files a/doc/pl/images/button-clear.gif and b/doc/pl/images/button-clear.gif differ
index d0d291666dab4076311c7a2c57244cb6b6238ece..93f849041d2623ec1ac6b7d83a61c2b83ebb9ff7 100644 (file)
Binary files a/doc/pl/images/button-continue.gif and b/doc/pl/images/button-continue.gif differ
index 38f69eca1315cc0b0f1cda6236e523d2d78fcfef..934b8d66b5416a52d47b736acd2d9f04d1fd0379 100644 (file)
Binary files a/doc/pl/images/button-delete-class.gif and b/doc/pl/images/button-delete-class.gif differ
index 7e5bf74ea00b04d9e70fc801062abe71e1e28af0..f7c6984186825ae6669814888c6557d0d884a8ab 100644 (file)
Binary files a/doc/pl/images/button-delete-printer.gif and b/doc/pl/images/button-delete-printer.gif differ
index e892aa1d96743d4509d354b85ca1db0b2a538978..89fd8a7d65c32d33d8d58c41bbab4c1cd7db2f3d 100644 (file)
Binary files a/doc/pl/images/button-edit-configuration-file.gif and b/doc/pl/images/button-edit-configuration-file.gif differ
index 1fdbf67f09737a6a1b508f4c87a08af4449a9c1b..c6c333619f0a63822bb55f558224bed57e8a1d9c 100644 (file)
Binary files a/doc/pl/images/button-export-samba.gif and b/doc/pl/images/button-export-samba.gif differ
index f5e239e0ece00f1da4e6636ab7c777b63fef1178..d2d4f85307814ff2a5dc8f1053e9183333f333ef 100644 (file)
Binary files a/doc/pl/images/button-help.gif and b/doc/pl/images/button-help.gif differ
index 5219e686845c7edad00817d227fae787bd023eda..2ab556492963ccaf8028641cb9f77a858da0ee59 100644 (file)
Binary files a/doc/pl/images/button-hold-job.gif and b/doc/pl/images/button-hold-job.gif differ
index 63a8f660d6d365f32cc53619da40a7186856fc00..c758f98029d1bd9a283328fc90973432f39b067d 100644 (file)
Binary files a/doc/pl/images/button-manage-classes.gif and b/doc/pl/images/button-manage-classes.gif differ
index f8f6f0d8bca56c717b8e27f68e1f8a8221a425ba..7aefeddaf30070dba892829e05df8d4a89c46337 100644 (file)
Binary files a/doc/pl/images/button-manage-jobs.gif and b/doc/pl/images/button-manage-jobs.gif differ
index 041efc2159eb1745c89e330e5c4ee2a0f4f42b92..f884f7f6068bc69d41e459f06b576d67e2f8db6d 100644 (file)
Binary files a/doc/pl/images/button-manage-printers.gif and b/doc/pl/images/button-manage-printers.gif differ
index cb6d760478cadf100e87ad8fe82b3a9f5556ced4..ba6e31cdc83fe2645602a2a2c3aeb9f2a89111f0 100644 (file)
Binary files a/doc/pl/images/button-manage-server.gif and b/doc/pl/images/button-manage-server.gif differ
index 38cce158f37ba23431691ab4c6c11371b70d0d0c..fcf5f6d3eeb48059a7a9e4a914af3a38aac43961 100644 (file)
Binary files a/doc/pl/images/button-modify-class.gif and b/doc/pl/images/button-modify-class.gif differ
index acbb6daac0920e9e49d1c9619da33875b447f9f5..e3d5346630b20235f2014a9b91b194fd3f708bbc 100644 (file)
Binary files a/doc/pl/images/button-modify-printer.gif and b/doc/pl/images/button-modify-printer.gif differ
index 585f48e8bc0977e69c7246c83fc12f972d28def8..02ce3300d1800a639daaf95efee8ac449186bfdb 100644 (file)
Binary files a/doc/pl/images/button-move-job.gif and b/doc/pl/images/button-move-job.gif differ
index 4600b780fa4690ca6e08cf687df65f9edef7eb4b..36029ac30866cd37479cbed72319027f08da6abf 100644 (file)
Binary files a/doc/pl/images/button-move-jobs.gif and b/doc/pl/images/button-move-jobs.gif differ
index 1aa3349f10a5544aabc67d62a2d60dc40db136b1..bcea1ba01aa6288f82651a3c78fb25110aff8389 100644 (file)
Binary files a/doc/pl/images/button-print-self-test-page.gif and b/doc/pl/images/button-print-self-test-page.gif differ
index 8eb7ec39848e3f1c0f5c95cf9e45c269dff08b75..57ac13be7778b697bc175e8f748769754a4e9392 100644 (file)
Binary files a/doc/pl/images/button-print-test-page.gif and b/doc/pl/images/button-print-test-page.gif differ
index 909702fb496c325876a3208094373eb88fc56a1b..c12abe87e6d1bc8ffe9fea6393a8e11384ef64bd 100644 (file)
Binary files a/doc/pl/images/button-publish-printer.gif and b/doc/pl/images/button-publish-printer.gif differ
index bcff455807c99e6f26f145a6d10bd587a04ba0a0..a81848bdee5cf3f704a304bd7844cdc16f867010 100644 (file)
Binary files a/doc/pl/images/button-reject-jobs.gif and b/doc/pl/images/button-reject-jobs.gif differ
index a3d95ad3762722539f9fffa961675383c42ca9bd..d8a82f0925e0a567b89a2f42c223154d007bfb74 100644 (file)
Binary files a/doc/pl/images/button-release-job.gif and b/doc/pl/images/button-release-job.gif differ
index 5d5a7c0313339648474e7d695ae7980b4928890d..42b7568ecf8b4bea868f7845ed1cce07eab75965 100644 (file)
Binary files a/doc/pl/images/button-restart-job.gif and b/doc/pl/images/button-restart-job.gif differ
index 5056b80beffe421794309faa251eb6b737b03a73..2f1fee1704193adc9582f3d1f8d369e915a9b1ae 100644 (file)
Binary files a/doc/pl/images/button-save-changes.gif and b/doc/pl/images/button-save-changes.gif differ
index 5f99760e6f1ef8063ed86d80d88364a1a59d1585..1bc194527128e4f7d8adc04b79575083993dde12 100644 (file)
Binary files a/doc/pl/images/button-search.gif and b/doc/pl/images/button-search.gif differ
index 728ced1eebb8d76f208cd59168608fa19a918b08..cd7709ef593ad8693246a6fc6c6ed9475027b219 100644 (file)
Binary files a/doc/pl/images/button-set-allowed-users.gif and b/doc/pl/images/button-set-allowed-users.gif differ
index b01c19122eff17f6f5fdfa5b7d9fd9ab3f8feffd..203d097347ef33dfd28e729f0812bea3c538b9ec 100644 (file)
Binary files a/doc/pl/images/button-set-as-default.gif and b/doc/pl/images/button-set-as-default.gif differ
index ed026d57ecd0a696fd11f5081dff3d5df7025657..6610735e41d8c0d3be6bf564e8a6f0f111bcbea4 100644 (file)
Binary files a/doc/pl/images/button-set-printer-options.gif and b/doc/pl/images/button-set-printer-options.gif differ
index ac9d4e05f446d3b64929884a0c20ecbe722b2705..82751977db94cfa4a2431fb6d9ba3212575d5165 100644 (file)
Binary files a/doc/pl/images/button-show-active.gif and b/doc/pl/images/button-show-active.gif differ
index 0bd0388225c1d2d1bccf716023c6da51b23ad176..0473ee62638671fecb3a840bc9de6167c8f0a551 100644 (file)
Binary files a/doc/pl/images/button-show-all.gif and b/doc/pl/images/button-show-all.gif differ
index d27b3074c54f6122418b0e41d9620ade9e908ff5..5481f4d9a7101bb8e0e948153f9a0da0991e7af1 100644 (file)
Binary files a/doc/pl/images/button-show-completed.gif and b/doc/pl/images/button-show-completed.gif differ
index a584f885ad3c99b4299ece98f39f06605e495f54..3fdf85798153637310627d54bbb2710d110fdd5f 100644 (file)
Binary files a/doc/pl/images/button-show-next.gif and b/doc/pl/images/button-show-next.gif differ
index 64613b9ec0845505709e56044eb4f402a4c7cc05..8a6f8c4cf484cddd6c0771b161dd26df616b1aa2 100644 (file)
Binary files a/doc/pl/images/button-show-previous.gif and b/doc/pl/images/button-show-previous.gif differ
index 993cf6a93aee0df7aa31ea9636166b7e70a71e1d..5a88283f334ef865cfbf6e24ca1f232cfd7939f4 100644 (file)
Binary files a/doc/pl/images/button-sort-ascending.gif and b/doc/pl/images/button-sort-ascending.gif differ
index fbc5e966dd052c37317b90b7b865d756389ea0da..61c85de29e5f18df35e7a837b823327065ccba1d 100644 (file)
Binary files a/doc/pl/images/button-sort-descending.gif and b/doc/pl/images/button-sort-descending.gif differ
index 834f8a1254ff8e708c26601e745803a61b9f05e3..85c098a38a3bffe13fee42003896a6701606d323 100644 (file)
Binary files a/doc/pl/images/button-start-class.gif and b/doc/pl/images/button-start-class.gif differ
index 7d86be593c0121a339cad5b59fefbda15b169040..cd1734cce7bcf8107c18ea34ac9fecb1119d6b34 100644 (file)
Binary files a/doc/pl/images/button-start-printer.gif and b/doc/pl/images/button-start-printer.gif differ
index c1f96cc85bd5223e81abded6cb55c3279d760b86..8031731a4599854d145b198dffd905d053e451f3 100644 (file)
Binary files a/doc/pl/images/button-stop-class.gif and b/doc/pl/images/button-stop-class.gif differ
index 34bf39da66a5c98c8fb5400ca23f2dc5fc9c54b0..ce485f3a16ba177971f378394a751743aa556b69 100644 (file)
Binary files a/doc/pl/images/button-stop-printer.gif and b/doc/pl/images/button-stop-printer.gif differ
index fdb48f32de5030ea1c496aae3f532ea25b503bd8..2842a3e1806fcf40b2d28af24d42f4863783f3dc 100644 (file)
Binary files a/doc/pl/images/button-unpublish-printer.gif and b/doc/pl/images/button-unpublish-printer.gif differ
index 578cd05ac94dd82aa9f0988b0b5119f20cd5adee..47697cde896ccc4088762ce12db7f196911563d2 100644 (file)
Binary files a/doc/pl/images/button-use-default-config.gif and b/doc/pl/images/button-use-default-config.gif differ
index b6ffd0ab49f4341c4418aa2e3d270e6fd67bc714..5d89af521454b3ce89ebf558d88a8baed7eb372f 100644 (file)
Binary files a/doc/pl/images/button-view-access-log.gif and b/doc/pl/images/button-view-access-log.gif differ
index bbdd548f4183a08f0925135ca6bdbd7cb324e3c1..c99078ad81bec964609dc5feed96ed4b2b7e592a 100644 (file)
Binary files a/doc/pl/images/button-view-error-log.gif and b/doc/pl/images/button-view-error-log.gif differ
index 30b3a7e0cb9f354f3df4a59d7a149ff91419164b..ad49a2f4fc8aaaaefd3d838e7c7046554b372e29 100644 (file)
Binary files a/doc/pl/images/button-view-page-log.gif and b/doc/pl/images/button-view-page-log.gif differ
index 726cd3a744f67ba6dbabe6aae31ee809d47f57a6..27ae97c763e3a512c98bb9506cbc1b0f9f8680a8 100644 (file)
Binary files a/doc/pl/images/button-view-printable-version.gif and b/doc/pl/images/button-view-printable-version.gif differ
index 2a4dfeadf5ef6f53892c6ae40457f87ac9743941..2783578d0c15807fd301e750495fe2999d8398c8 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile 5563 2006-05-21 17:18:40Z mike $"
+# "$Id: Makefile 5564 2006-05-22 00:59:11Z mike $"
 #
 #   Filter makefile for the Common UNIX Printing System (CUPS).
 #
@@ -377,5 +377,5 @@ include Dependencies
 
 
 #
-# End of "$Id: Makefile 5563 2006-05-21 17:18:40Z mike $".
+# End of "$Id: Makefile 5564 2006-05-22 00:59:11Z mike $".
 #
index 1dc5247632590c7c8c52a87495fd350dc53ecef2..dab979a659f9ccc5df990fe1b69c72997c86c89e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-bmp.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-bmp.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   BMP image routines for the Common UNIX Printing System (CUPS).
  *
@@ -535,5 +535,5 @@ read_long(FILE *fp)               /* I - File to read from */
 
 
 /*
- * End of "$Id: image-bmp.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-bmp.c 5509 2006-05-11 11:41:36Z mike $".
  */
index cc442944ea9bbc6db76439e12b412503e6b469a4..2cb4ced018af2e1c31a4ad51b21976dcb39281fa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-colorspace.c 5520 2006-05-12 16:37:36Z mike $"
+ * "$Id: image-colorspace.c 5519 2006-05-12 15:06:42Z mike $"
  *
  *   Colorspace conversions for the Common UNIX Printing System (CUPS).
  *
@@ -1573,5 +1573,5 @@ zshear(float mat[3][3],                   /* I - Matrix */
 
 
 /*
- * End of "$Id: image-colorspace.c 5520 2006-05-12 16:37:36Z mike $".
+ * End of "$Id: image-colorspace.c 5519 2006-05-12 15:06:42Z mike $".
  */
index 09784a60ebdc22bf02326767dbf22707014d447f..b56dd0c88f88071b9980b7406062ee4b9c959796 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-gif.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-gif.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   GIF image routines for the Common UNIX Printing System (CUPS).
  *
@@ -695,5 +695,5 @@ gif_read_lzw(FILE *fp,                      /* I - File to read from */
 
 
 /*
- * End of "$Id: image-gif.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-gif.c 5509 2006-05-11 11:41:36Z mike $".
  */
index 5a07a7bbd1d07f91cef9786249a4a107dd3f57e1..7db80ae1f8b3636dfcc939c2c18a357481105fcd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-jpeg.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-jpeg.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   JPEG image routines for the Common UNIX Printing System (CUPS).
  *
@@ -320,5 +320,5 @@ _cupsImageReadJPEG(
 
 
 /*
- * End of "$Id: image-jpeg.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-jpeg.c 5509 2006-05-11 11:41:36Z mike $".
  */
index 00171ecc1fd03775dde8fe194b56e0909b4fb620..195f0da3944f14b81578e42f2075c3cb59878a61 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-photocd.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-photocd.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   PhotoCD routines for the Common UNIX Printing System (CUPS).
  *
@@ -313,5 +313,5 @@ _cupsImageReadPhotoCD(
 
 
 /*
- * End of "$Id: image-photocd.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-photocd.c 5509 2006-05-11 11:41:36Z mike $".
  */
index ac471669dda942689003bef9fba0e3413abe672f..64e5956230de53050c1f9c241b4206a6ac85da8e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-pix.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-pix.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   Alias PIX image routines for the Common UNIX Printing System (CUPS).
  *
@@ -232,5 +232,5 @@ read_short(FILE *fp)                        /* I - File to read from */
 
 
 /*
- * End of "$Id: image-pix.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-pix.c 5509 2006-05-11 11:41:36Z mike $".
  */
index 3b4469bc98204552787ef59827829ed397c66835..97cbfc13f09aab23f03dbc3db87798d4f2773e70 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-png.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-png.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   PNG image routines for the Common UNIX Printing System (CUPS).
  *
@@ -280,5 +280,5 @@ _cupsImageReadPNG(
 
 
 /*
- * End of "$Id: image-png.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-png.c 5509 2006-05-11 11:41:36Z mike $".
  */
index dab288032a842aad0a3c1a345c78b469daa25dac..54f6c74470c4497b4d214173c3a4df993d682dbe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-pnm.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-pnm.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   Portable Any Map file routines for the Common UNIX Printing System (CUPS).
  *
@@ -301,5 +301,5 @@ _cupsImageReadPNM(
 
 
 /*
- * End of "$Id: image-pnm.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-pnm.c 5509 2006-05-11 11:41:36Z mike $".
  */
index 288af2618763c04ee87b9cbcfa9a02f685f00fbb..234868512bfc748003840015455aba574ebfca80 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-sgi.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-sgi.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   SGI image file routines for the Common UNIX Printing System (CUPS).
  *
@@ -279,5 +279,5 @@ _cupsImageReadSGI(
 
 
 /*
- * End of "$Id: image-sgi.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-sgi.c 5509 2006-05-11 11:41:36Z mike $".
  */
index a7aa39a8ae9fe4ecad5717a0ad6af8400ed0158c..c6b0622db7a07c995d6bdfc2b039557fe1d91d93 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-sun.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-sun.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   Sun Raster image file routines for the Common UNIX Printing System (CUPS).
  *
@@ -389,5 +389,5 @@ read_unsigned(FILE *fp)                     /* I - File to read from */
 
 
 /*
- * End of "$Id: image-sun.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-sun.c 5509 2006-05-11 11:41:36Z mike $".
  */
index 184cf96217dec18947379a35329c75cadbdcd2da..223324bbf781a9e9885a292e303b8014c0b03513 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: image-tiff.c 5508 2006-05-11 11:41:16Z mike $"
+ * "$Id: image-tiff.c 5509 2006-05-11 11:41:36Z mike $"
  *
  *   TIFF file routines for the Common UNIX Printing System (CUPS).
  *
@@ -1720,5 +1720,5 @@ _cupsImageReadTIFF(
 
 
 /*
- * End of "$Id: image-tiff.c 5508 2006-05-11 11:41:16Z mike $".
+ * End of "$Id: image-tiff.c 5509 2006-05-11 11:41:36Z mike $".
  */
index db92982314ebe5b26c43822d1968ec06225f9e9d..32bc9a7c79edd19717d14d3ba62e0bc91198fe3c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: imagetoraster.c 5523 2006-05-15 05:02:43Z mike $"
+ * "$Id: imagetoraster.c 5522 2006-05-15 05:02:15Z mike $"
  *
  *   Image file to raster filter for the Common UNIX Printing System (CUPS).
  *
@@ -4310,5 +4310,5 @@ raster_cb(
 
 
 /*
- * End of "$Id: imagetoraster.c 5523 2006-05-15 05:02:43Z mike $".
+ * End of "$Id: imagetoraster.c 5522 2006-05-15 05:02:15Z mike $".
  */
index a5c1c57b45fb52af8033684948be0457b96d9f42..3e7b47be16a1cc3725db38afc97ff355dd3d1724 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: interpret.c 5512 2006-05-11 18:06:58Z mike $"
+ * "$Id: interpret.c 5513 2006-05-11 18:07:25Z mike $"
  *
  *   PPD command interpreter for the Common UNIX Printing System (CUPS).
  *
@@ -608,5 +608,5 @@ exec_code(
 
 
 /*
- * End of "$Id: interpret.c 5512 2006-05-11 18:06:58Z mike $".
+ * End of "$Id: interpret.c 5513 2006-05-11 18:07:25Z mike $".
  */
index 23469f3e359d60fa28dbed94d58f3ef79c0c4c4d..e91e1fb32f6afb70b641253851b916b4b26bd8a8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: pstops.c 5569 2006-05-22 18:30:52Z mike $"
+ * "$Id: pstops.c 5570 2006-05-22 18:31:23Z mike $"
  *
  *   PostScript filter for the Common UNIX Printing System (CUPS).
  *
@@ -2935,5 +2935,5 @@ start_nup(pstops_doc_t *doc,              /* I - Document information */
 
 
 /*
- * End of "$Id: pstops.c 5569 2006-05-22 18:30:52Z mike $".
+ * End of "$Id: pstops.c 5570 2006-05-22 18:31:23Z mike $".
  */
index 8206a442244d9e12ebe34106593c36594451dd12..8dee94b1ac1d83114bacc2a11a4b208e041bea21 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: raster.c 5523 2006-05-15 05:02:43Z mike $"
+ * "$Id: raster.c 5522 2006-05-15 05:02:15Z mike $"
  *
  *   Raster file routines for the Common UNIX Printing System (CUPS).
  *
@@ -964,5 +964,5 @@ cups_write(int                 fd,  /* I - File descriptor */
 
 
 /*
- * End of "$Id: raster.c 5523 2006-05-15 05:02:43Z mike $".
+ * End of "$Id: raster.c 5522 2006-05-15 05:02:15Z mike $".
  */
index 3c5b671181ad03d7d5c1e98f4ecdde436bba9a38..987e00d2c5072958e1f17966c43af4f2e391ba7a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: raster.h 5516 2006-05-11 23:54:05Z mike $"
+ * "$Id: raster.h 5519 2006-05-12 15:06:42Z mike $"
  *
  *   Raster file definitions for the Common UNIX Printing System (CUPS).
  *
@@ -342,5 +342,5 @@ extern unsigned             cupsRasterWriteHeader2(cups_raster_t *r,
 #endif /* !_CUPS_RASTER_H_ */
 
 /*
- * End of "$Id: raster.h 5516 2006-05-11 23:54:05Z mike $".
+ * End of "$Id: raster.h 5519 2006-05-12 15:06:42Z mike $".
  */
index 4b8ee4a0512153ea863995cb819ac9326a8e8cdc..90de48f8241543fdcbbc9b02d3eaf82d50f081a0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: rastertolabel.c 5510 2006-05-11 17:41:54Z mike $"
+ * "$Id: rastertolabel.c 5287 2006-03-13 16:41:45Z mike $"
  *
  *   Label printer filter for the Common UNIX Printing System (CUPS).
  *
@@ -30,7 +30,6 @@
  *   EndPage()      - Finish a page of graphics.
  *   CancelJob()    - Cancel the current job...
  *   OutputLine()   - Output a line of graphics.
- *   PCLCompress()  - Output a PCL (mode 3) compressed line.
  *   ZPLCompress()  - Output a run-length compression sequence.
  *   main()         - Main entry and processing of driver.
  */
 
 
 /*
- * This driver filter currently supports Dymo, Intellitech, and Zebra
- * label printers.
+ * This driver filter currently supports Dymo and Zebra label printers.
  *
  * The Dymo portion of the driver has been tested with the 300, 330,
- * and 330 Turbo label printers; it may also work with other models.
+ * and 330 Turbo label printers; it may also work with older models.
  * The Dymo printers support printing at 136, 203, and 300 DPI.
  *
- * The Intellitech portion of the driver has been tested with the
- * Intellibar 408, 412, and 808 and supports their PCL variant.
- *
- * The Zebra portion of the driver has been tested with the LP-2844,
- * LP-2844Z, QL-320, and QL-420 label printers; it may also work with
- * other models.  The driver supports EPL line mode, EPL page mode,
- * ZPL, and CPCL as defined in Zebra's on-line developer documentation.
+ * The Zebra portion of the driver has been tested with the LP-2844Z label
+ * printer; it may also work with other models.  The driver supports EPL
+ * line mode, EPL page mode, ZPL, and CPCL as defined in Zebra's on-line
+ * developer documentation.
  */
 
 /*
 #define ZEBRA_ZPL      0x12            /* Zebra ZPL-based printers */
 #define ZEBRA_CPCL     0x13            /* Zebra CPCL-based printers */
 
-#define INTELLITECH_PCL        0x20            /* Intellitech PCL-based printers */
-
 
 /*
  * Globals...
  */
 
 unsigned char  *Buffer;                /* Output buffer */
-unsigned char  *CompBuffer;            /* Compression buffer */
+char           *CompBuffer;            /* Compression buffer */
 unsigned char  *LastBuffer;            /* Last buffer */
 int            LastSet;                /* Number of repeat characters */
 int            ModelNumber,            /* cupsModelNumber attribute */
@@ -102,7 +95,6 @@ void StartPage(ppd_file_t *ppd, cups_page_header_t *header);
 void   EndPage(ppd_file_t *ppd, cups_page_header_t *header);
 void   CancelJob(int sig);
 void   OutputLine(ppd_file_t *ppd, cups_page_header_t *header, int y);
-void   PCLCompress(unsigned char *line, int length);
 void   ZPLCompress(char repeat_char, int repeat_count);
 
 
@@ -155,15 +147,6 @@ Setup(ppd_file_t *ppd)                     /* I - PPD file */
 
     case ZEBRA_CPCL :
         break;
-
-    case INTELLITECH_PCL :
-       /*
-       * Send a PCL reset sequence.
-       */
-
-       putchar(0x1b);
-       putchar('E');
-        break;
   }
 }
 
@@ -230,9 +213,6 @@ StartPage(ppd_file_t         *ppd,  /* I - PPD file */
   fprintf(stderr, "DEBUG: cupsColorOrder = %d\n", header->cupsColorOrder);
   fprintf(stderr, "DEBUG: cupsColorSpace = %d\n", header->cupsColorSpace);
   fprintf(stderr, "DEBUG: cupsCompression = %d\n", header->cupsCompression);
-  fprintf(stderr, "DEBUG: cupsRowCount = %d\n", header->cupsRowCount);
-  fprintf(stderr, "DEBUG: cupsRowFeed = %d\n", header->cupsRowFeed);
-  fprintf(stderr, "DEBUG: cupsRowStep = %d\n", header->cupsRowStep);
 
  /*
   * Register a signal handler to eject the current page if the
@@ -373,108 +353,6 @@ StartPage(ppd_file_t         *ppd,        /* I - PPD file */
               header->HWResolution[1], header->cupsHeight,
               header->NumCopies);
         break;
-
-    case INTELLITECH_PCL :
-       /*
-        * Set the media size...
-       */
-
-       printf("\033&l6D\033&k12H");    /* Set 6 LPI, 10 CPI */
-       printf("\033&l0O");             /* Set portrait orientation */
-
-       switch (header->PageSize[1])
-       {
-         case 540 : /* Monarch Envelope */
-              printf("\033&l80A");     /* Set page size */
-             break;
-
-         case 624 : /* DL Envelope */
-              printf("\033&l90A");     /* Set page size */
-             break;
-
-         case 649 : /* C5 Envelope */
-              printf("\033&l91A");     /* Set page size */
-             break;
-
-         case 684 : /* COM-10 Envelope */
-              printf("\033&l81A");     /* Set page size */
-             break;
-
-         case 756 : /* Executive */
-              printf("\033&l1A");      /* Set page size */
-             break;
-
-         case 792 : /* Letter */
-              printf("\033&l2A");      /* Set page size */
-             break;
-
-         case 842 : /* A4 */
-              printf("\033&l26A");     /* Set page size */
-             break;
-
-         case 1008 : /* Legal */
-              printf("\033&l3A");      /* Set page size */
-             break;
-
-          default : /* Custom size */
-             printf("\033!f%dZ", header->PageSize[1] * 300 / 72);
-             break;
-       }
-
-       printf("\033&l%dP",             /* Set page length */
-               header->PageSize[1] / 12);
-       printf("\033&l0E");             /* Set top margin to 0 */
-        printf("\033&l%dX", header->NumCopies);
-                                       /* Set number copies */
-        printf("\033&l0L");            /* Turn off perforation skip */
-
-       /*
-        * Print settings...
-       */
-
-       if (Page == 1)
-       {
-          if (header->cupsRowFeed)     /* inPrintRate */
-           printf("\033!p%dS", header->cupsRowFeed);
-
-          if (header->cupsCompression != ~0)
-                                       /* inPrintDensity */
-           printf("\033&d%dA", 30 * header->cupsCompression / 100 - 15);
-
-          if (header->cupsRowCount != ~0)
-                                       /* inTearInterval */
-           printf("\033!n%dT", header->cupsRowCount);
-
-          if (header->cupsRowStep != ~0)
-                                       /* inCutInterval */
-           printf("\033!n%dC", header->cupsRowStep);
-        }
-
-       /*
-       * Setup graphics...
-       */
-
-       printf("\033*t%dR", header->HWResolution[0]);
-                                       /* Set resolution */
-
-       printf("\033*r%dS", header->cupsWidth);
-                                       /* Set width */
-       printf("\033*r%dT", header->cupsHeight);
-                                       /* Set height */
-
-       printf("\033&a0H");             /* Set horizontal position */
-       printf("\033&a0V");             /* Set vertical position */
-        printf("\033*r1A");            /* Start graphics */
-        printf("\033*b3M");            /* Set compression */
-
-       /*
-        * Allocate compression buffers...
-       */
-
-       CompBuffer = malloc(2 * header->cupsBytesPerLine + 1);
-       LastBuffer = malloc(header->cupsBytesPerLine);
-       LastSet    = 0;
-        break;
   }
 
  /*
@@ -713,11 +591,6 @@ EndPage(ppd_file_t *ppd,           /* I - PPD file */
         puts("FORM\r");
        puts("PRINT\r");
        break;
-
-    case INTELLITECH_PCL :
-        printf("\033*rB");             /* End GFX */
-        printf("\014");                        /* Eject current page */
-        break;
   }
 
   fflush(stdout);
@@ -915,163 +788,10 @@ OutputLine(ppd_file_t         *ppd,      /* I - PPD file */
          fflush(stdout);
        }
        break;
-
-    case INTELLITECH_PCL :
-       if (Buffer[0] ||
-            memcmp(Buffer, Buffer + 1, header->cupsBytesPerLine - 1))
-        {
-         if (Feed)
-         {
-           printf("\033*b%dY", Feed);
-           Feed    = 0;
-           LastSet = 0;
-         }
-
-          PCLCompress(Buffer, header->cupsBytesPerLine);
-       }
-       else
-         Feed ++;
-        break;
   }
 }
 
 
-/*
- * 'PCLCompress()' - Output a PCL (mode 3) compressed line.
- */
-
-void
-PCLCompress(unsigned char *line,       /* I - Line to compress */
-            int           length)      /* I - Length of line */
-{
-  unsigned char        *line_ptr,              /* Current byte pointer */
-               *line_end,              /* End-of-line byte pointer */
-               *comp_ptr,              /* Pointer into compression buffer */
-               *start,                 /* Start of compression sequence */
-               *seed;                  /* Seed buffer pointer */
-  int           count,                 /* Count of bytes for output */
-               offset;                 /* Offset of bytes for output */
-
-
- /*
-  * Do delta-row compression...
-  */
-
-  line_ptr = line;
-  line_end = line + length;
-
-  comp_ptr = CompBuffer;
-  seed     = LastBuffer;
-
-  while (line_ptr < line_end)
-  {
-   /*
-    * Find the next non-matching sequence...
-    */
-
-    start = line_ptr;
-
-    if (!LastSet)
-    {
-     /*
-      * The seed buffer is invalid, so do the next 8 bytes, max...
-      */
-
-      offset = 0;
-
-      if ((count = line_end - line_ptr) > 8)
-       count = 8;
-
-      line_ptr += count;
-    }
-    else
-    {
-     /*
-      * The seed buffer is valid, so compare against it...
-      */
-
-      while (*line_ptr == *seed &&
-             line_ptr < line_end)
-      {
-        line_ptr ++;
-        seed ++;
-      }
-
-      if (line_ptr == line_end)
-        break;
-
-      offset = line_ptr - start;
-
-     /*
-      * Find up to 8 non-matching bytes...
-      */
-
-      start = line_ptr;
-      count = 0;
-      while (*line_ptr != *seed &&
-             line_ptr < line_end &&
-             count < 8)
-      {
-        line_ptr ++;
-        seed ++;
-        count ++;
-      }
-    }
-
-   /*
-    * Place mode 3 compression data in the buffer; see HP manuals
-    * for details...
-    */
-
-    if (offset >= 31)
-    {
-     /*
-      * Output multi-byte offset...
-      */
-
-      *comp_ptr++ = ((count - 1) << 5) | 31;
-
-      offset -= 31;
-      while (offset >= 255)
-      {
-        *comp_ptr++ = 255;
-        offset    -= 255;
-      }
-
-      *comp_ptr++ = offset;
-    }
-    else
-    {
-     /*
-      * Output single-byte offset...
-      */
-
-      *comp_ptr++ = ((count - 1) << 5) | offset;
-    }
-
-    memcpy(comp_ptr, start, count);
-    comp_ptr += count;
-  }
-
-  line_ptr = CompBuffer;
-  line_end = comp_ptr;
-
- /*
-  * Set the length of the data and write it...
-  */
-
-  printf("\033*b%dW", comp_ptr - CompBuffer);
-  fwrite(CompBuffer, comp_ptr - CompBuffer, 1, stdout);
-
- /*
-  * Save this line as a "seed" buffer for the next...
-  */
-
-  memcpy(LastBuffer, line, length);
-  LastSet = 1;
-}
-
-
 /*
  * 'ZPLCompress()' - Output a run-length compression sequence.
  */
@@ -1153,7 +873,7 @@ main(int  argc,                            /* I - Number of command-line arguments */
     * and return.
     */
 
-    fputs("ERROR: rastertolabel job-id user title copies options [file]\n", stderr);
+    fputs("ERROR: rastertodymo job-id user title copies options [file]\n", stderr);
     return (1);
   }
 
@@ -1283,5 +1003,5 @@ main(int  argc,                           /* I - Number of command-line arguments */
 
 
 /*
- * End of "$Id: rastertolabel.c 5510 2006-05-11 17:41:54Z mike $".
+ * End of "$Id: rastertolabel.c 5287 2006-03-13 16:41:45Z mike $".
  */
index a74569ef57bc1a6458bffa0e849b664fb8b81561..1ca4004d75de3a6e32d83f1e7c4dabe3fd17686a 100644 (file)
@@ -29,7 +29,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CUPS 1.2\n"
 "Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
-"POT-Creation-Date: 2006-05-21 10:07-0400\n"
+"POT-Creation-Date: 2006-05-21 10:08-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
index eeb6713741779f2e167e1afd6d460cf8c34a6966..f185289559b0605a4aea6b2cbd07d76c9c2a5741 100644 (file)
@@ -22,7 +22,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CUPS 1.2\n"
 "Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
-"POT-Creation-Date: 2006-05-21 10:07-0400\n"
+"POT-Creation-Date: 2006-05-21 10:08-0400\n"
 "PO-Revision-Date: 2006-03-25 21:48+0100\n"
 "Last-Translator: Juan Pablo González Riopedre <riopedre@tiscali.es>\n"
 "Language-Team: Spanish\n"
index 464407aba9843f38bc895982fcfaf4c2a364ef84..cf6d770a9a367f7ccc3550e785da9cb2f171336b 100644 (file)
@@ -25,7 +25,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CUPS 1.2\n"
 "Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
-"POT-Creation-Date: 2006-05-21 10:07-0400\n"
+"POT-Creation-Date: 2006-05-21 10:08-0400\n"
 "PO-Revision-Date: 2006-03-29 23:44+0900\n"
 "Last-Translator: Kenshi Muto <kmuto@debian.org>\n"
 "Language-Team: Japanese <LL@li.org>\n"
index 49c815145ef06e839e92468c16bc20ab14fd53b7..d10a852c4af355972b6b2d01310d616238a29874 100644 (file)
@@ -25,7 +25,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CUPS 1.2\n"
 "Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
-"POT-Creation-Date: 2006-05-21 10:07-0400\n"
+"POT-Creation-Date: 2006-05-21 10:08-0400\n"
 "PO-Revision-Date: 2006-05-09 17:20+0200\n"
 "Last-Translator: Piotr DrÄ…g <raven@pmail.pl>\n"
 "Language-Team: Polish <pl@li.org>\n"
index a245aa8139745f90e4bfd3362fba56c064ddbd62..21b3c01498027a0975ddfe41d9a4857a2044a094 100644 (file)
@@ -28,7 +28,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CUPS 1.2\n"
 "Report-Msgid-Bugs-To: http://www.cups.org/str.php\n"
-"POT-Creation-Date: 2006-05-21 10:07-0400\n"
+"POT-Creation-Date: 2006-05-21 10:08-0400\n"
 "PO-Revision-Date: 2006-04-16 00:55+0100\n"
 "Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
index a949db828f698416bd602c90951146e33551faf3..832780032b4146da019e1ada9565c36b775c35fd 100644 (file)
@@ -10,7 +10,7 @@
 \f1\b WARNING\
 
 \f0\b0 \
-This is pre-release software and should not be used in production environments. Because MacOS X packages cannot be uninstalled, you will need to reinstall MacOS X to revert to the original CUPS 1.1.x software.\
+Because MacOS X packages cannot be uninstalled, you will need to reinstall MacOS X to revert to the original CUPS 1.1.x software.\
 \
 Please report all problems using the Bugs & Features page on the CUPS home page:\
 \
index c2f96483249d462afb6c6734ce538772b96d702a..958bd7b10a8c39d94c244f319358735dcfe95ce6 100644 (file)
@@ -1,86 +1,21 @@
-README - CUPS v1.2.0b1 - 01/10/2006
------------------------------------
-
-*****************************************************************
-*****************************************************************
-****                                                         ****
-**** WARNING: THIS IS BETA RELEASE SOFTWARE AND MAY BE       ****
-****          TOTALLY UNSTABLE.  DO NOT USE IN ENVIRONMENTS  ****
-****          WHERE RELIABLE SOFTWARE IS REQUIRED!           ****
-****                                                         ****
-*****************************************************************
-*****************************************************************
-
-Looking for compile instructions?  Read the file "INSTALL.txt"
-instead...
-
-*****************************************************************
-*****************************************************************
-****                                                         ****
-**** IF YOU HAVE A NON-POSTSCRIPT PRINTER, YOU WILL ALSO     ****
-**** NEED TO INSTALL ESP GHOSTSCRIPT OR A PATCHED VERSION    ****
-**** OF A STANDARD GHOSTSCRIPT RELEASE.                      ****
-****                                                         ****
-*****************************************************************
-*****************************************************************
-
-
-INTRODUCTION
-
-CUPS provides a portable printing layer for UNIX(r)-based
-operating systems.  It has been developed by Easy Software
-Products to promote a standard printing solution for all UNIX
-vendors and users.  CUPS provides the System V and Berkeley
-command-line interfaces.
-
-CUPS uses the Internet Printing Protocol ("IPP") as the basis
-for managing print jobs and queues.  The Line Printer Daemon
-("LPD") Server Message Block ("SMB"), and AppSocket (a.k.a.
-JetDirect) protocols are also supported with reduced
-functionality.  CUPS adds network printer browsing and
-PostScript Printer Description ("PPD") based printing options to
-support real-world printing under UNIX.
-
-CUPS includes an image file RIP that supports printing of image
-files to non-PostScript printers.  A customized version of GNU
-Ghostscript for CUPS called ESP Ghostscript is available
-separately to support printing of PostScript files within the
-CUPS driver framework.  Sample drivers for Dymo, EPSON, HP, and
-OKIDATA printers are included that use these filters.
-
-Drivers for thousands of printers are provided with our ESP
-Print Pro software, available at:
-
-       http://www.easysw.com/printpro/
-
-CUPS is licensed under the GNU General Public License and GNU
-Library General Public License.  Please contact Easy Software
-Products for commercial support and "binary distribution"
-rights.
-
-
 SYSTEM REQUIREMENTS
 
 Binary distributions require a minimum of 10MB of free disk
 space. We do not recommend using CUPS on a workstation with less
 than 32MB of RAM or a PC with less than 16MB of RAM.
 
-If you are installing from source you'll need ANSI-compliant C
-and C++ compilers and optionally one or more image file support
-libraries.  Complete source installation instructions can be
-found in the file "INSTALL.txt".
-
 
 SOFTWARE REQUIREMENTS
 
 The following operating system software is required to install
 one of the binary distributions from Easy Software Products:
 
-    - AIX 4.3 or higher
+    - AIX 5.2 or higher
     - HP-UX 11.00 or higher
     - IRIX 6.5 or higher
-    - Linux 2.4 with glibc 2.2 or higher
-    - Solaris 7 or higher (SPARC or Intel)
+    - Linux 2.4 with glibc 2.3 or higher (LSB 3.1)
+    - MacOS X 10.4 or higher (PowerPC or Intel)
+    - Solaris 8 or higher (SPARC or Intel)
 
 
 INSTALLING "PORTABLE" CUPS DISTRIBUTIONS
@@ -90,7 +25,7 @@ distributions in TAR format with installation and removal
 scripts generated by our ESP Package Manager (EPM) software,
 which is available from:
 
-    http://www.easysw.com/epm
+    http://www.easysw.com/epm/
 
 WARNING: Installing CUPS will overwrite your existing printing
 system. Backup files are made by the installation script and
@@ -112,10 +47,9 @@ be installed and the scheduler will be started automatically.
 
 INSTALLING HOST-SPECIFIC (RPM, DEBIAN, ETC.) DISTRIBUTIONS
 
-The host-specific distributions use the operating system
-software installation tools.  To install a host-specific
-distribution please consult the CUPS Software Administrators
-Manual or your operating system documentation.
+The host-specific distributions use the operating system software
+installation tools.  To install a host-specific distribution
+please consult your operating system documentation.
 
 
 READING THE DOCUMENTATION
@@ -164,93 +98,7 @@ shown a menu of available functions.
 
 DO NOT use the hostname for your machine - it will not work with
 the default CUPS configuration.  To enable administration access
-on other addresses, consult the CUPS Software Administrators
-Manual.
-
-
-SETTING UP PRINTER QUEUES FROM THE COMMAND-LINE
-
-CUPS works best with PPD (PostScript Printer Description)
-files.  In a pinch you can also use System V style printer
-interface scripts.
-
-Six sample PPD files are provided with this distribution that
-utilize the PostScript and image file RIPs and the sample EPSON
-and HP printer drivers.  To add the sample DeskJet driver to the
-system for a printer connected to the parallel port, use one of
-the following commands:
-
-    HP-UX:
-
-        /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/c2t0d0_lp -E
-
-    IRIX:
-
-        /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/plp -E
-
-    Linux:
-
-        /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/lp0 -E
-        /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/lp1 -E
-        /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/lp2 -E
-
-    Solaris:
-
-        /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/bpp0 -E
-        /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/ecpp0 -E
-
-Similarly, for the other sample drivers you can use:
-
-    Driver                         PPD File
-    -----------------------------  ------------
-    Dymo Label Printers            dymo.ppd
-    EPSON Stylus Color Series      stcolor.ppd
-    EPSON Stylus Photo Series      stphoto.ppd
-    EPSON Stylus New Color Series  stcolor2.ppd
-    EPSON Stylus New Photo Series  stphoto2.ppd
-    EPSON 9-pin Series             epson9.ppd
-    EPSON 24-pin Series            epson24.ppd
-    HP DeskJet Series              deskjet.ppd
-    HP New DeskJet Series          deskjet2.ppd
-    HP LaserJet Series             laserjet.ppd
-    OKIDATA 9-Pin Series           okidata9.ppd
-    OKIDATA 24-Pin Series          okidat24.ppd
-
-These sample drivers provide basic printing capabilities, but
-generally do not exercise the full potential of the printers or
-CUPS.  For commercial printer drivers check out our ESP Print
-Pro software at:
-
-    http://www.easysw.com/printpro/
-
-
-PRINTING FILES
-
-CUPS provides both the System V "lp" and Berkeley "lpr" commands
-for printing:
-
-    lp filename
-    lpr filename
-
-Both the "lp" and "lpr" commands support printing options for
-the driver:
-
-    lp -omedia=A4 -oresolution=600dpi filename
-    lpr -omedia=A4 -oresolution=600dpi filename
-
-CUPS recognizes many types of images files as well as PDF,
-PostScript, HP-GL/2, and text files, so you can print those
-files directly rather than through an application.
-
-If you have an application that generates output specifically
-for your printer then you need to use the "-oraw" or "-l"
-options:
-
-    lp -oraw filename
-    lpr -l filename
-
-This will prevent the filters from misinterpreting your print
-file.
+on other addresses, consult the on-line help.
 
 
 LEGAL STUFF
diff --git a/ppd/intelbar.ppd b/ppd/intelbar.ppd
deleted file mode 100644 (file)
index f2af1a3..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-*PPD-Adobe: "4.3"
-*%
-*% "$Id$"
-*%
-*%   Sample IntelliBar label printer driver PPD file for the Common UNIX
-*%   Printing System (CUPS).
-*%
-*%   Copyright 2001-2006 by Easy Software Products.
-*%
-*%   These coded instructions, statements, and computer programs are the
-*%   property of Easy Software Products and are protected by Federal
-*%   copyright law.  Distribution and use rights are outlined in the file
-*%   "LICENSE.txt" which should have been included with this file.  If this
-*%   file is missing or damaged please contact Easy Software Products
-*%   at:
-*%
-*%       Attn: CUPS Licensing Information
-*%       Easy Software Products
-*%       44141 Airport View Drive, Suite 204
-*%       Hollywood, Maryland 20636 USA
-*%
-*%       Voice: (301) 373-9600
-*%       EMail: cups-info@cups.org
-*%         WWW: http://www.cups.org
-*%
-*FormatVersion:        "4.3"
-*FileVersion:  "1.2"
-*LanguageVersion: English 
-*LanguageEncoding: ISOLatin1
-*PCFileName:   "INTELBAR.PPD"
-*Manufacturer: "Intellitech"
-*Product:      "(GNU Ghostscript)"
-*Product:      "(ESP Ghostscript)"
-*cupsVersion:  1.2
-*cupsManualCopies: False
-*cupsFilter:   "application/vnd.cups-raster 0 rastertolabel"
-*cupsModelNumber: 32
-*ModelName:     "Intellitech IntelliBar Series Label Printer"
-*ShortNickName: "Intellitech IntelliBar Series"
-*NickName:      "Intellitech IntelliBar Series Label Printer v1.2"
-*PSVersion:    "(3010.000) 81501"
-*LanguageLevel:        "3"
-*ColorDevice:  False
-*DefaultColorSpace: Gray
-*FileSystem:   False
-*Throughput:   "8"
-*LandscapeOrientation: Plus90
-*TTRasterizer: Type42
-
-*OpenUI *PageSize/Media Size: PickOne
-*OrderDependency: 10 AnySetup *PageSize
-*DefaultPageSize: w288h432
-*PageSize w288h432/Label - 4.00x6.00": "<</PageSize[288 432]/ImagingBBox null>>setpagedevice"
-*CloseUI: *PageSize
-
-*OpenUI *PageRegion: PickOne
-*OrderDependency: 10 AnySetup *PageRegion
-*DefaultPageRegion: w288h432
-*PageRegion w288h432/Label - 4.00x6.00": "<</PageSize[288 432]/ImagingBBox null>>setpagedevice"
-*CloseUI: *PageRegion
-
-*DefaultImageableArea: w288h432
-*ImageableArea w288h432/Label - 4.00x6.00": "0 5.76 288 426.24"
-
-*DefaultPaperDimension: w288h432
-*PaperDimension w288h432/Label - 4.00x6.00": "288 432"
-
-*MaxMediaWidth: "630"
-*MaxMediaHeight: "7128"
-*HWMargins: 0 5.76 0 5.76
-*CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
-*ParamCustomPageSize Width: 1 points 36 630
-*ParamCustomPageSize Height: 2 points 36 7128
-*ParamCustomPageSize WidthOffset: 3 points 0 0
-*ParamCustomPageSize HeightOffset: 4 points 0 0
-*ParamCustomPageSize Orientation: 5 int 0 0
-
-*OpenUI *Resolution/Output Resolution: PickOne
-*OrderDependency: 20 AnySetup *Resolution
-*DefaultResolution: 300dpi
-*Resolution 300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
-*CloseUI: *Resolution
-
-*OpenGroup: PrinterSettings/Printer Settings
-*OpenUI *inPrintDensity/Print Density: PickOne
-*OrderDependency: 20 DocumentSetup *inPrintDensity
-*DefaultinPrintDensity: Default
-*inPrintDensity Default/PrinterDefault: "<<cupsCompression -1>>setpagedevice"
-*inPrintDensity -15: "<</cupsCompression 0>>setpagedevice"
-*inPrintDensity -14: "<</cupsCompression 3>>setpagedevice"
-*inPrintDensity -13: "<</cupsCompression 6>>setpagedevice"
-*inPrintDensity -12: "<</cupsCompression 10>>setpagedevice"
-*inPrintDensity -11: "<</cupsCompression 13>>setpagedevice"
-*inPrintDensity -10: "<</cupsCompression 16>>setpagedevice"
-*inPrintDensity -9: "<</cupsCompression 20>>setpagedevice"
-*inPrintDensity -8: "<</cupsCompression 23>>setpagedevice"
-*inPrintDensity -7: "<</cupsCompression 26>>setpagedevice"
-*inPrintDensity -6: "<</cupsCompression 30>>setpagedevice"
-*inPrintDensity -5: "<</cupsCompression 33>>setpagedevice"
-*inPrintDensity -4: "<</cupsCompression 36>>setpagedevice"
-*inPrintDensity -3: "<</cupsCompression 40>>setpagedevice"
-*inPrintDensity -2: "<</cupsCompression 43>>setpagedevice"
-*inPrintDensity -1: "<</cupsCompression 46>>setpagedevice"
-*inPrintDensity 0: "<</cupsCompression 50>>setpagedevice"
-*inPrintDensity 1: "<</cupsCompression 53>>setpagedevice"
-*inPrintDensity 2: "<</cupsCompression 56>>setpagedevice"
-*inPrintDensity 3: "<</cupsCompression 60>>setpagedevice"
-*inPrintDensity 4: "<</cupsCompression 63>>setpagedevice"
-*inPrintDensity 5: "<</cupsCompression 66>>setpagedevice"
-*inPrintDensity 6: "<</cupsCompression 70>>setpagedevice"
-*inPrintDensity 7: "<</cupsCompression 73>>setpagedevice"
-*inPrintDensity 8: "<</cupsCompression 76>>setpagedevice"
-*inPrintDensity 9: "<</cupsCompression 80>>setpagedevice"
-*inPrintDensity 10: "<</cupsCompression 83>>setpagedevice"
-*inPrintDensity 11: "<</cupsCompression 86>>setpagedevice"
-*inPrintDensity 12: "<</cupsCompression 90>>setpagedevice"
-*inPrintDensity 13: "<</cupsCompression 93>>setpagedevice"
-*inPrintDensity 14: "<</cupsCompression 96>>setpagedevice"
-*inPrintDensity 15: "<</cupsCompression 100>>setpagedevice"
-*CloseUI: *inPrintDensity
-
-*OpenUI *inPrintRate/Print Speed: PickOne
-*OrderDependency: 20 DocumentSetup *inPrintRate
-*DefaultinPrintRate: Default
-*inPrintRate Default/PrinterDefault: "<</cupsRowFeed 0>>setpagedevice"
-*inPrintRate 15/15 mm/sec.: "<</cupsRowFeed 15>>setpagedevice"
-*inPrintRate 20/20 mm/sec.: "<</cupsRowFeed 20>>setpagedevice"
-*inPrintRate 30/30 mm/sec.: "<</cupsRowFeed 30>>setpagedevice"
-*inPrintRate 40/40 mm/sec.: "<</cupsRowFeed 40>>setpagedevice"
-*inPrintRate 60/60 mm/sec.: "<</cupsRowFeed 60>>setpagedevice"
-*inPrintRate 80/80 mm/sec.: "<</cupsRowFeed 80>>setpagedevice"
-*inPrintRate 100/100 mm/sec.: "<</cupsRowFeed 100>>setpagedevice"
-*inPrintRate 120/120 mm/sec.: "<</cupsRowFeed 120>>setpagedevice"
-*inPrintRate 150/150 mm/sec.: "<</cupsRowFeed 150>>setpagedevice"
-*inPrintRate 200/200 mm/sec.: "<</cupsRowFeed 200>>setpagedevice"
-*inPrintRate 250/250 mm/sec.: "<</cupsRowFeed 250>>setpagedevice"
-*inPrintRate 300/300 mm/sec.: "<</cupsRowFeed 300>>setpagedevice"
-*CloseUI: *inPrintRate
-
-*OpenUI *inTearInterval/Print and Tear: PickOne
-*OrderDependency: 20 DocumentSetup *inTearInterval
-*DefaultinTearInterval: Default
-*inTearInterval Default/PrinterDefault: "<</cupsRowCount -1>>setpagedevice"
-*inTearInterval None/Disabled: "<</cupsRowCount 0>>setpagedevice"
-*inTearInterval 1/Every Label: "<</cupsRowCount 1>>setpagedevice"
-*inTearInterval 2/Every 2 Labels: "<</cupsRowCount 2>>setpagedevice"
-*inTearInterval 3/Every 3 Labels: "<</cupsRowCount 3>>setpagedevice"
-*inTearInterval 4/Every 4 Labels: "<</cupsRowCount 4>>setpagedevice"
-*inTearInterval 5/Every 5 Labels: "<</cupsRowCount 5>>setpagedevice"
-*inTearInterval 6/Every 6 Labels: "<</cupsRowCount 6>>setpagedevice"
-*inTearInterval 7/Every 7 Labels: "<</cupsRowCount 7>>setpagedevice"
-*inTearInterval 8/Every 8 Labels: "<</cupsRowCount 8>>setpagedevice"
-*inTearInterval 9/Every 9 Labels: "<</cupsRowCount 9>>setpagedevice"
-*inTearInterval 10/Every 10 Labels: "<</cupsRowCount 10>>setpagedevice"
-*CloseUI: *inTearInterval
-
-*CustominTearInterval True: "<</cupsRowCount 2 1 roll>>setpagedevice"
-*ParamCustominTearInterval Interval: 1 int 1 99
-
-*OpenUI *inCutInterval/Print and Cut: PickOne
-*OrderDependency: 20 DocumentSetup *inCutInterval
-*DefaultinCutInterval: Default
-*inCutInterval Default/PrinterDefault: "<</cupsRowStep -1>>setpagedevice"
-*inCutInterval None/Disabled: "<</cupsRowStep 0>>setpagedevice"
-*inCutInterval 1/Every Label: "<</cupsRowStep 1>>setpagedevice"
-*inCutInterval 2/Every 2 Labels: "<</cupsRowStep 2>>setpagedevice"
-*inCutInterval 3/Every 3 Labels: "<</cupsRowStep 3>>setpagedevice"
-*inCutInterval 4/Every 4 Labels: "<</cupsRowStep 4>>setpagedevice"
-*inCutInterval 5/Every 5 Labels: "<</cupsRowStep 5>>setpagedevice"
-*inCutInterval 6/Every 6 Labels: "<</cupsRowStep 6>>setpagedevice"
-*inCutInterval 7/Every 7 Labels: "<</cupsRowStep 7>>setpagedevice"
-*inCutInterval 8/Every 8 Labels: "<</cupsRowStep 8>>setpagedevice"
-*inCutInterval 9/Every 9 Labels: "<</cupsRowStep 9>>setpagedevice"
-*inCutInterval 10/Every 10 Labels: "<</cupsRowStep 10>>setpagedevice"
-*CloseUI: *inCutInterval
-
-*CustominCutInterval True: "<</cupsRowStep 2 1 roll>>setpagedevice"
-*ParamCustominCutInterval Interval: 1 int 1 99
-*CloseGroup: *PrinterSettings
-
-*DefaultFont: Courier
-*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
-*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
-*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
-*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
-*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
-*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
-*Font Bookman-Light: Standard "(001.004S)" Standard ROM
-*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
-*Font Courier: Standard "(002.004S)" Standard ROM
-*Font Courier-Bold: Standard "(002.004S)" Standard ROM
-*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
-*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
-*Font Helvetica: Standard "(001.006S)" Standard ROM
-*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
-*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
-*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
-*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
-*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
-*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
-*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
-*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
-*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
-*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
-*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
-*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
-*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
-*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
-*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
-*Font Symbol: Special "(001.007S)" Special ROM
-*Font Times-Bold: Standard "(001.007S)" Standard ROM
-*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
-*Font Times-Italic: Standard "(001.007S)" Standard ROM
-*Font Times-Roman: Standard "(001.007S)" Standard ROM
-*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
-*Font ZapfDingbats: Special "(001.004S)" Standard ROM
-*%
-*% End of "$Id: zebra.ppd 5130 2006-02-17 20:25:33Z mike $".
-*%
index c478eda0f76e3e0a671ca6e238069107a70bb040..536896cb4ec47558fe18b94bbbb30c63506a4e71 100644 (file)
@@ -1,6 +1,6 @@
 *PPD-Adobe: "4.3"
 *%
-*% "$Id: zebra.ppd 5510 2006-05-11 17:41:54Z mike $"
+*% "$Id: zebra.ppd 5511 2006-05-11 17:43:12Z mike $"
 *%
 *%   Sample Zebra label printer driver PPD file for the Common UNIX Printing
 *%   System (CUPS).
 *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
 *Font ZapfDingbats: Special "(001.004S)" Standard ROM
 *%
-*% End of "$Id: zebra.ppd 5510 2006-05-11 17:41:54Z mike $".
+*% End of "$Id: zebra.ppd 5511 2006-05-11 17:43:12Z mike $".
 *%
index 895a14225d390f3168d3a7a95fc6fb2811d4b5cf..ea9a071013203b4b79346b4c69e01a683553f86e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: auth.c 5567 2006-05-22 15:33:11Z mike $"
+ * "$Id: auth.c 5568 2006-05-22 15:34:01Z mike $"
  *
  *   Authorization routines for the Common UNIX Printing System (CUPS).
  *
@@ -2168,5 +2168,5 @@ to64(char          *s,                    /* O - Output string */
 
 
 /*
- * End of "$Id: auth.c 5567 2006-05-22 15:33:11Z mike $".
+ * End of "$Id: auth.c 5568 2006-05-22 15:34:01Z mike $".
  */
index a08f91fc98a5f40e94aec36ab28373505284a835..5800977137f093c082adcea2a1d68bb90706dd06 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: client.c 5567 2006-05-22 15:33:11Z mike $"
+ * "$Id: client.c 5568 2006-05-22 15:34:01Z mike $"
  *
  *   Client routines for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -3825,5 +3825,5 @@ write_file(cupsd_client_t *con,           /* I - Client connection */
 
 
 /*
- * End of "$Id: client.c 5567 2006-05-22 15:33:11Z mike $".
+ * End of "$Id: client.c 5568 2006-05-22 15:34:01Z mike $".
  */
index b27ac8c41cb2af20bf4f5ef4ee81855be6ba9499..d1b8ab79233591c8a3e2590a3c2efe1276c4ed24 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: dirsvc.c 5548 2006-05-19 19:38:31Z mike $"
+ * "$Id: dirsvc.c 5549 2006-05-19 19:39:28Z mike $"
  *
  *   Directory services routines for the Common UNIX Printing System (CUPS).
  *
@@ -3130,5 +3130,5 @@ slp_url_callback(
 
 
 /*
- * End of "$Id: dirsvc.c 5548 2006-05-19 19:38:31Z mike $".
+ * End of "$Id: dirsvc.c 5549 2006-05-19 19:39:28Z mike $".
  */
index 0a78c9d6c5d0a47d6ed3ae48f51baa0dc6e7bf45..277196017b321374d5fec4d1aa2f974a4f98e49a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.c 5552 2006-05-20 12:00:37Z mike $"
+ * "$Id: ipp.c 5554 2006-05-20 12:23:40Z mike $"
  *
  *   IPP routines for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -126,7 +126,8 @@ static void accept_jobs(cupsd_client_t *con, ipp_attribute_t *uri);
 static void    add_class(cupsd_client_t *con, ipp_attribute_t *uri);
 static int     add_file(cupsd_client_t *con, cupsd_job_t *job,
                         mime_type_t *filetype, int compression);
-static cupsd_job_t *add_job(cupsd_client_t *con, cupsd_printer_t *printer,
+static cupsd_job_t *add_job(cupsd_client_t *con, ipp_attribute_t *uri,
+                           cupsd_printer_t **dprinter,
                            mime_type_t *filetype);
 static void    add_job_state_reasons(cupsd_client_t *con, cupsd_job_t *job);
 static void    add_job_subscriptions(cupsd_client_t *con, cupsd_job_t *job);
@@ -699,6 +700,12 @@ accept_jobs(cupsd_client_t  *con,  /* I - Client connection */
 {
   http_status_t        status;                 /* Policy status */
   cups_ptype_t dtype;                  /* Destination type (printer or class) */
+  char         method[HTTP_MAX_URI],   /* Method portion of URI */
+               username[HTTP_MAX_URI], /* Username portion of URI */
+               host[HTTP_MAX_URI],     /* Host portion of URI */
+               resource[HTTP_MAX_URI]; /* Resource portion of URI */
+  int          port;                   /* Port portion of URI */
+  const char   *name;                  /* Printer name */
   cupsd_printer_t *printer;            /* Printer data */
 
 
@@ -709,7 +716,11 @@ accept_jobs(cupsd_client_t  *con,  /* I - Client connection */
   * Is the destination valid?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((name = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -740,19 +751,12 @@ accept_jobs(cupsd_client_t  *con, /* I - Client connection */
   cupsdAddPrinterHistory(printer);
 
   if (dtype & CUPS_PRINTER_CLASS)
-  {
     cupsdSaveAllClasses();
-
-    cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" now accepting jobs (\"%s\").",
-                    printer->name, get_username(con));
-  }
   else
-  {
     cupsdSaveAllPrinters();
 
-    cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" now accepting jobs (\"%s\").",
-                    printer->name, get_username(con));
-  }
+  cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" now accepting jobs (\"%s\").", name,
+                  get_username(con));
 
  /*
   * Everything was ok, so return OK status...
@@ -780,6 +784,7 @@ add_class(cupsd_client_t  *con,             /* I - Client connection */
   cupsd_printer_t *pclass,             /* Class */
                *member;                /* Member printer/class */
   cups_ptype_t dtype;                  /* Destination type */
+  const char   *dest;                  /* Printer or class name */
   ipp_attribute_t *attr;               /* Printer attribute */
   int          modify;                 /* Non-zero if we just modified */
   char         newname[IPP_MAX_NAME];  /* New class name */
@@ -998,7 +1003,11 @@ add_class(cupsd_client_t  *con,           /* I - Client connection */
       * Search for the printer or class URI...
       */
 
-      if (!cupsdValidateDest(attr->values[i].string.text, &dtype, &member))
+      httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[i].string.text, method,
+                      sizeof(method), username, sizeof(username), host,
+                     sizeof(host), &port, resource, sizeof(resource));
+
+      if ((dest = cupsdValidateDest(host, resource, &dtype, &member)) == NULL)
       {
        /*
        * Bad URI...
@@ -1135,24 +1144,54 @@ add_file(cupsd_client_t *con,           /* I - Connection to client */
 
 static cupsd_job_t *                   /* O - Job object */
 add_job(cupsd_client_t  *con,          /* I - Client connection */
-       cupsd_printer_t *printer,       /* I - Destination printer */
+        ipp_attribute_t *uri,          /* I - printer-uri */
+       cupsd_printer_t **dprinter,     /* I - Destination printer */
        mime_type_t     *filetype)      /* I - First print file type, if any */
 {
   http_status_t        status;                 /* Policy status */
   ipp_attribute_t *attr;               /* Current attribute */
+  const char   *dest;                  /* Destination */
+  cups_ptype_t dtype;                  /* Destination type (printer or class) */
   const char   *val;                   /* Default option value */
   int          priority;               /* Job priority */
   char         *title;                 /* Job name/title */
   cupsd_job_t  *job;                   /* Current job */
-  char         job_uri[HTTP_MAX_URI];  /* Job URI */
+  char         job_uri[HTTP_MAX_URI],  /* Job URI */
+               method[HTTP_MAX_URI],   /* Method portion of URI */
+               username[HTTP_MAX_URI], /* Username portion of URI */
+               host[HTTP_MAX_URI],     /* Host portion of URI */
+               resource[HTTP_MAX_URI]; /* Resource portion of URI */
+  int          port;                   /* Port portion of URI */
+  cupsd_printer_t *printer;            /* Printer data */
   int          kbytes;                 /* Size of print file */
   int          i;                      /* Looping var */
   int          lowerpagerange;         /* Page range bound */
 
 
-  cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_job(%p[%d], %p(%s), %p(%s/%s))",
-                  con, con->http.fd, printer, printer->name,
-                 filetype, filetype->super, filetype->type);
+  cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_job(%p[%d], %s)", con,
+                  con->http.fd, uri->values[0].string.text);
+
+ /*
+  * Is the destination valid?
+  */
+
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((dest = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
+  {
+   /*
+    * Bad URI...
+    */
+
+    send_ipp_status(con, IPP_NOT_FOUND,
+                    _("The printer or class was not found."));
+    return (NULL);
+  }
+
+  if (dprinter)
+    *dprinter = printer;
 
  /*
   * Check remote printing to non-shared printer...
@@ -1190,7 +1229,7 @@ add_job(cupsd_client_t  *con,             /* I - Client connection */
   {
     send_ipp_status(con, IPP_NOT_ACCEPTING,
                     _("Destination \"%s\" is not accepting jobs."),
-                    printer->name);
+                    dest);
     return (NULL);
   }
 
@@ -1257,7 +1296,7 @@ add_job(cupsd_client_t  *con,             /* I - Client connection */
   if (MaxJobs && cupsArrayCount(Jobs) >= MaxJobs)
     cupsdCleanJobs();
 
-  if (MaxJobs && cupsArrayCount(Jobs) >= MaxJobs)
+  if (cupsArrayCount(Jobs) >= MaxJobs && MaxJobs)
   {
     send_ipp_status(con, IPP_NOT_POSSIBLE,
                     _("Too many active jobs."));
@@ -1299,13 +1338,11 @@ add_job(cupsd_client_t  *con,           /* I - Client connection */
   if ((job = cupsdAddJob(priority, printer->name)) == NULL)
   {
     send_ipp_status(con, IPP_INTERNAL_ERROR,
-                    _("Unable to add job for destination \"%s\"!"),
-                   printer->name);
+                    _("Unable to add job for destination \"%s\"!"), dest);
     return (NULL);
   }
 
-  job->dtype   = printer->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_IMPLICIT |
-                                  CUPS_PRINTER_REMOTE);
+  job->dtype   = dtype;
   job->attrs   = con->request;
   con->request = NULL;
 
@@ -2730,10 +2767,11 @@ cancel_all_jobs(cupsd_client_t  *con,   /* I - Client connection */
                ipp_attribute_t *uri)   /* I - Job or Printer URI */
 {
   http_status_t        status;                 /* Policy status */
+  const char   *dest;                  /* Destination */
   cups_ptype_t dtype;                  /* Destination type */
-  char         scheme[HTTP_MAX_URI],   /* Scheme portion of URI */
+  char         method[HTTP_MAX_URI],   /* Method portion of URI */
                userpass[HTTP_MAX_URI], /* Username portion of URI */
-               hostname[HTTP_MAX_URI], /* Host portion of URI */
+               host[HTTP_MAX_URI],     /* Host portion of URI */
                resource[HTTP_MAX_URI]; /* Resource portion of URI */
   int          port;                   /* Port portion of URI */
   ipp_attribute_t *attr;               /* Attribute in request */
@@ -2792,17 +2830,16 @@ cancel_all_jobs(cupsd_client_t  *con,   /* I - Client connection */
   * And if the destination is valid...
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), userpass, sizeof(userpass), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((dest = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI?
     */
 
-    httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text,
-                    scheme, sizeof(scheme), userpass, sizeof(userpass),
-                   hostname, sizeof(hostname), &port,
-                   resource, sizeof(resource));
-
     if ((!strncmp(resource, "/printers/", 10) && resource[10]) ||
         (!strncmp(resource, "/classes/", 9) && resource[9]))
     {
@@ -2810,6 +2847,13 @@ cancel_all_jobs(cupsd_client_t  *con,    /* I - Client connection */
                       _("The printer or class was not found."));
       return;
     }
+    else if (strcmp(resource, "/printers/"))
+    {
+      send_ipp_status(con, IPP_NOT_FOUND,
+                      _("The printer-uri \"%s\" is not valid."),
+                     uri->values[0].string.text);
+      return;
+    }
 
    /*
     * Check policy...
@@ -2836,8 +2880,7 @@ cancel_all_jobs(cupsd_client_t  *con,     /* I - Client connection */
     * Check policy...
     */
 
-    if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con,
-                                   NULL)) != HTTP_OK)
+    if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK)
     {
       send_http_error(con, status);
       return;
@@ -2847,11 +2890,10 @@ cancel_all_jobs(cupsd_client_t  *con,   /* I - Client connection */
     * Cancel all of the jobs on the named printer...
     */
 
-    cupsdCancelJobs(printer->name, username, purge);
+    cupsdCancelJobs(dest, username, purge);
 
     cupsdLogMessage(CUPSD_LOG_INFO, "All jobs on \"%s\" were %s by \"%s\".",
-                    printer->name, purge ? "purged" : "cancelled",
-                   get_username(con));
+                    dest, purge ? "purged" : "cancelled", get_username(con));
   }
 
   con->response->request.status.status_code = IPP_OK;
@@ -2868,12 +2910,13 @@ cancel_job(cupsd_client_t  *con,        /* I - Client connection */
 {
   ipp_attribute_t *attr;               /* Current attribute */
   int          jobid;                  /* Job ID */
-  char         scheme[HTTP_MAX_URI],   /* Scheme portion of URI */
+  char         method[HTTP_MAX_URI],   /* Method portion of URI */
                username[HTTP_MAX_URI], /* Username portion of URI */
                host[HTTP_MAX_URI],     /* Host portion of URI */
                resource[HTTP_MAX_URI]; /* Resource portion of URI */
   int          port;                   /* Port portion of URI */
   cupsd_job_t  *job;                   /* Job information */
+  const char   *dest;                  /* Destination */
   cups_ptype_t dtype;                  /* Destination type (printer or class) */
   cupsd_printer_t *printer;            /* Printer data */
 
@@ -2905,7 +2948,11 @@ cancel_job(cupsd_client_t  *con, /* I - Client connection */
       * Find the current job on the specified printer...
       */
 
-      if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+      httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                      sizeof(method), username, sizeof(username), host,
+                     sizeof(host), &port, resource, sizeof(resource));
+
+      if ((dest = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
       {
        /*
        * Bad URI...
@@ -2932,7 +2979,7 @@ cancel_job(cupsd_client_t  *con,  /* I - Client connection */
             job;
             job = (cupsd_job_t *)cupsArrayNext(ActiveJobs))
          if (job->state_value <= IPP_JOB_PROCESSING &&
-             !strcasecmp(job->dest, printer->name))
+             !strcasecmp(job->dest, dest))
            break;
 
        if (job)
@@ -2940,7 +2987,7 @@ cancel_job(cupsd_client_t  *con,  /* I - Client connection */
        else
        {
          send_ipp_status(con, IPP_NOT_POSSIBLE, _("No active jobs on %s!"),
-                         printer->name);
+                         dest);
          return;
        }
       }
@@ -2952,8 +2999,8 @@ cancel_job(cupsd_client_t  *con,  /* I - Client connection */
     * Got a job URI; parse it to get the job ID...
     */
 
-    httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme,
-                    sizeof(scheme), username, sizeof(username), host,
+    httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                    sizeof(method), username, sizeof(username), host,
                    sizeof(host), &port, resource, sizeof(resource));
  
     if (strncmp(resource, "/jobs/", 6))
@@ -4412,33 +4459,17 @@ static void
 create_job(cupsd_client_t  *con,       /* I - Client connection */
           ipp_attribute_t *uri)        /* I - Printer URI */
 {
-  cupsd_printer_t      *printer;       /* Printer */
-  cupsd_job_t          *job;           /* New job */
+  cupsd_job_t  *job;                   /* New job */
 
 
   cupsdLogMessage(CUPSD_LOG_DEBUG2, "create_job(%p[%d], %s)", con,
                   con->http.fd, uri->values[0].string.text);
 
- /*
-  * Is the destination valid?
-  */
-
-  if (!cupsdValidateDest(uri->values[0].string.text, NULL, &printer))
-  {
-   /*
-    * Bad URI...
-    */
-
-    send_ipp_status(con, IPP_NOT_FOUND,
-                    _("The printer or class was not found."));
-    return;
-  }
-
  /*
   * Create the job object...
   */
 
-  if ((job = add_job(con, printer, NULL)) == NULL)
+  if ((job = add_job(con, uri, NULL, NULL)) == NULL)
     return;
 
  /*
@@ -4709,8 +4740,7 @@ create_subscription(
     dtype   = CUPS_PRINTER_CLASS;
     printer = NULL;
   }
-  else if ((dest = cupsdValidateDest(uri->values[0].string.text, &dtype,
-                                     &printer)) == NULL)
+  else if ((dest = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -4727,8 +4757,7 @@ create_subscription(
 
   if (printer)
   {
-    if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con,
-                                   NULL)) != HTTP_OK)
+    if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK)
     {
       send_http_error(con, status);
       return;
@@ -4932,7 +4961,13 @@ delete_printer(cupsd_client_t  *con,     /* I - Client connection */
                ipp_attribute_t *uri)   /* I - URI of printer or class */
 {
   http_status_t        status;                 /* Policy status */
+  const char   *dest;                  /* Destination */
   cups_ptype_t dtype;                  /* Destination type (printer or class) */
+  char         method[HTTP_MAX_URI],   /* Method portion of URI */
+               username[HTTP_MAX_URI], /* Username portion of URI */
+               host[HTTP_MAX_URI],     /* Host portion of URI */
+               resource[HTTP_MAX_URI]; /* Resource portion of URI */
+  int          port;                   /* Port portion of URI */
   cupsd_printer_t *printer;            /* Printer/class */
   char         filename[1024];         /* Script/PPD filename */
 
@@ -4944,7 +4979,11 @@ delete_printer(cupsd_client_t  *con,     /* I - Client connection */
   * Do we have a valid URI?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((dest = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -4969,7 +5008,7 @@ delete_printer(cupsd_client_t  *con,      /* I - Client connection */
   * Remove old jobs...
   */
 
-  cupsdCancelJobs(printer->name, NULL, 1);
+  cupsdCancelJobs(dest, NULL, 1);
 
  /*
   * Remove old subscriptions and send a "deleted printer" event...
@@ -4978,7 +5017,7 @@ delete_printer(cupsd_client_t  *con,      /* I - Client connection */
   cupsdAddEvent(CUPSD_EVENT_PRINTER_DELETED, printer, NULL,
                 "%s \"%s\" deleted by \"%s\".",
                (dtype & CUPS_PRINTER_CLASS) ? "Class" : "Printer",
-               printer->name, get_username(con));
+               dest, get_username(con));
 
   cupsdExpireSubscriptions(printer, NULL);
  
@@ -4986,26 +5025,24 @@ delete_printer(cupsd_client_t  *con,    /* I - Client connection */
   * Remove any old PPD or script files...
   */
 
-  snprintf(filename, sizeof(filename), "%s/interfaces/%s", ServerRoot,
-           printer->name);
+  snprintf(filename, sizeof(filename), "%s/interfaces/%s", ServerRoot, dest);
   unlink(filename);
 
-  snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd", ServerRoot,
-           printer->name);
+  snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd", ServerRoot, dest);
   unlink(filename);
 
   if (dtype & CUPS_PRINTER_CLASS)
   {
-    cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" deleted by \"%s\".",
-                    printer->name, get_username(con));
+    cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" deleted by \"%s\".", dest,
+                    get_username(con));
 
     cupsdDeletePrinter(printer, 0);
     cupsdSaveAllClasses();
   }
   else
   {
-    cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" deleted by \"%s\".",
-                    printer->name, get_username(con));
+    cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" deleted by \"%s\".", dest,
+                    get_username(con));
 
     cupsdDeletePrinter(printer, 0);
     cupsdSaveAllPrinters();
@@ -5248,7 +5285,7 @@ get_jobs(cupsd_client_t  *con,            /* I - Client connection */
   const char   *dest;                  /* Destination */
   cups_ptype_t dtype;                  /* Destination type (printer or class) */
   cups_ptype_t dmask;                  /* Destination type mask */
-  char         scheme[HTTP_MAX_URI],   /* Scheme portion of URI */
+  char         method[HTTP_MAX_URI],   /* Method portion of URI */
                username[HTTP_MAX_URI], /* Username portion of URI */
                host[HTTP_MAX_URI],     /* Host portion of URI */
                resource[HTTP_MAX_URI]; /* Resource portion of URI */
@@ -5270,8 +5307,8 @@ get_jobs(cupsd_client_t  *con,            /* I - Client connection */
   * Is the destination valid?
   */
 
-  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme,
-                  sizeof(scheme), username, sizeof(username), host,
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
                  sizeof(host), &port, resource, sizeof(resource));
 
   if (!strcmp(resource, "/") ||
@@ -5296,8 +5333,7 @@ get_jobs(cupsd_client_t  *con,            /* I - Client connection */
     dmask   = CUPS_PRINTER_CLASS;
     printer = NULL;
   }
-  else if ((dest = cupsdValidateDest(uri->values[0].string.text, &dtype,
-                                     &printer)) == NULL)
+  else if ((dest = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -5316,8 +5352,7 @@ get_jobs(cupsd_client_t  *con,            /* I - Client connection */
 
   if (printer)
   {
-    if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con,
-                                   NULL)) != HTTP_OK)
+    if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK)
     {
       send_http_error(con, status);
       return;
@@ -5653,7 +5688,17 @@ get_printer_attrs(cupsd_client_t  *con,  /* I - Client connection */
                  ipp_attribute_t *uri) /* I - Printer URI */
 {
   http_status_t                status;         /* Policy status */
+  const char           *dest;          /* Destination */
   cups_ptype_t         dtype;          /* Destination type (printer or class) */
+  char                 method[HTTP_MAX_URI],
+                                       /* Method portion of URI */
+                       username[HTTP_MAX_URI],
+                                       /* Username portion of URI */
+                       host[HTTP_MAX_URI],
+                                       /* Host portion of URI */
+                       resource[HTTP_MAX_URI];
+                                       /* Resource portion of URI */
+  int                  port;           /* Port portion of URI */
   cupsd_printer_t      *printer;       /* Printer/class */
   cups_array_t         *ra;            /* Requested attributes array */
 
@@ -5665,7 +5710,11 @@ get_printer_attrs(cupsd_client_t  *con,  /* I - Client connection */
   * Is the destination valid?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((dest = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -5928,8 +5977,8 @@ get_subscriptions(cupsd_client_t  *con,   /* I - Client connection */
   cups_array_t         *ra;            /* Requested attributes array */
   ipp_attribute_t      *attr;          /* Attribute */
   cups_ptype_t         dtype;          /* Destination type (printer or class) */
-  char                 scheme[HTTP_MAX_URI],
-                                       /* Scheme portion of URI */
+  char                 method[HTTP_MAX_URI],
+                                       /* Method portion of URI */
                        username[HTTP_MAX_URI],
                                        /* Username portion of URI */
                        host[HTTP_MAX_URI],
@@ -5949,8 +5998,8 @@ get_subscriptions(cupsd_client_t  *con,   /* I - Client connection */
   * Is the destination valid?
   */
 
-  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme,
-                  sizeof(scheme), username, sizeof(username), host,
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
                  sizeof(host), &port, resource, sizeof(resource));
 
   if (!strcmp(resource, "/") ||
@@ -5973,7 +6022,7 @@ get_subscriptions(cupsd_client_t  *con,   /* I - Client connection */
       return;
     }
   }
-  else if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  else if (!cupsdValidateDest(host, resource, &dtype, &printer))
   {
    /*
     * Bad URI...
@@ -6232,7 +6281,7 @@ move_job(cupsd_client_t  *con,            /* I - Client connection */
                *dest;                  /* Destination */
   cups_ptype_t stype,                  /* Source type (printer or class) */
                dtype;                  /* Destination type (printer or class) */
-  char         scheme[HTTP_MAX_URI],   /* Scheme portion of URI */
+  char         method[HTTP_MAX_URI],   /* Method portion of URI */
                username[HTTP_MAX_URI], /* Username portion of URI */
                host[HTTP_MAX_URI],     /* Host portion of URI */
                resource[HTTP_MAX_URI]; /* Resource portion of URI */
@@ -6260,8 +6309,11 @@ move_job(cupsd_client_t  *con,           /* I - Client connection */
     return;
   }
     
-  if ((dest = cupsdValidateDest(attr->values[0].string.text, &dtype,
-                                &dprinter)) == NULL)
+  httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((dest = cupsdValidateDest(host, resource, &dtype, &dprinter)) == NULL)
   {
    /*
     * Bad URI...
@@ -6276,8 +6328,7 @@ move_job(cupsd_client_t  *con,            /* I - Client connection */
   * Check policy...
   */
 
-  if ((status = cupsdCheckPolicy(dprinter->op_policy_ptr, con,
-                                 NULL)) != HTTP_OK)
+  if ((status = cupsdCheckPolicy(dprinter->op_policy_ptr, con, NULL)) != HTTP_OK)
   {
     send_http_error(con, status);
     return;
@@ -6287,8 +6338,8 @@ move_job(cupsd_client_t  *con,            /* I - Client connection */
   * See if we have a job URI or a printer URI...
   */
 
-  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme,
-                  sizeof(scheme), username, sizeof(username), host,
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
                  sizeof(host), &port, resource, sizeof(resource));
 
   if (!strcmp(uri->name, "printer-uri"))
@@ -6304,8 +6355,7 @@ move_job(cupsd_client_t  *con,            /* I - Client connection */
       * Move all jobs...
       */
 
-      if ((src = cupsdValidateDest(uri->values[0].string.text, &stype,
-                                   &sprinter)) == NULL)
+      if ((src = cupsdValidateDest(host, resource, &stype, &sprinter)) == NULL)
       {
        /*
        * Bad URI...
@@ -6603,7 +6653,6 @@ print_job(cupsd_client_t  *con,           /* I - Client connection */
 {
   ipp_attribute_t *attr;               /* Current attribute */
   ipp_attribute_t *format;             /* Document-format attribute */
-  const char   *default_format;        /* document-format-default value */
   cupsd_job_t  *job;                   /* New job */
   char         filename[1024];         /* Job filename */
   mime_type_t  *filetype;              /* Type of file */
@@ -6660,21 +6709,6 @@ print_job(cupsd_client_t  *con,          /* I - Client connection */
     return;
   }
 
- /*
-  * Is the destination valid?
-  */
-
-  if (!cupsdValidateDest(uri->values[0].string.text, NULL, &printer))
-  {
-   /*
-    * Bad URI...
-    */
-
-    send_ipp_status(con, IPP_NOT_FOUND,
-                    _("The printer or class was not found."));
-    return;
-  }
-
  /*
   * Is it a format we support?
   */
@@ -6686,8 +6720,7 @@ print_job(cupsd_client_t  *con,           /* I - Client connection */
     * Grab format from client...
     */
 
-    if (sscanf(format->values[0].string.text, "%15[^/]/%31[^;]", super,
-               type) != 2)
+    if (sscanf(format->values[0].string.text, "%15[^/]/%31[^;]", super, type) != 2)
     {
       send_ipp_status(con, IPP_BAD_REQUEST,
                       _("Could not scan type \"%s\"!"),
@@ -6695,26 +6728,10 @@ print_job(cupsd_client_t  *con,         /* I - Client connection */
       return;
     }
   }
-  else if ((default_format = cupsGetOption("document-format",
-                                           printer->num_options,
-                                          printer->options)) != NULL)
-  {
-   /*
-    * Use default document format...
-    */
-
-    if (sscanf(default_format, "%15[^/]/%31[^;]", super, type) != 2)
-    {
-      send_ipp_status(con, IPP_BAD_REQUEST,
-                      _("Could not scan type \"%s\"!"),
-                     default_format);
-      return;
-    }
-  }
   else
   {
    /*
-    * Auto-type it!
+    * No document format attribute?  Auto-type it!
     */
 
     strcpy(super, "application");
@@ -6737,35 +6754,32 @@ print_job(cupsd_client_t  *con,         /* I - Client connection */
                             doc_name ? doc_name->values[0].string.text : NULL,
                            &compression);
 
-    if (!filetype)
-      filetype = mimeType(MimeDatabase, super, type);
-  }
-  else
-    filetype = mimeType(MimeDatabase, super, type);
-
-  if (filetype &&
-      (!format ||
-       (!strcmp(super, "application") && !strcmp(type, "octet-stream"))))
-  {
-   /*
-    * Replace the document-format attribute value with the auto-typed or
-    * default one.
-    */
+    if (filetype)
+    {
+     /*
+      * Replace the document-format attribute value with the auto-typed one.
+      */
 
-    snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super,
-             filetype->type);
+      snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super,
+               filetype->type);
 
-    if (format)
-    {
-      _cupsStrFree(format->values[0].string.text);
+      if (format)
+      {
+         _cupsStrFree(format->values[0].string.text);
 
-      format->values[0].string.text = _cupsStrAlloc(mimetype);
+       format->values[0].string.text = _cupsStrAlloc(mimetype);
+      }
+      else
+        ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE,
+                    "document-format", NULL, mimetype);
     }
     else
-      ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE,
-                  "document-format", NULL, mimetype);
+      filetype = mimeType(MimeDatabase, super, type);
   }
-  else if (!filetype)
+  else
+    filetype = mimeType(MimeDatabase, super, type);
+
+  if (!filetype)
   {
     send_ipp_status(con, IPP_DOCUMENT_FORMAT,
                     _("Unsupported format \'%s/%s\'!"), super, type);
@@ -6794,7 +6808,7 @@ print_job(cupsd_client_t  *con,           /* I - Client connection */
   * Create the job object...
   */
 
-  if ((job = add_job(con, printer, filetype)) == NULL)
+  if ((job = add_job(con, uri, &printer, filetype)) == NULL)
     return;
 
  /*
@@ -7059,6 +7073,12 @@ reject_jobs(cupsd_client_t  *con,        /* I - Client connection */
 {
   http_status_t        status;                 /* Policy status */
   cups_ptype_t dtype;                  /* Destination type (printer or class) */
+  char         method[HTTP_MAX_URI],   /* Method portion of URI */
+               username[HTTP_MAX_URI], /* Username portion of URI */
+               host[HTTP_MAX_URI],     /* Host portion of URI */
+               resource[HTTP_MAX_URI]; /* Resource portion of URI */
+  int          port;                   /* Port portion of URI */
+  const char   *name;                  /* Printer name */
   cupsd_printer_t *printer;            /* Printer data */
   ipp_attribute_t *attr;               /* printer-state-message text */
 
@@ -7070,7 +7090,11 @@ reject_jobs(cupsd_client_t  *con,        /* I - Client connection */
   * Is the destination valid?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((name = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -7111,14 +7135,14 @@ reject_jobs(cupsd_client_t  *con,       /* I - Client connection */
     cupsdSaveAllClasses();
 
     cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" rejecting jobs (\"%s\").",
-                    printer->name, get_username(con));
+                    name, get_username(con));
   }
   else
   {
     cupsdSaveAllPrinters();
 
     cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" rejecting jobs (\"%s\").",
-                    printer->name, get_username(con));
+                    name, get_username(con));
   }
 
  /*
@@ -7574,7 +7598,6 @@ send_document(cupsd_client_t  *con,       /* I - Client connection */
 {
   ipp_attribute_t      *attr;          /* Current attribute */
   ipp_attribute_t      *format;        /* Document-format attribute */
-  const char           *default_format;/* document-format-default value */
   int                  jobid;          /* Job ID number */
   cupsd_job_t          *job;           /* Current job */
   char                 job_uri[HTTP_MAX_URI],
@@ -7733,22 +7756,6 @@ send_document(cupsd_client_t  *con,      /* I - Client connection */
       return;
     }
   }
-  else if ((default_format = cupsGetOption("document-format",
-                                           printer->num_options,
-                                          printer->options)) != NULL)
-  {
-   /*
-    * Use default document format...
-    */
-
-    if (sscanf(default_format, "%15[^/]/%31[^;]", super, type) != 2)
-    {
-      send_ipp_status(con, IPP_BAD_REQUEST,
-                      _("Could not scan type \"%s\"!"),
-                     default_format);
-      return;
-    }
-  }
   else
   {
    /*
@@ -7775,35 +7782,31 @@ send_document(cupsd_client_t  *con,     /* I - Client connection */
                             doc_name ? doc_name->values[0].string.text : NULL,
                            &compression);
 
-    if (!filetype)
-      filetype = mimeType(MimeDatabase, super, type);
-  }
-  else
-    filetype = mimeType(MimeDatabase, super, type);
-
-  if (filetype &&
-      (!format ||
-       (!strcmp(super, "application") && !strcmp(type, "octet-stream"))))
-  {
-   /*
-    * Replace the document-format attribute value with the auto-typed or
-    * default one.
-    */
-
-    snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super,
-             filetype->type);
-
-    if (format)
+    if (filetype)
     {
-      _cupsStrFree(format->values[0].string.text);
+     /*
+      * Replace the document-format attribute value with the auto-typed one.
+      */
+
+      snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super,
+               filetype->type);
 
-      format->values[0].string.text = _cupsStrAlloc(mimetype);
+      if (format)
+      {
+       _cupsStrFree(format->values[0].string.text);
+       format->values[0].string.text = _cupsStrAlloc(mimetype);
+      }
+      else
+        ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE,
+                    "document-format", NULL, mimetype);
     }
     else
-      ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE,
-                  "document-format", NULL, mimetype);
+      filetype = mimeType(MimeDatabase, super, type);
   }
-  else if (!filetype)
+  else
+    filetype = mimeType(MimeDatabase, super, type);
+
+  if (!filetype)
   {
     send_ipp_status(con, IPP_DOCUMENT_FORMAT,
                     _("Unsupported format \'%s/%s\'!"), super, type);
@@ -8043,6 +8046,16 @@ set_default(cupsd_client_t  *con,        /* I - Client connection */
 {
   http_status_t                status;         /* Policy status */
   cups_ptype_t         dtype;          /* Destination type (printer or class) */
+  char                 method[HTTP_MAX_URI],
+                                       /* Method portion of URI */
+                       username[HTTP_MAX_URI],
+                                       /* Username portion of URI */
+                       host[HTTP_MAX_URI],
+                                       /* Host portion of URI */
+                       resource[HTTP_MAX_URI];
+                                       /* Resource portion of URI */
+  int                  port;           /* Port portion of URI */
+  const char           *name;          /* Printer name */
   cupsd_printer_t      *printer;       /* Printer */
 
 
@@ -8053,7 +8066,11 @@ set_default(cupsd_client_t  *con,        /* I - Client connection */
   * Is the destination valid?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((name = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -8086,8 +8103,8 @@ set_default(cupsd_client_t  *con, /* I - Client connection */
   cupsdWritePrintcap();
 
   cupsdLogMessage(CUPSD_LOG_INFO,
-                  "Default destination set to \"%s\" by \"%s\".",
-                 printer->name, get_username(con));
+                  "Default destination set to \"%s\" by \"%s\".", name,
+                  get_username(con));
 
  /*
   * Everything was ok, so return OK status...
@@ -8589,7 +8606,8 @@ set_printer_defaults(
                       attr->values[0].string.text);
       cupsdSetString(&printer->error_policy, attr->values[0].string.text);
     }
-    else if (!strcmp(attr->name, "notify-lease-duration-default") ||
+    else if (!strcmp(attr->name, "document-format-default") ||
+             !strcmp(attr->name, "notify-lease-duration-default") ||
              !strcmp(attr->name, "notify-events-default"))
       continue;
 
@@ -8692,6 +8710,16 @@ start_printer(cupsd_client_t  *con,      /* I - Client connection */
 {
   http_status_t                status;         /* Policy status */
   cups_ptype_t         dtype;          /* Destination type (printer or class) */
+  char                 method[HTTP_MAX_URI],
+                                       /* Method portion of URI */
+                       username[HTTP_MAX_URI],
+                                       /* Username portion of URI */
+                       host[HTTP_MAX_URI],
+                                       /* Host portion of URI */
+                       resource[HTTP_MAX_URI];
+                                       /* Resource portion of URI */
+  int                  port;           /* Port portion of URI */
+  const char           *name;          /* Printer name */
   cupsd_printer_t      *printer;       /* Printer data */
 
 
@@ -8702,7 +8730,11 @@ start_printer(cupsd_client_t  *con,      /* I - Client connection */
   * Is the destination valid?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((name = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -8733,19 +8765,17 @@ start_printer(cupsd_client_t  *con,     /* I - Client connection */
 
   if (dtype & CUPS_PRINTER_CLASS)
   {
-    cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" started by \"%s\".",
-                    printer->name, get_username(con));
+    cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" started by \"%s\".", name,
+                    get_username(con));
     cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, printer, NULL,
-                  "Class \"%s\" started by \"%s\".", printer->name,
-                 get_username(con));
+                  "Class \"%s\" started by \"%s\".", name, get_username(con));
   }
   else
   {
-    cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" started by \"%s\".",
-                    printer->name, get_username(con));
+    cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" started by \"%s\".", name,
+                    get_username(con));
     cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, printer, NULL,
-                  "Printer \"%s\" started by \"%s\".", printer->name,
-                 get_username(con));
+                  "Printer \"%s\" started by \"%s\".", name, get_username(con));
   }
 
   cupsdCheckJobs();
@@ -8768,6 +8798,16 @@ stop_printer(cupsd_client_t  *con,       /* I - Client connection */
 {
   http_status_t                status;         /* Policy status */
   cups_ptype_t         dtype;          /* Destination type (printer or class) */
+  char                 method[HTTP_MAX_URI],
+                                       /* Method portion of URI */
+                       username[HTTP_MAX_URI],
+                                       /* Username portion of URI */
+                       host[HTTP_MAX_URI],
+                                       /* Host portion of URI */
+                       resource[HTTP_MAX_URI];
+                                       /* Resource portion of URI */
+  int                  port;           /* Port portion of URI */
+  const char           *name;          /* Printer name */
   cupsd_printer_t      *printer;       /* Printer data */
   ipp_attribute_t      *attr;          /* printer-state-message attribute */
 
@@ -8779,7 +8819,11 @@ stop_printer(cupsd_client_t  *con,       /* I - Client connection */
   * Is the destination valid?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if ((name = cupsdValidateDest(host, resource, &dtype, &printer)) == NULL)
   {
    /*
     * Bad URI...
@@ -8817,19 +8861,17 @@ stop_printer(cupsd_client_t  *con,      /* I - Client connection */
 
   if (dtype & CUPS_PRINTER_CLASS)
   {
-    cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" stopped by \"%s\".",
-                    printer->name, get_username(con));
+    cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" stopped by \"%s\".", name,
+                    get_username(con));
     cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, printer, NULL,
-                  "Class \"%s\" stopped by \"%s\".", printer->name,
-                 get_username(con));
+                  "Class \"%s\" stopped by \"%s\".", name, get_username(con));
   }
   else
   {
-    cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" stopped by \"%s\".",
-                    printer->name, get_username(con));
+    cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" stopped by \"%s\".", name,
+                    get_username(con));
     cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, printer, NULL,
-                  "Printer \"%s\" stopped by \"%s\".", printer->name,
-                 get_username(con));
+                  "Printer \"%s\" stopped by \"%s\".", name, get_username(con));
   }
 
  /*
@@ -8956,6 +8998,15 @@ validate_job(cupsd_client_t  *con,       /* I - Client connection */
   ipp_attribute_t      *attr;          /* Current attribute */
   ipp_attribute_t      *format;        /* Document-format attribute */
   cups_ptype_t         dtype;          /* Destination type (printer or class) */
+  char                 method[HTTP_MAX_URI],
+                                       /* Method portion of URI */
+                       username[HTTP_MAX_URI],
+                                       /* Username portion of URI */
+                       host[HTTP_MAX_URI],
+                                       /* Host portion of URI */
+                       resource[HTTP_MAX_URI];
+                                       /* Resource portion of URI */
+  int                  port;           /* Port portion of URI */
   char                 super[MIME_MAX_SUPER],
                                        /* Supertype of file */
                        type[MIME_MAX_TYPE];
@@ -9015,7 +9066,11 @@ validate_job(cupsd_client_t  *con,       /* I - Client connection */
   * Is the destination valid?
   */
 
-  if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer))
+  httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, method,
+                  sizeof(method), username, sizeof(username), host,
+                 sizeof(host), &port, resource, sizeof(resource));
+
+  if (cupsdValidateDest(host, resource, &dtype, &printer) == NULL)
   {
    /*
     * Bad URI...
@@ -9115,5 +9170,5 @@ validate_user(cupsd_job_t    *job,        /* I - Job */
 
 
 /*
- * End of "$Id: ipp.c 5552 2006-05-20 12:00:37Z mike $".
+ * End of "$Id: ipp.c 5554 2006-05-20 12:23:40Z mike $".
  */
index de0d6005cf7b5fd0feaf6ba34cb72c43aa000687..2cd60b6163234a12267574177abb1e6fa6bc324b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: job.c 5543 2006-05-18 20:51:33Z mike $"
+ * "$Id: job.c 5545 2006-05-18 21:00:56Z mike $"
  *
  *   Job management routines for the Common UNIX Printing System (CUPS).
  *
@@ -865,6 +865,13 @@ cupsdLoadJob(cupsd_job_t *job)             /* I - Job */
   cups_file_t          *fp;            /* Job file */
   int                  fileid;         /* Current file ID */
   ipp_attribute_t      *attr;          /* Job attribute */
+  char                 scheme[32],     /* Scheme portion of URI */
+                       username[64],   /* Username portion of URI */
+                       host[HTTP_MAX_HOST],
+                                       /* Host portion of URI */
+                       resource[HTTP_MAX_URI];
+                                       /* Resource portion of URI */
+  int                  port;           /* Port portion of URI */
   const char           *dest;          /* Destination */
   mime_type_t          **filetypes;    /* New filetypes array */
   int                  *compressions;  /* New compressions array */
@@ -948,7 +955,11 @@ cupsdLoadJob(cupsd_job_t *job)             /* I - Job */
       return;
     }
 
-    if ((dest = cupsdValidateDest(attr->values[0].string.text, &(job->dtype),
+    httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[0].string.text, scheme,
+                    sizeof(scheme), username, sizeof(username), host,
+                   sizeof(host), &port, resource, sizeof(resource));
+
+    if ((dest = cupsdValidateDest(host, resource, &(job->dtype),
                                   NULL)) == NULL)
     {
       cupsdLogMessage(CUPSD_LOG_ERROR,
@@ -3444,5 +3455,5 @@ unload_job(cupsd_job_t *job)              /* I - Job */
 
 
 /*
- * End of "$Id: job.c 5543 2006-05-18 20:51:33Z mike $".
+ * End of "$Id: job.c 5545 2006-05-18 21:00:56Z mike $".
  */
index 1beabcf1fda2385e040784f48417184ad7a2307f..f6511b939bf1accd9e1e68a0c16871ae69f68569 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: printers.c 5533 2006-05-16 19:45:14Z mike $"
+ * "$Id: printers.c 5535 2006-05-16 19:47:26Z mike $"
  *
  *   Printer routines for the Common UNIX Printing System (CUPS).
  *
@@ -406,6 +406,10 @@ cupsdCreateCommonData(void)
   /* copies-supported */
   ippAddRange(CommonData, IPP_TAG_PRINTER, "copies-supported", 1, MaxCopies);
 
+  /* document-format-default */
+  ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_MIMETYPE,
+               "document-format-default", NULL, "application/octet-stream");
+
   /* generated-natural-language-supported */
   ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_LANGUAGE,
                "generated-natural-language-supported", NULL, DefaultLanguage);
@@ -2400,25 +2404,18 @@ cupsdUpdatePrinters(void)
 
 const char *                           /* O - Printer or class name */
 cupsdValidateDest(
-    const char      *uri,              /* I - Printer URI */
+    const char      *hostname,         /* I - Host name */
+    const char      *resource,         /* I - Resource name */
     cups_ptype_t    *dtype,            /* O - Type (printer or class) */
     cupsd_printer_t **printer)         /* O - Printer pointer */
 {
   cupsd_printer_t      *p;             /* Current printer */
   char                 localname[1024],/* Localized hostname */
                        *lptr,          /* Pointer into localized hostname */
-                       *sptr,          /* Pointer into server name */
-                       *rptr,          /* Pointer into resource */
-                       scheme[32],     /* Scheme portion of URI */
-                       username[64],   /* Username portion of URI */
-                       hostname[HTTP_MAX_HOST],
-                                       /* Host portion of URI */
-                       resource[HTTP_MAX_URI];
-                                       /* Resource portion of URI */
-  int                  port;           /* Port portion of URI */
-
-
-  DEBUG_printf(("cupsdValidateDest(uri=\"%s\", dtype=%p, printer=%p)\n", uri,
+                       *sptr;          /* Pointer into server name */
+
+
+  DEBUG_printf(("cupsdValidateDest(\"%s\", \"%s\", %p, %p)\n", hostname, resource,
                 dtype, printer));
 
  /*
@@ -2428,16 +2425,7 @@ cupsdValidateDest(
   if (printer)
     *printer = NULL;
 
-  if (dtype)
-    *dtype = (cups_ptype_t)0;
-
- /*
-  * Pull the hostname and resource from the URI...
-  */
-
-  httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme),
-                  username, sizeof(username), hostname, sizeof(hostname),
-                 &port, resource, sizeof(resource));
+  *dtype = (cups_ptype_t)0;
 
  /*
   * See if the resource is a class or printer...
@@ -2449,7 +2437,7 @@ cupsdValidateDest(
     * Class...
     */
 
-    rptr = resource + 9;
+    resource += 9;
   }
   else if (!strncmp(resource, "/printers/", 10))
   {
@@ -2457,7 +2445,7 @@ cupsdValidateDest(
     * Printer...
     */
 
-    rptr = resource + 10;
+    resource += 10;
   }
   else
   {
@@ -2472,19 +2460,17 @@ cupsdValidateDest(
   * See if the printer or class name exists...
   */
 
-  p = cupsdFindDest(rptr);
+  p = cupsdFindDest(resource);
 
-  if (p == NULL && strchr(rptr, '@') == NULL)
+  if (p == NULL && strchr(resource, '@') == NULL)
     return (NULL);
   else if (p != NULL)
   {
     if (printer)
       *printer = p;
 
-    if (dtype)
-      *dtype = p->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_IMPLICIT |
-                          CUPS_PRINTER_REMOTE);
-
+    *dtype = p->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_IMPLICIT |
+                        CUPS_PRINTER_REMOTE);
     return (p->name);
   }
 
@@ -2493,7 +2479,7 @@ cupsdValidateDest(
   */
 
   if (!strcasecmp(hostname, "localhost"))
-    strlcpy(hostname, ServerName, sizeof(hostname));
+    hostname = ServerName;
 
   strlcpy(localname, hostname, sizeof(localname));
 
@@ -2535,15 +2521,13 @@ cupsdValidateDest(
        p;
        p = (cupsd_printer_t *)cupsArrayNext(Printers))
     if (!strcasecmp(p->hostname, localname) &&
-        !strcasecmp(p->name, rptr))
+        !strcasecmp(p->name, resource))
     {
       if (printer)
         *printer = p;
 
-      if (dtype)
-       *dtype = p->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_IMPLICIT |
-                            CUPS_PRINTER_REMOTE);
-
+      *dtype = p->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_IMPLICIT |
+                          CUPS_PRINTER_REMOTE);
       return (p->name);
     }
 
@@ -2792,10 +2776,6 @@ add_printer_defaults(cupsd_printer_t *p)/* I - Printer */
     ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "copies-default",
                   1);
 
-  if (!cupsGetOption("document-format", p->num_options, p->options))
-    ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_MIMETYPE,
-                "document-format-default", NULL, "application/octet-stream");
-
   if (!cupsGetOption("job-hold-until", p->num_options, p->options))
     ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD,
                  "job-hold-until-default", NULL, "no-hold");
@@ -3300,5 +3280,5 @@ write_irix_state(cupsd_printer_t *p)      /* I - Printer to update */
 
 
 /*
- * End of "$Id: printers.c 5533 2006-05-16 19:45:14Z mike $".
+ * End of "$Id: printers.c 5535 2006-05-16 19:47:26Z mike $".
  */
index 7d502b681e062aa4f688a0056c2708922e1c4268..ef8b3470909ef672748f076245de2e754c02b845 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: printers.h 5533 2006-05-16 19:45:14Z mike $"
+ * "$Id: printers.h 5330 2006-03-23 21:07:20Z mike $"
  *
  *   Printer definitions for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -135,7 +135,8 @@ extern void         cupsdStopPrinter(cupsd_printer_t *p, int update);
 extern void            cupsdUpdatePrinters(void);
 extern cupsd_quota_t   *cupsdUpdateQuota(cupsd_printer_t *p, const char *username,
                                          int pages, int k);
-extern const char      *cupsdValidateDest(const char *uri,
+extern const char      *cupsdValidateDest(const char *hostname,
+                                          const char *resource,
                                           cups_ptype_t *dtype,
                                           cupsd_printer_t **printer);
 extern void            cupsdWritePrintcap(void);
@@ -145,5 +146,5 @@ extern char         *cupsdSanitizeURI(const char *uri, char *buffer,
 
 
 /*
- * End of "$Id: printers.h 5533 2006-05-16 19:45:14Z mike $".
+ * End of "$Id: printers.h 5330 2006-03-23 21:07:20Z mike $".
  */
index 64897975c6aec8dd2ed26912fa0e90541679a25a..889f5591f36c255ac4fb8961be68405b205de1c8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: testmime.c 5533 2006-05-16 19:45:14Z mike $"
+ * "$Id: testmime.c 5535 2006-05-16 19:47:26Z mike $"
  *
  *   MIME test program for the Common UNIX Printing System (CUPS).
  *
@@ -331,5 +331,5 @@ type_dir(mime_t     *mime,          /* I - MIME database */
 
 
 /*
- * End of "$Id: testmime.c 5533 2006-05-16 19:45:14Z mike $".
+ * End of "$Id: testmime.c 5535 2006-05-16 19:47:26Z mike $".
  */
index 0177cc7eb33cefab9ccd7368e211b1bffc4cedd1..20c3c0a340c42db5d2e0eeef1fbfcddc0fa7d949 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: cupstestppd.c 5548 2006-05-19 19:38:31Z mike $"
+ * "$Id: cupstestppd.c 5549 2006-05-19 19:39:28Z mike $"
  *
  *   PPD test program for the Common UNIX Printing System (CUPS).
  *
@@ -1730,5 +1730,5 @@ usage(void)
 
 
 /*
- * End of "$Id: cupstestppd.c 5548 2006-05-19 19:38:31Z mike $".
+ * End of "$Id: cupstestppd.c 5549 2006-05-19 19:39:28Z mike $".
  */
index 1d60982536285ff0e2a467a6871602624bd7da18..c0467fa7677d0164dd17b9836a94185f1fb7bd3e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: lpadmin.c 5544 2006-05-18 21:00:16Z mike $"
+ * "$Id: lpadmin.c 5545 2006-05-18 21:00:56Z mike $"
  *
  *   "lpadmin" command for the Common UNIX Printing System (CUPS).
  *
@@ -1984,5 +1984,5 @@ validate_name(const char *name)           /* I - Name to check */
 
 
 /*
- * End of "$Id: lpadmin.c 5544 2006-05-18 21:00:16Z mike $".
+ * End of "$Id: lpadmin.c 5545 2006-05-18 21:00:56Z mike $".
  */
index 5a6f3172795d9cb667a27dab809d1a99e4b4ff8a..731625edae4f5dcea1dace64fffc9d240dd9068a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: lpstat.c 5527 2006-05-15 19:37:11Z mike $"
+ * "$Id: lpstat.c 5529 2006-05-15 20:06:46Z mike $"
  *
  *   "lpstat" command for the Common UNIX Printing System (CUPS).
  *
@@ -2248,5 +2248,5 @@ show_scheduler(http_t *http)      /* I - HTTP connection to server */
 
 
 /*
- * End of "$Id: lpstat.c 5527 2006-05-15 19:37:11Z mike $".
+ * End of "$Id: lpstat.c 5529 2006-05-15 20:06:46Z mike $".
  */
index 955a8f42dcd086965d54e25ce52b52d74395b3aa..a17e8013a542387866692186dc07d6212f10970c 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# "$Id: makesrcdist 5502 2006-05-08 21:09:15Z mike $"
+# "$Id: makesrcdist 5500 2006-05-08 20:32:27Z mike $"
 #
 # makesrcdist - make a source distribution of CUPS.
 #
@@ -18,9 +18,9 @@ if test $# = 0; then
        echo Updating for snapshot...
        svn up
        rev=`svnversion . | sed -e '1,$s/[a-zA-Z]//g'`
-       version="1.3svn"
+       version="1.2svn"
        revision="-r$rev"
-       fileversion="1.3svn-r$rev"
+       fileversion="1.2svn-r$rev"
        fileurl="ftp://ftp.easysw.com/pub/cups/test/cups-$fileversion-source.tar."
        url="."
 else
@@ -32,7 +32,7 @@ else
        fileurl="ftp://ftp.easysw.com/pub/cups/$version/cups-$fileversion-source.tar."
        url="https://svn.easysw.com/public/cups/tags/release-$version"
 
-       svn copy https://svn.easysw.com/public/cups/trunk "$url" \
+       svn copy https://svn.easysw.com/public/cups/branches/branch-1.2 "$url" \
                -m "Tag $version" || exit 1
 fi
 
@@ -81,5 +81,5 @@ rm -rf cups-$version
 echo "Done!"
 
 #
-# End of "$Id: makesrcdist 5502 2006-05-08 21:09:15Z mike $".
+# End of "$Id: makesrcdist 5500 2006-05-08 20:32:27Z mike $".
 #
index 4bc74b58042cbbace7b60aab3a00a072447716f9..655853a3b38fa042abcca39620f091d352f9b826 100755 (executable)
@@ -12,7 +12,7 @@ fi
 rev=`svnversion . | awk -F: '{print $NF}' | sed -e '1,$s/[a-zA-Z]*//g'`
 
 if test $# = 0; then
-       version="1.3svn-r$rev"
+       version="1.2svn-r$rev"
 else
        version=$1
 fi
@@ -69,7 +69,7 @@ for file in packaging/cups-desc.plist packaging/cups-info.plist \
        echo Updating $file...
        sed -e '1,$s/@CUPS_VERSION@/'$version'/g' \
                -e '1,$s/@CUPS_REVISION@//g' \
-               -e '1,$s/@CUPS_RELEASE@/1.3.'$rev'/g' \
+               -e '1,$s/@CUPS_RELEASE@/1.2.'$rev'/g' \
                <$file.in >$file
 done