1 CHANGES.txt - 05/23/2003
2 ------------------------
4 CHANGES IN CUPS V1.1.19
6 - The cupstestppd command did not list the conflicting
8 - The lpq command did not ensure that there was
9 whitespace between the fields in the job listing (STR
11 - The German web templates had errors (STR #119)
12 - The configure script didn't specify the static
13 libraries properly when configuring with the
14 --disable-shared option (STR #104)
15 - The cups.list file used file dependencies for package
16 formats other than portable, RPM, and Debian (STR #98)
17 - cupsLangGet() didn't use its language cache (STR #97)
18 - "lpq -P" would segfault instead of showing a usage
20 - Fixed compiler warnings in pdftops filter (STR #96)
23 CHANGES IN CUPS V1.1.19rc5
25 - Jobs with banner pages that were printed to implicit
26 classes would get double banner pages for each
27 file/banner in the job (STR #68)
28 - The mime.convs file was missing the filter definition
29 for Windows BMP (image/x-bitmap) files (STR #85)
30 - The scheduler allowed some READ-ONLY job attributes to
31 be set, which could cause the scheduler to fail on the
32 next restart (STR #82)
33 - The lp and lpr commands did not report when the
34 scheduler was not responding; instead, the user would
35 incorrectly see a "no default destination" error (STR
37 - cupsLangGet() could fail on OSX due to a corrupt
38 language preference (STR #78)
39 - Added more checks for HTTP request timeouts.
40 - The scheduler dropped the first non-alpha character
41 after an open brace when doing attribute substitutions
42 in banner pages (STR #77)
43 - The scheduler child might send SIGUSR1 to the parent
44 before the signal handler was installed; this didn't
45 prevent the scheduler from starting but produced an
46 annoying error message (STR #45)
49 CHANGES IN CUPS V1.1.19rc4
51 - The lp command did not accept "-" for printing from
52 the standard input as required by POSIX 1003.1 (STR
54 - Added the job-originating-host-name information for
55 the page_log file documentation in the SAM (STR #31)
56 - The German web interface templates did not use the
57 right paths for job operations (STR #54)
58 - The scheduler would consume all available CPU if
59 started with a pending job in the queue (STR #35)
60 - The polling daemon allocated an extra localization
61 buffer but did not free it, causing cups-polld to
62 eventually use all available memory (STR #40)
65 CHANGES IN CUPS V1.1.19rc3
67 - The scheduler could get in an infinite loop cancelling
68 jobs using "cancel -u user dest" (STR #48)
69 - The "cancel -u user" command did nothing (it should
70 cancel all jobs on all printers owned by the named
72 - The scheduler would write 0-length job control files
74 - Updated the French man pages (translation provided by
76 - The scheduler would delete all printers from
77 printers.conf if a job was active when a HUP signal
79 - The cups-polld program would leak memory if it was
80 unable to send browse packets to the loopback
82 - The scheduler did not put the
83 job-originating-host-name attribute in the job
85 - The text filter did not default to wrapping text as
86 defined by the IPP implementation document.
87 - Scan backends first, PPDs second (STR #37)
88 - Updated the Netatalk documentation in the SAM (STR #38
90 - The test suite sent text files to a non-PS print queue,
91 which requires ESP Ghostscript (provided separately).
92 Now send the JPEG test file (STR #33)
93 - The test suite did not show the estimated disk space
94 requirements (STR #33)
95 - The test suite did not set the MaxLogSize directive to
96 0 to prevent log file rotation (STR #33)
97 - The test suite still setup the old CUPS Ghostscript
99 - The pstops filter did not report the correct number of
100 copies for the page_log file when printing collated
101 copies to a printer that doesn't support them in
103 - cupsLangGet() needs to set the CTYPE locale to "C"
104 (POSIX) to avoid erroneous tolower/toupper values (fix
105 suggested by Bjoern Jacke)
106 - Fixed a typo in the cups.list.in file.
107 - Updated all of the Western European locales to default
108 to ISO-8859-15 (for Euro support, suggested by Bjoern
110 - Updated the German message catalog (update provided by
114 CHANGES IN CUPS V1.1.19rc2
116 - cupsLangGet() now sets the encoding field based on the
117 trailing charset in the locale name, and doesn't look
118 for a message catalog in a specific locale.charset
119 directory. This fixes STR #26 and is more in line
120 with the CUPS 1.2 implementation.
121 - The configure script now aborts if the "ar" command or
122 compilers cannot be found.
123 - The static cupsimage library was not built by default.
124 - The path for the "ln" command was hardcoded in
125 Makedefs.in instead of being checked at configure time
127 - Banner pages containing unescaped { characters would
129 - The printer-state-time collection attribute was
130 encoded as an enumeration instead of an integer.
131 - The printer-is-accepting-jobs collection attribute was
132 was not added to the collection value.
133 - The printer-state-sequence-number collection attribute
134 was not added to the collection value.
135 - Fixed typo and const mismatch in IPP backend.
136 - Updated the man pages for the new configuration
138 - Updated the SAM for MacOS 10.2, the CUPS drivers for
139 windows, the available LPD backend options, and the
140 new configuration directives.
141 - The imagetops filter didn't position images properly
142 on the page (STR #18)
143 - The configure script didn't add CPPFLAGS to the
144 compiler options or LDFLAGS to the DSO options (STR
146 - The scheduler would try to write a debug log message
147 when starting a job that contained a NULL string.
148 Since not all versions of snprintf() support NULL
149 string pointers this caused some problems (STR #20)
150 - The testipp program now supports reading of IPP
151 message files such as those used for the job history
155 CHANGES IN CUPS V1.1.19rc1
157 - Added CUPS support files for Java, Perl, and PHP
158 (located in the "scripting" subdirectory...)
159 - The scheduler now supports fast-reloads of the
160 cupsd.conf file when it is updated via HTTP.
161 - The scheduler always changed the ownership of log
162 files; it now only does so if they are not in the /dev
163 directory (i.e. don't want to change the ownership and
164 permissions of /dev/null...)
165 - Added libpaper support (patch from Jeff Licquia)
166 - Added a new istring() rule for MIME types files that
167 does a case-insensitive comparison of strings.
168 - The cups-lpd mini-daemon now sends jobs to the default
169 queue when an empty queue name (or "lp" and there is
170 no "lp" queue) is sent.
171 - The scheduler now supports fax queues identified by a
172 "*cupsFax: True" attribute in the PPD file. When a job
173 can't be sent, it is held for 5 minutes by default
174 while other jobs are attempted. The FaxRetryLimit and
175 FaxRetryInterval directives control the number of
176 retries and the time between retries.
177 - The scheduler now preserves the default options of PPD
178 files when modifying/upgrading an existing PPD file.
179 When installing a new printer, the scheduler sets the
180 default media size to Letter or A4 as appropriate for
182 - The scheduler no longer limits the number of
183 BrowseAddress, BrowsePoll, BrowseRelay, Listen, Port,
184 SSLListen, and SSLPort directives to 10.
185 - The scheduler now supports print files that have been
186 compressed using gzip.
187 - The scheduler used the stdio functions to read any job
188 ticket information in a PostScript print job. Since
189 some platforms limit the number of stdio files to 256,
190 job ticket information was ignored when the server had
191 a large number of clients connected to the system.
192 - Filters and backends may now report the total number
193 of pages ("PAGE: total NNN") to the scheduler.
194 - The LPD backend now supports timeout and
195 sanitize_title options (default to 300 and yes,
196 respectively) and has some additional changes to
197 reduce the chances of multiple copies being printed
198 when only one copy was requested.
199 - Fixed a polygon drawing bug in the HP-GL/2 filter.
200 - Added a robots.txt file to the standard install to
201 prevent search engines from indexing the CUPS server.
202 - Added support for STATE: messages
203 (printer-state-reasons), printer-state-history, and
204 printer-state-time to the scheduler.
205 - When using RunAsUser, the scheduler would initially
206 start any previously queued (pending) jobs with
207 RunAsUser disabled - all backends would be running as
209 - If a backend failed for a printer, CUPS would
210 incorrectly requeue the job for printing again.
211 - Added support for IPP collections and files.
212 - Added experimental support for generic CGI scripts and
213 programs, Java, Perl, PHP, and Python to the
214 scheduler. See the file "CGI.txt" for more
216 - The CUPS API now supports HTTP cookies and the Expect:
218 - The cancel command now correctly supports the "-u
219 user" option to cancel all jobs for the named user.
220 - The Purge-Jobs operation now supports the my-jobs
221 boolean attribute and a new purge-jobs boolean
222 attribute to control whether job history data is
223 purged from the scheduler; the default is false for
224 my-jobs and true for purge-jobs to match the original
226 - The scheduler would not timeout printers when only
228 - If the scheduler was unable to execute a filter, it
229 would try to restart the job indefinitely until the
230 filter could be executed.
231 - When writing BSD printcap files, the scheduler now
232 includes the rm and rp attributes, allowing the file
233 to be exported to LPD clients. [Patch from Dominic
235 - The scheduler optimization to reference IPP attribute
236 data instead of performing a full copy caused problems
237 when the referenced data was deleted before it was
238 sent. It now only references attributes that change
239 only when the scheduler is restarted. The change also
240 reduced the memory footprint of a printer object to
242 - The scheduler now holds signals while logging messages
243 to avoid potential deadlock issues when handling
244 signals on Solaris 8.
245 - The lpadmin command now allows printer access control
246 by group name as well as user name.
247 - "lpoptions -l" got in an infinite loop if no default
248 printer was available.
249 - The scheduler now logs the job-originating-host-name
250 attribute in the page_log file, and uses "-" for any
251 empty fields (patch from Dominik Kubla).
252 - The pdftops filter now scales PDF pages within the
253 printable area of the page.
254 - The pstops filter didn't include the page-label and
255 classification boxes when printing EPS or non-
257 - The imagetops filter didn't always correctly position
258 the image on the page when printing in landscape
260 - The ppdEmit() functions now support the
261 RequiresPageRegion attribute when sending InputSlot
262 and ManualFeed commands.
263 - The PPD loading code now supports standard options
264 outside of OpenUI/CloseUI as required by the PPD spec.
265 - The cupstestppd program has been upgraded to provide a
266 concise PASS/FAIL report, additional detailed
267 conformance testing, and support for gzip'd PPD files.
268 - The PPD loading code is now much more strict when
269 loading a PPD file, and tracks more format errors.
270 - The scheduler ignored child signals when gathering the
271 list of available devices, when it should have been
272 using the default signal handler.
273 - The cupsEncodeOptions() function could encode an
274 option with a NULL last string.
275 - The socket backend could report the wrong number of
276 backchannel bytes if an error occurred on the link.
277 - The cups-polld program now only sleeps after getting
278 all printers and classes. This allows for longer
279 intervals without excessive delays before classes show
281 - Added a new httpWait() function to support waiting for
282 data for a specific number of milliseconds.
283 - httpGets() now times out after 1 second on
284 non-blocking HTTP connections.
285 - The scheduler no longer accepts rangeOfInteger values
286 that are out of order (e.g. 5-1)
287 - The sides attribute was incorrectly sent as a name
288 value; it is a keyword value.
289 - The IPP backend now detects if the destination queue
290 has gone away and reports an error.
291 - The scheduler and HTTP API now allocate their select()
292 sets to support larger numbers of clients on systems
294 - The scheduler now sets the CFProcessPath environment
295 variable under MacOS X.
296 - The cupsLangDefault() function now uses the
297 CoreFoundation localization API under MacOS X.
298 - The httpSeparate() function didn't handle file URIs of
299 the form "file:///path" properly.
300 - The lpadmin command now supports a "protocol" option
301 for specifying the binary communications protocol to
302 use when printing binary PostScript data.
303 - The scheduler did not properly parse the SystemGroup
304 directive, so only the first group would be used.
305 - Revamped how strings are stored in the scheduler,
306 providing a substantial improvement in memory usage
307 for systems with large numbers of printers.
308 - The PostScript filter now supports binary PostScript
309 files and files beginning with the PJL language escape
311 - The PPD API now provides additional information from
313 - The USB backend didn't compile on Solaris Intel.
314 - The cupstestppd utility now supports the "-q" option
315 (quiet) for use in scripts, etc.
316 - Merged several weight-reducing changes into the CUPS
317 baseline donated by Apple.
318 - Added preliminary support for CDSA; patch provided by
320 - Implicit classes are now created from identical
321 printer classes on the network.
322 - The lp command now supports a "-H restart" option to
323 restart previously printed jobs. This functionality
324 only works if you have enabled the PreserveJobFiles
326 - The scheduler now supports URIs in HTTP request lines
327 to conform to the HTTP/1.1 specification.
328 - The time-at-xyz attributes were not recognized in
329 banner files if prefixed by a question mark, e.g.
330 "{?time-at-creation}".
331 - Added support for pre-filtering application/pictwps
332 files on MacOS clients before sending them to a server
334 - The scheduler now allows file:/dev/null device URIs
335 even if FileDevices is set to No.
336 - CUPS uses strerror() for hostname resolution errors,
337 when it should have used hstrerror().
338 - The USB backend no longer tries to guess the serial
339 number of a device from the USB devices file; this
340 means that printers that don't report their serial
341 numbers in the device ID string will not be
342 individually selectable.
343 - The pstops filter didn't handle page ranges properly
344 when a page contained an embedded document.
345 - Added a translation of the web interface to German.
346 - When printing using the OutputOrder=Reverse option
347 with duplexing, the output order is now truly
348 reversed; the order of sub-pages when printing N-up is
350 - The pstops filter did not always output the extra
351 blank page when printing a document with an odd number
352 of pages with duplexing enabled.
353 - The ippAddXYZ functions no longer allow the
354 application to add less than 1 value.
355 - Fixed a URL rewrite bug in the web interface - local
356 access was sometimes redirected away from localhost...
357 - The ppdOpen() functions could get in an infinite loop
358 if the PPD file contained a keyword or text that was
359 too large for the buffer.
360 - Added preliminary support for GNU TLS; patch provided
362 - Now timeout IPP attribute reads after 1 second inside
363 an attribute definition.
364 - Now timeout connections that have been shutdown (due
365 to errors) after 30 seconds instead of the Timeout
366 setting (300 seconds by default). This provides
367 faster recovery from DoS attacks.
368 - A denial-of-service attack warning message was being
369 written to the log files by the scheduler for every
370 detection. This caused a DoS of its own in some
371 situations. The warning message is now written no more
372 than once per minute.
373 - Fixed the CIE colorspace support code in the image and
375 - The job-quota-period, job-page-limit, and job-k-limit
376 attributes were not flagged as integers, so setting
377 quotas would not work.
378 - Added an additional response check in the scheduler to
379 more quickly recover from denial-of-service attacks.
380 - The cupstestppd file was incorrectly installed in the
381 /usr/sbin directory instead of /usr/bin.
382 - The EPM list file did not include the cupstestppd
383 program or man page files.
386 CHANGES IN CUPS V1.1.18
388 - Fixed a bug in the Set-Job-Attributes code in the
389 scheduler that would cause it to crash or continuously
390 write a job control file.
391 - SECURITY FIX: The scheduler now provides a FileDevice
392 directive to control whether new printers can be added
393 using device URIs of the form "file:/filename". The
394 default is to not allow printers with these device
396 - The scheduler did not compute the cost of filters
397 properly, nor did it choose a multi-filter solution
398 with a lower cost than a single filter solution.
399 - Now install CUPS PPD file test utility (cupstestppd)
400 to support basic conformance testing of PPD files.
401 - The scheduler now logs an error message when it sees a
402 non-conforming PPD file.
403 - Upgraded pdftops filter to Xpdf 2.01 with fixes for
405 - Added a MaxClientsPerHost configuration directive to
406 provide limited protection against Denial of Service
408 - SECURITY FIX: Potential underflow/overflow bug in web
410 - SECURITY FIX: Race condition in certificate creation.
411 - SECURITY FIX: Bad URIs in browse packets could be used
412 to exploint the web interface underflow/overflow bug.
413 - SECURITY FIX: Some types of Denial of Service attacks
414 were not handled properly, so once the attack was over
415 the scheduler did not close the connections
416 immediately on all platforms.
417 - SECURITY FIXES: Added integer overflow/underflow
418 checks for all image formats.
419 - The pstops filter didn't reset the showpage operator
420 back to its original at the end of a job; this
421 prevented the concatenation of documents (used
422 primarily for CUPS 1.2...)
423 - The cupsGetPPD() function didn't always set the
424 cupsLastError() value when an error occurred.
425 - The IPP media, output-bin, and sides attributes took
426 precedence over the corresponding PPD options, which
427 caused inconsistent behavior under MacOS X with some
429 - The cupsaddsmb utility specified the wrong number of
430 arguments to the adddriver command when adding the
431 Win9x PostScript drivers.
432 - The web interface did not always report the correct
434 - The scheduler did not clear the POSIX signal action
435 structure when waiting for the child to send it a
436 SIGUSR1 signal; this could cause the signal handler
437 not to be called properly, preventing the parent
438 process from returning.
441 CHANGES IN CUPS V1.1.17
443 - The "manual_copies" option did not work when the LPD
444 backend had to retry a print job.
445 - The image filters did not convert GIF images properly.
446 - The RunAsUser option was incompatible with the new
447 daemon-mode code in 1.1.16.
448 - Fixed a problem with the Set-Job-Attributes and
449 PostScript job ticket code in the scheduler - the
450 "last" attribute pointer was never updated, which
451 could cause the scheduler to crash when applying job
453 - Fixed a problem in the scheduler that caused it to
454 continue processing HTTP requests on a connection
455 after it was shutdown.
456 - The scheduler now allows accounts authenticated via
457 PAM to not have a corresponding UNIX account, but
458 group membership still requires the account name to be
459 listed in the UNIX group file(s)...
460 - The scheduler used a fixed-size (16k) buffer for
461 encoding job options for filters; it now dynamically
462 allocates and expands the buffer as needed depending
463 on the options that are sent in a job.
464 - The pdftops filter didn't support all of the MacOS
465 characters for MacRoman encoded fonts.
466 - The cupsEncodeOptions() and cupsParseOptions()
467 functions now conform to the grammer defined by the
468 current draft of the PAPI specification. The main
469 difference is that option=yes and option=no are no
470 longer treated as boolean options.
471 - The IPP backend didn't honor the encryption settings
472 in /etc/cups/client.conf.
473 - Fixed a potential bug in the HTTP code which was
474 caused by servers sending the status line and
475 newline(s) in separate packets.
476 - User-defined classification strings are now printed
477 verbatim - previously the classification box would be
479 - Re-added Spanish to the list of PPD languages that
481 - CUPS API library user and temp file updates for
483 - The image filters did not properly handle grayscale
484 printing of Sun Raster images.
485 - The scheduler never reset the NumJobs variable before
486 loading the job list (previously this only happened on
487 a full start, so the problem was never apparent...)
488 - The HTTP and IPP read/write code didn't handle EINTR
489 (interrupted system call) errors.
490 - When under high load, the scheduler could abort due to
491 the wrong errno value after a select() call. This was
492 caused by the child signal handler.
493 - Added new load tests to the test target to verify that
494 cupsd can handle hundreds of simultaneous jobs without
496 - The Solaris USB backend now supports the new device
498 - The ppdOpen*() functions now reset the numeric locale
499 settings while loading a PPD file.
500 - Fixed the libtool build rules.
501 - The manpage make rules didn't use $(MAKE) and
502 $(MFLAGS) for the language subdirectories.
503 - Now set the LC_TIME locale category to get the
504 properly localized time string.
505 - Fixed a problem in the scheduler that would cause the
506 web interface problems when adding, modifying, or
507 configuring a printer or class.
508 - The backends now ignore SIGPIPE so that failed job
509 filters will not stop a print queue.
510 - The lpstat command did not allow for destination lists
511 ("lpstat -v printer1,printer2")
512 - Fixed parsing of long filter status messages in the
514 - Added some startup performance enhancements to the
515 scheduler so that the printer object information is
516 regenerated fewer times and the MIME type database is
517 not filled with lots of empty filters for raw/direct
519 - The LPD backend now sends the job title as the print
521 - Added support for variable sizes in the EPSON dot
522 matrix printer drivers. This allows for pages as
523 short as 1/2" (1 row of labels) and does not do an
525 - French translation updates.
526 - The filters did not quote the page label string when
527 embedding it in PostScript output.
528 - The serial backend now enumerates serial ports under
530 - The pdftops filter contained font rasterizer code that
531 wasn't being used and that depended on X11. This code
535 CHANGES IN CUPS V1.1.16
537 - The cancel and lprm commands now both display an error
538 message and return a non-zero exit status if an
539 attempt is made to cancel a job on a non-existent
541 - The lpoptions command incorrectly complained if a
542 request to delete a non-existent printer was made.
543 - If the client.conf file defines an alternate server
544 name, the "configure printer" action in the web
545 interface might not work.
546 - The lpstat command now supports a "-W" option so that
547 you can display completed jobs as well as
548 not-completed (pending) jobs.
549 - The lp and lpr commands did not return an error when
550 one or more files in a set of files for printing could
552 - The lp, lpadmin, and lpstat commands now consistently
553 return with a non-zero exit status when an error
555 - The scheduler would not accept print jobs sent to a
556 stopped remote printer.
557 - The texttops filter incorrectly converted the page
558 numbers in the prettyprint header to double-byte
559 characters when printing a non-Unicode text file. This
560 caused an extra space to appear between each digit in
562 - The scheduler did not use a case-insensitive
563 comparison when adding filters for a printer.
564 - Upgraded the pdftops filter to Xpdf 1.01.
565 - The scheduler no longer passes the page-border and
566 number-up-layout attributes to filters when printing
568 - The LPD backend now uses a 30-second timeout when
569 sending commands and control files, and a 30-second
570 timeout when retrieving responses from an LPD server.
571 If a timeout occurs, it retries indefinitely. This
572 helps to make LPD printing over VPNs work more
574 - The USB backend now supports device URIs based on the
575 printer serial number and/or model number under Linux.
576 This avoids the "wrong device filename" problem when
577 using more than one USB printer.
578 - Now just shutdown the receiving end of a client
579 connection when sending an error that requires the
580 server to disconnect from the client afterwards. This
581 fixes a problem when doing remote administration with
583 - The scheduler did not send a printer-state-message
584 attribute if the string was empty; it now always sends
585 this attribute. This caused the printer message to be
586 displayed for other printers in the web interface.
587 - The LPD backend now supports a "manual_copies" option,
588 e.g.: "lpd://server/queue?manual_copies=no", in order
589 to handle copies for raw jobs to printers that don't
590 implement the LPD protocol properly...
591 - The "mirror" option was not being handled by the
592 PostScript or image filters.
593 - Updated the cupsaddsmb command to support the new CUPS
594 driver for Windows NT/2k/XP.
595 - Filter status lines longer than 1023 characters could
596 cause the scheduler to get into an infinite loop.
597 - The scheduler didn't reset the job state to pending
598 when modifying an active printer.
599 - Now limit the maximum number of recursion steps when
600 searching for a filter for a job, in case a user
601 defines a circular filter rule.
602 - The PostScript filter would embed an invalid
603 requirements comment in some cases.
604 - Added support for embedded job tickets in PostScript
606 - The PostScript filter now detects EPS files and should
607 better handle printing EPS files.
608 - The cancel command now ignores a trailing destination
609 name when cancelling a specific job ID (Solaris
611 - The scheduler now rejects jobs with copies outside the
612 range of 1 to MaxCopies, inclusive.
613 - Added new MaxCopies directive to set the maximum
614 number of copies that a user can request.
615 - The scheduler didn't block signals while it processed
616 others and when it forked processes.
617 - The scheduler checked for new jobs to print when
618 stopping a job. This caused jobs to restart before a
620 - Updated the CUPS startup script to better support
621 different timezones and to support the RedHat/Mandrake
622 init script functions, if available.
623 - The scheduler did not properly handle backslashes in
624 banner files; it incorrectly assumed that "\c" should
625 always be replaced by "c", instead of only looking for
626 "\{" and replacing it by "{".
627 - The texttops filter didn't handle prettyprint=no.
628 - The text and HP-GL/2 filters didn't check for other
629 common duplex option names like cupsMarkOptions() did.
630 - "lpoptions -x printer" no longer clears the "default
631 printer" status of the printer.
632 - cupsTempFd() now stops trying to create a temporary
633 file after 1000 tries, and aborts on any error other
634 than EEXIST. This should prevent lp/lpr hangs due to
635 a bad or missing temporary directory.
636 - The lpadmin command did not send the right URI to the
637 scheduler when setting options on classes. This
638 caused a client-error-bad-request error.
639 - The CUPS API convenience functions would attempt to
640 connect to the remote server name in a
641 "printer@server" printer name instead of dealing with
642 the default (usually local) server. Aside from
643 causing user confusion, the remote server name might
644 not be resolved properly, causing further problems.
645 - "lp -q" would cause the "lp" command to segfault, as
646 the program would try to print the option letter that
647 caused the error using the wrong index into the
648 command-line; bugfix from Debian.
649 - Fixed a minor inconsistancy in the encoding of boolean
650 attributes from printer options in
652 - Added a FilterNice directive which sets the priority
653 of job filter processes that are run by the scheduler.
654 - Added Solaris x86 USB printer support.
655 - The USB backend now reports both the ulpt and unlpt
657 - The "lpstat -o" command would truncate the
658 "printer-jobid" string if it was longer than 21
660 - The PJL-based MIME type rules now look in the first
661 1024 bytes instead of just the first 512 bytes to find
663 - The image file types are now listed explicitly in the
664 mime.convs file so that additional image file formats
665 do not use the standard CUPS image filters by default.
666 - Updated the Software Programmers Manual to include
667 all of the CUPS API functions.
668 - ppdOpen*() no longer sorts choices for an option.
669 - The web interface now enforces constraints in PPD
670 files when configuring a printer.
671 - When stopping a printer, the scheduler didn't set the
672 printer state before stopping the current job.
673 - The cupsaddsmb utility now lists all data files for
674 Win9x and WinMe clients when installing that Windows
676 - Jobs submitted to a class now bounce immediately to
677 the next available printer rather than waiting until
678 that printer is available.
679 - Filters and backends now also get the CLASS
680 environment variable set when a job is printed to a
681 printer class instead of a normal printer.
682 - Added French translations of the web interface, CUPS
683 Overview, Software Administrators Manual, and Software
684 Users Manual contributed by Marian REYT-LLABRES.
685 - Added several "hint" messages for common configuration
686 problems that are stored in the error_log file.
687 - httpSeparate() now unquotes %xx characters in the
688 username:password field of a URI.
689 - When starting the scheduler in daemon mode, the parent
690 process now waits for the child to signal it is ready
691 to accept connections.
692 - Added -F option to cupsd to run cupsd in the
693 foreground but detach from the controlling terminal
694 and current directory.
695 - The scheduler did not reload jobs when receiving a HUP
696 signal; this would cause problems since the pointers
697 into the file type database would no longer be valid
699 - The scheduler did not save the network interface list
700 update time, thus no caching of the network data was
702 - Updated the SuSE PAM configuration file.
703 - The LPD backend now supports a "reserve" option and no
704 longer reserves a priviledged port by default.
705 - The cupsaddsmb command now continues past printers
706 that do not have a PPD file to export.
707 - The lpstat command didn't treat printer names as
709 - The lpstat command now reports the printer location
710 attribute with "lpstat -l -p".
711 - Fixed a bug in the vsnprintf() emulation function,
712 which was used on old versions of HP-UX, IRIX, and
714 - The number-up option was incorrectly being used when
715 printing banner pages.
716 - Added support for Greek and Slovak PPD files.
717 - CUPS now supports printer names containing any
718 printable character, e.g. "123-abc", "foo-bar", etc.
719 - The null filter was not supported in mime.convs due to
720 a bug in the filter validation code.
721 - Changes in the default printer and printer attributes
722 were not always reflected in the generated printcap
724 - Implicit classes did not inherit the location or
725 description from member printers.
726 - The httpGetHostByName() function did not handle
727 hostnames that started with a number.
728 - Updated the filters to use the %cupsRotation comment
729 instead of %%Orientation to auto-rotate pages, since
730 the use of %%Orientation is inconsistent.
731 - Added the RootCertDuration directive to control how
732 often the root authentication certificate is updated.
733 - Increased the size of the IPP write buffer to 32k to
734 allow for larger attribute values and to provide more
735 efficient output of large numbers of attributes.
736 - The polling daemon now retries the initial connection
737 to the remote server; this fixes a problem when the
738 remote server is unavailable when the scheduler starts
740 - The scheduler didn't validate Digest users against the
741 system group(s), so Digest and BasicDigest
742 authentication didn't work for administration
744 - The scheduler now passes the SHLIB_PATH environment
745 variable to child processes (HP-UX shared libraries)
746 - The scheduler now maps accesses from the loopback
747 interface to "localhost".
748 - The cups-lpd mini-daemon sent a status code byte in
749 response to queue state commands, but those commands
750 only return textual data.
753 CHANGES IN CUPS V1.1.15-1
755 - The lpc and lprm sources didn't include the CUPS
756 string function header, which is required on systems
757 that don't have their own snprintf() function.
758 - The French manpage Makefile tried to install the
759 language subdirectories when it (obviously) didn't
763 CHANGES IN CUPS V1.1.15
765 - Updated the CUPS license agreement for the new MacOS
766 and OpenSSL license exceptions.
767 - The printer-info attribute now defaults to the printer
768 name if no value has been set.
769 - ppdOpen() and friends now add an "Auto" InputSlot
770 option if none is provided to automatically select the
772 - Updated the ppdEmit() and ppdEmitFd() functions to
773 (re)mark the correct PageSize or PageRegion option
774 depending on the selected ManualFeed or InputSlot
776 - ppdEmitFd() didn't handle custom page sizes.
777 - Darwin uses <pam/pam_appl.h> instead of
778 <security/pam_appl.h>.
779 - The jobs.cgi web interface now handles all job
780 operations, allowing the administrator to allow "job
781 administrators" or operators to manage jobs (but not
782 queues) on the server.
783 - The cupsDoFileRequest() function now checks if the
784 filename passed into the function is a directory, and
785 returns the IPP_NOT_POSSIBLE error if so.
786 - New SCSI printer backend.
787 - Cleaned up handling of locales with trailing character
789 - Fixed handling of invalid PPD attributes inside
791 - Fixed a problem with SSL and the job, printer, and
792 admin CGIs on ports other than 443.
793 - The scheduler didn't handle AuthClass properly.
794 - Added French translation of man pages.
795 - Updated the text filter to support the const_cast,
796 dynamic_cast, and static_cast keywords in ISO C++.
797 - Now use strlcat() and strlcpy() (or emulation
798 functions) for easier string/buffer protection.
799 - The auto-generated printcap/printers.conf files now
800 have a small comment header explaining where the file
802 - The PostScript filter now supports 6, 9, and 16-up
803 output, as well as new page-border and
804 number-up-layout options.
805 - The lpoptions command didn't set options properly when
806 using the default printer.
807 - Added ConfigFilePerm and LogFilePerm directives.
808 - Increased maximum size of MIME types to IPP_MAX_NAME
809 to allow for longer printer names.
810 - No longer create remote printers when loading job
812 - The printer-make-and-model attribute wasn't set when
813 the PPD file didn't contain a NickName attribute.
814 - Now handle PPD files with translation strings longer
815 than 80 bytes - they are truncated if they go over...
816 - The scheduler didn't handle signals until after it
817 loaded the configuration files the first time; this
818 caused problems on some installations that would
819 restart the scheduler as the system booted into run
821 - Now throttle broadcasts like we do for polling.
822 - Fixed a bug in the reading of PPD files using CR's
823 instead of CR LF's or LF's.
824 - The scheduler would crash if cupsd.conf contained a
825 BrowseProtocols line with no protocols listed.
826 - The HTML job operation templates now link back to the
827 destination printer or class.
828 - The serial backend now detects USB serial devices.
829 - The LPD mini-daemon (cups-lpd) now passes the
830 job-originating-host-name attribute to the scheduler
832 - Updated the IPP backend to reconnect after downgrading
833 from IPP/1.1 to 1.0, and when sending requests to HP
834 JetDirect interfaces that don't support HTTP
835 Keep-Alive like they should.
836 - Now pass NLSPATH and DYLD_LIBRARY_PATH environment
837 variables, if defined, to CGI and job processes.
838 - Removed the pstoraster filter (based on GNU
839 Ghostscript 5.50) and now provide the raster "driver"
840 and patch file necessary to use the current GNU
841 Ghostscript 7.05 release.
842 - Removed unnecessary fonts and updated the Courier and
843 Symbol fonts to the latest versions to better support
845 - The text filter now always embeds the Courier and
846 Symbol fonts to ensure that they contain the full set
848 - The lp and lpr commands now only override the SIGINT
849 handler if it is not being ignored (patch from Robert
850 Ambrose for some interactive software that catches
851 SIGINT and will gracefully cancel the print...)
852 - The PostScript image filter (imagetops) now supports
853 printing CMYK images using the CMYK colorspace.
854 - The image filters now support CMYK JPEG files, and
855 correctly handles the inverted files from Photoshop
856 (which seems to save RGBW data, not CMYK...)
857 - Added a "check" target to the top-level makefile to
858 conform with GNU standards (same as "test").
859 - The IPP code didn't always map the POSIX locale "C" to
860 the proper IPP language code.
861 - The cupsaddsmb program was updated to use the
862 setdriver command instead of addprinter.
863 - Banner pages were not handled properly for implicit
865 - When tunneling to a remote system using SSH, the
866 printer URIs for local printers on the remote system
867 did not reflect the correct port number.
868 - The Allow, Deny, BrowseAllow, BrowseDeny, and
869 BrowseAddress directives now support the network
870 interface names "@LOCAL" and "@IF(name)" for access
871 control and browsing based on the current interface
872 addresses instead of fixed names or IP addresses.
873 - The texttops filter did not properly recognize the
874 "nowrap" (wrap=false) option.
875 - The InstallableOptions group name in a PPD file is now
876 translated separately (CUPS_MSG_OPTIONS_INSTALLED) so
877 that UIs can accurately detect the presence of this
879 - The scheduler no longer keeps job history data for
880 remote printers on the client (just on the server.)
881 - The parallel and USB backends now retry if the backend
882 detects that the printer is not connected to the
883 system (rather than stopping the queue...)
884 - The network backends now retry if the backend detects
885 that the printer is not connected to the network or is
886 unreachable (rather than stopping the queue...)
887 - The cupsGetDests() function no longer lists options
888 and instances for printers that no longer exist.
889 - The scheduler now converts the document language to
890 the correct LANG string.
891 - The cupsaddsmb program now supports alternative CUPS
892 and SAMBA server names.
893 - The PostScript filter now supports the Orientation
894 comment and rotates the page as needed automatically.
895 - Revamped the makefiles slightly to use automatically
896 generated dependencies.
897 - Build fixes for OS X.
898 - The TIFF reading code depended on the newest version
899 of libtiff; now conditionally compile that portion of
901 - The PPD code now decodes all JCL options in the
902 JCLSetup group, not just those options that start with
904 - The backends now read print data using the read()
905 system call to ensure that the current page is printed
906 while the next page is being processed.
907 - The pdftops filter did not support shading type 3
908 (radial fill) for the "sh" operator.
909 - The cups-polld program now throttles the local
910 broadcasts of polled printers and classes so that the
911 local system is not overwhelmed with hundreds of
912 printers and classes all at once.
913 - Updated the serial backend to support 230,400 baud for
915 - The cupsGetJobs() function wouldn't report completed
916 jobs that did not have a document-format attribute
918 - The cupsEncodeOptions() function now maintains a table
919 of known boolean and numeric options, and encodes all
920 other options as strings.
921 - Now add a newline before the end-of-page code in the
922 PostScript filter; this fixes a problem with files
923 that don't end with a newline.
924 - The image filters looked for the "orientation" option
925 instead of the correctly named "orientation-requested"
927 - The cupsEncodeOptions() function now handles mixed
929 - New translation guide for developers to provide native
930 language support for CUPS.
933 CHANGES IN CUPS V1.1.14
935 - The ippRead() function did not verify that the
936 attribute name length or string with language value
937 was not larger than the read buffer.
938 - The scheduler set the signal handlers before loading
939 the configuration files the first time; this prevented
940 the RunAsUser directive from blocking server reloads.
941 - Added Swedish message catalog.
942 - The parallel backend now recognizes the /dev/printers
943 device directory under Linux 2.4.x.
945 - The cupsaddsmb utility sent the server name after the
946 user information when executing the rpcclient program.
947 This caused problems with some versions of SAMBA
949 - The IPP backend did not pass the requesting user name
950 when checking on the print job status. This prevented
951 it from waiting for the job to complete when
952 communicating with some IPP implementations that
956 CHANGES IN CUPS V1.1.13
958 - The lpstat command did not report jobs submitted to
959 regular printer classes.
960 - The texttops filter didn't use sufficient precision
961 when positioning text with some values of cpi and lpi.
962 This could cause the alignment of text to stray.
963 - cupsGetDests() didn't merge the options from the
964 /etc/cups/lpoptions file with ~/.lpoptions - options
965 in ~/.lpoptions overrode them completely.
966 - Added support for KOI8-R and KOI8-U character sets,
967 and added several Russian message catalogs.
968 - The scheduler put the wrong timezone offset in the log
969 files (e.g. +0500 instead of -0500 for EST...)
970 - The scheduler did not ignore trailing whitespace in
972 - The scheduler now forces all processes to exit (kill
973 -9) when it is stopped. This prevents parallel and
974 USB devices from running in the background after cupsd
976 - The cupsParseOptions() function didn't skip trailing
977 whitespace after quoted values.
978 - More changes to support CUPS on OS/2.
979 - Added Simplified Chinese message catalog.
980 - Added PAM support for IRIX.
981 - The cupsGetPPD() function didn't remove the @server
982 portion of the printer name, and since it would
983 connect immediately to the remote server instead of
984 the local server, the printer would not be found.
985 - Classification and page labels were not rotated to
986 match the page orientation.
987 - Now set the TCP "no delay" option on network
988 connections to improve performance/response time.
989 - Improved the IRIX printing tools support with patches
991 - Added a new PrintcapGUI directive to specify the GUI
992 option panel program to use for the IRIX printing
994 - The cupsGetDests() function did not check to see if a
995 user-defined default printer (set via lpoptions) still
997 - The pstops filter no longer assumes that the default
998 dictionary is writable when doing N-up processing.
999 - The pstops filter now supports printing N-up with the
1001 - The imagetoraster filter now supports direct printing
1002 of CMYK image data without conversion/correction.
1003 - The IPP backend now reports printer state/error
1004 conditions when possible (toner low, media empty,
1006 - The lpstat command now supports the (undocumented)
1007 IRIX -l option ("-lprintername") for a compact job
1008 listing for a printer.
1009 - The lpstat command now includes printer date/time
1010 information in the output (always Jan 01 00:00) to
1011 make third-party tools happy.
1012 - The text filter now supports non-integer cpi and lpi
1014 - The Margins field in the CUPS raster header was not
1015 initialized by the pstoraster filter.
1016 - Added --with-optim="flags" option to configure script.
1017 - Updated the Italian message translations.
1018 - Updated the cups.list file to install the correct
1020 - The pstoraster filter accessed the third element of a
1022 - The scheduler did not setup a status pipe for polling
1023 processes, so error messages went to whatever file
1024 descriptor 2 was pointing to when they were started.
1025 - The httpMD5Final() function didn't put a colon between
1026 the password and nonce strings.
1027 - The pstops filter did not default to Binary data for
1029 - The pstops filter did not stop processing when a line
1030 containing a CTRL-D is seen.
1031 - The scheduler no longer replaces the JobSheets values
1032 from the printers.conf and classes.conf files with the
1033 classification level, if set. This way the original
1034 banner settings are preserved when classification
1035 levels are changed or turned off.
1036 - The serial backend didn't drain the output queue, nor
1037 did it restore the original settings.
1038 - Updated the default system group under MacOS X.
1039 - If no SystemGroup was defined in cupsd.conf, the
1040 system default group was not used.
1041 - The cups-lpd mini-daemon now supports LPD clients that
1042 send multiple control files.
1043 - httpConnectEncrypt() now always uses encryption for
1044 connections on port 443, since port 443 is reserved
1045 for the "https" scheme.
1046 - Group authentication via certificates did not work
1047 from the web interface for accounts other than
1049 - The serial port backend did not clear the OPOST
1050 option, which could cause problems with some printers.
1051 - The cups-lpd mini-daemon didn't lookup the client IP
1053 - The parallel backend now identifies the polled and
1054 interrupt-driven devices under *BSD.
1055 - The scheduler allowed the "always" encryption mode
1056 inside a Location, which is not valid.
1057 - The CUPS startup script now checks for the timezone
1058 information under Linux.
1059 - Now also map the sides attribute to the JCLDuplex
1060 option (if present) in PPD files.
1061 - Updated pdftops to Xpdf 0.93a.
1062 - Added support for MD5 passwords under Slackware.
1063 - Added new AuthType BasicDigest that does Basic
1064 authentication using the MD5 password file managed by
1065 the lppasswd command.
1066 - The banner page attribute substitution code now
1067 retains {name} sequences in banner files when the
1068 named attribute is undefined. Use {?name} to
1069 conditionally substitute an IPP attribute.
1070 - The scheduler now ensures that the ServerRoot
1071 directory and configuration files are owned by and
1072 writable by the User and Group in cupsd.conf.
1073 - The USB backend now lists all USB printer devices
1074 regardless of whether a printer is connected or not.
1075 This allows new USB printers to be connected without
1077 - Added some more minor performance tweeks to the IPP
1078 protocol code to reduce copying and array indexing.
1079 - The cupsaddsmb utility now uses the -c option with
1080 smbclient and rpcclient to avoid the read length limit
1081 for commands on the standard input.
1082 - Added an include file to the CRD handling code in
1083 pstoraster so that it would compile properly on 64-bit
1084 pointer platforms...
1085 - The cups-config script reported the wrong version
1087 - The cups-config script was installed in $(bindir)
1088 instead of $(BINDIR).
1089 - The init script did not correctly check for a running
1090 cupsd under IRIX 5.x.
1093 CHANGES IN CUPS V1.1.12
1095 - Added "Polish" to the list of known languages for PPD
1097 - Added missing directory definition to cups-config.
1098 - The CUPS-Move-Job operation did not set the
1099 destination type for the new destination.
1100 - The CUPS-Add-Printer operation did not support the
1101 allow=all or deny=none values to clear the per-user
1103 - The SetPrinterAttrs() function did not handle invalid
1104 PPD files that were missing the required NickName
1105 attribute. It now looks for NickName, ModelName, and
1106 then substitutes the string "Bad PPD File" for the
1107 printer-make-and-model attribute.
1110 CHANGES IN CUPS V1.1.11
1112 - Added support for embedded TrueType fonts in PDF
1114 - Added support for PostScript functions in PDF
1116 - Added new "cupsaddsmb" utility for exporting
1117 CUPS printer drivers to SAMBA/Windows clients.
1118 - Added preliminary support for Darwin/MacOS X.
1119 - The CUPS-Add-Printer operation no longer allows
1120 arbitrary scheme names in device URIs to be used - it
1121 now restricts the available schemes to those found in
1122 the device list (lpinfo -m).
1123 - The ippRead() and ipp_read_file() functions could not
1124 handle more than IPP_MAX_VALUES (100) values in a
1125 1setOf attribute. These functions have been updated
1126 to dynamically allocate more memory as needed, and the
1127 IPP_MAX_VALUES constant now represents the allocation
1128 increment. [this caused some versions of the
1129 GIMP-print drivers to fail since the number of media
1130 options exceeded 100...]
1131 - The scheduler could crash when BrowseShortNames
1133 - The scheduler did not prevent MaxClients from being
1134 set to 0, which could cause the scheduler to go in an
1135 infinite loop when accepting a request.
1136 - Made some performance optimizations in the ippRead()
1137 functions to make IPP request/response processing
1139 - The accept/reject/enable/disable command did not
1140 support properly support the "-h" or default
1142 - The scheduler did not save the quota configuration
1143 when the job-quota-period attribute was set to 0.
1144 - The LPDEST and PRINTER environment variables did not
1145 support printer instances.
1146 - The text filter now handles more types of boldface and
1147 underline formatting.
1148 - The cupsTempFd() function did not fail if the
1149 temporary directory did not exist; this would cause it
1150 to loop indefinitely instead of returning an error
1152 - Stopping (disabling) a printer class did not stop jobs
1153 from printing to printers in that class.
1154 - The cupsGetDests() function was sending the
1155 requested-attributes attribute as a name instead of a
1156 keyword; this caused a serious performance problem on
1157 slower systems since more information had to be
1158 transferred from server to client.
1159 - The web interfaces did not always quote < and & in
1160 things like the job title. This had the potential for
1161 browser-based security violations (on the browser's
1162 machine); bug report from SuSE.
1163 - The scheduler now treats unauthenticated usernames as
1164 case-insensitive when doing quota and allow/deny
1166 - The lp command sent the "request ID is ..." message
1167 to stderr instead of stdout...
1168 - The PostScript filter (pstops) now handles EPS files,
1169 adding a showpage command to the files as needed.
1170 - The configure script checked for the <stdlib.h> header
1171 file before the JPEG libraries; since the JPEG headers
1172 can define HAVE_STDLIB_H, the configure check would
1173 cause the JPEG check to fail on some systems.
1174 - The scheduler now supports localized banner files,
1175 using the subdirectory approach, e.g. the "es"
1176 subdirectory under /usr/share/cups/banners is used for
1177 the Spanish banner files.
1178 - Updated the scheduler so it knows the correct
1179 language abbreviation to use for all supported
1180 PPD LanguageVersion values. The new code also
1181 supports country codes as well, so "English-GB"
1182 maps to the "en_GB" locale.
1183 - The cups-lpd mini-daemon did not support
1184 anonymous printing (no username specified).
1185 While the username is REQUIRED by RFC-1179,
1186 MacOS clients do not send the REQUIRED username
1187 information when printing via LPD.
1188 - Added many warning and informational messages
1189 to cups-lpd where they were missing.
1190 - Added Czech message file contributed by SuSE.
1191 - The cups-lpd mini-daemon now returns a non-zero
1192 status if an invalid destination or job ID is
1194 - The scheduler did not honor the KeepAlive setting in
1196 - Increased the size of the file read/write buffers to
1198 - *BSD static library creation fixes.
1199 - Use mkstemps() instead of tmpnam() in pdftops whenever
1201 - Added httpGetHostByName() function as a wrapper around
1202 gethostbyname() - some implementations of this
1203 function do not support IP addresses (e.g. MacOS X.)
1204 - Added casts to all printf's of file lengths, since
1205 there is currently no standard way of formatting long
1207 - The client filename field was not cleared in all
1208 instances, resulting in old form data being submitted
1210 - The httpConnect*() functions now try all available
1211 addresses for a host when connecting for the first
1213 - The pstoraster filter would "lose" all drawing
1214 commands when the PageSize was set but the printer
1215 bitmap was not reallocated. This was most noticeable
1216 with the output from StarOffice 6 beta and would
1217 result in a blank page being output...
1218 - The IPP backend was sending a PAGE comment even when
1219 printing the output from a filter (it should only send
1220 page comments when printing files directly...)
1221 - The pdftops filter didn't properly map glyph names of
1222 embedded Asian TrueType fonts.
1223 - Changed the CUPS startup script to look for a program
1224 named "cupsd", not just any program with "cupsd" in
1225 the name (this caused the apcupsd UPS monitoring
1226 daemon to be stopped/restarted...)
1227 - The CUPS-Move-Job operation did not change the
1228 internal destination name for held jobs, so moved (but
1229 held) jobs would still show up as queued on the
1230 original destination.
1231 - The cups-polld program didn't send the
1232 requested-attributes attribute in the
1233 CUPS-Get-Printers and CUPS-Get-Classes requests, which
1234 made it use more CPU and bandwidth than required.
1235 - The scheduler and CUPS API incorrectly added a
1236 job-sheets-default attribute for remote printers. This
1237 caused banner pages to be omitted from client system
1241 CHANGES IN CUPS V1.1.10-1
1243 - Minor fixes to the filter, systemv, and template
1244 makefiles to install files properly.
1247 CHANGES IN CUPS V1.1.10
1249 - Added a driver for DYMO label printers.
1250 - Added new ClassifyOverride directive to allow users
1251 to override the classification of individual jobs.
1252 - Added new BrowseProtocols directive to control which
1253 browse protocols are used (currently CUPS and SLP).
1254 - Added SLPv2 support (thanks to Matt Peterson for
1255 contributing the initial implementation for CUPS.)
1256 - Adding a raw printer on a remote CUPS server now
1257 correctly redirects PPD file requests to the remote
1259 - The serial backend now limits writes to 1/10th
1260 second worth of data to avoid buffer overflows
1261 with some types of flow control.
1262 - The scheduler did not properly process PUT requests,
1263 so configuration files could not be uploaded to the
1265 - The scheduler did not strip trailing whitespace on
1266 lines in the configuration files.
1267 - The httpWrite() function did not transition the PUT
1268 request to the HTTP_STATUS state to get the status
1270 - The scheduler did not properly handle trailing null
1271 ("-") filters when testing a driver that sent data
1272 to the file: pseudo-backend.
1273 - The IPP backend now only sends a document-format of
1274 "application/vnd.cups-raw" when printing to another
1275 CUPS server using a local printer driver or interface
1276 script. Previously the job's document format was
1277 used, which was incorrect.
1278 - The lpadmin command didn't use the ppd-name attribute
1279 with the -m option; this prevented the use of the
1280 "raw" model from the command-line.
1281 - The pstoraster filter output draft (1-bit) 6-color
1282 output in the wrong order; this resulted in yellow
1283 being printed instead of black on Stylus Photo
1285 - The pdftops filter did not have the Japanese and
1286 Chinese text support compiled into it.
1287 - The IPP and AppSocket backends did not clear the
1288 "waiting for print job to complete" status message,
1289 which caused some confusion... :)
1290 - The serial backend now opens the port in "no delay"
1291 mode to avoid DCD detection problems with some OS's.
1294 CHANGES IN CUPS V1.1.9-1
1296 - The configure script did not substitute the
1297 correct user and group names.
1298 - The configure script did not use the full path
1299 to the install-sh script when it was used.
1300 - The pstoraster filter did not correctly support
1301 DuplexTumble mode for printers that used flip
1303 - The cups.list.in file was missing from the
1305 - The New DeskJet series driver did not use the
1306 correct OrderDependency for the Duplex option.
1307 - Use read() instead of fread() to read piped
1308 print files in lpr/lp. This avoids a bug in the
1309 HP-UX 10.20 fread() function.
1310 - Updated the pstoraster filter to use the MIPS_FIXADE
1311 system call under IRIX to fix bus error problems on
1312 R12000 processors (Ghostscript is not 64-bit clean...)
1313 - Some Xerox PPD files (most notably the Phaser 790)
1314 have illegal whitespace in the option keyword in the
1315 OpenUI line. This caused the PageRegion option to not
1316 be recognized properly for the Phaser 790.
1319 CHANGES IN CUPS V1.1.9
1321 - Revamped the configure script to use a modular
1322 approach for the various tests.
1323 - Added --with-openssl-* options to properly reference
1324 the OpenSSL libraries in DSOs.
1325 - Added --with-cups-user and --with-cups-group
1326 options to specify the default user and group for
1328 - Added AIX shared library support.
1329 - Added AIX device discovery for the serial and
1331 - Now use install program or script to install
1332 directories, files, and symlinks.
1333 - Updated pstops filter to use strict handling of EPS
1334 files embedded in a PostScript document. The %%EOF
1335 handling in 1.1.8 caused some dvips files not to
1337 - Fixed yet another memory allocation bug in pstoraster
1338 that would cause it to crash. This fix also ensures
1339 that all memory allocations are done on (at least) a
1341 - Fixed Digest authentication - httpGetSubField() didn't
1342 skip the Digest keyword.
1343 - The scheduler did not properly handle Digest
1344 authentication with the new multiple-group support.
1345 - The scheduler did not allow usernames that were
1346 not in the UNIX password file to be used for Digest
1347 authentication from passwd.md5.
1348 - The scheduler could not scan PPD files that only used
1349 a carriage return (i.e. MacOS PPD files); the new code
1350 is also about 40% faster, so servers with thousands of
1351 PPD files should start much faster now.
1352 - The scheduler now stores the PPD file size and
1353 modification times in the ppds.dat file, so it can now
1354 incrementally update the PPD database from the model
1355 directory, resulting in significantly faster startup
1357 - The lpinfo command did not return a non-zero status
1358 code if an error occurred.
1359 - Fixed a bug in the scheduler's UpdateJob() function.
1360 Basically, all jobs shared the same status buffer, and
1361 the "buffer start" pointer could point to 1 byte
1362 before the beginning of the buffer. The new
1363 implementation uses a separate buffer for each job and
1364 eliminates the buffer start bug.
1365 - The IPP backend would send N copies of a document if
1366 the receiving device didn't support the copies
1367 attribute, even if the upstream driver already added
1368 the necessary commands to generate the copies. This
1369 was most noticeable with HP printers where N * N
1370 copies would come out instead of N.
1371 - The PostScript filter (pstops) did not properly handle
1372 duplex printing on inkjet printers that provide this
1373 option. Copies would be put on the front and back
1374 sides of the duplexed page, and the filter did not
1375 output an even number of pages.
1376 - The backends always caught SIGTERM after they
1377 connected to the printer. This prevented raw jobs
1378 from being cancelled early.
1379 - The cupsSetDests() function now removes any printers,
1380 instances, and options that are not defined by the
1381 user or server. This should prevent old system-wide
1382 options from being used in individual user accounts.
1383 - Updated the EPSON printer driver and added PPDs for
1384 the newer EPSON Stylus printers that only support the
1385 "ESC i" graphics command.
1386 - The lpadmin command didn't allow you to add remote
1387 printers to a local class.
1388 - The lpadmin command didn't allow you to set the
1389 options (quotas, etc.) for a class.
1390 - The scheduler did not load or save the
1391 job-sheets-default attribute for classes.
1392 - The scheduler did not automatically recreate remote
1393 printers that were part of a class.
1394 - It was possible for a printer class to list the same
1395 printer more than once.
1396 - The scheduler now makes a backup copy of classes.conf
1397 and printers.conf before writing the new file.
1398 - The lppasswd program incorrectly asked for a new
1399 password when deleting an existing MD5 password
1401 - The scheduler did not match "/printers/name.ppd"
1402 against a location of "/printers/name".
1403 - The client code did not always handle HTTP encryption
1405 - The client code now caches the last Digest password so
1406 it can retry using a new resource path or nonce value,
1407 which are included in the MD5 sum sent to the server.
1408 This should eliminate unnecessary password prompts
1409 when using Digest authentication.
1410 - The lppasswd command didn't have a man page.
1411 - Updated the PJL detection rules to allow the universal
1412 escape to occur anywhere in the first 128 bytes of the
1414 - The cups-polld program would poll servers continuously
1415 with no delay if there was an error contacting the
1417 - The IPP backend would send an empty job-name or
1418 requesting-user-name attribute if the corresponding
1419 job attribute was an empty string. While this is
1420 allowed by the IPP specification, some HP JetDirect
1421 implementations return a client-error-bad-request
1422 error if an empty name attribute value is received.
1423 The new code only sends these attributes if they are
1424 not the empty string.
1425 - At least some versions of the HP JetDirect firmware
1426 do not correctly implement IPP. Added additional
1427 checks to the IPP backend to eliminate extra,
1428 unsupported attributes which should normally be
1429 ignored by a compliant IPP device.
1430 - The scheduler did not copy the complete list of
1431 supported file types into the
1432 document-format-supported attribute. This caused
1433 clients to not send the local file type (such as
1434 application/vnd.cups-raw for raw print files) and the
1435 corresponding bad output in some cases.
1436 - The scheduler did not fully copy attributes from a
1437 set-job-attributes request - string attributes were
1438 only referenced, which could cause cupsd to crash
1439 or behave irratically.
1440 - The lp command didn't send the right value for the
1441 job-hold-until attribute when "-H resume" was
1443 - The IPP backend now returns as soon as a job is
1444 completed or reported as "pending-held".
1445 - Added new ImplicitAnyClasses and HideImplicitMembers
1446 directives to the cupsd.conf file to make implicit
1447 classes more usable/transparent to the user.
1448 - Clients can now (with the appropriate authentication)
1449 retrieve and update the server configuration files
1450 using HTTP GET and PUT requests.
1451 - The web interface didn't allow you to modify the
1452 location or description of the printer.
1453 - The pdftops filter now uses its own temporary file
1454 function to work with PDF files using LZW compression
1455 (which use the uncompress program or gunzip)
1456 - The SystemGroup directive now supports specification of
1458 - Added new Include directive to cupsd.conf, a la
1460 - Added new pseudo-driver/PPD called "raw" that can be
1461 used to create/convert a raw queue. This also allows
1462 raw queues to be created in the web interface.
1463 - The pdftops filter didn't handle image objects that
1464 used JPEG and Flate compression together.
1465 - The pstops filter counted pages wrong when using the
1466 N-up and even/odd printing options. This prevented
1467 the page-ranges option from working properly.
1468 - Added another fix to pstoraster for a bus error
1469 condition caused by a lack of parenthesis in the
1471 - Added new "natural-scaling" option which scales the
1472 natural size of the image (percent of natural image
1473 size instead of percent of page size.)
1474 - The lppasswd program is now setuid to the CUPS user
1476 - The PPD functions did not allow for PPD files that
1477 defined the page sizes and margins before the page
1479 - The mime.types file now checks for the PJL "LANGUAGE =
1480 Postscript" command for PostScript files.
1481 - The scheduler did not truncate file: output files.
1482 - The PPD file reading code did not handle options with
1483 raw quotes (") in the human-readable names.
1484 - The pdftops filter now remaps the space character when
1485 (bad) PDF files contain a .notdef glyph for the space
1489 CHANGES IN CUPS V1.1.8
1491 - Updated configure script to check for /etc/pam.d and
1492 to only set PAMDIR if it exists.
1493 - Updated spec file to generate separate cups-pstoraster
1494 package for pstoraster.
1495 - The spec file wasn't setting LOGDIR in the install.
1496 - The scheduler might restart a stopped printer after
1497 stopping a print job. Thanks to Florent
1498 Guiliani for finding this bug!
1499 - The init script showed run level 0 for the Red Hat
1500 chkconfig program. This is incorrect because Red Hat
1501 doesn't use run level 0 for shutdown scripts.
1502 - The IPP backend did not handle the
1503 client-error-not-found error when checking the status
1504 of the job that was sent. This caused remote queues
1505 to stop on client machines when the server had job
1507 - Added httpConnectEncrypt() function to avoid
1508 performance penalty for setting up encrypted
1509 connections initially.
1510 - Use httpConnectEncrypt() in all client apps and in the
1511 CUPS API to ensure consistent usage of encryption
1513 - Jobs weren't queued to remote classes (fix from
1515 - AIX changes from Richard Begg.
1516 - Fixed the pstops fix for GNOME output - no longer use
1517 the page numbers in the %%Page: comment since GNOME
1518 puts a filename instead (!?@!#?!). There is still an
1519 issue with N-up printing since GNOME defines its fonts
1520 in the first page instead of the document setup section
1521 (pages must be independent according to the DSC spec)
1522 People with GNOME printing problems should consult bug
1524 - The imagetops filter produced PAGE: messages when
1525 generating PostScript for a non-PostScript printer
1526 (only affects page-label and Classification
1528 - The updated pdftops filter was looking for an options
1529 file called xpdf.conf instead of pdftops.conf.
1530 - The scheduler would not force the default job sheets
1531 for printers to the current classification setting.
1532 - Added a new ippFindNextAttribute() function to the
1534 - ppdEmitJCL() now strips any leading path info from
1535 the title string. This is only an issue for non-CUPS
1536 clients that don't do this already...
1537 - Other pstops fixed from Helge Blischke for printing
1538 non-conforming documents.
1539 - The MaxJobs parameter was not reset when loading the
1543 CHANGES IN CUPS V1.1.7
1545 - Configuration script changes, including new
1546 "--with-docdir=/dir" option to relocate CUPS
1547 documentation and web content according to your
1548 favorite version of the FHS.
1549 - Documentation updates for encryption, SLP, etc.
1550 - New Software Test Plan and automated test script to
1551 test CUPS prior to installation.
1552 - All scheduler configuration files are now case
1553 insensitive to match Apache.
1554 - Added support for Apache ListenBackLog, Require,
1555 Satisfy, <Limit>, <LimitExcept>, and LimitRequestSize
1557 - Added support for all Apache log levels...
1558 - Added support for "double" HostNameLookups.
1559 - Added new "RunAsUser" directive to support non-root
1560 configurations on the standard (priviledged) ports.
1561 - Added support for non-root invocation of the lpd
1562 backend (does no reserve a priviledged port, which
1563 might not work with some LPD servers...)
1564 - Added new PrintcapFormat directive to control the
1565 output format of the printcap file (BSD or Solaris
1566 formats are supported at present.)
1567 - The CUPS directory service routines now handle
1568 ECONNREFUSED errors gracefully rather than shutting
1570 - ippErrorString() now returns the recommended error
1571 messages from the IPP/1.1 Model and Semantics
1573 - Fixed a minor IPP compliance issue with responses
1574 to requests without the attributes-charset or
1575 attributes-natural-language attributes.
1576 - Sun fix: need httpFlush() call for chunked IPP
1577 requests in cupsDoFileRequest().
1578 - httpConnect() now looks up "localhost" by name and
1579 by address (127.0.0.1) for users the go to the
1580 trouble of removing the required localhost entry
1581 in /etc/hosts or on their DNS server...
1582 - Added support for Linux 2.4.x devfs parallel port
1583 filenames (/dev/parallel/N).
1584 - cupsDo[File]Request() and cupsGetPPD() no longer
1585 block trying to reconnect to a crashed or inaccessable
1587 - Added new ppdEmitJCL() function to better handle
1588 PJL commands from PPD files.
1589 - A bug in UpdateJob() would cause the scheduler to
1590 consume 100% CPU until another request was submitted.
1591 - The cancel command did not support the "-" option to
1592 cancel all jobs on all printers.
1593 - The cancel and lprm commands did not support cancelling
1594 the next/current job in the queue.
1595 - The pdftops and pstoraster filters were using unsafe
1596 temporary file functions; while this is not a problem
1597 in normal configurations (the CUPS temporary directory
1598 is restricted), they now use the cupsTempFd() function.
1599 - The mime.types file was missing the recognition rule
1600 for Sun Raster images.
1601 - The admin CGI was passing a printer make string to
1602 ippSetCGIVars() that was being replaced in that
1604 - "lpoptions -l" would resave the options...
1605 - The EPSON drivers now send the "end packet mode"
1606 command when printing to USB devices.
1607 - The scheduler initialized certificates before loading
1608 the cupsd.conf file.
1609 - The scheduler used /dev/random to collect random data,
1610 which could block if insufficient entropy information
1611 had been collected by the kernel. Now use
1613 - Fixed a bug in the whitespace skipping code in
1615 - The LPD backend now supports a new "order" option:
1616 "lpd://server/queue?order=control,data" (default) and
1617 "lpd://server/queue?order=data,control".
1618 - The scheduler enforced a 30 second timeout on all
1619 clients regardless of the Timeout directive and if a
1620 CGI was currently running.
1621 - cupsParseOptions() now sets boolean options to
1622 option=true or option=false.
1623 - The "percent complete" calculations in the LPD backend
1624 could overflow on large files, causing the percentage
1625 to wrap to 0 every 40MB or so.
1626 - Fixed a memory reallocation bug in pstoraster that
1627 could cause it to crash.
1628 - The LPD backend now sanitizes the job title to avoid
1629 potential problems on remote LPD servers.
1630 - The lp command did not send the requesting-user-name
1631 attribute when altering a job.
1632 - The pstops filter did not handle PostScript files with
1633 lines longer than 8191 bytes.
1634 - The scheduler no longer uses inet_addr() to convert IP
1635 addresses in dot format (mmm.nnn.ooo.ppp) to the
1636 32-bit format, since it will not work for IPv6
1638 - New "Classification" directive to force labeling of
1639 the current classification on each page.
1640 - New "page-label" attribute to add per-page labels
1641 ("For Official Use Only", "Draft", etc.)
1642 - The scheduler now sets the HTTPS environment variable
1643 for CGI programs when a client connects using
1645 - Fixed a recursion bug in the scheduler that could
1646 cause cupsd to crash when a printer was removed.
1647 - The LPDEST and PRINTER environment variables didn't
1649 - Dropped the "file" backend from the device list that
1650 is reported, since it is only available for *testing*
1651 and should never be used in a production environment.
1652 The file: device can still be used, but it won't show
1653 up in the list of devices from lpinfo or the web
1655 - Added support for /dev/lpa# parallel ports under *BSD.
1656 - Added META variables to the CGI header template to
1657 prevent caching of the results.
1658 - Fixed an unaligned memory buffer for the pstoraster
1659 clist states; this caused bus errors for some
1660 combinations of printers, drivers, and options.
1661 - Re-added black reduction for colorful colors; this
1662 helps to prevent dark colors from getting desaturated.
1663 (only used when converting RGB to CMYK)
1664 - Added two new directives - MaxJobsPerPrinter and
1665 MaxJobsPerUser - to allow an administrator to set
1666 the maximum number of pending jobs in a queue or
1667 submitted by a user.
1668 - The scheduler no longer stops a printer if it can't
1669 create the status pipe or run the filters or backend.
1670 This will allow heavily loaded servers to service
1671 clients or start print jobs as the load allows.
1672 - Fixed a bug in the Set-Job-Attributes code that could
1673 crash the scheduler (patch from Martin Zielinski)
1674 - cupsSetDests() did not quote option values with
1676 - Added support for the Enable-Printer and
1677 Disable-Printer extension operations (same as
1678 CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
1679 - The AppSocket and IPP backends now wait for the print
1680 job to be finished before exiting; this should prevent
1681 the loss of print jobs with older JetDirect firmware
1682 and make consecutive print jobs print faster.
1683 - The BMP loading code did not handle resolution values
1684 of 0. This is a problem with BMP image files produced
1686 - The HTTP Upgrade code (upgrade to TLS encryption)
1687 bypassed the authentication checks.
1688 - The HTTP Upgrade code did not send a 426 status code
1689 to the client and end the current request. This caused
1690 a race condition between the client and server for the
1692 - Fixed a bug in the EOF and Trailer detection code in
1694 - The imagetoraster filter did not add the margins to
1695 the custom page size in the raster header.
1696 - The imagetops filter did not adjust the custom page
1697 size to the size of the printed image.
1698 - The imagetops filter did not include DSC comments
1699 which are required by some printers.
1700 - The imagetops filter did not insert newlines in
1701 Base85 encoded output, causing files to contain
1702 lines longer than 255 characters (violation of the
1704 - Added support for the DeskJet 900 series duplexer
1705 and CRET color modes in the HP driver.
1706 - Added support for PPD-defined margins in the HP
1708 - Fixed the debugging output from pstoraster - the
1709 font list was not terminated by a newline.
1710 - Some versions of the HP-UX pam_unix authentication
1711 module apparently do not pass the appdata_ptr argument
1712 to the conversation function, preventing the scheduler
1713 from authenticating users using PAM under HP-UX. A
1714 workaround using a static variable has been added to
1715 address this problem.
1716 - Fixed a bug in the scheduler SortPrinters() function
1717 that could cause printers to disappear or the
1718 scheduler to crash when adding a printer.
1719 - Changed the pstops filter to not do per-page filtering
1720 if the file does not conform to at least version 3.0
1721 of the document structuring conventions. This seems
1722 to "fix" printing with broken apps.
1723 - The image filters did not handle older TIFF files that
1724 lacked the samples-per-pixel and bits-per-pixel tags.
1725 - Added new cupsGetJobs() and cupsFreeJobs() functions
1726 to manage print jobs.
1727 - cupsEncodeOptions() would encode names of 0 length and
1728 cupsAddOption() and cupsParseOptions() would add names
1730 - The scheduler might block waiting for status messages
1731 after starting a new print job. Thanks to Florent
1732 Guiliani for finding this bug!
1735 CHANGES IN CUPS V1.1.6-3
1737 - The configure script put the JPEG library before the
1738 TIFF library; this caused problems in some
1739 configurations since the TIFF library also supports
1740 JPEG compression of TIFF images.
1741 - Updated the configure script and makefiles to handle
1742 admin man pages with the "1m" extension (HP-UX, IRIX,
1743 Solaris, Tru64) and in odd directories (IRIX)
1744 - The updated cupsTempFile() function did not return
1745 the filename when called with a filename buffer of
1746 NULL (previously it used a static buffer.)
1747 - FreeBSD uses /dev/unlptN, but NetBSD and OpenBSD use
1749 - DeletePrinter() didn't remove the printer from any
1750 classes it was a member of.
1751 - DeletePrinterFromClass() didn't preserve the
1752 implicit status of a class.
1753 - DeletePrinterFromClasses() didn't remove printers
1754 from implicit classes.
1755 - StartJob() didn't send the job-sheets, job-priority,
1756 and job-hold-until attributes to remote printers.
1757 - LoadAllJobs() was looking for job-sheets-completed
1758 instead of job-media-sheets-completed. This would
1759 prevent accumulation of page data after a restart
1761 - The pstops and imagetops filters now generate copies
1762 using the appropriate method for a Level 1, 2, or 3
1763 printer since some Level 2/3 printers don't support
1764 the /#copies variable anymore.
1765 - The man page for cups-lpd did not mention the "-o"
1767 - The IPP backend didn't handle version-not-supported
1768 errors and revert to IPP/1.0 (previously it only checked
1769 for a bad-request error)
1770 - Caldera fix: lpc now reports unimplemented commands as
1771 unimplemented, not invalid.
1772 - Caldera fix: lpq didn't recognize BSD lpq "-a" option.
1773 - Caldera fix: lpr didn't recognize BSD lpr "-1", "-2",
1774 "-3", "-4", "-q", or "-U" options.
1775 - RedHat fixes: patches to GNU Ghostscript
1776 - SuSE fix: temp file creation patch to GNU Ghostscript
1778 - SuSE fix: remove cgi-bin/abort.c and cgi-bin/email.c,
1780 - SuSE fix: missing NULL check in cgi_initialize_post().
1781 - SuSE fix: potential buffer overflows in
1782 cgi_initialize_string().
1783 - SuSE fix: potential buffer overflows in
1785 - SuSE fix: more NULL checks in ppdOpen(); also make
1786 sure that all memory is freed on error to avoid memory
1788 - SuSE fix: Exit from child if setgid() or setuid()
1790 - SuSE fix: Added setgroups() calls after setgid() and
1792 - SuSE fix: potential buffer overflows in httpEncode64()
1794 - SuSE fix: potential buffer overflows in httpSeparate()
1795 - SuSE fix: potential buffer overflows in ippWrite() for
1797 - SuSE fix: potential nul skip in ppd_decode() for
1801 CHANGES IN CUPS V1.1.6-2
1803 - Added changes to support NetBSD startup scripts.
1804 - Added separate compiler options for pstoraster
1805 (Ghostscript) to avoid compiler-induced errors
1806 from Ghostscript's twisted code.
1807 - The mime.types file contained syntax errors.
1808 - Updated the *BSD USB device filenames to use
1809 the /dev/unlptN files so that the USB device
1810 is not reset prior to printing (causes print
1811 corruption on many printers)
1812 - Added new cupsTempFd() function to avoid serious
1813 security bug in glibc fopen() function. The glibc
1814 fopen() function unlinks a file before creating it,
1815 which opens up possible symlink attacks.
1816 - Now reject 0-length names in add-printer and add-class
1818 - Fix for pstoraster when ZLIB is not available.
1819 - cupsGetPPD() didn't reconnect when a HTTP connection
1821 - SuSE fix: httpConnect() didn't check that the
1822 value from gethostbyname() was a valid IPv4 address.
1823 - SuSE fix: httpConnect() didn't allow file descriptor 0
1824 to be used for a socket.
1825 - SuSE fix: ippRead() didn't confirm that all values in
1826 a set were numeric or string types.
1827 - SuSE fix: lppasswd race condition fixes.
1828 - SuSE fix: directive names could overflow buffer when
1829 reading *.conf files.
1830 - SuSE fix: HEAD requests for PPD files did not use the
1831 same logic as GET requests.
1832 - SuSE fix: possible buffer overflow when adding
1833 /index.html to requested directory name.
1834 - SuSE fix: possible buffer overflow when converting
1835 IPP attributes to string options for filters.
1836 - SuSE fix: creating file: device output with mode 0666
1837 instead of mode 0600.
1838 - SuSE fix: creating job info files with mode 0640
1840 - SuSE fix: don't rely on snprintf() for including
1841 system name in log filenames.
1842 - SuSE fix: add bounds checking when copying quoted
1846 CHANGES IN CUPS V1.1.6-1
1848 - Added configure check for getting the correct
1849 strftime() format string; %c is not Y2k safe,
1850 and %KC and NULL are not universally supported.
1853 CHANGES IN CUPS V1.1.6
1855 - Fixed another possible DoS attack in httpGets()
1856 - Added check for "LANGUAGE = PCL" and "LANGUAGE =
1857 POSTSCRIPT" in mime.types.
1858 - Resolution options were not being passed into the
1859 filter programs properly.
1860 - The default compiler options for GCC no longer include
1861 "-g3", which apparently is deprecated in newer
1863 - CheckJobs() could cause cupsd to crash if a job is
1864 cancelled in StartJob().
1865 - The printers.conf and classes.conf files are now
1866 written with restricted permissions.
1867 - The round-robin algorithm used by FindAvailablePrinter()
1868 had problems; fixes contributed by Joel Fredrikson.
1869 - If LoadAllJobs() is unable to determine the file type
1870 of a print job, assume "application/vnd.cups-raw".
1871 - The web interface now provides a job_printer_name
1872 value for any corresponding job_printer_uri value.
1873 - The cups-lpd mini-daemon now logs the client address
1874 and hostname as well as all commands and errors in the
1876 - The IPP backend now detects the supported file formats
1877 and only specifies the document format if it is
1878 supported. This makes IPP printing to network print
1879 servers and cards more reliable without affecting the
1880 capabilities of CUPS servers.
1881 - The time_at_xyz attributes are now converted to human-
1882 readable dates and times for the web interfaces.
1883 - The HP and EPSON sample drivers now correctly catch
1884 signals and eject the current page when a job is
1886 - Fixed bug in CGI code - did not ignore control
1887 characters (e.g. newlines) in form data. This caused
1888 sporatic web interface problems.
1889 - The file type logging code in the scheduler referenced
1890 the optional document-format attribute; the new code
1891 uses the resolved MIME type instead.
1892 - The client.conf parsing code now removes trailing
1894 - The MaxJobs directive was being treated as a boolean
1895 instead of an integer.
1896 - The scheduler would not timeout remote printers if
1897 BrowseInterval was set to 0.
1898 - The lpadmin command now supports setting of options
1899 and user-level access control.
1900 - Added "-E" option to all printing commands to force
1902 - The client code did not consume the response to the
1903 OPTIONS request when switching to secure mode.
1904 - The scheduler did not output a Content-Length field
1905 when responding to an OPTIONS request.
1906 - Added documentation on using cups-lpd with xinetd
1908 - The socket backend now starts retries at 5 seconds and
1909 increases the interval to 30 seconds. This should
1910 provide faster printing when multiple jobs/files are
1911 queued for a printer.
1912 - The filters and backends no longer buffer output to
1913 stderr. This should provide much more accurate status
1917 CHANGES IN CUPS V1.1.5-2
1919 - Fixed configure check for OpenSSL to work with RSA
1921 - Added configure check for <sys/ioctl.h>, and use this
1922 check in backend/serial.c.
1923 - Updated configure script handling of data,
1924 configuration, and state directories to use datadir,
1925 sysconfdir, and localstatedir variables.
1926 - NetBSD uses different serial port filenames than
1927 FreeBSD and OpenBSD.
1928 - The pdftops filter didn't need some X-specific files.
1929 - The scheduler makefile doesn't do a chown anymore when
1930 installing (cupsd did this automatically on startup
1934 CHANGES IN CUPS V1.1.5-1
1936 - There was a typo in the top-level Makefile
1937 - The top-level Makefile did not install an init script
1939 - The configure script did not add the "crypto" library
1940 when checking for the OpenSSL library.
1941 - The OKIDATA PPD files were missing.
1942 - The config.h.in file defined the wrong version number.
1943 - The serial backend did not define "funky_hex" under *BSD.
1944 - Updated the Visual C++ project files and some of the
1945 CUPS API sources to compile under Windows again.
1948 CHANGES IN CUPS V1.1.5
1950 - Security updates - new default configuration does
1951 not broadcast printer information and only allows
1952 access from the local system.
1953 - EXPERIMENTAL encryption support - CUPS now optionally
1954 supports TLS/SSL encryption via the OpenSSL library.
1955 - Documentation updates.
1956 - Makefile/configure script updates.
1957 - The RPM spec file didn't work out-of-the-box under
1959 - Minor code cleanup to remove extraneous compiler
1961 - cupsTempFile() was using %p for the temporary
1962 filename; this should have been %08x (just 8 digit
1964 - Deleting a printer with active print jobs would still
1966 - ippWrite() and ipp_write_file() didn't send the
1967 correct value length for name-with-language and
1968 text-with-language attributes.
1969 - Updated IPP code to support copied strings (that
1970 should not be freed); this provides slightly more
1971 efficient IPP server performance.
1972 - Updated PDF filter to Xpdf 0.91.
1973 - httpGets() could go into an infinite loop if a line
1974 longer than the input buffer size was sent by a
1975 client. This could be used in a Denial-of-Service
1977 - The lpstat and CUPS API functions now request only the
1978 data required when getting the list of printer or
1979 class information. This should improve performance
1980 with large numbers of printers on slower machines.
1981 - The scheduler was always enforcing the FilterLimit,
1982 even if FilterLimit was set to 0.
1983 - Updated the Linux USB backend to support Mandrake's
1984 /dev/usb/usblp# filenames.
1985 - The PRINTER and LPDEST environment variables did not
1986 override the lpoptions default printer.
1987 - The PPD read functions incorrectly included trailing
1988 characters (usually whitespace) after quoted string
1990 - The multiple-document-handling attribute handling code
1991 did not check for the correct value for collated
1992 copies (separate-documents-uncollated-copies).
1993 - The EPSON driver did not work with OKIDATA printers in
1994 EPSON emulation mode (needed change-emulation command)
1995 - The HP-GL/2 filter did not scale the plot properly in
1997 - Added PPD files for 9-pin and 24-pin OKIDATA printers.
1998 - The httpSeparate() function didn't handle passwords
1999 that started with a number.
2000 - ippDelete() could free the character set string
2001 multiple times in name-with-language and
2002 text-with-language attributes.
2003 - The scheduler would access freed memory right after
2004 freeing it (for debug messages); these parts of the
2005 code have been reordered to avoid this situation
2006 which was causing sporatic errors and crashes.
2007 - The ppdClose() function didn't free all of the strings
2008 in the ppd_file_t structure.
2009 - The LoadAllJobs() function in the scheduler did not
2010 close the spool directory.
2011 - Changed all sprintf's that use string formats to
2012 snprintf's, even if the destination buffer is
2013 larger than the source string(s); this protects
2014 against buffer overflows caused outside of CUPS...
2015 - Changed all strcpy's to strncpy's between local and
2016 global variables, even if the destination buffer is
2017 larger than the source string; this protects
2018 against buffer overflows caused outside of CUPS...
2019 - The CUPS certificate functions didn't use the
2020 CUPS_SERVERROOT environment variable when set.
2021 - The directory services code was copying instead of
2022 comparing the remote printer info, resulting in
2023 unnecessary updates of the printer attributes for
2025 - Added new mime.types rules to allow automatic raw
2026 printing of PCL and ESC/P files; PJL headers are
2027 parsed to differentiate between PostScript and
2028 PCL job files. This should eliminate a lot of
2029 the reports of SAMBA printing problems due to
2030 the missing "-oraw" or "-l" options.
2031 - The mimeLoadType() function didn't handle the
2032 3-argument contains() function.
2033 - The LoadPPDs() function in the scheduler didn't
2034 properly set the alloc_ppds variable or handle a PPD
2035 database containing 0 printers.
2036 - The scheduler FindAvailablePrinter() function didn't
2037 use the same queuing logic as the CheckJobs()
2038 function. This caused classes to stall if a remote
2039 printer was always busy.
2040 - Jobs are now assigned to printers in a class
2041 round-robin style. This should prevent the first
2042 server in the class from bearing the brunt of the
2044 - The scheduler's LoadAllJobs() function didn't always
2045 restore remote printers for queued jobs on startup.
2046 - The serial backend didn't support the higher baud
2047 rates with the old termios interface. It now supports
2048 57600 and 115200 baud.
2049 - The serial backend now supports different types of
2050 flow control; previously it ignored the flow=XYZ
2051 option in the device URI.
2052 - The serial backend now supports DTR/DSR flow control,
2053 which is popular on dot-matrix printers (access with
2054 "flow=dtrdsr" in the device URI)
2055 - Added new job-originating-host-name attribute for
2056 jobs. The new attribute provides the hostname or
2057 IP address of the machine that submitted the job.
2058 - The set-job-attributes code no longer allows read-only
2059 job attributes to be changed.
2060 - Expanded the click area for the navigation bar in the
2062 - Updated the lp and cancel commands to support all of
2063 the Solaris print options (some are simply ignored
2064 since they do not map)
2065 - Updated the scheduler to limit the number of file
2066 descriptors to the maximum select() set size. This
2067 was causing problems on Solaris systems where the
2068 max FD count was increased beyond 1024.
2069 - The scheduler's LoadDevices() function was getting
2070 interrupted by the SIGCHLD signal handler; now ignore
2071 child signals while loading devices.
2072 - Added quota and allow/deny user support for printers
2074 - Removed black/CMY adjustment code from the PS and
2075 image file RIPs; it was interfering with some CUPS
2076 driver dithering code.
2077 - The lpc program stopped listing the queue statuses
2078 after the first active printer.
2079 - The cups-lpd program used an output format that the
2080 Solaris printing system did not understand.
2081 - Updated the lpq program to use the Solaris format
2082 except under Tru64 UNIX.
2083 - Some DEC PPD files incorrectly use "Off" for the null
2084 value in UI constraints. Added "Off" to the list of
2085 accepted null values.
2086 - Changed the *BSD define constants to __*BSD__ in all
2088 - Added support for "lpstat printername", which is an
2089 undocumented feature in Solaris.
2090 - The HP-GL/2 filter now only sets the plot size if it
2091 is set in the plot file.
2092 - The lpmove command wasn't sending the requesting
2093 user name, causing it to always fail.
2094 - Updated the cupsTempFile() code to use GetTempPath()
2096 - The cups-lpd mini-daemon didn't limit the number of
2097 data files accepted, didn't use cupsTempFile(),
2098 didn't handle control file job information in any
2099 order, and didn't free job options after printing
2101 - The scheduler copy_banner() function did not
2102 explicitly set the owner and permissions of the banner
2103 files, which could prevent the banner pages from
2104 printing on some systems.
2105 - The lpstat program wasn't listing remote classes.
2106 - The scheduler did not verify that the printer-uri
2107 attribute was specified in all requests that required
2111 CHANGES IN CUPS v1.1.4
2113 - Makefile and configure script fixes.
2114 - **** Changed the default Printcap setting **** to
2115 /etc/printcap. There are just too many people asking
2116 why application XYZ doesn't see their printers!
2117 - The web admin interface now displays an error if it
2118 can't get the list of printer drivers from cupsd.
2119 - The IPP backend was putting the copies option before
2120 the other job options were set. This caused the IPP
2121 request to contain attribute groups in the wrong
2122 order, which prevented remote printing.
2123 - Added checks in scheduler to free memory used for
2124 IPP requests and language information when closing
2125 a client connection.
2126 - Fixed the duplex option in the HP LaserJet driver. It
2127 should now work with all LaserJet printers (and
2129 - The add-printer web interface didn't initialize the
2130 "old info" data pointer, which caused random crashes
2132 - Fixed many page sizes defined in the Level 1
2133 compatibility file "gs_statd.ps" to match reality.
2134 - Fixed another bug in the setpagedevice "code" in
2135 Ghostscript. It should now accept all standard
2136 Adobe attributes on all platforms.
2137 - Fixed pstoraster so that it reallocates memory for
2138 color depth changes as well as size/resolution
2139 changes. This removes an ordering constraint on
2140 the color, page size, and resolution options in
2142 - The IPP backend didn't use the job's character set
2143 when the destination printer supported it. This
2144 caused problems when printing text files to other
2146 - Updated the logic used to determine when to rebuild
2147 the PPD file database. The scheduler now checks the
2148 dates and the number of PPD files (was just checking
2150 - Updated the ippSetCGIVars() function (used by the
2151 web interfaces) to only filter valid string values.
2152 - The PostScript filter was scaling 2-up pages
2153 incorrectly. This caused the edges of some pages to
2157 CHANGES IN CUPS v1.1.3
2160 - RPM spec file changes.
2161 - Documentation updates.
2162 - Enabled pstoraster debug messages for everything
2163 (only logged when LogLevel set to "debug"...)
2164 - Changed the Input/OutputAttributes fix in
2165 pstoraster so that it works on all platforms.
2166 - The HP-GL/2 filter didn't set the right green
2167 color value in encoded polylines or text.
2168 - Updated the "fitplot" code to handle plot sizes
2169 specified as "PSwidth,length" and "PSlength,width".
2170 - Updated the Linux parallel and USB backends to open
2171 the device files prior to looking in /proc for
2172 autoprobe info. This makes sure that loadable device
2173 driver modules are in fact loaded...
2174 - Added new FilterLimit directive to limit the number
2175 of processing jobs/filters on a system.
2176 - set-job-attributes didn't change the job-state to
2177 held/pending when the job-hold-until attribute was
2179 - set-job-attributes didn't save the new job attributes.
2180 - Now change the "requesting-user-name" attribute in
2181 requests from remote systems to "remroot" when an
2182 unauthenticated "root" user is sent. This can be
2183 changed using the new RemoteRoot directive in
2185 - The cancel-job, hold-job, release-job, and restart-job
2186 operations didn't log the authenticated username.
2187 - The cups-lpd mini-daemon now checks for a
2188 document-format option before forcing raw mode with
2190 - The cups-lpd mini-daemon now supports "-o" options
2191 on the command-line (passed by inetd) to set global
2192 defaults for all print queues.
2193 - The pstops filter assumed that a file with a Trailer
2194 comment would also have an EOF comment.
2195 - Added new cupsSetPasswordCB(), cupsSetServer(),
2196 cupsSetUser(), and ippSetPort() functions to better
2197 support client applications (especially GUIs...)
2198 - The CUPS-add-class and CUPS-add-printer operations
2199 didn't reset the printer-name attribute on remote
2200 print queues that had to be renamed when a local
2201 printer was defined with the same name.
2202 - The lpoptions command now supports a "-r" option to
2203 remove options for a printer or instance.
2204 - The lpadmin and admin.cgi programs no longer allow
2205 class and printer names to begin with a number; this
2206 caused the command-line utilities to become confused.
2207 - The Linux USB backend now looks for both the parallel
2208 and usblp driver names in the device list.
2209 - Added a new FontPath directive to cupsd.conf, and also
2210 a "--with-fontpath" option for the configure script to
2211 specify alternate font paths for pstoraster.
2212 - The CUPS-move-job operation didn't update the
2213 job-printer-uri attribute.
2214 - The scheduler only looked up printers and classes by
2215 name in IPP requests, instead of using the full URI.
2216 This caused problems with KUPS and friends with
2218 - The scheduler now handles better localization of
2219 hostnames (e.g. server is host.foo.com, remote is
2220 host.subfoo.foo.com, localized is not host.subfoo...)
2221 - The scheduler logging functions now use a common
2222 log file checking/rotation function (courtesy of
2223 Crutcher Dunnavant at Red Hat)
2224 - The scheduler could accept more client connections
2225 than it allocated for if more than one Port or Listen
2226 line was present in cupsd.conf.
2227 - Other minor scheduler performance tweeks.
2228 - The lpq and lprm commands didn't support the default
2229 printer set using lpoptions.
2230 - The lpoptions command now supports a "-l" option to
2231 list the printer-specific options and their current
2233 - The web printer and class lists now show a link to the
2234 default printer or class at the top of the page.
2235 - The text filter now supports pretty printing of shell
2236 and perl scripts as well as C/C++ source files.
2237 - The top and bottom margins were reversed for landscape
2239 - The lpq and lprm commands didn't understand printer
2241 - The scheduler only selected on the first 100 file
2242 descriptors instead of the maximum file descriptor
2244 - The scheduler client, listener, and mainline functions
2245 now share code to disable and enable monitoring for
2246 new client connections.
2247 - The imagetoraster filter didn't support all of the
2248 required pagedevice parameters.
2249 - The serial backend now checks for 100 serial ports
2251 - The scheduler used sscanf() to pull out the remote
2252 printer location, description, and make/model strings,
2253 but if any of these options was empty then sscanf()
2254 would stop processing.
2255 - Added "debug2" log level to provide a little less
2256 verbose debugging information at the "debug" level.
2257 - The scheduler would crash if you stopped a printer
2258 that was currently printing a job.
2259 - The scheduler incorrectly allowed jobs in the cancelled,
2260 aborted, or completed state to be cancelled.
2261 - The image filters did not load TIFF images properly
2262 for bottom-to-top and right-to-left orientations.
2263 - Added new cupsEncodeOptions() function to encode
2264 CUPS options as IPP job attributes.
2265 - The IPP backend, LPD mini-daemon, client commands,
2266 and CUPS API did not properly encode multiple
2267 option values separated by commas.
2268 - Added new scheduler malloc logging in debug mode
2269 (provides summary of total arena size, allocated,
2270 and free bytes once a minute)
2271 - The EPM-based distributions didn't install the
2272 correct symlinks for a few man pages.
2273 - Fixed a memory leak in the scheduler - wasn't
2274 freeing old filters when deleting or renaming
2276 - The scheduler now queries the primary IP address
2277 for the name of the server and maps any incoming
2278 requests from that address to the server name.
2279 This fixes web admin mapping problems from
2280 server.domain.com to localhost.
2281 - The web printer modify interface now remembers
2282 the previous device and driver settings (except
2284 - The job-k-octets attribute is now stored as part of
2285 the job attributes; this preserves the information
2286 after a job is completed when job file history is
2288 - Dropped option sub-group parsing code for the moment,
2289 since many Xerox PPD files abuse this feature in PPD
2290 files and don't follow the hierarchy rules.
2291 - Added new wrapper code around options so that duplex
2292 options for some HP printers don't prevent prints.
2293 - Added support for Digital UNIX/Tru64 UNIX/OSF/1 format
2294 for "lpstat -v" output.
2295 - Now show the URI for remote printers instead of
2296 /dev/null in "lpstat -v" output.
2297 - Creating classes and adding printers to a class with
2298 the lpadmin command didn't work.
2299 - The banner pages and test page should now format
2300 correctly in both portrait and landscape orientations.
2301 - Updated banner page substitution so that { can appear
2302 by itself without quoting.
2305 CHANGES IN CUPS v1.1.2
2307 - Makefile/configure fixes
2308 - RPM spec file and EPM list file fixes
2309 - The cupsTempFile() function now uses a different
2310 algorithm for generating temp files and "reserves"
2311 them to avoid possible security exploitation.
2312 - Now use /dev/random (if available) to seed the random
2313 number generator for certificates.
2314 - The /var/spool/cups and /var/spool/cups/tmp directories
2315 were incorrectly owned by root; they are now owned by
2316 the filter user, typically "lp".
2317 - The scheduler now resets the permissions on the spool
2318 and temp directories as needed to match the filter
2320 - Now expose ppdCollect() as an externally callable
2322 - The image filters now support filtering from the
2324 - The imagetoraster filter now collects all printer
2325 options and job patch files and applies them to the
2326 page header as needed.
2327 - Added format and banner options to LPD backend.
2328 - The send-document operation didn't start a job
2329 immediately when last-document was true.
2330 - The set-job-attributes operation didn't correctly
2331 replace the current job-hold-until value.
2332 - Removed the option wrapper code from ppdEmit() and
2333 friends since it caused problems with Ghostscript
2334 and many PS printers.
2335 - Was setting TZ environment variable twice for job
2337 - Added syslog logging in cups-lpd to aide in
2339 - The HP-UX parallel port backend did not list the
2340 available parallel ports on some systems (printf
2342 - The lp and lpr commands overrode user options if
2343 -d/-P were specified after -o.
2344 - The scheduler would crash with a */* filter.
2345 - Added support for a "default" filter for unknown file
2346 types. The example provided in the mime.types and
2347 mime.convs file prints unknown files as if "-oraw" was
2348 specified for the job. This functionality is disabled
2350 - The "compatibility" mode fix for older backends did not
2351 work for smbspool. Added a workaround for it.
2352 - The HP-GL/2 filter didn't perform the right pen scaling
2353 with some files and the "fitplot" option.
2354 - New Software Performance Specification document that
2355 describes the memory, disk, and CPU usage of all the
2359 CHANGES IN CUPS v1.1.1
2361 - The pstoraster Makefile still referenced one of the
2362 old PDF filter files.
2363 - The filter Makefile used INSTALL_DATA instead of
2364 INSTALL_LIB to install the CUPS image library.
2365 - The administration CGI didn't work properly with
2367 - The BrowseACL variable was not updated after the
2368 cupsd.conf file was loaded.
2369 - The lpd mini-daemon didn't support printer instances.
2370 - Now use a default umask of 077 for child processes.
2371 - Now put temp files in /var/spool/cups/tmp for child
2372 processes and the root user, unless TMPDIR or TempDir
2373 is defined otherwise.
2374 - cupsGetPPD() no longer uses easy-to-guess filenames.
2375 - The CUPS-Delete-Class and CUPS-Delete-Printer
2376 operations now save classes.conf file as needed.
2377 - The lppasswd command wouldn't add a user.
2378 - The ppdOpen() function could cause a segfault if a
2379 0-length PPD file was read.
2380 - The image filters were not handling images with
2381 different X and Y resolutions properly.
2382 - The imagetoraster filter defaulted to RGB output
2383 instead of black output like pstoraster.
2384 - The pstops filter didn't handle binary data properly.
2385 - The pstops filter didn't handle copies properly for
2386 PS files lacking DSC comments.
2387 - The pstops filter now appends %%EOF to the end of
2388 documents if they don't have it.
2389 - The cupsGetPPD() function didn't work with remote
2390 printers lacking the @server in the name.
2391 - The configure script didn't work right when only
2392 --prefix was specified.
2393 - The ppdEmit() code now wraps all printer commands so
2394 that buggy PostScript printers will still print a file
2395 after receiving an option that isn't available.
2396 - Fixed the DeskJet margin bug, and disabled 600dpi
2397 color mode until it can be fixed.
2398 - The cupsAddDest() function didn't sort instances
2399 correctly in all cases.
2400 - The time-at-xyz attributes now expand to the date and
2401 time in banner files.
2404 CHANGES IN CUPS v1.1
2406 - Documentation updates.
2407 - Configuration script updates.
2408 - Didn't map charset and language value strings to lowercase
2409 and _ to - as required by SLP and IPP.
2410 - ppdLoadXYZ() didn't add the list of available fonts to the
2411 ppd_file_t structure.
2412 - The text filter common code was freeing the PPD file data
2414 - The text filter now embeds missing fonts.
2415 - The CGI interface now maps local access to the server to
2416 the localhost address.
2417 - The HP-GL/2 filter didn't use the specified (or default)
2418 color ranges, resulting in strange colors.
2419 - The HP-GL/2 filter didn't default to no input window, which
2420 caused unnecessary clipping of plots.
2421 - Integrated Xpdf's pdftops filter into CUPS, which is a
2422 lightweight and reliable replacement for Ghostscript's
2424 - Removed all PDF support from Ghostscript.
2425 - Updated HP driver to set top margin; this seems to fix
2426 the offset problem seen on HP DeskJet printers.
2427 - Fixed dependencies on the ZLIB and JPEG libraries in
2429 - The lpr command wasn't using the lpoptions defined by
2431 - The lpr command would segfault if the CUPS server was
2433 - The top-level makefile was not installing the CUPS
2434 initialization script. It now does so if it sees there
2435 is an init.d directory in /sbin, /etc/rc.d, or /etc.
2436 - "lpstat -v all" didn't work.
2437 - pstoraster would crash on some platforms doing the
2438 setpagedevice operator.
2439 - The web administration interface now allows you to set
2440 the default banner pages.
2441 - Images can now be positioned on the page using the new
2443 - The AccessLog, ErrorLog, and PageLog directives now
2444 support "%s" to insert the server name.
2445 - Added a new BrowseShortNames directive to allow for
2446 short remote printer names ("printer" instead of
2447 "printer@server") when possible.
2448 - The scheduler could crash if given an invalid PPD file
2449 with no PageSize attributes.
2450 - Updated the serial, parallel, and usb backends to do
2451 multiple writes and ignore ioctl() errors as needed;
2452 this should fix problems with serial printing on old
2453 serial drivers and with the UltraSPARC parallel port
2454 driver under Solaris 2.7.
2455 - Now propagate LD_LIBRARY_PATH to child processes from
2457 - New DataDir directive for installing in alternate
2459 - New CUPS_SERVERROOT and CUPS_DATADIR environment
2460 variables to specify installation directories as
2462 - Queued remote jobs recreate remote printers as needed
2463 when the scheduler is started.
2464 - Deleting a printer also purges all jobs on that
2466 - Old job and control files that don't belong to a
2467 printer are automatically deleted.
2468 - Wasn't updating time-at-processing and
2469 time-at-completed attributes in job.
2470 - Didn't send required multiple-operation-time-out
2471 attribute in response to a get-printer-attributes
2473 - cups-lpd now supports options set with lpoptions.
2474 - The job-hold-until attribute is now provided with all
2475 jobs. For jobs that are not currently held the value
2477 - The scheduler was not sending "unknown" values in IPP
2479 - The lpoptions command now accumulates options from
2480 previous runs rather than replacing all options for a
2482 - The IPP backend now switches to IPP/1.0 if a 1.1
2484 - The lpadmin and admin.cgi programs now validate new
2485 printer and class names.
2486 - The access_log file now includes the number of IPP bytes
2487 received in a POST request.
2490 CHANGES IN CUPS v1.1b5
2492 - Documentation updates.
2493 - The pstoraster filter didn't compile without the JPEG library.
2494 - The cupsd server didn't support the HTTP OPTIONS request
2496 - Dropped the "CLOSE" method supported by the cupsd server.
2497 (not defined in HTTP specification)
2498 - Makefile/configure script fixes.
2499 - Missing the job-restart template.
2500 - Added IPP test suite for testing.
2501 - Missing IPP documentation from binary distributions.
2502 - Fixed multiple-document handling code when last-document
2504 - Added more checks to IPP requests to prevent bad requests
2505 from getting through.
2506 - Not all of the Ghostscript error output was being sent to
2508 - The PostScript filter now added PJL commands to set the
2509 job name and display string, if supported.
2510 - The scheduler would crash if the browse socket could not
2511 be bound. Now disables browsing if port 631 (reserved for
2512 IPP) is being used by a misbehaving daemon.
2513 - The USB backend now looks for the older Linux 2.2.x USB
2514 printer device filenames as well as the newer ones.
2515 - The IPP backend now uses the UTF-8 charset exclusively,
2516 since apparently only CUPS handles more than US-ASCII and
2518 - Wasn't quoting ( in PostScript banners...
2519 - Send-document requests with no document-format attribute
2520 could cause cupsd to crash.
2521 - Old jobs in the spool directory might cause cupsd to
2523 - CUPS now supports all of the recommended job-hold-until
2524 keywords as well as name values of the form "HH:MM" and
2526 - Added placeholder pointer for TLS encryption to the HTTP
2527 connection structure.
2528 - Fixed the "fast poll" bug reported by DISA - the
2529 status pipe wasn't being closed for multi-file jobs.
2530 - Revamped put_params code in pstoraster to fix bitmap
2531 allocation bug with FrameMaker output.
2532 - Ripped out filename, etc. code from pstoraster as it
2533 is a potential security hole.
2534 - Added support for RIP_CACHE environment variable in the
2536 - Fixed USB device filenames for Linux; now support new
2537 pre-2.4 devices (/dev/usb/lp#) and 2.2 devices
2539 - Fixed accept-jobs crash with classes.
2540 - Didn't include dot-matrix EPSON drivers in previous
2544 CHANGES IN CUPS v1.1b4
2546 - Documentation updates.
2547 - Many makefile and configuration script fixes (should
2548 now compile better under *BSD.)
2549 - The MediaPosition attribute was being mishandled by
2550 GhostScript, causing the RIP to fail whenever a paper
2552 - The scheduler now logs the final line of log information
2553 from a filter, even if it doesn't end with a newline; this
2554 primarily affects GhostScript error output.
2555 - The scheduler was saving implicit classes, so after a few
2556 restarts you'll end up with AnyPrinter, AnyAnyPrinter, etc.
2557 - The JPEG autodetection didn't work with some JPEG files that
2558 came from digital cameras (JPEG but not JFIF); the new
2559 magic types should work with all images that the JPEG library
2561 - Fixed a bug in the new contains() MIME type rule that could
2562 cause cupsd to crash.
2563 - Switched to using strtol() in the MIME type code so that you
2564 can use hex, octal, or decimal constants as desired in the
2566 - Banner files are now treated as templates, allowing any type
2567 of file to be used as a banner.
2568 - Added a 30-second timeout to backend device reports so that a
2569 hung backend will not prevent the scheduler from starting.
2570 - Backends are once again terminated when jobs are stopped; the
2571 CUPS-supplied backends will stay alive until the downstream
2572 filters have had a chance to clear out old page data.
2573 - The charset lookup in the CUPS localization support was wrong
2574 (iso8859-x instead of iso-8859-x)
2575 - Changed the "cpNNNN" code page files to "windows-NNNN" to match
2576 the IANA registrations.
2577 - New PostScript banner pages.
2578 - Added Windows BMP and Alias PIX image file support to the image
2580 - The PNG reading coded didn't free all of its buffers.
2581 - Added Digest authentication support to the client and server
2583 - Added Solaris options to System V commands.
2584 - Now support the output-bin job template attribute.
2585 - Now log the job-billing attribute in the page_log file, and
2586 keep track of the total number of pages in the
2587 job-media-sheets-completed attribute.
2588 - The penwidth option is now in micrometers to support more
2589 accurate width specification.
2590 - The image filters now support interlaced and transparent PNG
2592 - Didn't handle Keep-Alive for HTTP/1.0 clients.
2593 - The BrowsePoll support didn't handle when BrowseInterval
2594 was set to 0 (now uses 30 seconds if BrowseInterval is 0)
2595 - The DeskJet driver now supports 600 DPI color for printers
2597 - New lpinfo and lpmove commands.
2598 - The lpq command now supports the Digital UNIX output format.
2599 - The LPD mini-daemon now supports all required LPD operations.
2600 - Implemented timeouts for multi-file documents.
2601 - New cupsPrintFiles() function in the CUPS API library to
2602 print multiple files using create-job and send-document
2603 requests (1 job ID for multiple files)
2604 - The lp command now sends multiple files as a single job,
2605 matching the behavior of the System V command.
2606 - The "cancel -a" command now purges job history files.
2609 CHANGES IN CUPS v1.1b3
2611 - Documentation updates.
2612 - The startup script redirected stderr before stdout,
2613 which caused problems with some versions of Bourne
2615 - Fixed a bug in the scheduler's PPD language reading
2617 - Fixed a bug in the scheduler's check for the
2618 manufacturer in the PPD.
2619 - The pstoraster filter didn't allow some input and
2620 output attributes to be set.
2621 - Added banner page support.
2622 - Added missing PAM configuration file.
2623 - Configuration script fixes for Linux and *BSD.
2624 - The log file code was using the wrong sign for the
2626 - The default printcap file is now empty (no printcap
2628 - The scheduler did not start jobs destined for remote
2629 printers when they became available.
2630 - The scheduler now sends jobs to remote printers
2631 immediately. (when sending jobs to a class, the remote
2632 printer is only used when it becomes available)
2633 - The scheduler now supports printing of banner pages
2634 via the job-sheets attribute (banner files go in
2635 /usr/share/cups/banners)
2636 - The cupsd process now forks itself into the background
2638 - Added several *BSD enhancements.
2639 - Added UNSUPPORTED libtool option to configuration
2640 script to allow the use of libtool. Note that this is
2641 UNSUPPORTED by us, but added by request of the *BSD
2643 - The parallel, serial, and usb backends now retry the
2644 opening of their ports. This allows multiple print
2645 queues to be associated with a single physical port,
2646 and will allow CUPS to support several types of
2647 parallel port auto-switches in the near future.
2648 - Set-Job-Attributes now supports adding, changing, and
2649 deleting job template attributes, and no longer allows
2650 job-printer-uri to be set (see CUPS-Move-Job)
2651 - Added CUPS-Move-Job operation to support moving of jobs.
2652 - The CGI template functionality now supports multiple
2653 languages (still only have templates for English)
2654 - The CUPS-Get-Printers and CUPS-Get-Classes operations
2655 now support filtering as defined in the IDD.
2656 - The Get-Jobs, CUPS-Get-Printers, and CUPS-Get-Classes
2657 operations no longer limit themselves to 1000 jobs,
2658 printers, or classes (believe it or not, this is
2659 needed for some sites)
2660 - The web interfaces now support language-specific
2662 - The web admin interface now supports class management.
2663 - The web admin interface now shows a list of
2664 manufacturers before selecting the PPD/driver for a
2666 - The web admin interface now supports configuration of
2667 the default printer options in the PPD file.
2668 - The web interface now uses printer/class
2669 authentication for the test page instead of admin
2671 - Updated the RPM spec file for the current release.
2672 - Updated language support for Windows code pages.
2673 - 8-bit character set files can now use multiple fonts
2674 (needed for Arabic, Greek, Hebrew, etc.)
2675 - Added basic right-to-left text support in the text
2677 - The POSIX locale now uses ISO-8859-1 instead of
2679 - Fixed PDF printing problems.
2680 - Fixed PostScript RIP page device dictionary elements
2681 that weren't getting passed in cups_get_params().
2682 - Added a new "contains" rule for the magic file typing.
2683 - The "printable" rule now accepts characters from 128 to 255
2684 (needed for Microsoft character sets)
2685 - Added support for ~/.cupsrc as well as /etc/cups/client.conf
2686 so that the default server can be configured on a per-user
2687 basis without environment variables.
2688 - Added LPD mini-daemon to support incoming LPD jobs.
2691 CHANGES IN CUPS v1.1b2
2693 - Documentation updates.
2694 - The lp command didn't always load the user-defined
2695 destinations, preventing it from seeing the default
2697 - Many configure script and makefile fixes.
2698 - The Microsoft code page files were missing from the
2700 - Added a workaround for the HP IPP client (which is sending
2701 an invalid printer-uri in requests)
2702 - Fixed the encoding of text-with-language and name-with-language
2703 to match the IPP spec.
2704 - Added support for unknown value tags in the IPP routines
2705 (previously they would be ignored)
2706 - Integrated GNU GhostScript 5.50 into the pstoraster filter.
2707 - Client hostname resolution was broken on little-endian
2709 - Now look at client.conf file for client's default server
2711 - The cupsServer() function did not close the client.conf file
2712 if it contained a ServerName directive.
2713 - Added BrowseAllow, BrowseDeny, BrowseOrder, BrowsePoll, and
2714 BrowseRelay directives.
2715 - BrowseInterval 0 disables advertising of local printers, but
2716 still receives information on remote printers.
2717 - New browse polling daemon (for polling servers on different
2719 - New PPD cache file for faster startup times with large numbers
2721 - The Host: field was incorrectly required for HTTP/1.0 clients.
2722 - New set-job-attributes operation now supported.
2723 - The mime_load_types() and mime_load_convs() functions did not
2724 close their input files.
2727 CHANGES IN CUPS v1.1b1
2729 - NEW web-based administration interface.
2730 - NEW EPSON printer drivers.
2731 - NEW user-defined printers and options.
2732 - NEW persistent jobs and job history
2733 - NEW IPP/1.1 support
2734 - NEW template-based web interfaces.
2735 - NEW CUPS-get-devices and CUPS-get-ppds operations.
2736 - NEW support for create-job and send-file operations.
2737 - NEW certificate-based authentication for local
2740 - The lpr command now produces human-readable error messages.
2741 - The lpq command now produces BSD standard format output
2742 instead of OSF/1 output. This should resolve the SAMBA
2743 print queue problems that have been reported.
2744 - The IPP backend did not always detect when the "raw" option
2746 - The "lpstat -p" command would stop after the first active
2748 - The "lpstat -v" command would stop before the first remote
2752 CHANGES IN CUPS v1.0.5
2754 - The HP-GL/2 filter did not correctly set the pen color
2755 for pens other than #1.
2756 - The scheduler would only accept 26 simultaneous jobs
2757 under some OS releases (mkstemp() limitation.) It now
2758 handles up to 2^32 simultaneous jobs.
2759 - The PostScript filter loaded the printer's PPD file
2761 - The PAM authentication code now uses pam_strerror() to
2762 provide a textual error message in the error_log file.
2763 - The scheduler now copies PPD and interface script
2764 files instead of moving them; this fixes installations
2765 with a separate requests directory.
2766 - The PostScript RIP did not generate correct 6-color
2768 - Several filters were marking PPD options twice when
2769 they didn't need to.
2770 - The scheduler did not save the printer or class state
2771 after an accept-jobs or reject-jobs operation.
2772 - The cupsGetDefault() function now ignores the PRINTER
2773 environment variable if it is set to "lp".
2774 - New ippErrorString() function to get textual error
2776 - Better error reporting in the System V commands.
2777 - The lpadmin and lpstat commands always tried to
2778 connect to the default server.
2779 - The text filter didn't load the charset files from the
2781 - Wasn't sending a WWW-Authenticate: field to HTTP
2782 clients when authentication was required.
2783 - httpSeparate() didn't always set the default port
2784 number for known methods.
2785 - The HP-GL/2 filter now looks for "PSwidth,length"
2786 instead of (the correct) "PSlength,width" as
2787 documented by HP. It appears that many major CAD
2788 applications are broken and this change allows the
2789 auto-rotation to work with them.
2790 - The IPP "printer-resolution" option was not being
2792 - The charset files did not include the Microsoft
2793 "standard" characters from 128 to 159 (unused by the
2794 ISO-8859-x charsets)
2795 - The scheduler was chunking the Content-Type field from
2796 CGI programs; this problem was most noticeable with
2797 Microsoft Internet Explorer 5.
2798 - By popular demand, the printers, jobs, and classes
2799 CGIs no longer force a reload of the page every 10/30
2801 - The scheduler incorrectly required that the IPP client
2802 provide a document-format attribute for the
2803 validate-job operation.
2804 - Clients that sent bad IPP requests without the
2805 required attributes-natural-language and
2806 attributes-charset attributes would crash the
2810 CHANGES IN CUPS v1.0.4
2812 - Documentation updates.
2813 - Jobs would get stuck in the queue and wouldn't print
2814 until you enabled the queue.
2815 - The lp and lpr commands now catch SIGHUP and SIGINTR.
2816 - The lp and lpr commands now use sigaction or sigset
2818 - CUPS library updates for WIN32/OS-2
2821 CHANGES IN CUPS v1.0.3
2823 - Documentation updates.
2824 - The lpq man page was missing.
2825 - The configure script was not properly detecting the
2827 - The top-level makefile was calling "make" instead of
2829 - PostScript filter fixes for number-up, OutputOrder,
2831 - The imagetops filter didn't end the base-85 encoding
2832 properly if the image data was not a multiple of 4
2834 - The imagetoraster filter didn't generate good banded
2835 RGB or CMY data (was dividing the line width by 4
2837 - The imagetoraster filter now records the bounding
2838 box of the image on the page.
2839 - The CUPS image library cache code wasn't working as
2840 designed; images larger than the maximum RIP cache
2841 would eventually thrash using the same cache tile.
2842 - The CUPS image library TIFF loading code didn't
2843 handle unknown resolution units properly; the fixed
2844 code uses a default resolution of 128 PPI.
2845 - cupsGetClasses() and cupsGetPrinters() did not free
2846 existing strings if they ran out of memory.
2847 - The scheduler logs incorrectly contained 3 digits for
2848 the timezone offset instead of 4.
2849 - The scheduler now does a lookup for the default user
2850 and group ID; the previous hardcoded values caused
2851 problems with the LPD backend.
2852 - The cancel-job operation now allows any user in the
2853 system group to cancel any job.
2854 - The cancel-job operation stopped the print queue if
2855 the job was being printed.
2856 - Now only stop printers if the backend fails. If the
2857 filter fails then the failure is noted in the
2858 error_log and printing continues with the next file in
2860 - Now log whether a filter fails because of a signal
2861 or because it returned a non-zero exit status.
2862 - The root user now always passes the system group test.
2863 - Printers with an interface script and remote printers
2864 and classes didn't have a printer-make-and-model
2866 - Added logging of lost/timed-out remote printers.
2867 - The HP-GL/2 filter was scaling the pen width twice.
2868 - Updated the HP-GL/2 filter to use a single SP (Set
2869 Pen) procedure. This makes the output smaller and is
2870 more appropriate since the filter keeps track of the
2872 - The scheduler didn't handle passwords with spaces.
2873 - The IPP backend now does multiple copies and retries
2874 if the destination server requires it (e.g. HP
2876 - The disable command didn't implement the "-c" option
2878 - Changed the CMYK generation function for the image file
2879 and PostScript RIPs.
2880 - The lp command didn't support the "-h" option as
2882 - The AppSocket, IPP, and LPD backends now retry on all
2883 network errors. This should prevent stopped queues
2884 caused by a printer being disconnected from the
2885 network or powered off.
2886 - The scheduler now restarts a job if the corresponding
2887 printer is modified.
2888 - The image RIPs now rotate the image if needed to fit
2892 CHANGES IN CUPS v1.0.2
2894 - The HP-GL/2 filter didn't always scale the output
2896 - The HP-GL/2 filter now supports changing the page size
2897 automatically when the "fitplot" option is not used.
2898 - The cancel-job operation was expecting a resource name
2899 of the form "/job/#" instead of "/jobs/#"; this
2900 prevented the cancel and lprm commands from working.
2901 - The backends didn't log pages when files were printed
2902 using the "-oraw" option.
2903 - The authorization code did not work with the Slackware
2904 long shadow password package because its crypt() can
2906 - The chunking code didn't work for reading the response
2908 - cupsGetPPD() now does authentication as needed.
2909 - The N-up code in the PostScript filter didn't work
2910 with some printers (grestoreall would restore the
2911 default blank page and device settings).
2912 - The N-up code in the PostScript filter didn't scale
2913 the pages to fit within the imageable area of the
2915 - Wasn't doing an fchown() on the request files. This
2916 caused problems when the default root account group
2917 and CUPS group were not the same.
2920 CHANGES IN CUPS v1.0.1
2922 - Documentation updates.
2923 - Fixed a bunch of possible buffer-overflow conditions.
2924 - The scheduler now supports authentication using PAM.
2925 - Updated the Italian message file.
2926 - httpEncode64() didn't add an extra "=" if there was
2927 only one byte in the last three-byte group.
2928 - Now drop any trailing character set from the locale
2929 string (e.g. "en_US.ISO_8859-1" becomes "en_US")
2930 - Fixed "timezone" vs "tm_gmtoff" usage for BSD-based
2932 - Updated IPP security so that "get" operations can be
2933 done from any resource name; this allows the CGIs to
2934 work with printer authentication enabled so long as
2935 authentication isn't turned on for the whole "site".
2936 - The IPP code didn't properly handle the "unsupported"
2937 group; this caused problems with the HP JetDirect since
2938 it doesn't seem to support the "copies" attribute.
2939 - The HTTP chunking code was missing a CR LF pair at the
2940 end of a 0-length chunk.
2941 - The httpSeparate() function didn't handle embedded
2942 usernames and passwords in the URI properly.
2943 - Doing "lpadmin -p printer -E" didn't restart printing
2944 if there were pending jobs.
2945 - The cancel-job operation now requires either a
2946 requesting-user-name attribute or an authenticated
2948 - The add-printer code did not report errors if the
2949 interface script or PPD file could not be renamed.
2950 - Request files are now created without world read
2952 - Added a cupsLastError() function to the CUPS API to
2953 retrieve the IPP error code from the last request.
2954 - Options are now case-insensitive.
2955 - The lpq command now provides 10 characters for the
2956 username instead of the original (Berkeley standard)
2958 - The cancel command needed a local CUPS server to work
2959 (or the appropriate ServerName in cupsd.conf)
2960 - The cancel and lprm commands didn't report the IPP
2961 error if the job could not be cancelled.
2962 - The lp and lpr commands didn't intercept SIGTERM to
2963 remove temporary files when printing from stdin.
2964 - The lp and lpr commands didn't report the IPP error if
2965 the job could not be printed.