17b66cf61Sopenharmony_ciNEWS - OpenPrinting CUPS Filters v1.28.17 - 2023-01-24 27b66cf61Sopenharmony_ci------------------------------------------------------ 37b66cf61Sopenharmony_ci 47b66cf61Sopenharmony_ciCHANGES IN V1.28.17 57b66cf61Sopenharmony_ci 67b66cf61Sopenharmony_ci - libcupsfilters: In PPD generator create only one *cupsFilter2: 77b66cf61Sopenharmony_ci line for raster. Only use the most desirable/reliable format, 87b66cf61Sopenharmony_ci usually Apple Raster. 97b66cf61Sopenharmony_ci - libcupsfilters: In get_printer_attributes() poll 107b66cf61Sopenharmony_ci "media-col-database" separately if needed. On some printers 117b66cf61Sopenharmony_ci one gets "media-col-database" only this way. Ofte reveals 127b66cf61Sopenharmony_ci important functionality, like for example borderless 137b66cf61Sopenharmony_ci printing. 147b66cf61Sopenharmony_ci - libcupsfilters: Let PPD generator also parse 157b66cf61Sopenharmony_ci "media-col-ready" IPP attribute. "media-col-ready" lists the 167b66cf61Sopenharmony_ci loaded media, in contrary to "media-ready" as list of 177b66cf61Sopenharmony_ci complete descriptions of the media ("media-col" data 187b66cf61Sopenharmony_ci structure). This often lists also variants like borderless 197b66cf61Sopenharmony_ci (it is the same physical paper). Especially usefull when 207b66cf61Sopenharmony_ci "media-col-database" is not available. 217b66cf61Sopenharmony_ci - libcupsfilters: In generate_sizes() consider all margin 227b66cf61Sopenharmony_ci alternatives. When generating the PPD file for a driverless 237b66cf61Sopenharmony_ci printer, and in the media-{left,right,top,bottom}-margin-supported 247b66cf61Sopenharmony_ci printer IPP attributes there was more than 1 vale, the first 257b66cf61Sopenharmony_ci value (which often was the 0 for borderless printing was not 267b66cf61Sopenharmony_ci considered, leaving the borderless functionality of many 277b66cf61Sopenharmony_ci printers undiscovered (Issues #492). 287b66cf61Sopenharmony_ci 297b66cf61Sopenharmony_ciCHANGES IN V1.28.16 307b66cf61Sopenharmony_ci 317b66cf61Sopenharmony_ci - imagetoraster, imagetopdf, libcupsfilters: Added support for 327b66cf61Sopenharmony_ci reading the resolution of an image from its EXIF data when 337b66cf61Sopenharmony_ci loading it. This way we get the image reproduced in its 347b66cf61Sopenharmony_ci original size with "print-scaling=none" (Issue #362). 357b66cf61Sopenharmony_ci - libcupsfilters: Replaced deprecated data types uint16 and 367b66cf61Sopenharmony_ci uint32. The function to read TIFF image files via libtiff in 377b66cf61Sopenharmony_ci cupsfilters/image-tiff.c uses the deprecated types uint16 387b66cf61Sopenharmony_ci and uint32. The replacements for these types are uint16_t 397b66cf61Sopenharmony_ci and uint32_t. 407b66cf61Sopenharmony_ci 417b66cf61Sopenharmony_ciCHANGES IN V1.28.15 427b66cf61Sopenharmony_ci 437b66cf61Sopenharmony_ci - pdftops: In pdftops identify old LaserJets more precisely 447b66cf61Sopenharmony_ci for working around PostScript interpreter bugs, older 457b66cf61Sopenharmony_ci printers need Poppler, newer models need Ghostscript 467b66cf61Sopenharmony_ci (Ubuntu bug #1967816). 477b66cf61Sopenharmony_ci 487b66cf61Sopenharmony_ciCHANGES IN V1.28.14 497b66cf61Sopenharmony_ci 507b66cf61Sopenharmony_ci - pdftopdf: Correct the output when suppressing auto-rotation 517b66cf61Sopenharmony_ci (option "nopdfAutoRotate"). Depending on the situation pages 527b66cf61Sopenharmony_ci got cropped in the wrong orientation or de-centered. 537b66cf61Sopenharmony_ci - pdftopdf: Correct the output when the 547b66cf61Sopenharmony_ci "orientation-requested" or the "landscape" option is 557b66cf61Sopenharmony_ci supplied. Output could be de-centered (Issue #456), 567b66cf61Sopenharmony_ci portrait-oriented pages be wrongly cropped and division of 577b66cf61Sopenharmony_ci the output page into cells for N-up done in the wrong 587b66cf61Sopenharmony_ci orientation. 597b66cf61Sopenharmony_ci - rastertopdf: In PCLm output mode the filter failed to 607b66cf61Sopenharmony_ci generate PCLm if the printer has no 617b66cf61Sopenharmony_ci "pclm-source-resolution-default" IPP attribute. 627b66cf61Sopenharmony_ci 637b66cf61Sopenharmony_ciCHANGES IN V1.28.13 647b66cf61Sopenharmony_ci 657b66cf61Sopenharmony_ci - pdftopdf: Fix N-up printing when paper is taken 667b66cf61Sopenharmony_ci long-edge-first by the printer. 677b66cf61Sopenharmony_ci - pdftopdf: Fix cropping ("print-scaling=none" and 687b66cf61Sopenharmony_ci "print-scaling=fill") when paper is taken long-edge-first by 697b66cf61Sopenharmony_ci the printer (Issue #454). 707b66cf61Sopenharmony_ci - pdftops: Use Poppler for all Apple LaserWriter models (Issue 717b66cf61Sopenharmony_ci #452). 727b66cf61Sopenharmony_ci 737b66cf61Sopenharmony_ciCHANGES IN V1.28.12 747b66cf61Sopenharmony_ci 757b66cf61Sopenharmony_ci - imagetoraster, imagetopdf: Fixed comparison of the image 767b66cf61Sopenharmony_ci size with the page size for print-scaling=auto. The image 777b66cf61Sopenharmony_ci size in pixels was compared with the page size in PostScript 787b66cf61Sopenharmony_ci points (1/72 inch). 797b66cf61Sopenharmony_ci - imagetoraster, imagetopdf: Fixed the "print-scaling=none" 807b66cf61Sopenharmony_ci (crop-to-fit) mode, also use crop-to-fit always when 817b66cf61Sopenharmony_ci requested, do not fall back to fit-to-page when the image 827b66cf61Sopenharmony_ci size differs significantly from the page size (Issue #362). 837b66cf61Sopenharmony_ci - libcupsfilters: Changed the default PPI resolution for 847b66cf61Sopenharmony_ci images as input files from 128 to 200 (Pull request #446). 857b66cf61Sopenharmony_ci - implicitclass: Do not check availability of "gs" and 867b66cf61Sopenharmony_ci "pdftops" executables, instead, check by the presence of 877b66cf61Sopenharmony_ci "gstoraster" and "pdftoraster" filters whether we have 887b66cf61Sopenharmony_ci configured cups-filters for Ghostscript and/or Poppler use. 897b66cf61Sopenharmony_ci - libcupsfilters: In the PPD generator for the driverless 907b66cf61Sopenharmony_ci utility and cups-browsed add "*cupsFilter2: ..." lines for 917b66cf61Sopenharmony_ci all supported driverless data formats (PDF, Apple/PWG 927b66cf61Sopenharmony_ci Raster, PCLm), and add lines for legacy data formats (PCL, 937b66cf61Sopenharmony_ci PostScript) only if no driverless formats available. 947b66cf61Sopenharmony_ci - libcupsfilters: Always use encryption for ipps. RFC7472 957b66cf61Sopenharmony_ci requires that 'ipps' must be used over HTTPS, but the 967b66cf61Sopenharmony_ci driverless utility does not enforce encryption (Pull request 977b66cf61Sopenharmony_ci #433). 987b66cf61Sopenharmony_ci - serial: Add a 10-msec sleep and at the end add a tcdrain(). 997b66cf61Sopenharmony_ci For some unknown reason, every printing file need sleep a 1007b66cf61Sopenharmony_ci little time to make sure the serial printer receive data is 1017b66cf61Sopenharmony_ci right (Pull request #431). 1027b66cf61Sopenharmony_ci - libcupsfilters: Fix resolver functions for DNS-SD-based 1037b66cf61Sopenharmony_ci URIs, to make resolve_uri() also work when DEVICE_URI env 1047b66cf61Sopenharmony_ci variable is set and to make ippfind_based_uri_converter() 1057b66cf61Sopenharmony_ci not re-direct stdin. 1067b66cf61Sopenharmony_ci - pdftopdf: Set default for print-scaling to avoid "should 1077b66cf61Sopenharmony_ci never happem" log messages and undefined behavior. 1087b66cf61Sopenharmony_ci - pdftopdf: Fix orientation-requested = 0. Consider 1097b66cf61Sopenharmony_ci this as "automatic selection and not as error. 1107b66cf61Sopenharmony_ci - pdftopdf: Fixed all combinations of print-scaling and 1117b66cf61Sopenharmony_ci number-up for printers with asymmetric margins (top != 1127b66cf61Sopenharmony_ci bottom or left != right) and for input files containing 1137b66cf61Sopenharmony_ci pages with different sizes and/or orientations. Fixes 1147b66cf61Sopenharmony_ci backported from 2.x branch. 1157b66cf61Sopenharmony_ci - pdftopdf: Add 2% tolerance for input size larger than output 1167b66cf61Sopenharmony_ci page when "print-scaling=auto" or "print-scaling=auto-fit" 1177b66cf61Sopenharmony_ci is used and too large input pages should be scaled, fitting 1187b66cf61Sopenharmony_ci documents not. This prevents a random-looking behavior if 1197b66cf61Sopenharmony_ci input and output page size seem to be equal, but in reality 1207b66cf61Sopenharmony_ci there are slight differences between size dimensions. 1217b66cf61Sopenharmony_ci 1227b66cf61Sopenharmony_ciCHANGES IN V1.28.11 1237b66cf61Sopenharmony_ci 1247b66cf61Sopenharmony_ci - libcupsfilters: Let PPD generator take default ColorModel 1257b66cf61Sopenharmony_ci from printer (CUPS issue #277). 1267b66cf61Sopenharmony_ci - Braille: In vectortopdf check inkscape version to call 1277b66cf61Sopenharmony_ci inkscape with the correct command line (Issue #315, Pull 1287b66cf61Sopenharmony_ci request #443). 1297b66cf61Sopenharmony_ci - Build system: Make missing DejaVuSans.ttf non-fatal in 1307b66cf61Sopenharmony_ci ./configure as the font is only needed for test programs, 1317b66cf61Sopenharmony_ci not for actual use of cups-filters (Issue #411). 1327b66cf61Sopenharmony_ci - libcupsfilters: In imagetoraster() fixed crash with SGray 1337b66cf61Sopenharmony_ci (Issue #435). 1347b66cf61Sopenharmony_ci - cups-browsed: Naming of local queues is matched to CUPS' 1357b66cf61Sopenharmony_ci current naming of temporary queues (no leading or trailing 1367b66cf61Sopenharmony_ci underscores), to avoid duplicates in print dialogs which 1377b66cf61Sopenharmony_ci support CUPS' temporary queues. 1387b66cf61Sopenharmony_ci - libcupsfilters: Make cupsRasterParseIPPOptions() work correctly 1397b66cf61Sopenharmony_ci with PPDs (Issue #436). 1407b66cf61Sopenharmony_ci - libcupsfilters: Let colord_get_profile_for_device_id() not 1417b66cf61Sopenharmony_ci return empty file name, to avoid error messages in CUPS 1427b66cf61Sopenharmony_ci error_log. 1437b66cf61Sopenharmony_ci - foomatic-rip: Debug message was wrongly sent to stdout and 1447b66cf61Sopenharmony_ci not to log (Issue #422). 1457b66cf61Sopenharmony_ci 1467b66cf61Sopenharmony_ciCHANGES IN V1.28.10 1477b66cf61Sopenharmony_ci 1487b66cf61Sopenharmony_ci - Sample PPDs: Add borderless page size definitions to Generic 1497b66cf61Sopenharmony_ci PDF Printer, HP Color LaserJet CM3530 MFP PDF, and Ricoh PDF 1507b66cf61Sopenharmony_ci Printer PPD files. 1517b66cf61Sopenharmony_ci - Sample PPDs: From the PDF PPD files removed the unneeded 1527b66cf61Sopenharmony_ci "*cupsFilters2: ..." line. For CUPS it does not make any 1537b66cf61Sopenharmony_ci difference. 1547b66cf61Sopenharmony_ci - libcupsfilters: Fixed pdftopdf filter to correctly support 1557b66cf61Sopenharmony_ci page ranges without upper limit, like "10-" (Pull request 1567b66cf61Sopenharmony_ci #399). 1577b66cf61Sopenharmony_ci - libcupsfilters: Use wildcard tag (IPP_TAG_ZERO) search for 1587b66cf61Sopenharmony_ci "media-type" and "media-type-supported" in the PPD 1597b66cf61Sopenharmony_ci generator (Pull request #398). 1607b66cf61Sopenharmony_ci - implicitclass, parallel: Added missing newlines at error 1617b66cf61Sopenharmony_ci messages. 1627b66cf61Sopenharmony_ci - libfontembed: Removed unneeded fontembed/main.c and ttfread 1637b66cf61Sopenharmony_ci executable. Eliminates the dependency on DejaVuSans.ttf 1647b66cf61Sopenharmony_ci (Issue #386). 1657b66cf61Sopenharmony_ci - gstoraster: Refactor the filter a little to clarify handling 1667b66cf61Sopenharmony_ci of page counts and set job-impressions for TotalPageCount in 1677b66cf61Sopenharmony_ci PWG-Raster header (Pull request #394). 1687b66cf61Sopenharmony_ci - cups-browsed: Make NotifLeaseDuration configurable and renew 1697b66cf61Sopenharmony_ci after half the lease duration not 60 sec before end. The 1707b66cf61Sopenharmony_ci early renewal improves reliability on busy systems a 1717b66cf61Sopenharmony_ci lot. For easier development and debugging short durations 1727b66cf61Sopenharmony_ci from 300 sec on can get selected (Pull request #378). 1737b66cf61Sopenharmony_ci 1747b66cf61Sopenharmony_ciCHANGES IN V1.28.9 1757b66cf61Sopenharmony_ci 1767b66cf61Sopenharmony_ci - libcupsfilters: Silenced compiler warnings 1777b66cf61Sopenharmony_ci - libcupsfilters: Removed duplicate code in the 1787b66cf61Sopenharmony_ci apply_filters() function. 1797b66cf61Sopenharmony_ci - driverless: If there are no driverless IPP printers 1807b66cf61Sopenharmony_ci available let "driverless" terminate with exit code 0 and 1817b66cf61Sopenharmony_ci not 1, to follow CUPS' standard of backends in discovery 1827b66cf61Sopenharmony_ci mode terminating with 0 if there are no appropriate printers 1837b66cf61Sopenharmony_ci found (Issue #375). 1847b66cf61Sopenharmony_ci - gstoraster, foomatic-rip: Fixed Ghostscript command line for 1857b66cf61Sopenharmony_ci counting pages as it took too long on PDFs from evince when 1867b66cf61Sopenharmony_ci printing DjVu files (Issue #354, Pull request #371, Ubuntu 1877b66cf61Sopenharmony_ci bug #1920730). 1887b66cf61Sopenharmony_ci - cups-browsed: Renamed ldap_connect() due to conflict in 1897b66cf61Sopenharmony_ci new openldap (Issue #367, Pull request #370). 1907b66cf61Sopenharmony_ci - pdftoraster: Free color data after processing of each page 1917b66cf61Sopenharmony_ci (Pull request #363). 1927b66cf61Sopenharmony_ci - cups-browsed: Always save "...-default" option entries 1937b66cf61Sopenharmony_ci from printers.conf, regardless of presence or absense 1947b66cf61Sopenharmony_ci of PPD file (Pull request #359). 1957b66cf61Sopenharmony_ci - cups-browsed: Start after network-online.target (Pull 1967b66cf61Sopenharmony_ci request #360). 1977b66cf61Sopenharmony_ci - texttopdf: Set default margins when no PPD file is used 1987b66cf61Sopenharmony_ci (Pull request #356). 1997b66cf61Sopenharmony_ci 2007b66cf61Sopenharmony_ciCHANGES IN V1.28.8 2017b66cf61Sopenharmony_ci 2027b66cf61Sopenharmony_ci - libcupsfilters: Made check whether the driverless PPD to 2037b66cf61Sopenharmony_ci generate should be a fax out PPD more reliable (Issue #343). 2047b66cf61Sopenharmony_ci - foomatic-rip: Options in the 5th command line argument of 2057b66cf61Sopenharmony_ci the CUPS filter command line are separated only by white 2067b66cf61Sopenharmony_ci space and not by comma, also make sure that an option "none" 2077b66cf61Sopenharmony_ci is not considered a custom page size (Issue #348). 2087b66cf61Sopenharmony_ci - implicitclass: Raise timeout for cups-browsed's answer from 2097b66cf61Sopenharmony_ci 20s to 60s (Pull request #346). 2107b66cf61Sopenharmony_ci - libcupsfilters: In the PPD generator really give priority to 2117b66cf61Sopenharmony_ci Apple Raster against PDF (Issue #331). 2127b66cf61Sopenharmony_ci 2137b66cf61Sopenharmony_ciCHANGES IN V1.28.7 2147b66cf61Sopenharmony_ci 2157b66cf61Sopenharmony_ci - driverless: Removed the support quality check from Pull 2167b66cf61Sopenharmony_ci request #235 as it takes significant time for each printer 2177b66cf61Sopenharmony_ci being listed, making cups-driverd (`lpinfo -m`) timing out 2187b66cf61Sopenharmony_ci when there are many printers (OpenPrinting CUPS issue #65). 2197b66cf61Sopenharmony_ci - libcupsfilters: In the PPD generator give priority to Apple 2207b66cf61Sopenharmony_ci Raster against PDF (Issue #331). 2217b66cf61Sopenharmony_ci - libcupsfilters: Added NULL check when removing ".Borderless" 2227b66cf61Sopenharmony_ci suffixes from page size names (Issue #314, Pull request 2237b66cf61Sopenharmony_ci #328). 2247b66cf61Sopenharmony_ci - libcupsfilters: In the cupsRasterParseIPPOptions() map the 2257b66cf61Sopenharmony_ci color spaces the same way as in the PPD generator (Issue 2267b66cf61Sopenharmony_ci #326, Pull request #327). 2277b66cf61Sopenharmony_ci - libcupsfilters: Fixed addition of grayscale mode in 2287b66cf61Sopenharmony_ci generated PPD files, to avoid duplicate entries 2297b66cf61Sopenharmony_ci (OpenPrinting CUPS issue #59). 2307b66cf61Sopenharmony_ci 2317b66cf61Sopenharmony_ciCHANGES IN V1.28.6 2327b66cf61Sopenharmony_ci 2337b66cf61Sopenharmony_ci - libcupsfilters: In generated PPDs add a grayscale mode if 2347b66cf61Sopenharmony_ci there are only color printing modes (from OpenPrinting 2357b66cf61Sopenharmony_ci CUPS). 2367b66cf61Sopenharmony_ci - libcupsfilters: In generated PPDs add an "OutputBin" option 2377b66cf61Sopenharmony_ci also if it has only one choice (OpenPrinting CUPS pull 2387b66cf61Sopenharmony_ci request #18). 2397b66cf61Sopenharmony_ci - libcupsfilters: Generated PPDs could have an "Unknown" 2407b66cf61Sopenharmony_ci default InputSlot (OpenPrinting CUPS issue #44). 2417b66cf61Sopenharmony_ci - cups-browsed: Removed unneeded IPP attribute additions 2427b66cf61Sopenharmony_ci preventing the created local queues from preserving a 2437b66cf61Sopenharmony_ci location or description the user assigns to them (Issue 2447b66cf61Sopenharmony_ci #323). 2457b66cf61Sopenharmony_ci - cups-browsed: Removed all calls of the resolve_uri() function 2467b66cf61Sopenharmony_ci of libcupsfilters, as these are not actually needed and in case 2477b66cf61Sopenharmony_ci the supplied DNS-SD-based URI is not resolvable, the function 2487b66cf61Sopenharmony_ci gets stuck for ~5 seconds. 2497b66cf61Sopenharmony_ci - cups-browsed: Fixed several memory leaks, mainly from the 2507b66cf61Sopenharmony_ci code to merge printer IPP attributes for clusters (Pull 2517b66cf61Sopenharmony_ci request #322). 2527b66cf61Sopenharmony_ci - cups-browsed: Silenced compiler warning. 2537b66cf61Sopenharmony_ci - foomatic-rip: Fix infinite loop and input from file on raw 2547b66cf61Sopenharmony_ci printing (Pull request #318). 2557b66cf61Sopenharmony_ci - foomatic-rip: Remove temporary file created during pdf-to-ps 2567b66cf61Sopenharmony_ci conversion (Pull request #313). 2577b66cf61Sopenharmony_ci 2587b66cf61Sopenharmony_ciCHANGES IN V1.28.5 2597b66cf61Sopenharmony_ci 2607b66cf61Sopenharmony_ci - cups-browsed: UUID from IPP response was used after its 2617b66cf61Sopenharmony_ci pointer was freed by ippDelete() (Pull request #311). 2627b66cf61Sopenharmony_ci 2637b66cf61Sopenharmony_ciCHANGES IN V1.28.4 2647b66cf61Sopenharmony_ci 2657b66cf61Sopenharmony_ci - driverless: Avoid duplicate PPD list entries from the same 2667b66cf61Sopenharmony_ci device via UUID 2677b66cf61Sopenharmony_ci - driverless: Reduce ippfind calls by "driverless" and 2687b66cf61Sopenharmony_ci "driverless-fax"called by CUPS. Let "driverless list" list 2697b66cf61Sopenharmony_ci both print and fax PPDs and "driverless-fax list" do 2707b66cf61Sopenharmony_ci nothing. 2717b66cf61Sopenharmony_ci - driverless: Avoid duplicate listings in printer discovery, 2727b66cf61Sopenharmony_ci by "driverless-fax" not listing any URI as "driverless" 2737b66cf61Sopenharmony_ci lists them all already. 2747b66cf61Sopenharmony_ci - driverless: Vastly improve performance by doing only one 2757b66cf61Sopenharmony_ci ippfind call instead of two (IPP, IPPS) as ippfind accepts 2767b66cf61Sopenharmony_ci more than one reg type on the command line. 2777b66cf61Sopenharmony_ci - Sample PPDs: Corrected manufacturer name in 2787b66cf61Sopenharmony_ci Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd. 2797b66cf61Sopenharmony_ci 2807b66cf61Sopenharmony_ciCHANGES IN V1.28.3 2817b66cf61Sopenharmony_ci 2827b66cf61Sopenharmony_ci - libcupsfilters, cups-browsed: Fixed inconsistency between 2837b66cf61Sopenharmony_ci resolvers for DNS-SD-based URIs, resolve_uri() and 2847b66cf61Sopenharmony_ci ippfind_based_uri_converter(). Now both return a freeable 2857b66cf61Sopenharmony_ci string. 2867b66cf61Sopenharmony_ci - libcupsfilters: Fix uninitialized buffer and parsing ippfind 2877b66cf61Sopenharmony_ci output in ippfind_based_uri_converter() function (Issue 2887b66cf61Sopenharmony_ci #308, Pull request #309). 2897b66cf61Sopenharmony_ci 2907b66cf61Sopenharmony_ciCHANGES IN V1.28.2 2917b66cf61Sopenharmony_ci 2927b66cf61Sopenharmony_ci - driverless: Free allocated memory, use MAX_OUTPUT_LEN (Pull 2937b66cf61Sopenharmony_ci request #304). 2947b66cf61Sopenharmony_ci - driverless: Make the two ippfind tasks(for IPP 2957b66cf61Sopenharmony_ci and IPPS) run in parallel (Pull request #302, #305, #306). 2967b66cf61Sopenharmony_ci - braille: Support new liblouis tables not containing a 2977b66cf61Sopenharmony_ci display name (Pull request #303) 2987b66cf61Sopenharmony_ci - Build system: Let ./configure not error out when there is 2997b66cf61Sopenharmony_ci more than one DejaVuSans.ttf test font candidate (Issue 3007b66cf61Sopenharmony_ci #300). 3017b66cf61Sopenharmony_ci - cups-browsed: Crash when a remote printer set as default 3027b66cf61Sopenharmony_ci gets removed, due to missing variable in printf() call 3037b66cf61Sopenharmony_ci (Issue #299). 3047b66cf61Sopenharmony_ci - libcupsfilters: Removed all signal handling and global 3057b66cf61Sopenharmony_ci variables from get_printer_attributes() and 3067b66cf61Sopenharmony_ci ippfind_based_uri_converter(). This is overkill for these 3077b66cf61Sopenharmony_ci quick operations and causes problems when shutting down 3087b66cf61Sopenharmony_ci cups-browsed (Issue #298). 3097b66cf61Sopenharmony_ci 3107b66cf61Sopenharmony_ciCHANGES IN V1.28.1 3117b66cf61Sopenharmony_ci 3127b66cf61Sopenharmony_ci - COPYING: Fixed several typos 3137b66cf61Sopenharmony_ci - libcupsfilters: Fixed typo in log message of 3147b66cf61Sopenharmony_ci get_printer_attributes functions. 3157b66cf61Sopenharmony_ci - cups-browsed: Fixed typos in configuration file and man page 3167b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator not suffix page size 3177b66cf61Sopenharmony_ci names with ".Borderless" if all page sizes would get this 3187b66cf61Sopenharmony_ci suffix, for example for printers which generally print 3197b66cf61Sopenharmony_ci borderless. 3207b66cf61Sopenharmony_ci - libcupsfilters: Added "faxPrefix" option for generated IPP 3217b66cf61Sopenharmony_ci Fax Out PPDs, so that this option also appears in print 3227b66cf61Sopenharmony_ci dialogs. 3237b66cf61Sopenharmony_ci - driverless: List addresses for local services correctly when 3247b66cf61Sopenharmony_ci using "--std-ipp-uris" (with "localhost" hostname). 3257b66cf61Sopenharmony_ci - driverless: Make calls of the ippfind utility somewhat faster, 3267b66cf61Sopenharmony_ci setting the timeout of ippfind to automatic. 3277b66cf61Sopenharmony_ci - libcupsfilters: Resolve DNS-SD-based URIs for local services 3287b66cf61Sopenharmony_ci correctly (using hostname "localhost"). 3297b66cf61Sopenharmony_ci - libcupsfilters: In get_printer_attributes() functions do not 3307b66cf61Sopenharmony_ci try to convert URIs which are not DNS-SD-based (Issue #294). 3317b66cf61Sopenharmony_ci - libcupsfilters: In get_printer_attributes() functions also 3327b66cf61Sopenharmony_ci support URIs with "dnssd://..." scheme. 3337b66cf61Sopenharmony_ci - libcupsfilters: Moved signal handling back into main 3347b66cf61Sopenharmony_ci function of the get_printer_attributes() variants, it got 3357b66cf61Sopenharmony_ci moved out accidentally. 3367b66cf61Sopenharmony_ci - driverless: For generating a PPD, independent whether via 3377b66cf61Sopenharmony_ci "driverless URI" or "driverless cat URI", always allow CUPS 3387b66cf61Sopenharmony_ci driver URIs (prefixed with "driverless: " or 3397b66cf61Sopenharmony_ci "driverless-fax:") and pure IPP URIs. 3407b66cf61Sopenharmony_ci - driverless: Accept clean IPP URIs also for 'driverless cat 3417b66cf61Sopenharmony_ci ...' (Issue #295, Pull request #296). 3427b66cf61Sopenharmony_ci - driverless-fax: Do not use fixed path for call of driverless 3437b66cf61Sopenharmony_ci itself (Pull request #293). 3447b66cf61Sopenharmony_ci 3457b66cf61Sopenharmony_ciCHANGES IN V1.28.0 3467b66cf61Sopenharmony_ci 3477b66cf61Sopenharmony_ci - driverless, driverless-fax, libcupsfilters: Added IPP Fax 3487b66cf61Sopenharmony_ci Out support. Now printer setup tools list an additional fax 3497b66cf61Sopenharmony_ci "driver". A fax queue is created by selecting this 3507b66cf61Sopenharmony_ci driver. Jobs have to be sent with "-o phone=12345" to supply 3517b66cf61Sopenharmony_ci the destination phone number (Pull request #280). 3527b66cf61Sopenharmony_ci - libfontembed: Silenced warning with gcc 10.x (Pull request 3537b66cf61Sopenharmony_ci #287). 3547b66cf61Sopenharmony_ci - cups-browsed: Added ./configure options 3557b66cf61Sopenharmony_ci --enable-saving-created-queues and 3567b66cf61Sopenharmony_ci --with-remote-cups-local-queue-naming (Pull request: #253, 3577b66cf61Sopenharmony_ci #285). 3587b66cf61Sopenharmony_ci - cups-browsed: Fixed several memory leaks, mainly from the 3597b66cf61Sopenharmony_ci code to merge printer IPP attributes for clusters (Pull 3607b66cf61Sopenharmony_ci request #281, #283). 3617b66cf61Sopenharmony_ci - driverless: Added "--std-ipp-uris" command line option to 3627b66cf61Sopenharmony_ci show listed URIs in standard hostname-based form (not the 3637b66cf61Sopenharmony_ci CUPS DNS-SD-service-name-based form. Only for manual call of 3647b66cf61Sopenharmony_ci the utility, for debugging purposes (Pull request #277). 3657b66cf61Sopenharmony_ci - libfontembed: Removed assert() calls which cause crashes 3667b66cf61Sopenharmony_ci when unsupported emoji fonts are installed (Issue #254, Pull 3677b66cf61Sopenharmony_ci request #276). 3687b66cf61Sopenharmony_ci - driverless: Added support for IPPS (use "ipps://..." URIs if 3697b66cf61Sopenharmony_ci possible, Issue #251, Pull request #270, #273). 3707b66cf61Sopenharmony_ci - gstoraster, gstopdf: When converting PostScript to PDF use 3717b66cf61Sopenharmony_ci the "pdfwrite" output device with "-dPDFSETTINGS=/default" 3727b66cf61Sopenharmony_ci instead of with "-dPDFSETTINGS=/printer". This reproduces 3737b66cf61Sopenharmony_ci bitmaps in the PostScript file with their original image 3747b66cf61Sopenharmony_ci quality (Issue #272). 3757b66cf61Sopenharmony_ci - cups-browsed: Limit log file size and add backup file for 3767b66cf61Sopenharmony_ci previous log entries. Introduced the configuration option 3777b66cf61Sopenharmony_ci DebugLogFileSize in cups-browsed.conf to set the actual 3787b66cf61Sopenharmony_ci limit in kilobytes or 0 to get the old behavior of an 3797b66cf61Sopenharmony_ci unlimited size for the log file (Issue #260, Pull request 3807b66cf61Sopenharmony_ci #267). 3817b66cf61Sopenharmony_ci - gstoraster, gstopdf: Do not apply margins when output format 3827b66cf61Sopenharmony_ci is PDF, as then we convert an incoming PostScript file to 3837b66cf61Sopenharmony_ci PDF (pre-pdftopdf) and do not prepare the pages for the 3847b66cf61Sopenharmony_ci printer (post-pdftopdf, Issue #250). 3857b66cf61Sopenharmony_ci - cups-browsed: Do not write any log messages directly to 3867b66cf61Sopenharmony_ci stderr, there were some concerning timeouts on queue 3877b66cf61Sopenharmony_ci creation (Issue #260). 3887b66cf61Sopenharmony_ci - Build system: Fix cross-compilation without DejaVu test font 3897b66cf61Sopenharmony_ci in configure.ac (Issue #262, Pull request #263). 3907b66cf61Sopenharmony_ci - libcupsfilters: Respect the fact that PPD keywords 3917b66cf61Sopenharmony_ci are case-sensitive when adding "*cupsManualCopies: True" in 3927b66cf61Sopenharmony_ci PPD file (Issue #242). 3937b66cf61Sopenharmony_ci - libcupsfilters: Older versions of libcups (< 2.3.1) 3947b66cf61Sopenharmony_ci had the enum name for fold-accordion finishings mistyped. 3957b66cf61Sopenharmony_ci Added a workaround. 3967b66cf61Sopenharmony_ci - cups-browsed: Remove left-over local queues from the 3977b66cf61Sopenharmony_ci previous session more quickly when CUPS legacy browsing is 3987b66cf61Sopenharmony_ci turned on. 3997b66cf61Sopenharmony_ci - cups-browsed: Left-over local queues from the previous 4007b66cf61Sopenharmony_ci session for which the corresponding remote printer did not 4017b66cf61Sopenharmony_ci appear again did not get removed as they were considered 4027b66cf61Sopenharmony_ci externally overwritten. 4037b66cf61Sopenharmony_ci - gstoraster, gstopdf: Add option "-dDoNumCopies" to 4047b66cf61Sopenharmony_ci Ghostscript command line if we are outputting PDF (called 4057b66cf61Sopenharmony_ci via gstopdf wrapper) and the number of copies supplied to 4067b66cf61Sopenharmony_ci CUPS is 1 (4th command line argument). In this case we 4077b66cf61Sopenharmony_ci convert incoming PostScript to PDF and need to respect 4087b66cf61Sopenharmony_ci embedded PostScript commands to implement the number of 4097b66cf61Sopenharmony_ci copies (Issue #255, CUPS Issue #5796, OpenSUSE bug 4107b66cf61Sopenharmony_ci #1173345). 4117b66cf61Sopenharmony_ci - imagetoraster: Potential null dereference fix (when no valid 4127b66cf61Sopenharmony_ci PPD is supplied, Pull request #256). 4137b66cf61Sopenharmony_ci - cups-browsed: Call cupsGetNamedDest() only if 4147b66cf61Sopenharmony_ci "OnlyUnsupportedByCUPS No" 4157b66cf61Sopenharmony_ci - Sample PPDs: Corrected ColorModel default for Generic PWG 4167b66cf61Sopenharmony_ci Raster PPD to Color (Pull request #247). 4177b66cf61Sopenharmony_ci - cups-browsed: Mark the temp queue as cups-browsed-generated 4187b66cf61Sopenharmony_ci during setting printer-is-shared (Pull request #246). 4197b66cf61Sopenharmony_ci - cups-browsed: Remove mentions of README and AUTHORS files in 4207b66cf61Sopenharmony_ci the man page (Pull request #244). 4217b66cf61Sopenharmony_ci - pclmtoraster: Added new filter to extract Raster data from 4227b66cf61Sopenharmony_ci raster-only PDF files, here for the special case of PCLm 4237b66cf61Sopenharmony_ci files (Pull request #243, #257). 4247b66cf61Sopenharmony_ci - Sample PPDs: In Generic-PDF_Printer-PDF.ppd add option to 4257b66cf61Sopenharmony_ci switch between color and grayscale printing (Pull request 4267b66cf61Sopenharmony_ci #237). 4277b66cf61Sopenharmony_ci 4287b66cf61Sopenharmony_ciCHANGES IN V1.27.5 4297b66cf61Sopenharmony_ci 4307b66cf61Sopenharmony_ci - cups-browsed: Do not remove the created local queues on 4317b66cf61Sopenharmony_ci shutdown, to avoid their re-creation on restart, so that 4327b66cf61Sopenharmony_ci desktops get no cluttered with notifications of new queues 4337b66cf61Sopenharmony_ci being created. One can return to the old behavior via 4347b66cf61Sopenharmony_ci "KeepGeneratedQueuesOnShutdown No" in cups-browsed.conf 4357b66cf61Sopenharmony_ci (Ubuntu bug #1869981, #1878241). 4367b66cf61Sopenharmony_ci - cups-browsed: Do not accept DNS-SD broadcasts of IPPS type 4377b66cf61Sopenharmony_ci of "remote" CUPS queues of another CUPS instance on the 4387b66cf61Sopenharmony_ci local machine. This way we get a local queue pointing to 4397b66cf61Sopenharmony_ci such a printer only in unencrypted version (IPP). For some 4407b66cf61Sopenharmony_ci reason printing from one CUPS server to another on the same 4417b66cf61Sopenharmony_ci machine works only unencrypted. 4427b66cf61Sopenharmony_ci - foomatic-rip: Map two-sided-short-edge to DuplexTumble (Pull 4437b66cf61Sopenharmony_ci request #236) 4447b66cf61Sopenharmony_ci - Build system: In configure.ac use AS_IF instead of 4457b66cf61Sopenharmony_ci AC_CHECK_FILE for font check (Issue #239, Pull request #240) 4467b66cf61Sopenharmony_ci - cups-browsed: Cleaned up code for determining to which CUPS 4477b66cf61Sopenharmony_ci server (host/port/domain socket) to connect, so that 4487b66cf61Sopenharmony_ci connection via DomainSocket cups-browsed.conf directive, 4497b66cf61Sopenharmony_ci CUPS_SERVER and IPP_PORT environment variables and all 4507b66cf61Sopenharmony_ci defaults and methods of libcups, including CUPS' client.conf 4517b66cf61Sopenharmony_ci work. 4527b66cf61Sopenharmony_ci - gstoraster, rastertopdf: Do not pass NULL to fprintf() (Pull 4537b66cf61Sopenharmony_ci request #230). 4547b66cf61Sopenharmony_ci - libcupsfilters: Silence compiler warning (Pull request #229). 4557b66cf61Sopenharmony_ci 4567b66cf61Sopenharmony_ciCHANGES IN V1.27.4 4577b66cf61Sopenharmony_ci 4587b66cf61Sopenharmony_ci - libcupsfilters, cups-browsed: Fix memory issues in 4597b66cf61Sopenharmony_ci ppdgenerator and cups-browsed (Pull request #226). 4607b66cf61Sopenharmony_ci - pdftops: Mention cups-filters README, CUPS README in debug 4617b66cf61Sopenharmony_ci log (Pull request #225). 4627b66cf61Sopenharmony_ci - pdftopdf, gstoraster, foomatic-rip: Use "-dSAFER" 4637b66cf61Sopenharmony_ci Ghostscript option, instead of the deprecated 4647b66cf61Sopenharmony_ci "-dPARANOIDSAFER" (Pull request #224). 4657b66cf61Sopenharmony_ci - Build System: Replace '==' in configure.ac test with '=', as 4667b66cf61Sopenharmony_ci the former is a bashism (Pull request #222). 4677b66cf61Sopenharmony_ci 4687b66cf61Sopenharmony_ciCHANGES IN V1.27.3 4697b66cf61Sopenharmony_ci 4707b66cf61Sopenharmony_ci - cups-browsed: Allow sharing local queues pointing to remote 4717b66cf61Sopenharmony_ci CUPS queues and re-sharing printers discovered via 4727b66cf61Sopenharmony_ci BrowsePoll by default, using 4737b66cf61Sopenharmony_ci AllowResharingRemoteCUPSPrinters and 4747b66cf61Sopenharmony_ci NewBrowsePollQueuesShared directives in cups-browsed.conf 4757b66cf61Sopenharmony_ci (Issue #101, Pull request #218). 4767b66cf61Sopenharmony_ci - driverless: Correctly unlink temporary file when generating 4777b66cf61Sopenharmony_ci PPD file (Pull request #220). 4787b66cf61Sopenharmony_ci - cups-browsed: Fixed memory leaks (Pull request #219). 4797b66cf61Sopenharmony_ci - foomatic-rip: PDF page count side-loads the PDF file to 4807b66cf61Sopenharmony_ci count the pages in, so it cannot be run in -dSAFER mode. Run 4817b66cf61Sopenharmony_ci even in -dNOSAFER mode to override the -dSAFER default of 4827b66cf61Sopenharmony_ci newer Ghostscript versions. This should not cause a security 4837b66cf61Sopenharmony_ci problem as we do not take an input file which could do 4847b66cf61Sopenharmony_ci arbitrary side-loads but we run hard-coded PostScript 4857b66cf61Sopenharmony_ci commands instead (Issue #216). 4867b66cf61Sopenharmony_ci - libfontembed: Add checks to the test programs to not 4877b66cf61Sopenharmony_ci segfault if the test font file is not found (Pull request 4887b66cf61Sopenharmony_ci #214). 4897b66cf61Sopenharmony_ci - Build System: Let ./configure fail if the supplied test font 4907b66cf61Sopenharmony_ci file path (or the default) does not exist (Pull request 4917b66cf61Sopenharmony_ci #214), also use the "find" command to find the test font 4927b66cf61Sopenharmony_ci file DejaVuSans.ttf under /usr/share/fonts, as every 4937b66cf61Sopenharmony_ci distribution has it somewhere else. 4947b66cf61Sopenharmony_ci 4957b66cf61Sopenharmony_ciCHANGES IN V1.27.2 4967b66cf61Sopenharmony_ci 4977b66cf61Sopenharmony_ci - foomatic-rip: In some PostScript input files it was possible 4987b66cf61Sopenharmony_ci that option settings did not get inserted or lines inserted 4997b66cf61Sopenharmony_ci on the wron place (Issue #208, Pull request #210). 5007b66cf61Sopenharmony_ci - foomatic-rip: For the PDF page count call Ghostscript in 5017b66cf61Sopenharmony_ci sandbox mode and fix pointer arithmetics (Pull request 5027b66cf61Sopenharmony_ci #212). 5037b66cf61Sopenharmony_ci - foomatic-rip: Zero-page-job handling changes made the last 5047b66cf61Sopenharmony_ci page of PostScript files not printed, also turning one-page 5057b66cf61Sopenharmony_ci jobs into zero-page jobs (Issue #200, Issue #206, Issue 5067b66cf61Sopenharmony_ci #208, Pull request #209, Pull request #210, Pull request 5077b66cf61Sopenharmony_ci #211). 5087b66cf61Sopenharmony_ci - cups-browsed: check_printer_with_option() function: 5097b66cf61Sopenharmony_ci Initialize the value, add further checks, freeing memory and 5107b66cf61Sopenharmony_ci stop allocating magic numbers (Pull request #204). 5117b66cf61Sopenharmony_ci - cups-browsed: Additional checks against crashes in the 5127b66cf61Sopenharmony_ci is_local_hostname() function (Ubuntu bug #1863716) 5137b66cf61Sopenharmony_ci 5147b66cf61Sopenharmony_ciCHANGES IN V1.27.1 5157b66cf61Sopenharmony_ci 5167b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator not put any dashes 5177b66cf61Sopenharmony_ci into the PPD option and choice names when translating them 5187b66cf61Sopenharmony_ci from IPP attribute names, to avoid that on the 5197b66cf61Sopenharmony_ci back-translation by CUPS no double-dashes are 5207b66cf61Sopenharmony_ci generated. This broke paper tray selections with tray names 5217b66cf61Sopenharmony_ci like "tray-1", "tray-2", ... (Issue #192, Issue #201, Debian 5227b66cf61Sopenharmony_ci bug #949315). 5237b66cf61Sopenharmony_ci - foomatic-rip: Fixed segfault when PRINTER environment 5247b66cf61Sopenharmony_ci variable is not supplied. 5257b66cf61Sopenharmony_ci - pdftopdf, pdftops, gstoraster, gstopdf, gstopxl, 5267b66cf61Sopenharmony_ci rastertoescpx, rastertopclx, foomatic-rip: Handle zero-page 5277b66cf61Sopenharmony_ci jobs (Issue #117, Pull request #196, Pull request #197, Pull 5287b66cf61Sopenharmony_ci request #198, Pull request #200). 5297b66cf61Sopenharmony_ci - texttopdf: Added support for CJK (double-width) fonts (Issue 5307b66cf61Sopenharmony_ci #135, Pull request #199). 5317b66cf61Sopenharmony_ci - cups-browsed: Switched default for "CreateIPPPrinterQueues" 5327b66cf61Sopenharmony_ci from "local-only" to "All". The configure script options 5337b66cf61Sopenharmony_ci "--enable-auto-setup-local-only" and 5347b66cf61Sopenharmony_ci "--enable-auto-setup-driverless-only" can be used to change 5357b66cf61Sopenharmony_ci this default (Debian bug #921252). 5367b66cf61Sopenharmony_ci - rastertoescpx: Fixed wrong freeing of a buffer. 5377b66cf61Sopenharmony_ci - pdftops: Added options "crop-to-fit" and "fill" to the 5387b66cf61Sopenharmony_ci pdftopdf options which the pstops called by pdftops should 5397b66cf61Sopenharmony_ci not apply a second time. 5407b66cf61Sopenharmony_ci - pdftops: Added missing "-sstdout=%stderr" to Ghostscript 5417b66cf61Sopenharmony_ci command line, to assure that all messages are redirected to 5427b66cf61Sopenharmony_ci stderr and do not mix up with the output data. 5437b66cf61Sopenharmony_ci 5447b66cf61Sopenharmony_ciCHANGES IN V1.27.0 5457b66cf61Sopenharmony_ci 5467b66cf61Sopenharmony_ci - cups-browsed: Eliminate the use of the local CUPS daemon's 5477b66cf61Sopenharmony_ci (the CUPS we are attached to) port number completely, so 5487b66cf61Sopenharmony_ci that for attaching to an arbitrary local CUPS daemon 5497b66cf61Sopenharmony_ci listening on an arbitrary port (or even not listening on 5507b66cf61Sopenharmony_ci localhost at all) it is enough to tell cups-browsed the 5517b66cf61Sopenharmony_ci domain socket the CUPS daemon is listening on. 5527b66cf61Sopenharmony_ci - cups-browsed, libcupsfilters: Identify DNS-SD-reported 5537b66cf61Sopenharmony_ci printers as of the local CUPS daemon via UUID and not via 5547b66cf61Sopenharmony_ci the port on which the local CUPS is listening, as we do not 5557b66cf61Sopenharmony_ci always have this port available. 5567b66cf61Sopenharmony_ci - cups-browsed: Leave the port for legacy CUPS browsing and 5577b66cf61Sopenharmony_ci broadcasting on 631, do not use a possible alternative port 5587b66cf61Sopenharmony_ci of the CUPS we are attached to. The legacy CUPS servers we 5597b66cf61Sopenharmony_ci communicate with are always remote ones. 5607b66cf61Sopenharmony_ci - libcupsfilters: in the PPD generator prioritize 5617b66cf61Sopenharmony_ci print-color-mode-supported against 5627b66cf61Sopenharmony_ci pwg-raster-document-type-supported (Issue #186, Pull request 5637b66cf61Sopenharmony_ci #188) 5647b66cf61Sopenharmony_ci - rastertopdf, rastertops, texttopdf, pdftoraster, 5657b66cf61Sopenharmony_ci mupdftoraster: Handle zero-page jobs, corrections on 5667b66cf61Sopenharmony_ci zero-page job handling (Issue #117) 5677b66cf61Sopenharmony_ci - cups-browsed: When restarting after a crash make sure that 5687b66cf61Sopenharmony_ci local queue names have same upper/lower case as before. 5697b66cf61Sopenharmony_ci - cups-browsed: Small code improvements to reduce crash 5707b66cf61Sopenharmony_ci probability. 5717b66cf61Sopenharmony_ci 5727b66cf61Sopenharmony_ciCHANGES IN V1.26.2 5737b66cf61Sopenharmony_ci 5747b66cf61Sopenharmony_ci - cups-browsed: Added crash guards to avoid crashes in case 5757b66cf61Sopenharmony_ci the dummy printer entry for a deleted master entry is used. 5767b66cf61Sopenharmony_ci - cups-browsed: Set the port of the local CUPS daemon to be 5777b66cf61Sopenharmony_ci used according to the IPP_PORT environment variable. 5787b66cf61Sopenharmony_ci - cups-browsed: Eliminated the use of the cupsGetPPD2() 5797b66cf61Sopenharmony_ci function of libcups completely, also the remaining calls 5807b66cf61Sopenharmony_ci in the record_printer_options() and update_cups_queues() 5817b66cf61Sopenharmony_ci functions, the former causing incomplete recording of 5827b66cf61Sopenharmony_ci option settings and the latter use of CUPS-generated 5837b66cf61Sopenharmony_ci PPDs not working when CUPS is running on a non-standard 5847b66cf61Sopenharmony_ci port. 5857b66cf61Sopenharmony_ci - cups-browsed: Eliminated the use of the cupsGetPPD2() 5867b66cf61Sopenharmony_ci function of libcups in queue_overwritten(). The function 5877b66cf61Sopenharmony_ci actually loads the queue's PPD file if the queue is on a 5887b66cf61Sopenharmony_ci local CUPS on port 631. Due to a bug the function fails if 5897b66cf61Sopenharmony_ci an alternative port is used. This lets queue_overwritten() 5907b66cf61Sopenharmony_ci always assume that the PPD got removed and therefore the 5917b66cf61Sopenharmony_ci queue got overwritten. So queues got released from 5927b66cf61Sopenharmony_ci cups-browsed if it was printed on them or if they were 5937b66cf61Sopenharmony_ci supposed to be removed on shutdown. 5947b66cf61Sopenharmony_ci - foomatic-rip: Fixed compilation with -fno-common. Starting 5957b66cf61Sopenharmony_ci from the upcoming GCC 10, the default of the -fcommon option 5967b66cf61Sopenharmony_ci will change to -fno-common. This causes compilation errors 5977b66cf61Sopenharmony_ci in foomatic-rip due to missing "external" declarations. 5987b66cf61Sopenharmony_ci (Pull request #184). 5997b66cf61Sopenharmony_ci 6007b66cf61Sopenharmony_ciCHANGES IN V1.26.1 6017b66cf61Sopenharmony_ci 6027b66cf61Sopenharmony_ci - build system: Install the "implicitclass" backend with 6037b66cf61Sopenharmony_ci "-rwx------" permissions, so that CUPS executes it as root, 6047b66cf61Sopenharmony_ci as the "ipp" CUPS backend also has to be executed as root 6057b66cf61Sopenharmony_ci (Issue #183). 6067b66cf61Sopenharmony_ci - build system: Fixed setting permissions when installing the 6077b66cf61Sopenharmony_ci "cups-brf" backend. 6087b66cf61Sopenharmony_ci - libcupsfilters: When using the 6097b66cf61Sopenharmony_ci "media-{bottom,left,right,top}-margin-supported" IPP 6107b66cf61Sopenharmony_ci attributes (needed if we have no "media-col-database"), use 6117b66cf61Sopenharmony_ci the minimum and not the maximum margins, this allows 6127b66cf61Sopenharmony_ci accessing more of the printer's capabilities, especially for 6137b66cf61Sopenharmony_ci legacy printers which do not provide sufficient information 6147b66cf61Sopenharmony_ci (Issue #22). 6157b66cf61Sopenharmony_ci 6167b66cf61Sopenharmony_ciCHANGES IN V1.26.0 6177b66cf61Sopenharmony_ci 6187b66cf61Sopenharmony_ci - cups-browsed: When generating local queues for printers for 6197b66cf61Sopenharmony_ci which the local CUPS daemon would provide temporary queues 6207b66cf61Sopenharmony_ci use the PPDs generated by libcupsfilters and not the ones 6217b66cf61Sopenharmony_ci generated by CUPS. The PPD generation of libcupsfilters also 6227b66cf61Sopenharmony_ci works with IPP-1.x-only printers, printers which do not 6237b66cf61Sopenharmony_ci support to query "media-col-database" and printers which 6247b66cf61Sopenharmony_ci support driverless printing only via PCLm. This can be 6257b66cf61Sopenharmony_ci changed via the "UseCUPSGeneratedPPDs" directive in 6267b66cf61Sopenharmony_ci cups-browsed.conf (Issue #22). 6277b66cf61Sopenharmony_ci - libcupsfilters: Re-structured the get_printer_attributes() 6287b66cf61Sopenharmony_ci function to remove the recursive calls for the fallbacks, to 6297b66cf61Sopenharmony_ci check required attributes in the response only if requested, 6307b66cf61Sopenharmony_ci and to fully integrate the method of getting a suitable 6317b66cf61Sopenharmony_ci response for a full printer capability list also if the 6327b66cf61Sopenharmony_ci printer is only IPP 1.1 or does not support the 6337b66cf61Sopenharmony_ci "media-col-database" attribute (Issue #22, Issue #163). 6347b66cf61Sopenharmony_ci - libcupsfilters, cups-browsed, driverless: Moved the funtions 6357b66cf61Sopenharmony_ci get_printer_attributes() and resolve_uri() from cups-browsed 6367b66cf61Sopenharmony_ci into libcupsfilters, to share them with the driverless 6377b66cf61Sopenharmony_ci utility (Issue #22). 6387b66cf61Sopenharmony_ci - implicitclass: Fixed wrong stdout redirection from the 6397b66cf61Sopenharmony_ci filters to the IPP backend and hard-coded path for "ipp" 6407b66cf61Sopenharmony_ci backend call (Possible fix for Issue #163, Issue #181). 6417b66cf61Sopenharmony_ci - cups-browsed, driverless: Use DNS-SD-service-name-based URIs 6427b66cf61Sopenharmony_ci instead of host-name-based ones, as CUPS also does. In 6437b66cf61Sopenharmony_ci cups-browsed one can switch back to the conventional 6447b66cf61Sopenharmony_ci host-name-based URIs via the new "DNSSDBasedDeviceURIs" 6457b66cf61Sopenharmony_ci configuration option. Note that cups-browsed always uses 6467b66cf61Sopenharmony_ci conventional URIs for printers discovered via legacy CUPS 6477b66cf61Sopenharmony_ci browsing or LDAP. 6487b66cf61Sopenharmony_ci - cups-browsed: When removing a CUPS queue, do not consider an 6497b66cf61Sopenharmony_ci error (and retry) if the queue does not actually exist. Also 6507b66cf61Sopenharmony_ci ignore errors when checking whether there are still 6517b66cf61Sopenharmony_ci jobs. This way when a new queue gets created and the 6527b66cf61Sopenharmony_ci generation of the PPD file fails the attempt to remove this 6537b66cf61Sopenharmony_ci non-existing queueu when removing the printer entry does not 6547b66cf61Sopenharmony_ci cause any problem. 6557b66cf61Sopenharmony_ci - cups-browsed: Improved the fallback mechanism of the 6567b66cf61Sopenharmony_ci get_printer_attributes() function. Instead of considering 6577b66cf61Sopenharmony_ci the request failed by the content of the response only when 6587b66cf61Sopenharmony_ci not more than the two language atrributes come out, we check 6597b66cf61Sopenharmony_ci through a list of required attributes whether they are all 6607b66cf61Sopenharmony_ci there. In addition, we actually fail when all callbacks 6617b66cf61Sopenharmony_ci have failed (Issue #22). 6627b66cf61Sopenharmony_ci - cups-browsed: Introduced new configuration options 6637b66cf61Sopenharmony_ci "UpdateCUPSQueuesMaxPerCall" and 6647b66cf61Sopenharmony_ci "PauseBetweenCUPSQueueUpdates" to limit the amount of local 6657b66cf61Sopenharmony_ci CUPS queues created, modified, or removed in a single event 6667b66cf61Sopenharmony_ci callback. Before, when there were thousands of printers in 6677b66cf61Sopenharmony_ci the network, cups-browsed got blocked for other tasks, like 6687b66cf61Sopenharmony_ci assigning a destination printer for a cluster print job 6697b66cf61Sopenharmony_ci (Issue #163). 6707b66cf61Sopenharmony_ci 6717b66cf61Sopenharmony_ciCHANGES IN V1.25.13 6727b66cf61Sopenharmony_ci 6737b66cf61Sopenharmony_ci - implicitclass: When passing on the job via the "ipp" CUPS 6747b66cf61Sopenharmony_ci backend, set argv[0] to the destination printer URI (Pull 6757b66cf61Sopenharmony_ci request #173). 6767b66cf61Sopenharmony_ci - cups-browsed: Added another fallback to the 6777b66cf61Sopenharmony_ci get-printer-attributes IPP request: Now after failing the 6787b66cf61Sopenharmony_ci standard request ("all", "media-col-database") with both IPP 6797b66cf61Sopenharmony_ci 2.0 and IPP 1.1, try simply "all", without 6807b66cf61Sopenharmony_ci "media-col-database" (Pull request #173). 6817b66cf61Sopenharmony_ci - cups-browsed: Do not set printer-is-shared for remote CUPS 6827b66cf61Sopenharmony_ci queue when making a temporary queue permanent (Pull request 6837b66cf61Sopenharmony_ci #180). 6847b66cf61Sopenharmony_ci - cups-browsed: Fix leaks of ipp_t struct and load balancing 6857b66cf61Sopenharmony_ci on the servers (Pull request #179). 6867b66cf61Sopenharmony_ci - cups-browsed, implicitclass: Prioritize Apple Raster against 6877b66cf61Sopenharmony_ci PWG Raster when selecting the PDL for the destination 6887b66cf61Sopenharmony_ci printer for a job sent to a cluster, also cleaned up the PDL 6897b66cf61Sopenharmony_ci selector code and added PostScript support. 6907b66cf61Sopenharmony_ci - libcupsfilters: Updated the PPD generator adding all changes 6917b66cf61Sopenharmony_ci of the PPD generator of CUPS: Support for "job-account-id", 6927b66cf61Sopenharmony_ci "job-accounting-user-id", "job-password", finishing options 6937b66cf61Sopenharmony_ci "trim-..." added, finishing options and 6947b66cf61Sopenharmony_ci "finishing-col-database" support synced with CUPS. 6957b66cf61Sopenharmony_ci - libcupsfilters: In the PPD generator get the mode for 6967b66cf61Sopenharmony_ci handling the back sides of the sheets when printing duplex 6977b66cf61Sopenharmony_ci preferrably from the "urf-supported" attribute. 6987b66cf61Sopenharmony_ci - libcupsfilters: Fixed bug that the PPD generator did not 6997b66cf61Sopenharmony_ci output the "*CloseUI: *ColorModel" line when it did not 7007b66cf61Sopenharmony_ci determine a default setting for "ColorModel". 7017b66cf61Sopenharmony_ci - cups-browsed: Added some missing memory allocations leading 7027b66cf61Sopenharmony_ci to a segfault (Issue #175). 7037b66cf61Sopenharmony_ci 7047b66cf61Sopenharmony_ciCHANGES IN V1.25.12 7057b66cf61Sopenharmony_ci 7067b66cf61Sopenharmony_ci - libcupsfilters: Use the text names "Draft", "Normal", and 7077b66cf61Sopenharmony_ci "High" instead of 3, 4, and 5 as choice names for the 7087b66cf61Sopenharmony_ci "cupsPrintQuality" option as CUPS does (Issue #171). 7097b66cf61Sopenharmony_ci - libcupsfilters: If a printer supports both Apple Raster and 7107b66cf61Sopenharmony_ci PWG Raster let the generated PPD use Apple Raster as there 7117b66cf61Sopenharmony_ci are several printers which report PWG Raster support but do 7127b66cf61Sopenharmony_ci not actually print PWG Raster (Pull reguest #168, Issue 7137b66cf61Sopenharmony_ci #171, CUPS issue #5238). 7147b66cf61Sopenharmony_ci - cups-browsed: Fix unset location check to use DNS-SD field 7157b66cf61Sopenharmony_ci (Pull request #172). 7167b66cf61Sopenharmony_ci - libcupsfilters, beh, implicitclass, foomatic-rip, 7177b66cf61Sopenharmony_ci imagetopdf, mupdftoraster, pdftops, sys5ippprinter, 7187b66cf61Sopenharmony_ci cups-browsed, driverless: Silenced all compiler warnings to 7197b66cf61Sopenharmony_ci make the build process of cups-filters completely free of 7207b66cf61Sopenharmony_ci warnings. 7217b66cf61Sopenharmony_ci - pdftops: Fixed crash when using filter without PPD file. 7227b66cf61Sopenharmony_ci - pdftops: If printing grayscale jobs with Ghostscript as PDF 7237b66cf61Sopenharmony_ci renderer, add "-sProcessColorModel=DeviceGray" to 7247b66cf61Sopenharmony_ci Ghostscript command line. 7257b66cf61Sopenharmony_ci - pdftops: Do not use the ugly "pdftops -level1 ..." 7267b66cf61Sopenharmony_ci workaround to get grayscale PostScript output from 7277b66cf61Sopenharmony_ci Poppler. It leads to huge output files with Poppler's 7287b66cf61Sopenharmony_ci "pdftops" utility and does not work at all with 7297b66cf61Sopenharmony_ci "pdftocairo". Poppler itself does not support PostScript 7307b66cf61Sopenharmony_ci output converted to grayscale. Issue a warning with the hint 7317b66cf61Sopenharmony_ci to use Ghostscript or MuPDF as PDF renderer (Issue #169). 7327b66cf61Sopenharmony_ci - libcupsfilters: In the cupsRasterParseIPPOptions() 7337b66cf61Sopenharmony_ci accept also "Mono", "Monochrome", and "Gray" as color 7347b66cf61Sopenharmony_ci space names. 7357b66cf61Sopenharmony_ci 7367b66cf61Sopenharmony_ciCHANGES IN V1.25.11 7377b66cf61Sopenharmony_ci 7387b66cf61Sopenharmony_ci - cups-browsed: Really accept entries without printer name 7397b66cf61Sopenharmony_ci reported on a job status request (Issue #163). 7407b66cf61Sopenharmony_ci - cups-browsed: Strip IPP attribute values reported by the 7417b66cf61Sopenharmony_ci printer on a get-printer-attributes request from white 7427b66cf61Sopenharmony_ci space (Pull request #166). 7437b66cf61Sopenharmony_ci 7447b66cf61Sopenharmony_ciCHANGES IN V1.25.10 7457b66cf61Sopenharmony_ci 7467b66cf61Sopenharmony_ci - libcupsfilters: Added NULL checks when handling page size 7477b66cf61Sopenharmony_ci names as some of the page sizes in CUPS' PWG media list have 7487b66cf61Sopenharmony_ci a NULL PPD name (Ubuntu bug #1847488). 7497b66cf61Sopenharmony_ci 7507b66cf61Sopenharmony_ciCHANGES IN V1.25.9 7517b66cf61Sopenharmony_ci 7527b66cf61Sopenharmony_ci - cups-browsed: Fix leaks in get_printer_attributes() function. 7537b66cf61Sopenharmony_ci - cups-browsed: Avoid infinite recursion on IPP 1.1 fallback. 7547b66cf61Sopenharmony_ci 7557b66cf61Sopenharmony_ciCHANGES IN V1.25.8 7567b66cf61Sopenharmony_ci 7577b66cf61Sopenharmony_ci - cups-browsed: On a job status request accept also entries 7587b66cf61Sopenharmony_ci without the printer name being reported (Issue #163). 7597b66cf61Sopenharmony_ci - cups-browsed: Fall back to IPP 1.1 if a 7607b66cf61Sopenharmony_ci get-printer-attributes IPP request with IPP 2.x fails (Issue 7617b66cf61Sopenharmony_ci #124, Issue #163). 7627b66cf61Sopenharmony_ci - gstoraster: Use ".setfilladjust2" instead of the 7637b66cf61Sopenharmony_ci undocumented ".setfilladjust" PostScript command for 7647b66cf61Sopenharmony_ci Center-of-Pixel method to fill paths (Issue #164). 7657b66cf61Sopenharmony_ci 7667b66cf61Sopenharmony_ciCHANGES IN V1.25.7 7677b66cf61Sopenharmony_ci 7687b66cf61Sopenharmony_ci - implicitclass, libcupsfilters: Fixes to solve an assertion 7697b66cf61Sopenharmony_ci error and printing to an Apple Raster printer (Issue #162, 7707b66cf61Sopenharmony_ci Ubuntu bug #1845286, Ubuntu bug #1845548). 7717b66cf61Sopenharmony_ci - cups-browsed: Do not try to resolve the network interface 7727b66cf61Sopenharmony_ci name on Avahi messages which are not interface-related (like 7737b66cf61Sopenharmony_ci "All for now"or "Cache exhausted", Issue #163). 7747b66cf61Sopenharmony_ci - Build system: The helper script ln-srf to build on systems 7757b66cf61Sopenharmony_ci with old ln was not included in the release tarballs (Issue 7767b66cf61Sopenharmony_ci #161). 7777b66cf61Sopenharmony_ci - pdftoraster: Fixed some bugs in output bitmap generation ( 7787b66cf61Sopenharmony_ci writePageImage() function): Segfault on output of 7797b66cf61Sopenharmony_ci up-side-down pages (back side when printing duplex on some 7807b66cf61Sopenharmony_ci printers), margin offsets not taken into account on 7817b66cf61Sopenharmony_ci monochrome jobs, CUPS_CSPACE_W color space not recognized as 7827b66cf61Sopenharmony_ci monochrome (Ubuntu bug #1845286). 7837b66cf61Sopenharmony_ci 7847b66cf61Sopenharmony_ciCHANGES IN V1.25.6 7857b66cf61Sopenharmony_ci 7867b66cf61Sopenharmony_ci - implicitclass: Make sure the destination printer gets always 7877b66cf61Sopenharmony_ci set and do not pass on the cups-browsed-dest-printer when 7887b66cf61Sopenharmony_ci sending the job to the final destination (Issue #152, Pull 7897b66cf61Sopenharmony_ci request #159). 7907b66cf61Sopenharmony_ci - Build system: Support old ln versions without the -r option 7917b66cf61Sopenharmony_ci (Pull request #154, #157). 7927b66cf61Sopenharmony_ci - texttotext: Link with libiconv if needed (Pull request 7937b66cf61Sopenharmony_ci #155, #158). 7947b66cf61Sopenharmony_ci - foomatic-rip: Fix argument representation for raw queue 7957b66cf61Sopenharmony_ci debug mesaage (Pull request #153). 7967b66cf61Sopenharmony_ci 7977b66cf61Sopenharmony_ciCHANGES IN V1.25.5 7987b66cf61Sopenharmony_ci 7997b66cf61Sopenharmony_ci - bannertopdf: Added missing "#include <cstring>" to pdf.cxx 8007b66cf61Sopenharmony_ci so that bannertopdf correctly builds with QPDF 9.0.0 (Issue 8017b66cf61Sopenharmony_ci #134, Issue #151, Gentoo bug #693498). 8027b66cf61Sopenharmony_ci - rastertopdf: Let the getIPPColorProfileName() function not 8037b66cf61Sopenharmony_ci return a pointer to a local variable (clang warning, Issue 8047b66cf61Sopenharmony_ci #150). 8057b66cf61Sopenharmony_ci - cups-browsed: If a locally generated queue (usually with 8067b66cf61Sopenharmony_ci "implicitclass://..." URI) left over from a previous 8077b66cf61Sopenharmony_ci (crashed) session is picked up on startup, do not set the 8087b66cf61Sopenharmony_ci URI as the remote printer's URI and do not cause a fatal 8097b66cf61Sopenharmony_ci error on a failed get-printer-attributes IPP request (Issue 8107b66cf61Sopenharmony_ci #148, Debian bug #939316). 8117b66cf61Sopenharmony_ci - pdftopdf: Do not preserve encryption, since the output 8127b66cf61Sopenharmony_ci already goes into the printer (Issue #146, Pull request 8137b66cf61Sopenharmony_ci #147). 8147b66cf61Sopenharmony_ci 8157b66cf61Sopenharmony_ciCHANGES IN V1.25.4 8167b66cf61Sopenharmony_ci 8177b66cf61Sopenharmony_ci - imagetoraster: Do not call imagetops and pstoraster for 8187b66cf61Sopenharmony_ci classifications and page labels as these filters are not 8197b66cf61Sopenharmony_ci included any more with cups-filters. Classifications and 8207b66cf61Sopenharmony_ci page labels are currently not supported for direct image 8217b66cf61Sopenharmony_ci printing, only for PDF or PostScript input (which goes 8227b66cf61Sopenharmony_ci through pdftopdf). 8237b66cf61Sopenharmony_ci - imagetoraster, imagetopdf: Fixed auto-rotation of images to 8247b66cf61Sopenharmony_ci fit output page best (Issue #145). 8257b66cf61Sopenharmony_ci - pdftoraster: If the PPD contains several equally-sized page 8267b66cf61Sopenharmony_ci size entries which match the size of the input page and one 8277b66cf61Sopenharmony_ci is the size selected by the user via the "PageSize" or 8287b66cf61Sopenharmony_ci "media" option (or the default selection in the PPD) then 8297b66cf61Sopenharmony_ci prefer this one instead of simply the first matching one. 8307b66cf61Sopenharmony_ci - pdftoraster: If the input page size cannot be matched with 8317b66cf61Sopenharmony_ci one of the PPD's page sizes it is considered a custom size, 8327b66cf61Sopenharmony_ci fill the page size name field of the CUPS Raster header with 8337b66cf61Sopenharmony_ci "Custom.XXXxYYY" then. 8347b66cf61Sopenharmony_ci - pdftoraster: Match the input page size with a page size in 8357b66cf61Sopenharmony_ci the PPD only if the differences of the dimensions are less 8367b66cf61Sopenharmony_ci than 1%, also match the input page size against the 8377b66cf61Sopenharmony_ci imageable area of the PPD's page sizes if no match with the 8387b66cf61Sopenharmony_ci full page size is found (Issue #138). 8397b66cf61Sopenharmony_ci 8407b66cf61Sopenharmony_ciCHANGES IN V1.25.3 8417b66cf61Sopenharmony_ci 8427b66cf61Sopenharmony_ci - Sample PPDs: In HP-Color_LaserJet_CM3530_MFP-PDF.ppd renamed 8437b66cf61Sopenharmony_ci "custom" choice of the option "stapleoption" to "customsize" 8447b66cf61Sopenharmony_ci as from CUPS 2.2.12 on "custom" is not accepted any more as a 8457b66cf61Sopenharmony_ci choice name in a PPD file. 8467b66cf61Sopenharmony_ci - cups-browsed: Fixed check whether the remote printer understands 8477b66cf61Sopenharmony_ci PWG Raster (Issue #141). 8487b66cf61Sopenharmony_ci 8497b66cf61Sopenharmony_ciCHANGES IN V1.25.2 8507b66cf61Sopenharmony_ci 8517b66cf61Sopenharmony_ci - foomatic-rip: Fixed segmentation fault when running 8527b66cf61Sopenharmony_ci foomatic-rip by hand and the PRINTER environment variable is 8537b66cf61Sopenharmony_ci not set (Pull request #139). 8547b66cf61Sopenharmony_ci - cups-browsed: Added note to cups-browsed.conf and man page 8557b66cf61Sopenharmony_ci about IP-based URIs depending on the network interface used. 8567b66cf61Sopenharmony_ci - cups-browsed: For each DNS-SD-discovered printer register 8577b66cf61Sopenharmony_ci each DNS-SD discovery instance with network interface, 8587b66cf61Sopenharmony_ci family, and IPP type. When DNS-SD messages of instances 8597b66cf61Sopenharmony_ci disappearing show up, only unregister this instance and 8607b66cf61Sopenharmony_ci remove the printer only if no instance is left. This 8617b66cf61Sopenharmony_ci prevents a local queue of a still available printer being 8627b66cf61Sopenharmony_ci removed when Wi-Fi (= one interface) is turned off (Issue 8637b66cf61Sopenharmony_ci #136). 8647b66cf61Sopenharmony_ci - cups-browsed: If a remote printer is served from the local 8657b66cf61Sopenharmony_ci machine, prefer the "localhost"/loopback interface URI. 8667b66cf61Sopenharmony_ci - cups-browsed: If a remote printer is discovered more than 8677b66cf61Sopenharmony_ci once, use the new instance only if it has no downgrades and 8687b66cf61Sopenharmony_ci at least one upgrade compared to the old one. Features 8697b66cf61Sopenharmony_ci currently compared are IPP/IPPS, loopback interface or not, 8707b66cf61Sopenharmony_ci and discovery via CUPS legacy/LDAP/DNS-SD. 8717b66cf61Sopenharmony_ci - cups-browsed: If an Avahi-discovered entry comes through the 8727b66cf61Sopenharmony_ci "lo" interface, always use the host name "localhost". Use 8737b66cf61Sopenharmony_ci IP addresses instead of host names only if explicitly 8747b66cf61Sopenharmony_ci requested. 8757b66cf61Sopenharmony_ci - cups-browsed: Consider remote printer entries also as from 8767b66cf61Sopenharmony_ci the same printer if one has the local machine's network name 8777b66cf61Sopenharmony_ci and the other "localhost" as host name (Issue #136). 8787b66cf61Sopenharmony_ci 8797b66cf61Sopenharmony_ciCHANGES IN V1.25.1 8807b66cf61Sopenharmony_ci 8817b66cf61Sopenharmony_ci - imagetopdf: Fixed crash when no PPD file was supplied (Pull 8827b66cf61Sopenharmony_ci request #133). 8837b66cf61Sopenharmony_ci - pdftoraster: Fixed offset issues leading to segmentation 8847b66cf61Sopenharmony_ci faults (Issue #131, Pull request #132). 8857b66cf61Sopenharmony_ci - pdftoraster: Added anti-aliasing for better raster image 8867b66cf61Sopenharmony_ci quality (Pull request #129). 8877b66cf61Sopenharmony_ci - pdftoraster: Added graceful handling of zero-page input 8887b66cf61Sopenharmony_ci (Issue #117, Pull request #127). 8897b66cf61Sopenharmony_ci 8907b66cf61Sopenharmony_ciCHANGES IN V1.25.0 8917b66cf61Sopenharmony_ci 8927b66cf61Sopenharmony_ci - pdftoijs, pdftoopvp: Removed these deprecated filters 8937b66cf61Sopenharmony_ci completely as there is no demand for them any more. They 8947b66cf61Sopenharmony_ci also used unstable, undocumented APIs of Poppler. 8957b66cf61Sopenharmony_ci - pdftoraster: Changed from using unstable, undocumented APIs 8967b66cf61Sopenharmony_ci of Poppler to stable, documented ones, to improve 8977b66cf61Sopenharmony_ci maintainability of this filter, and with it of the 8987b66cf61Sopenharmony_ci cups-filters package. Thanks to Tanmay Anand for 8997b66cf61Sopenharmony_ci contributing this as his Google Summer of Code 2019 project. 9007b66cf61Sopenharmony_ci - libcupsfilters: Added support for color spaces CMY and RGBW 9017b66cf61Sopenharmony_ci when using filters without PPD file (mainly for development 9027b66cf61Sopenharmony_ci and debugging, option "print-color-mode" with values 9037b66cf61Sopenharmony_ci "cmy-XX" and "rgbw-XX" with XX being the number of bits per 9047b66cf61Sopenharmony_ci color). 9057b66cf61Sopenharmony_ci 9067b66cf61Sopenharmony_ciCHANGES IN V1.24.0 9077b66cf61Sopenharmony_ci 9087b66cf61Sopenharmony_ci - cups-browsed: Integration of Deepak Patankar's Google Summer 9097b66cf61Sopenharmony_ci of Code 2018 project with the main goal of clustering 9107b66cf61Sopenharmony_ci different printers and automatically selecting the 9117b66cf61Sopenharmony_ci destination printers by job content and option/attribute 9127b66cf61Sopenharmony_ci settings. All changes of this release are done by Deepak as 9137b66cf61Sopenharmony_ci parts of his project. 9147b66cf61Sopenharmony_ci - cups-browsed, implicitclass: Support for mixed clusters of 9157b66cf61Sopenharmony_ci remote CUPS queues and IPP network printers. For this PPD 9167b66cf61Sopenharmony_ci files of remote CUPS queues are generated by cups-browsed 9177b66cf61Sopenharmony_ci based on IPP queries, as for native IPP printers, the number 9187b66cf61Sopenharmony_ci of jobs for load balancing is polled in a way that it works 9197b66cf61Sopenharmony_ci also with native IPP printers, the implicitclass backend 9207b66cf61Sopenharmony_ci sends jobs directky to the printer instead of re-queueing 9217b66cf61Sopenharmony_ci them via CUPS. 9227b66cf61Sopenharmony_ci - cups-browsed: Merge IPP attributes of several printers to 9237b66cf61Sopenharmony_ci combined attributes for the cluster to generate the 9247b66cf61Sopenharmony_ci cluster's PPD file, including PPD constraints for option 9257b66cf61Sopenharmony_ci combinations not fulfillable by any of the member printers, 9267b66cf61Sopenharmony_ci and finding reasonable, non-conflicting default settings, 9277b66cf61Sopenharmony_ci - cups-browsed: Selection algorithm for the destination 9287b66cf61Sopenharmony_ci printer for a job sent to the cluster. Based on the job 9297b66cf61Sopenharmony_ci settings requested such as page size, media type, print 9307b66cf61Sopenharmony_ci quality, ... the best most suitable printer in the cluster 9317b66cf61Sopenharmony_ci for the job will be selected. 9327b66cf61Sopenharmony_ci - cups-browsed, implicitclass: Filter jobs to clusters already 9337b66cf61Sopenharmony_ci locally. Due to the fact that a cluster's member printers 9347b66cf61Sopenharmony_ci are not exclusively non-raw CUPS queues with the complete 9357b66cf61Sopenharmony_ci filtering framework on the remote server, but also native 9367b66cf61Sopenharmony_ci IPP printers, we need to support generic driverless printers 9377b66cf61Sopenharmony_ci as destination. So we cannot pass on the input data 9387b66cf61Sopenharmony_ci unfiltered but need to filter locally. We let the cluster's 9397b66cf61Sopenharmony_ci PPD file emulate a PDF printer, letting the local CUPS queue 9407b66cf61Sopenharmony_ci of the cluster run pdftopdf and any pre-filters to turn the 9417b66cf61Sopenharmony_ci input into PDF and we let the implicitclass backend turn PDF 9427b66cf61Sopenharmony_ci into a format understood by the destination printer, 9437b66cf61Sopenharmony_ci supporting the 4 formats of driverless IPP printing: PDF, 9447b66cf61Sopenharmony_ci PWG Raster, Apple Raster, PCLm. 9457b66cf61Sopenharmony_ci 9467b66cf61Sopenharmony_ciCHANGES IN V1.23.0 9477b66cf61Sopenharmony_ci 9487b66cf61Sopenharmony_ci - pdftops, mupdftoraster: Let pdftops call mutool directly and 9497b66cf61Sopenharmony_ci so that it directly outputs PostScript, eliminating the need 9507b66cf61Sopenharmony_ci to call the mupdftoraster and rastertops filters. 9517b66cf61Sopenharmony_ci - mupdftoraster: Reduced the use of temporary files from 3 to 9527b66cf61Sopenharmony_ci just one. 9537b66cf61Sopenharmony_ci - imagetopdf, imagetoraster, pdftopdf: Add support for 9547b66cf61Sopenharmony_ci print-scaling option (Issue #108, Pull request #118). 9557b66cf61Sopenharmony_ci 9567b66cf61Sopenharmony_ciCHANGES IN V1.22.6 9577b66cf61Sopenharmony_ci 9587b66cf61Sopenharmony_ci - rastertops: Fixed PageSize settings in the PostScript output 9597b66cf61Sopenharmony_ci (Must be in points not in pixels). 9607b66cf61Sopenharmony_ci - pdftops, mupdftoraster: Produce actual grayscale/monochrome 9617b66cf61Sopenharmony_ci PostScript (and not only instructions to print grayscale/ 9627b66cf61Sopenharmony_ci monochrome) for jobs to be printed in grayscale/monochrome 9637b66cf61Sopenharmony_ci (Issue #96, Pull request #115). 9647b66cf61Sopenharmony_ci - mupdftoraster: Fixed filter not producing output at all. 9657b66cf61Sopenharmony_ci - Build system: ENABLE_DRIVERLESS got only defined with CUPS 9667b66cf61Sopenharmony_ci 1.6 and newer, not with older CUPS versions (Issue #111). 9677b66cf61Sopenharmony_ci - pdftopdf, imagetopdf, imagetoraster: Silenced compiler 9687b66cf61Sopenharmony_ci warnings. 9697b66cf61Sopenharmony_ci - cups-browsed, driverless: Replaced httpConnect() calls by 9707b66cf61Sopenharmony_ci httpConnect2() calls as the former CUPS library function is 9717b66cf61Sopenharmony_ci deprecated. 9727b66cf61Sopenharmony_ci - Build system: Compile everything using the CUPS libraries 9737b66cf61Sopenharmony_ci with '-D_PPD_DEPRECATED=""' for the time being until the 9747b66cf61Sopenharmony_ci deprecated PPD API calls get replaced, to stop the flooding 9757b66cf61Sopenharmony_ci with PPD API deprecation warnings making more important 9767b66cf61Sopenharmony_ci warnings being overlooked. 9777b66cf61Sopenharmony_ci - cups-browsed: When removing a local queue on shutdown or 9787b66cf61Sopenharmony_ci when DNS-SD reports the printer as disappeared check whether 9797b66cf61Sopenharmony_ci the local queue got overwritten by an external process as 9807b66cf61Sopenharmony_ci sometimes the shutdown or disappearing event comes too close 9817b66cf61Sopenharmony_ci for cups-browsed receiving a printer-modified notification 9827b66cf61Sopenharmony_ci from CUPS before (Ubuntu bug #1731417). 9837b66cf61Sopenharmony_ci 9847b66cf61Sopenharmony_ciCHANGES IN V1.22.5 9857b66cf61Sopenharmony_ci 9867b66cf61Sopenharmony_ci - foomatic-rip: Changed Ghostscript call to count pages in a 9877b66cf61Sopenharmony_ci PDF file to use "runpdfbegin" and not the undocumented 9887b66cf61Sopenharmony_ci Ghostscript internal "pdfdict", so that it works with 9897b66cf61Sopenharmony_ci Ghostscript 9.27 and later (Debian bug #926576, Arch Linux 9907b66cf61Sopenharmony_ci bug #62251). 9917b66cf61Sopenharmony_ci 9927b66cf61Sopenharmony_ciCHANGES IN V1.22.4 9937b66cf61Sopenharmony_ci 9947b66cf61Sopenharmony_ci - cups-browsed: Fix broken trailing space removal on 9957b66cf61Sopenharmony_ci "NickName" (Pull request #103). 9967b66cf61Sopenharmony_ci - pdftops: Emit PostScript Level 2 instead of Level 3 for 9977b66cf61Sopenharmony_ci Brother PostScript printers as at least some of them 9987b66cf61Sopenharmony_ci report to support level 3 but ontly work with Level 2 9997b66cf61Sopenharmony_ci (Ubuntu bug #1306849, comment #42). 10007b66cf61Sopenharmony_ci - bannertopdf: When multiplying the page for N-up or Duplex 10017b66cf61Sopenharmony_ci printing one page too much was generated (Issue #102). 10027b66cf61Sopenharmony_ci 10037b66cf61Sopenharmony_ciCHANGES IN V1.22.3 10047b66cf61Sopenharmony_ci 10057b66cf61Sopenharmony_ci - libcupsfilters: Added error checks for processing GIF, to 10067b66cf61Sopenharmony_ci avoid crashes or hangs on broken GIF files (Issues #81, #82, 10077b66cf61Sopenharmony_ci Pull request #100). 10087b66cf61Sopenharmony_ci - cups-browsed: Added hint to the man page and configuration 10097b66cf61Sopenharmony_ci file that with "DebugLogging stderr" the logging output goes 10107b66cf61Sopenharmony_ci to journal or syslog if cups-browsed is running as system 10117b66cf61Sopenharmony_ci service (Issue #28). 10127b66cf61Sopenharmony_ci 10137b66cf61Sopenharmony_ciCHANGES IN V1.22.2 10147b66cf61Sopenharmony_ci 10157b66cf61Sopenharmony_ci - cups-browsed: Let distribution of jobs sent to queues with 10167b66cf61Sopenharmony_ci "implicitclass" backend (usually clusters) be done by a 10177b66cf61Sopenharmony_ci "job-state" CUPS notification and not by 10187b66cf61Sopenharmony_ci "printer-state-changed" any more. The "job-state" 10197b66cf61Sopenharmony_ci notification already contains the job ID. Before we had to 10207b66cf61Sopenharmony_ci poll the job ID from CUPS via IPP which was sometimes 10217b66cf61Sopenharmony_ci unreliable (Issue #97). 10227b66cf61Sopenharmony_ci - imagetopdf, imagetoraster, pdftopdf, libcupsfilters: Added 10237b66cf61Sopenharmony_ci new page scaling options: "fill" scales the input page 10247b66cf61Sopenharmony_ci (typically a photo) so that the output page (typically with 10257b66cf61Sopenharmony_ci different aspect ratio) gets completely filled, aloowing for 10267b66cf61Sopenharmony_ci some content of the input page getting lost. "crop-to-fit" 10277b66cf61Sopenharmony_ci allows for easy printing of documents on slightly different 10287b66cf61Sopenharmony_ci output page sizes (A4 <-> Letter) maintaining the size and 10297b66cf61Sopenharmony_ci centering and cropping into the destination page. Thanks to 10307b66cf61Sopenharmony_ci Dheeraj Yadav (dhirajyadav135 at gmail dot com) for the 10317b66cf61Sopenharmony_ci patch (Pull request #92). 10327b66cf61Sopenharmony_ci - cups-browsed: Do not do IPP request for printer-is-shared 10337b66cf61Sopenharmony_ci option for remote cups queues with CUPS 2.2.x and newer 10347b66cf61Sopenharmony_ci (Pull request #91). 10357b66cf61Sopenharmony_ci - cups-browsed: Fix crash bug when reading "Cluster" 10367b66cf61Sopenharmony_ci directive from configuration file (Issue #94). 10377b66cf61Sopenharmony_ci - driverless: Updated man page as now also Mopria and 10387b66cf61Sopenharmony_ci Wi-Fi Direct printers are supported. Mentioned also 10397b66cf61Sopenharmony_ci ippusbxd. 10407b66cf61Sopenharmony_ci 10417b66cf61Sopenharmony_ciCHANGES IN V1.22.1 10427b66cf61Sopenharmony_ci 10437b66cf61Sopenharmony_ci - braille: Use sort command with LC_ALL=C for reproducibility 10447b66cf61Sopenharmony_ci of the genrated files, needed for distribution packaging. 10457b66cf61Sopenharmony_ci - cups-browsed, driverless: When polling the printer's 10467b66cf61Sopenharmony_ci capabilities via get-printer-attributes IPP request for 10477b66cf61Sopenharmony_ci driverless printing, use the attributes "all" and 10487b66cf61Sopenharmony_ci "media-col-database". Without "all" some printers do not 10497b66cf61Sopenharmony_ci report "urf-supported" and without "media-col-database" not 10507b66cf61Sopenharmony_ci all paper size and marging info gets reported (Issue #22, 10517b66cf61Sopenharmony_ci Pull request #86, CUPS issue #5484). 10527b66cf61Sopenharmony_ci - braille: Document how to rework output before 10537b66cf61Sopenharmony_ci embossing. Thanks to Samuel Thibault for this patch (Pull 10547b66cf61Sopenharmony_ci request #90). 10557b66cf61Sopenharmony_ci 10567b66cf61Sopenharmony_ciCHANGES IN V1.22.0 10577b66cf61Sopenharmony_ci 10587b66cf61Sopenharmony_ci - pdftopdf: Use QPDF for flattening interactive PDF forms 10597b66cf61Sopenharmony_ci (Issues #2, #23, #36, Pull request #88). 10607b66cf61Sopenharmony_ci - pdftopdf: Fixed bug of closing temporary file prematurely 10617b66cf61Sopenharmony_ci when external PDF form flattening utilities fail (Thanks to 10627b66cf61Sopenharmony_ci Tobias Hoffmann for finding this, see pull request #88). 10637b66cf61Sopenharmony_ci - pdftoopvp: More fixes for building with Poppler 0.72 10647b66cf61Sopenharmony_ci (Pull request #83, Issue #75). 10657b66cf61Sopenharmony_ci - pdftoraster, pdftoijs, pdftoopvp: Removed support for 10667b66cf61Sopenharmony_ci Poppler 0.18 (Pull request #83). 10677b66cf61Sopenharmony_ci - cups-browsed: Fixed crash in applying the BrowseFilter 10687b66cf61Sopenharmony_ci cups-browsed.conf directives (Debian bug #916765). 10697b66cf61Sopenharmony_ci 10707b66cf61Sopenharmony_ciCHANGES IN V1.21.6 10717b66cf61Sopenharmony_ci 10727b66cf61Sopenharmony_ci - cups-browsed: To find out whether a DNS-SD-discovered 10737b66cf61Sopenharmony_ci printer is from the local machine, use not only the flags in 10747b66cf61Sopenharmony_ci the Avahi lookup result but also check the host name. 10757b66cf61Sopenharmony_ci - cups-browsed: When a local CUPS queue pointing to a remote 10767b66cf61Sopenharmony_ci CUPS printer was removed and re-created to make it a 10777b66cf61Sopenharmony_ci permanent queue, on_printer_deleted() was triggered by 10787b66cf61Sopenharmony_ci cupsd's notification to re-create a lost queue. Now 10797b66cf61Sopenharmony_ci on_printer_deleted() checks whether the queue is really gone 10807b66cf61Sopenharmony_ci and only re-creates then (Issue #80). 10817b66cf61Sopenharmony_ci - cups-browsed: When updating the CUPS queues, also removed 10827b66cf61Sopenharmony_ci and unregistered queues and not only created queues got 10837b66cf61Sopenharmony_ci checked for HTTP timeouts, which caused crashes on shutdown 10847b66cf61Sopenharmony_ci (Issue #79, Debian bug #916149). 10857b66cf61Sopenharmony_ci - pdftops: Use the PS interpreter of Poppler for all Apple 10867b66cf61Sopenharmony_ci LaserWriter 16/600, 4/600, 12/640, 12/600, 12/660 as they 10877b66cf61Sopenharmony_ci all seem to not work with Ghostscript's PS output (Issue 10887b66cf61Sopenharmony_ci #76). 10897b66cf61Sopenharmony_ci - cups-browsed: On shutdown queues got removed even if they 10907b66cf61Sopenharmony_ci still had jobs (Debian bug #908147). 10917b66cf61Sopenharmony_ci 10927b66cf61Sopenharmony_ciCHANGES IN V1.21.5 10937b66cf61Sopenharmony_ci 10947b66cf61Sopenharmony_ci - cups-browsed: We cannot reliably determine whether a CUPS 10957b66cf61Sopenharmony_ci queue is temporary, so we apply the procedure to make a 10967b66cf61Sopenharmony_ci temporary queue permanent to any unshared queue (Debian bugs 10977b66cf61Sopenharmony_ci #910882, #905850, #908604). 10987b66cf61Sopenharmony_ci - pdftoraster, pdftopdf, pdftoijs, pdftoopvp: Do not use the 10997b66cf61Sopenharmony_ci Poppler-specific "GBool", "gFalse", "gTrue" any more, as 11007b66cf61Sopenharmony_ci Poppler has switched to standard "bool", "false", "true" in 11017b66cf61Sopenharmony_ci version 0.71.0 (Issue #69). 11027b66cf61Sopenharmony_ci 11037b66cf61Sopenharmony_ciCHANGES IN V1.21.4 11047b66cf61Sopenharmony_ci 11057b66cf61Sopenharmony_ci - cups-browsed: Limit the number of retries for 11067b66cf61Sopenharmony_ci creating a print queue when it comes to HTTP 11077b66cf61Sopenharmony_ci timeouts. Number of retries given by HttpMaxRetries 11087b66cf61Sopenharmony_ci directive in cups-browsed.conf. Thanks to Zdenek Dohnal for 11097b66cf61Sopenharmony_ci the patch (Pull request #73, Red Hat bug #1648697). 11107b66cf61Sopenharmony_ci - cups-browsed: Read out current time right before setting the 11117b66cf61Sopenharmony_ci timeouts. Thanks to Zdenek Dohnal for the patch (Pull 11127b66cf61Sopenharmony_ci request #71, Red Hat bug #1648697). 11137b66cf61Sopenharmony_ci - libcupsfilters: In the PPD generator for driverless IPP 11147b66cf61Sopenharmony_ci printing let "*cupsManualCopies: true" lines get added to 11157b66cf61Sopenharmony_ci the PPD if printing is done in a raster format as then 11167b66cf61Sopenharmony_ci pdftopdf needs to generate the copies. 11177b66cf61Sopenharmony_ci - pdftoraster, pdftoopvp, pdftoijs: Fix build with Poppler >= 11187b66cf61Sopenharmony_ci 0.70 (Issue #69, Pull request #70). 11197b66cf61Sopenharmony_ci - pdftopdf: Fixed printing multiple copies on driverless IPP 11207b66cf61Sopenharmony_ci printers. When printing collated copies the multiple copies 11217b66cf61Sopenharmony_ci got applied twice, resulting in n*n instead of n copies 11227b66cf61Sopenharmony_ci (CUPS issue #5433). 11237b66cf61Sopenharmony_ci - pdftoraster, pdftoopvp, pdftoijs: Poppler removed memCheck 11247b66cf61Sopenharmony_ci and gMemReport functions, remove appropriate calls (Issue 11257b66cf61Sopenharmony_ci #62, Pull request #66). 11267b66cf61Sopenharmony_ci 11277b66cf61Sopenharmony_ciCHANGES IN V1.21.3 11287b66cf61Sopenharmony_ci 11297b66cf61Sopenharmony_ci - foomatic-rip: Reset stdin after replacing the underlying file 11307b66cf61Sopenharmony_ci descriptor (Issue #58). 11317b66cf61Sopenharmony_ci 11327b66cf61Sopenharmony_ciCHANGES IN V1.21.2 11337b66cf61Sopenharmony_ci 11347b66cf61Sopenharmony_ci - cups-browsed: Fixed freeing of literal string caused by 11357b66cf61Sopenharmony_ci Coverity Scan issue fix (Debian bug #907399). 11367b66cf61Sopenharmony_ci 11377b66cf61Sopenharmony_ciCHANGES IN V1.21.1 11387b66cf61Sopenharmony_ci 11397b66cf61Sopenharmony_ci - foomatic-rip: Fixed segmentation fault caused by wrong 11407b66cf61Sopenharmony_ci Coverity Scan issue fix (Issue #57, Debian bug #907026). 11417b66cf61Sopenharmony_ci - Build system: Require QPDF 8.1.0 or later as it is needed by 11427b66cf61Sopenharmony_ci bannertopdf (Issue #56). 11437b66cf61Sopenharmony_ci 11447b66cf61Sopenharmony_ciCHANGES IN V1.21.0 11457b66cf61Sopenharmony_ci 11467b66cf61Sopenharmony_ci - libcupsfilters, cups-browsed, driverless, foomatic-rip, 11477b66cf61Sopenharmony_ci parallel: Silenced warnings from newest gcc. 11487b66cf61Sopenharmony_ci - libcupsfilters: When generating a PPD for driverless 11497b66cf61Sopenharmony_ci printing on a remote IPP printer, make pdftopdf not being 11507b66cf61Sopenharmony_ci run by the local queue if the remote queue is a CUPS queue 11517b66cf61Sopenharmony_ci to avoid running pdftopdf twice (CUPS Issue #5361). 11527b66cf61Sopenharmony_ci - libcupsfilters, cups-browsed, driverless, bannertopdf, 11537b66cf61Sopenharmony_ci foomatic-rip, pdftops, pdftoraster, rastertops, 11547b66cf61Sopenharmony_ci rastertoescpx, sys5ippprinter, beh: Fixed Coverity Scan 11557b66cf61Sopenharmony_ci issues. Thanks to Zdenek Dohnal (zdohnal at redhat dot com) 11567b66cf61Sopenharmony_ci for the tests and the patches. 11577b66cf61Sopenharmony_ci - bannertopdf: Switched over from using Poppler to using QPDF 11587b66cf61Sopenharmony_ci for generating the PDF pages. With Poppler unstable APIs 11597b66cf61Sopenharmony_ci were used which were subject to change. Thanks to Sahil 11607b66cf61Sopenharmony_ci Arora for this project in the Google Summer of Code 2018 11617b66cf61Sopenharmony_ci (Pull request #25). 11627b66cf61Sopenharmony_ci - cups-browsed: Manually defined clusters ("Cluster" directive 11637b66cf61Sopenharmony_ci in cups-browsed.conf) caused cups-browsed to crash. 11647b66cf61Sopenharmony_ci 11657b66cf61Sopenharmony_ciCHANGES IN V1.20.4 11667b66cf61Sopenharmony_ci 11677b66cf61Sopenharmony_ci - README: Added link to Issue Tracker on GitHub. 11687b66cf61Sopenharmony_ci - gstoraster: Removed unneeded "if"s. Thanks to Laurent 11697b66cf61Sopenharmony_ci Martelli (martellilaurent at gmail dot com) for the patch 11707b66cf61Sopenharmony_ci (Ghostscript bug #692705). 11717b66cf61Sopenharmony_ci - cups-browsed: When checking whether there is already a local 11727b66cf61Sopenharmony_ci print queue with the same URI as the one of the discovered 11737b66cf61Sopenharmony_ci printer, consider also as equal URI if the URIs only differ 11747b66cf61Sopenharmony_ci by use of IPP or IPPS and/or use of HTTPS port 443 instead 11757b66cf61Sopenharmony_ci of IPP port 631. 11767b66cf61Sopenharmony_ci - cups-browsed: Also upgrade from ipp: to ipps: when the ipps: 11777b66cf61Sopenharmony_ci URI is on HTTPS port 443 instead of IPP port 631. This is 11787b66cf61Sopenharmony_ci common on IPP network printers. 11797b66cf61Sopenharmony_ci - pdftopdf: Removed support for hardware-implemented reversing 11807b66cf61Sopenharmony_ci of page order in PostScript printers. It was once not 11817b66cf61Sopenharmony_ci correctly implemented in cups-filters and second, such 11827b66cf61Sopenharmony_ci printers are extremely rare, and on Gutenprint PPDs with 11837b66cf61Sopenharmony_ci pseudo OutputOrder option hardware reversing was even 11847b66cf61Sopenharmony_ci wrongly assumed (Issue #47). 11857b66cf61Sopenharmony_ci - pdftopdf: Accept option "output-order=normal/reverse" for 11867b66cf61Sopenharmony_ci reversing page order (Issue #47) and also "page-delivery= 11877b66cf61Sopenharmony_ci same-order/reverse-order" (CUPS Issue #5340). 11887b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator add "*PageStackOrder 11897b66cf61Sopenharmony_ci ..." lines to the choices of the "OutputBin" option, to 11907b66cf61Sopenharmony_ci mark which output bins need the pages printed in reverse 11917b66cf61Sopenharmony_ci order (Issue #47). 11927b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator correctly create a 11937b66cf61Sopenharmony_ci "*DefaultOutputOrder: ..." entry, depending on whether the 11947b66cf61Sopenharmony_ci paper is put out face-up or face-down in the default output 11957b66cf61Sopenharmony_ci bin (Issue #47). 11967b66cf61Sopenharmony_ci - libcupsfilters: Fixed human-readable name of the OutputBin 11977b66cf61Sopenharmony_ci option in the PPD generator. 11987b66cf61Sopenharmony_ci - pdftoopvp: Silence compiler warning (Issue #42). 11997b66cf61Sopenharmony_ci - cups-browsed: If the user modifies/overwrites a print queue 12007b66cf61Sopenharmony_ci created by cups-browsed, it will now not only be 12017b66cf61Sopenharmony_ci automatically released from the control of cups-browsed, but 12027b66cf61Sopenharmony_ci we also create a replacement for our generated local queue 12037b66cf61Sopenharmony_ci under a new name. 12047b66cf61Sopenharmony_ci - cups-browsed: Make URIS for using the implicitclass backend 12057b66cf61Sopenharmony_ci correctly working also with queue names containing an '@' 12067b66cf61Sopenharmony_ci character. 12077b66cf61Sopenharmony_ci - braille: Strengthen error checking (Pull request #41). 12087b66cf61Sopenharmony_ci - braille: Index: Replace bogus characters with space (Pull 12097b66cf61Sopenharmony_ci request #41). 12107b66cf61Sopenharmony_ci - braille: Add print and braille page number options (Pull 12117b66cf61Sopenharmony_ci request #41). 12127b66cf61Sopenharmony_ci - braille: Index: Use standard duplex cups option (Pull 12137b66cf61Sopenharmony_ci request #41). 12147b66cf61Sopenharmony_ci - cups-browsed: Moved auto-generation of PPD file for IPP 12157b66cf61Sopenharmony_ci network printers from create_remote_printer_entry() 12167b66cf61Sopenharmony_ci function to update_cups_queues(). This allows re-creating 12177b66cf61Sopenharmony_ci accidentally removed or overwritten local queues without 12187b66cf61Sopenharmony_ci losing the PPD file. 12197b66cf61Sopenharmony_ci - braille: Add option to pick hyphenation rule according to 12207b66cf61Sopenharmony_ci current locale and make it the default for second 12217b66cf61Sopenharmony_ci translation table. Thanks to Samuel Thibault for this patch 12227b66cf61Sopenharmony_ci (Pull request #38 and #39). 12237b66cf61Sopenharmony_ci - braille: Remove generated defs on "make clean". Thanks to 12247b66cf61Sopenharmony_ci Samuel Thibault for this patch (Pull request #38). 12257b66cf61Sopenharmony_ci - braille: Turn non-breakable spaces to spaces. Thanks to 12267b66cf61Sopenharmony_ci Samuel Thibault for this patch (Pull request #38 and #39). 12277b66cf61Sopenharmony_ci - braille: Fix character encoding when extracting text. When 12287b66cf61Sopenharmony_ci extracing text from a zip file or a pdf, the resulting text 12297b66cf61Sopenharmony_ci is always utf-8 independently of the original locale, so we 12307b66cf61Sopenharmony_ci need to force that. Thanks to Samuel Thibault for this patch 12317b66cf61Sopenharmony_ci (Pull request #38). 12327b66cf61Sopenharmony_ci - braille: Warn when no text translation was selected in case 12337b66cf61Sopenharmony_ci the user didn't notice. Thanks to Samuel Thibault for this 12347b66cf61Sopenharmony_ci patch (Pull request #37). 12357b66cf61Sopenharmony_ci - braille: Fix spurious spacing after last Form-Feed (Pull 12367b66cf61Sopenharmony_ci request #45). 12377b66cf61Sopenharmony_ci 12387b66cf61Sopenharmony_ciCHANGES IN V1.20.3 12397b66cf61Sopenharmony_ci 12407b66cf61Sopenharmony_ci - braille: Do not remove read permission on cups-brf. Thanks 12417b66cf61Sopenharmony_ci to Samuel Thibault for this patch (Pull request #32). 12427b66cf61Sopenharmony_ci - braille: Get braille table descriptions from liblouis 12437b66cf61Sopenharmony_ci metadata. Thanks to Samuel Thibault for this patch (Pull 12447b66cf61Sopenharmony_ci request #31). 12457b66cf61Sopenharmony_ci - braille: Select liblouis tables based on metadata before 12467b66cf61Sopenharmony_ci using file names. Thanks to Samuel Thibault for this patch 12477b66cf61Sopenharmony_ci (Pull request #30). 12487b66cf61Sopenharmony_ci - cups-browsed: The new method of identifying remote CUPS 12497b66cf61Sopenharmony_ci queues via the "printer-type" TXT record field does not work 12507b66cf61Sopenharmony_ci for printers discovered by legacy CUPS broadcast (CUPS 1.5.x 12517b66cf61Sopenharmony_ci or older). Now consider also printers without TXT record 12527b66cf61Sopenharmony_ci (not discovered via DNS-SD) as remote CUPS queues (Issue 12537b66cf61Sopenharmony_ci #34). 12547b66cf61Sopenharmony_ci - gstoraster: Improved detection whether input is PostScript 12557b66cf61Sopenharmony_ci or PDF by skipping over possible headers. Thanks to Rod 12567b66cf61Sopenharmony_ci Schmidt (schmidtrod at q dot com) for the patch. 12577b66cf61Sopenharmony_ci 12587b66cf61Sopenharmony_ciCHANGES IN V1.20.2 12597b66cf61Sopenharmony_ci 12607b66cf61Sopenharmony_ci - cups-browsed: If the user modifies/overwrites a print queue 12617b66cf61Sopenharmony_ci created by cups-browsed, it will now automatically released 12627b66cf61Sopenharmony_ci from the control of cups-browsed, so the modified queue does 12637b66cf61Sopenharmony_ci not get removed by cups-browsed on shutdown. (Ubuntu bug 12647b66cf61Sopenharmony_ci #1731417). 12657b66cf61Sopenharmony_ci - cups-browsed: The configuration setting 12667b66cf61Sopenharmony_ci "CreateIPPPrinterQueues LocalOnly" suppressed also the 12677b66cf61Sopenharmony_ci automatic generation of local queues for remote CUPS 12687b66cf61Sopenharmony_ci printers whereas this option is only intended for physical 12697b66cf61Sopenharmony_ci IPP printers. 12707b66cf61Sopenharmony_ci - cups-browsed: Identify remote CUPS queues by the 12717b66cf61Sopenharmony_ci "printer-type" TXT record entry and not by the 12727b66cf61Sopenharmony_ci "ipp(s)://<host>/printers/<name>" URIs, there are also IPP 12737b66cf61Sopenharmony_ci network printers with such URIs (HP LaserJet Professional 12747b66cf61Sopenharmony_ci M1212nf MFP in Ubuntu bug #1731417). 12757b66cf61Sopenharmony_ci - .gitignore: Added filter/braille/filters/brftopagedbrf 12767b66cf61Sopenharmony_ci - cups-browsed, foomatic-rip: Fixed several typos. Thanks to 12777b66cf61Sopenharmony_ci Didier Raboud for the patches. 12787b66cf61Sopenharmony_ci 12797b66cf61Sopenharmony_ciCHANGES IN V1.20.1 12807b66cf61Sopenharmony_ci 12817b66cf61Sopenharmony_ci - libcupsfilters: Silenced warning when using CUPS < 2.x by 12827b66cf61Sopenharmony_ci eliminating the use of a recently introduced CUPS library 12837b66cf61Sopenharmony_ci function (Bugzilla bug #1421). 12847b66cf61Sopenharmony_ci - braille: Fix some missing options on indexv4. Thanks to 12857b66cf61Sopenharmony_ci Samuel Thibault for this patch (Pull request #21). 12867b66cf61Sopenharmony_ci - braille: Fix disabling margins on indexv4 in graphic 12877b66cf61Sopenharmony_ci mode. Thanks to Samuel Thibault for this patch (Pull request 12887b66cf61Sopenharmony_ci #20). 12897b66cf61Sopenharmony_ci - braille: Fix installation of brftopagedbrf. Thanks to Samuel 12907b66cf61Sopenharmony_ci Thibault for this patch (Pull request #18, Issue #17). 12917b66cf61Sopenharmony_ci - cups-browsed: Fixed crash when CUPS reports a print queue 12927b66cf61Sopenharmony_ci without "device-uri" attribute when cups-browsed polls a 12937b66cf61Sopenharmony_ci list of local CUPS queues (Issue #16). 12947b66cf61Sopenharmony_ci 12957b66cf61Sopenharmony_ciCHANGES IN V1.20.0 12967b66cf61Sopenharmony_ci 12977b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator prefer the English 12987b66cf61Sopenharmony_ci translation file from CUPS for the human-readable strings in 12997b66cf61Sopenharmony_ci the PPD files. 13007b66cf61Sopenharmony_ci - libcupsfilters: The PPD generator lists all page sizes with 13017b66cf61Sopenharmony_ci human-readable names now, including proprietary names of the 13027b66cf61Sopenharmony_ci printer. 13037b66cf61Sopenharmony_ci - cups-browsed, driverless: Fixed get-printer-attributes call 13047b66cf61Sopenharmony_ci on driverless printers for generating the PPD, explicitly 13057b66cf61Sopenharmony_ci requesting the media-col-database attribute as otherwise 13067b66cf61Sopenharmony_ci borderless page sizes do not appear. 13077b66cf61Sopenharmony_ci - libcupsfilters: Fixed loading option/choice strings lists 13087b66cf61Sopenharmony_ci from driverless printers for PPD file generation. Especially 13097b66cf61Sopenharmony_ci proprietary media types appear correctly now. 13107b66cf61Sopenharmony_ci - libcupsfilters: Completed color space support in the PPD 13117b66cf61Sopenharmony_ci generator: Added DeviceGray/RGB/CMYK, default to 8 bit for 13127b66cf61Sopenharmony_ci SRGB and to 16 bit for AdobeRGB, avoid duplicate listings of 13137b66cf61Sopenharmony_ci the same color space. 13147b66cf61Sopenharmony_ci 13157b66cf61Sopenharmony_ciCHANGES IN V1.19.0 13167b66cf61Sopenharmony_ci 13177b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator add the options "Print 13187b66cf61Sopenharmony_ci Optimization", "Print Rendering Intent" and "Print Scaling" 13197b66cf61Sopenharmony_ci if appropriate IPP attributes are found. 13207b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator read out the maximum 13217b66cf61Sopenharmony_ci of info about color spaces and this way not only reliably 13227b66cf61Sopenharmony_ci the correct choices are added to the ColorModel option but 13237b66cf61Sopenharmony_ci also the maximum supported bit depth (8 or 16 bit) is used. 13247b66cf61Sopenharmony_ci - libcupsfilters: Overtaken new features from CUPS' PPD 13257b66cf61Sopenharmony_ci generator: Presets, Finishing Templates, and extraction of 13267b66cf61Sopenharmony_ci media sizes from "media-col-database" 13277b66cf61Sopenharmony_ci - libcupsfilters: Improvements on header of generated PPDs: 13287b66cf61Sopenharmony_ci use cups-filters version number, "drvless.ppd" PCFileName, 13297b66cf61Sopenharmony_ci APSupplies and cupsChargeInfoURI from CUPS. 13307b66cf61Sopenharmony_ci - libcupsfilters: Let the PPD generator use the IPP string 13317b66cf61Sopenharmony_ci tables in the translation files of CUPS 2.3.x or newer 13327b66cf61Sopenharmony_ci (English strings only). Let all options in the PPD have 13337b66cf61Sopenharmony_ci human-readable option and choice names. In case of CUPS 13347b66cf61Sopenharmony_ci 2.2.x or older (or if the CUPS translation are missing) we 13357b66cf61Sopenharmony_ci fall back to internal tables. 13367b66cf61Sopenharmony_ci - cups-browsed: Improved debug output when checking IPP 13377b66cf61Sopenharmony_ci attributes of IPP printers. 13387b66cf61Sopenharmony_ci - .gitignore: Ignore also core files. 13397b66cf61Sopenharmony_ci - cups-browsed: Support use of PPD files generated by CUPS for 13407b66cf61Sopenharmony_ci IPP Printers. Works only if the the local queue created by 13417b66cf61Sopenharmony_ci cups-browsed replaces a temporary queue from CUPS. 13427b66cf61Sopenharmony_ci Configurable via "UseCUPSGeneratedPPDs" directive in 13437b66cf61Sopenharmony_ci cups-browsed.conf. 13447b66cf61Sopenharmony_ci 13457b66cf61Sopenharmony_ciCHANGES IN V1.18.0 13467b66cf61Sopenharmony_ci 13477b66cf61Sopenharmony_ci - braille: Add support for page-ranges option. Thanks to 13487b66cf61Sopenharmony_ci Samuel Thibault for this patch (Pull request #12). 13497b66cf61Sopenharmony_ci - braille: Fix supporting docx and LO file names with 13507b66cf61Sopenharmony_ci spaces. Thanks to Samuel Thibault for this patch (Pull 13517b66cf61Sopenharmony_ci request #11). 13527b66cf61Sopenharmony_ci - .gitignore: Updated and cleaned up. 13537b66cf61Sopenharmony_ci - Build system: Make sure that "make dist" always includes all 13547b66cf61Sopenharmony_ci files of the repository, plus the files generated by 13557b66cf61Sopenharmony_ci ./autogen.sh, independent of the system configuration and 13567b66cf61Sopenharmony_ci the used ./configure options. 13577b66cf61Sopenharmony_ci - pdftoijs, pdftoopvp: Build pdftoijs and pdftoopvp only on 13587b66cf61Sopenharmony_ci demand (via "--enable-ijs" and "--enable-opvp" on the 13597b66cf61Sopenharmony_ci ./configure command line). There are actually no known 13607b66cf61Sopenharmony_ci printer drivers using these filters. If no one complains 13617b66cf61Sopenharmony_ci about the missing filters they will get completely removed. 13627b66cf61Sopenharmony_ci - Build system: Set default path for pdftops to 13637b66cf61Sopenharmony_ci /usr/bin/pdftops also for cross-compiling (Bug #1417). 13647b66cf61Sopenharmony_ci - cups-browsed: Set "printer-location" as an attribute and not 13657b66cf61Sopenharmony_ci as an option when creating/updating a CUPS queue (Bug 13667b66cf61Sopenharmony_ci #1413). 13677b66cf61Sopenharmony_ci - braille: Fix handling non-printable characters in BRF 13687b66cf61Sopenharmony_ci files. Thanks to Samuel Thibault for this patch. 13697b66cf61Sopenharmony_ci - braille: Fix printing backslashes in BRF files. Thanks to 13707b66cf61Sopenharmony_ci Samuel Thibault for this patch. 13717b66cf61Sopenharmony_ci - braille: use application/vnd.cups-brf instead of 13727b66cf61Sopenharmony_ci text/vnd.cups-brf. Thanks to Samuel Thibault for this patch. 13737b66cf61Sopenharmony_ci - braille: Make sure liblouis emits pure BRF output. Thanks to 13747b66cf61Sopenharmony_ci Samuel Thibault for this patch. 13757b66cf61Sopenharmony_ci - braille: Spaces at the head of lines were not getting 13767b66cf61Sopenharmony_ci embossed, because bash would eat them in the read 13777b66cf61Sopenharmony_ci command. IFS allows to avoid the issue. Thanks to Samuel 13787b66cf61Sopenharmony_ci Thibault for this patch. 13797b66cf61Sopenharmony_ci - gstoraster: Emit proper error message if Ghostscript is 13807b66cf61Sopenharmony_ci missing. Thanks to Peter De Wachter (pdewacht at gmail dot 13817b66cf61Sopenharmony_ci com) for the patch (Bug #1415). 13827b66cf61Sopenharmony_ci - braille: Old bash does not like quotes, like in '$(("123" + 13837b66cf61Sopenharmony_ci 0))'. Removed unneeded quotes. Thanks to Samuel Thibault for 13847b66cf61Sopenharmony_ci this patch. 13857b66cf61Sopenharmony_ci - braille: Index V5 embossers are compatible with the V4 13867b66cf61Sopenharmony_ci protocol so we do not need driver changes, we just need to 13877b66cf61Sopenharmony_ci advertise the support. Thanks to Samuel Thibault for this 13887b66cf61Sopenharmony_ci patch. 13897b66cf61Sopenharmony_ci 13907b66cf61Sopenharmony_ciCHANGES IN V1.17.9 13917b66cf61Sopenharmony_ci 13927b66cf61Sopenharmony_ci - cups-browsed: Applying option defaults from the 13937b66cf61Sopenharmony_ci DefaultOptions directive in cups-browsed.conf got 13947b66cf61Sopenharmony_ci lost. Re-introduced it (Bug #1414). 13957b66cf61Sopenharmony_ci - cups-browsed: Get printer-location field from remote 13967b66cf61Sopenharmony_ci printers. Thanks to Marek Kasik for the patch (Bug #1413). 13977b66cf61Sopenharmony_ci 13987b66cf61Sopenharmony_ciCHANGES IN V1.17.8 13997b66cf61Sopenharmony_ci 14007b66cf61Sopenharmony_ci - foomatic-rip: Change execution of renderer thread to fail 14017b66cf61Sopenharmony_ci whenever any of its individual sub-comands fails. Thanks to 14027b66cf61Sopenharmony_ci LUUM (luum at chromium dot org) for the patch (Bug #1412). 14037b66cf61Sopenharmony_ci - foomatic-rip: Parent process now ignores SIGPIPE calls from 14047b66cf61Sopenharmony_ci upstream/downstream CUPS filters, per 14057b66cf61Sopenharmony_ci https://www.cups.org/doc/api-filter.html, while correctly 14067b66cf61Sopenharmony_ci noting child process failures and exiting 14077b66cf61Sopenharmony_ci accordingly. Thanks to LUUM (luum at chromium dot org) for 14087b66cf61Sopenharmony_ci the patch (Bug #1412). 14097b66cf61Sopenharmony_ci - Build system: Fixed typo which broke the 14107b66cf61Sopenharmony_ci "--enable-gs-ps2write" ./configure command line option (Bug 14117b66cf61Sopenharmony_ci #1410). 14127b66cf61Sopenharmony_ci 14137b66cf61Sopenharmony_ciCHANGES IN V1.17.7 14147b66cf61Sopenharmony_ci 14157b66cf61Sopenharmony_ci - braille: Add a mirror option for graphical output. Thanks to 14167b66cf61Sopenharmony_ci Samuel Thibault for this patch. 14177b66cf61Sopenharmony_ci - braille: Rename the internal cups name of the Resize option 14187b66cf61Sopenharmony_ci to the standard well-known and well-documented fitplot 14197b66cf61Sopenharmony_ci option. Thanks to Samuel Thibault for this patch. 14207b66cf61Sopenharmony_ci - braille: Add support for margins in graphical mode, 14217b66cf61Sopenharmony_ci defaulting them to 15 points (a bit more than 5mm). Thanks 14227b66cf61Sopenharmony_ci to Samuel Thibault for this patch. 14237b66cf61Sopenharmony_ci - braille: Updated French translation. Thanks to Samuel 14247b66cf61Sopenharmony_ci Thibault for this patch. 14257b66cf61Sopenharmony_ci - braille: Add a PPD which generates UBRL output, i.e. Braille 14267b66cf61Sopenharmony_ci expressed in Unicode. This is not useful for actual 14277b66cf61Sopenharmony_ci embossers, but very convenient to check output to be 14287b66cf61Sopenharmony_ci embossed without wasting paper. Thanks to Samuel Thibault 14297b66cf61Sopenharmony_ci for this patch. 14307b66cf61Sopenharmony_ci - braille: Add virtual BRF backend for generating 14317b66cf61Sopenharmony_ci ready-to-emboss BRF files with CUPS, similarly to the 14327b66cf61Sopenharmony_ci cups-pdf backend. Thanks to Samuel Thibault for this patch. 14337b66cf61Sopenharmony_ci - braille: Some tools seem to emit true/false instead of 14347b66cf61Sopenharmony_ci True/False, so let us cope with it. Thanks to Samuel 14357b66cf61Sopenharmony_ci Thibault for this patch. 14367b66cf61Sopenharmony_ci - braille: "make uninstall" did not remove all the 14377b66cf61Sopenharmony_ci links. Thanks to Samuel Thibault for this patch. 14387b66cf61Sopenharmony_ci - braille: Add support for embossing MusicXML files, through 14397b66cf61Sopenharmony_ci the FreeDots transcriptor. Thanks to Samuel Thibault for 14407b66cf61Sopenharmony_ci this patch. 14417b66cf61Sopenharmony_ci - braille: Add proper support for hardware margins on braille 14427b66cf61Sopenharmony_ci embossers. Thanks to Samuel Thibault for this patch. 14437b66cf61Sopenharmony_ci - braille: Fix the disabling of the text margins in Index 14447b66cf61Sopenharmony_ci graphics mode. Thanks to Samuel Thibault for this patch. 14457b66cf61Sopenharmony_ci - braille: Support for direct, structured embossing of XML and 14467b66cf61Sopenharmony_ci XML-based file formats (like odt, docx, ...). Thanks to 14477b66cf61Sopenharmony_ci Samuel Thibault for this patch. 14487b66cf61Sopenharmony_ci 14497b66cf61Sopenharmony_ciCHANGES IN V1.17.6 14507b66cf61Sopenharmony_ci 14517b66cf61Sopenharmony_ci - braille: Embossers can only emboss integer numbers of 2x4 14527b66cf61Sopenharmony_ci cells. Thanks to Samuel Thibault for this patch. 14537b66cf61Sopenharmony_ci - braille: In Index graphical mode we need to disable the text 14547b66cf61Sopenharmony_ci margins, since they come in earlier on the way to 14557b66cf61Sopenharmony_ci there. Thanks to Samuel Thibault for this patch. 14567b66cf61Sopenharmony_ci - braille: Also, we should always add a 1.6mm margin for 14577b66cf61Sopenharmony_ci taking into account the width of dots. Thanks to Samuel 14587b66cf61Sopenharmony_ci Thibault for this patch. 14597b66cf61Sopenharmony_ci 14607b66cf61Sopenharmony_ciCHANGES IN V1.17.5 14617b66cf61Sopenharmony_ci 14627b66cf61Sopenharmony_ci - libcupsfilters: In the PPD generator for driverless printing 14637b66cf61Sopenharmony_ci renamed the "print-quality" option back to 14647b66cf61Sopenharmony_ci "cupsPrintQuality" as the support for this option got fixed 14657b66cf61Sopenharmony_ci in CUPS (CUPS issue #5090). 14667b66cf61Sopenharmony_ci - braille: Improvements on the braille support for bitmap 14677b66cf61Sopenharmony_ci images: Moves the graphical dot distance option to the image 14687b66cf61Sopenharmony_ci conversion group, add an option to avoid image resize, and 14697b66cf61Sopenharmony_ci make the rotation option easier by proposing to just fit 14707b66cf61Sopenharmony_ci paper instead of fitting portrait or landscape. Thanks to 14717b66cf61Sopenharmony_ci Samuel Thibault for this patch. 14727b66cf61Sopenharmony_ci - braille: Support for embossing vector images as braille. 14737b66cf61Sopenharmony_ci Thanks to Samuel Thibault for this patch. 14747b66cf61Sopenharmony_ci - braille: Fix liblouis1.defs installation. Thanks to Samuel 14757b66cf61Sopenharmony_ci Thibault for this fix. 14767b66cf61Sopenharmony_ci 14777b66cf61Sopenharmony_ciCHANGES IN V1.17.4 14787b66cf61Sopenharmony_ci 14797b66cf61Sopenharmony_ci - pdftopdf: If the input PDF file contains an interactive 14807b66cf61Sopenharmony_ci form, flatten it to static PDF so that further manipulation, 14817b66cf61Sopenharmony_ci like scaling, number-up, ... do not let the filled for 14827b66cf61Sopenharmony_ci content getting lost. This is implemented by using the 14837b66cf61Sopenharmony_ci pdftocairo utility of Poppler and if this fails Ghostscript 14847b66cf61Sopenharmony_ci (9.22 or later recommended). This will probably replaced by 14857b66cf61Sopenharmony_ci a QPDF-based solution later. Thanks to Tobias Hoffmann for 14867b66cf61Sopenharmony_ci the QPDF-based detection of PDF forms (Bug #1315, Ubuntu bug 14877b66cf61Sopenharmony_ci #1564249). 14887b66cf61Sopenharmony_ci 14897b66cf61Sopenharmony_ciCHANGES IN V1.17.3 14907b66cf61Sopenharmony_ci 14917b66cf61Sopenharmony_ci - bannertopdf: Make it working also with Poppler 0.58.0 and 14927b66cf61Sopenharmony_ci newer (Bug #1408). 14937b66cf61Sopenharmony_ci - gstoraster, pdftops, foomatic-rip: Added "-dShowAcroForm" to 14947b66cf61Sopenharmony_ci all Ghostscript command lines where the input data format 14957b66cf61Sopenharmony_ci can be PDF. With this and the fix of Ghostscript bug 14967b66cf61Sopenharmony_ci #698461 most filled PDF forms should be rendered correctly 14977b66cf61Sopenharmony_ci by Ghostscript now. 14987b66cf61Sopenharmony_ci - libcupsfilters: Do not check maximum resolutions of 14997b66cf61Sopenharmony_ci raster-based PDLs, as implementation was incorrect and 15007b66cf61Sopenharmony_ci reliability of PDLs is more important than maximum 15017b66cf61Sopenharmony_ci resolution. 15027b66cf61Sopenharmony_ci 15037b66cf61Sopenharmony_ciCHANGES IN V1.17.2 15047b66cf61Sopenharmony_ci 15057b66cf61Sopenharmony_ci - rastertopdf: Fixed outstanding bug in PCLm with JPEG (DCT) 15067b66cf61Sopenharmony_ci compression. Now PCLm support is completely working. 15077b66cf61Sopenharmony_ci 15087b66cf61Sopenharmony_ciCHANGES IN V1.17.1 15097b66cf61Sopenharmony_ci 15107b66cf61Sopenharmony_ci - libcupsfilters: Added direct PNG printing to the PPD 15117b66cf61Sopenharmony_ci generator, the one of CUPS has it, too. 15127b66cf61Sopenharmony_ci - libcupsfilters: In the PPD file generator renamed the option 15137b66cf61Sopenharmony_ci "cupsPrintQuality" into the IPP name "print-quality" as CUPS 15147b66cf61Sopenharmony_ci does not update the "print-quality=4" entry in the filter 15157b66cf61Sopenharmony_ci command line based on the setting of "cupsPrintQuality" 15167b66cf61Sopenharmony_ci (CUPS issue #5090). 15177b66cf61Sopenharmony_ci - libcupsfilters: Completely redone the way how to determine 15187b66cf61Sopenharmony_ci the resolutions to use for the default resolution and print 15197b66cf61Sopenharmony_ci quality option in the PPDs generated for IPP 15207b66cf61Sopenharmony_ci printers. Resolution lists from IPP attributes are now read 15217b66cf61Sopenharmony_ci into sorted, duplicate-free lists with wrong resolutions 15227b66cf61Sopenharmony_ci removed or fixed. Resolutions actually used are the common 15237b66cf61Sopenharmony_ci ones between the supported PDLs, PDls with inferior maximum 15247b66cf61Sopenharmony_ci resolution or with broken resolution list are skipped 15257b66cf61Sopenharmony_ci (Debian bug #868360, Ubuntu bug #1712019, CUPS issue #5088, 15267b66cf61Sopenharmony_ci CUPS issue #5091). 15277b66cf61Sopenharmony_ci - rastertopdf: Prefer RLE compression instead of Flate as 15287b66cf61Sopenharmony_ci there are HP printers where Flate is buggy. 15297b66cf61Sopenharmony_ci - Build system: Fixed help mesage for "--enable-driverless" 15307b66cf61Sopenharmony_ci configure option (Bug #1405). 15317b66cf61Sopenharmony_ci 15327b66cf61Sopenharmony_ciCHANGES IN V1.17.0 15337b66cf61Sopenharmony_ci 15347b66cf61Sopenharmony_ci - rastertopdf, rastertopclm, driverless, cups-browsed, 15357b66cf61Sopenharmony_ci libcupsfilters: Added support for the PCLm output format for 15367b66cf61Sopenharmony_ci driverless printing on printers using Wi-Fi Direct and other 15377b66cf61Sopenharmony_ci driverless printing standards. 15387b66cf61Sopenharmony_ci printers. This is the Google Summer of Code 2017 project of 15397b66cf61Sopenharmony_ci Sahil Arora (sahilarora dot 535 at gmail dot com). Thank you 15407b66cf61Sopenharmony_ci very much for your great work! The PCLm support requires 15417b66cf61Sopenharmony_ci QPDF 7.0.0 or later. 15427b66cf61Sopenharmony_ci 15437b66cf61Sopenharmony_ciCHANGES IN V1.16.4 15447b66cf61Sopenharmony_ci 15457b66cf61Sopenharmony_ci - Build system: Switched over to C11 standard with GNU 15467b66cf61Sopenharmony_ci extensions (-std=gnu11). 15477b66cf61Sopenharmony_ci - Build system: Removed -pedantic flag as it is only needed 15487b66cf61Sopenharmony_ci for compatibility with commercial compilers like the ones of 15497b66cf61Sopenharmony_ci Windows (and we use GNU extensions anyway). 15507b66cf61Sopenharmony_ci - libfontembed, texttopdf: reverted removal of anonymous 15517b66cf61Sopenharmony_ci union. 15527b66cf61Sopenharmony_ci 15537b66cf61Sopenharmony_ciCHANGES IN V1.16.3 15547b66cf61Sopenharmony_ci 15557b66cf61Sopenharmony_ci - libfontembed: Reverted unneeded soname change. 15567b66cf61Sopenharmony_ci 15577b66cf61Sopenharmony_ciCHANGES IN V1.16.2 15587b66cf61Sopenharmony_ci 15597b66cf61Sopenharmony_ci - README: Minimum CUPS requirement of cups-filters is CUPS 15607b66cf61Sopenharmony_ci 1.4.x. It does not build with earlier CUPS versions (Bug 15617b66cf61Sopenharmony_ci #993). 15627b66cf61Sopenharmony_ci - driverless, foomatic-rip: Create relative symbolic links. 15637b66cf61Sopenharmony_ci - All C/C++ files: Silenced all compiler warnings, at least 15647b66cf61Sopenharmony_ci the ones appearing when building on Ubuntu Linux 17.10 with 15657b66cf61Sopenharmony_ci GCC 7.1.0. 15667b66cf61Sopenharmony_ci - README: Updated the introduction section to reflect the 15677b66cf61Sopenharmony_ci current functionality of cups-filters, and the build 15687b66cf61Sopenharmony_ci requirements for the Poppler-based filters (C++11: Bug 15697b66cf61Sopenharmony_ci #1404, Build configuration of Poppler: Bug #1257). Thanks to 15707b66cf61Sopenharmony_ci Roland Hieber (r dot hieber at pengutronix dot de) to find 15717b66cf61Sopenharmony_ci out about this. 15727b66cf61Sopenharmony_ci - pdftoopvp, bannertopdf, pdftoraster: Build with C++11 15737b66cf61Sopenharmony_ci standard as some features of this standard are needed by 15747b66cf61Sopenharmony_ci these filters (or by Poppler). Thanks to Roland Hieber (r 15757b66cf61Sopenharmony_ci dot hieber at pengutronix dot de) for the patch (Bug #1404). 15767b66cf61Sopenharmony_ci 15777b66cf61Sopenharmony_ciCHANGES IN V1.16.1 15787b66cf61Sopenharmony_ci 15797b66cf61Sopenharmony_ci - cups-browsed: Make timeouts for HTTP access to the local 15807b66cf61Sopenharmony_ci CUPS daemon and remote IPP printers configurable. Thanks to 15817b66cf61Sopenharmony_ci Cedric Dufour (cedric dot dufour at idiap dot ch) for the 15827b66cf61Sopenharmony_ci patch (Bug #1387, Debian bug #852436). 15837b66cf61Sopenharmony_ci - texttopdf: Allow bold and underline formatting to be used 15847b66cf61Sopenharmony_ci together when using "prettyprint". Thanks to Michael Moran 15857b66cf61Sopenharmony_ci (vampm at comcast dot net) for the patch. 15867b66cf61Sopenharmony_ci - texttopdf: Allow to alter margins, and chars/lines per Inch 15877b66cf61Sopenharmony_ci when using "prettyprint". Thanks to Michael Moran (vampm at 15887b66cf61Sopenharmony_ci comcast dot net) for the patch. 15897b66cf61Sopenharmony_ci - texttopdf: When "prettyprint" is used, do not drop out of 15907b66cf61Sopenharmony_ci C/shell comment mode too early. Thanks to Michael Moran 15917b66cf61Sopenharmony_ci (vampm at comcast dot net) for the patch. 15927b66cf61Sopenharmony_ci - cups-browsed: Additional NULL checks for description and 15937b66cf61Sopenharmony_ci location. 15947b66cf61Sopenharmony_ci - cups-browsed: Fixed crash which happens when using 15957b66cf61Sopenharmony_ci BrowsePoll (Debian bug #723835). 15967b66cf61Sopenharmony_ci 15977b66cf61Sopenharmony_ciCHANGES IN V1.16.0 15987b66cf61Sopenharmony_ci 15997b66cf61Sopenharmony_ci - cups-browsed: Let elements in arrays get stacked up in the 16007b66cf61Sopenharmony_ci order they are added, before, they were in the order how 16017b66cf61Sopenharmony_ci they are positioned in memory. This especially led to a 16027b66cf61Sopenharmony_ci random order of printer cluster definitions and of 16037b66cf61Sopenharmony_ci command-line-supplied configuration options. 16047b66cf61Sopenharmony_ci - cups-browsed: On shutdown not all locally created queues got 16057b66cf61Sopenharmony_ci deleted. 16067b66cf61Sopenharmony_ci - cups-browsed: Added support for manual definition of 16077b66cf61Sopenharmony_ci load-balancing printer clusters via the "Cluster" directive 16087b66cf61Sopenharmony_ci in cups-browsed.conf. 16097b66cf61Sopenharmony_ci 16107b66cf61Sopenharmony_ciCHANGES IN V1.15.0 16117b66cf61Sopenharmony_ci 16127b66cf61Sopenharmony_ci - cups-browsed: Removed the function to compare printer entries 16137b66cf61Sopenharmony_ci for sorting the printer entry list. This led to corruption 16147b66cf61Sopenharmony_ci of the list and so to crashes. 16157b66cf61Sopenharmony_ci - cups-browsed: Fixed crashes when many printers (especially 16167b66cf61Sopenharmony_ci all printers of a load-balanced cluster) are removed at once. 16177b66cf61Sopenharmony_ci - cups-browsed: Log the full list of handled remote printers 16187b66cf61Sopenharmony_ci whenever one is added or removed. 16197b66cf61Sopenharmony_ci - cups-browsed: Renamed the handle_cups_queues() function to 16207b66cf61Sopenharmony_ci update_cups_queues() to better reflect what it is doing. 16217b66cf61Sopenharmony_ci - cups-browsed: When clustering remote CUPS printers together 16227b66cf61Sopenharmony_ci do not call them duplicates but slaves asigned to a master. 16237b66cf61Sopenharmony_ci - cups-browsed: Log the error if the network interface name of 16247b66cf61Sopenharmony_ci a DNS-SD event could not be determined. 16257b66cf61Sopenharmony_ci - cups-browsed: Simplified printer entry removal procedure. 16267b66cf61Sopenharmony_ci - cups-browsed: Log memeber printer list of a printer cluster 16277b66cf61Sopenharmony_ci (implicit class) when a member printer is added or removed. 16287b66cf61Sopenharmony_ci - cups-browsed: Removed superfluous (and not correctly 16297b66cf61Sopenharmony_ci working) duplicate counter from the remote printer entry 16307b66cf61Sopenharmony_ci data structure. 16317b66cf61Sopenharmony_ci - cups-browsed: Add "AutoClustering" directive to 16327b66cf61Sopenharmony_ci cups-browsed.conf to turn on and off automatically 16337b66cf61Sopenharmony_ci clustering equally named local print queues which point to 16347b66cf61Sopenharmony_ci remote CUPS printers. When automatic clustering is turned 16357b66cf61Sopenharmony_ci off, queue name clashes are prevented by adding "@<server 16367b66cf61Sopenharmony_ci name>" to local queue names based on the remote queue name 16377b66cf61Sopenharmony_ci or on make and model. 16387b66cf61Sopenharmony_ci - cups-browsed: Skip callback functions and the CUPS queue 16397b66cf61Sopenharmony_ci creation/update/removal loop when cups-browsed is terminated 16407b66cf61Sopenharmony_ci by a SIGTERM signal. This avoids hanging on shutdown. Thanks 16417b66cf61Sopenharmony_ci to Edgar Fuss (ef at math dot uni-bonn dot de, Bug #1402). 16427b66cf61Sopenharmony_ci - libcupsfilters: Added some fallbacks for incorrect 16437b66cf61Sopenharmony_ci resolution IPP attributes on IPP network printers (Debian 16447b66cf61Sopenharmony_ci bug #868360). 16457b66cf61Sopenharmony_ci - pdftoopvp: Added missing "#include <math.h>" needed for 16467b66cf61Sopenharmony_ci cross-compiling for arm-v7a-linux-gnueabi (Bug #1232). 16477b66cf61Sopenharmony_ci - cups-browsed: Prevent the creation of two remote printer 16487b66cf61Sopenharmony_ci entries for two IPP network printers or an IPP network 16497b66cf61Sopenharmony_ci printer and a remote CUPS printer with the same local queue 16507b66cf61Sopenharmony_ci name. This could easily happen with make/model-based naming. 16517b66cf61Sopenharmony_ci - cups-browsed: Added the possibility to optionally not 16527b66cf61Sopenharmony_ci create local queues for remote printers for which CUPS 16537b66cf61Sopenharmony_ci (from 2.2.x on) auto-creates queues by itself (DNS-SD 16547b66cf61Sopenharmony_ci advertised driverless printers). 16557b66cf61Sopenharmony_ci - cups-browsed: Removed repeated code for clean-up when 16567b66cf61Sopenharmony_ci generate_local_queue() function fails. 16577b66cf61Sopenharmony_ci - cups-browsed: Take care of CUPS' temporary queues. Do not 16587b66cf61Sopenharmony_ci consider them when checking whether a queue with the same 16597b66cf61Sopenharmony_ci name as the one we are creating already exists and make 16607b66cf61Sopenharmony_ci temporary queues permanent (or remove them) before 16617b66cf61Sopenharmony_ci overwriting them with our local queue. 16627b66cf61Sopenharmony_ci - cups-browsed: Make the naming scheme for locally created 16637b66cf61Sopenharmony_ci print queue configurable, especially allow for naming based 16647b66cf61Sopenharmony_ci on the DNS-SD service name (now default) as this is the same 16657b66cf61Sopenharmony_ci scheme as CUPS uses for its temporary queues. This way we 16667b66cf61Sopenharmony_ci prevent CUPS creating temporary queues when cups-browsed is 16677b66cf61Sopenharmony_ci already creating a queue. 16687b66cf61Sopenharmony_ci - cups-browsed: Do not add "APRemoteQueueID" keyword to the 16697b66cf61Sopenharmony_ci local queue's PPD file if the queue is for an IPP network 16707b66cf61Sopenharmony_ci printer. 16717b66cf61Sopenharmony_ci - cups-browsed: Skip multiple browse entries for the same 16727b66cf61Sopenharmony_ci printer with interface alias addresses. Thanks to Edgar 16737b66cf61Sopenharmony_ci Fuss (ef at math dot uni-bonn dot de, Bug #1399). 16747b66cf61Sopenharmony_ci - cups-browsed: Improved support for Description (Info) and 16757b66cf61Sopenharmony_ci Location fields of remote CUPS queues. Thanks to Edgar Fuss 16767b66cf61Sopenharmony_ci (ef at math dot uni-bonn dot de, Bug #1398). 16777b66cf61Sopenharmony_ci - cups-browsed: Renamed variable names for better code 16787b66cf61Sopenharmony_ci readability. Thanks to Edgar Fuss (ef at math dot uni-bonn 16797b66cf61Sopenharmony_ci dot de, Bug #1398). 16807b66cf61Sopenharmony_ci - cups-browsed: Additional NULL checks in the 16817b66cf61Sopenharmony_ci create_local_queue() function. Thanks to Edgar Fuss (ef at 16827b66cf61Sopenharmony_ci math dot uni-bonn dot de, Bug #1398). 16837b66cf61Sopenharmony_ci 16847b66cf61Sopenharmony_ciCHANGES IN V1.14.1 16857b66cf61Sopenharmony_ci 16867b66cf61Sopenharmony_ci - cups-browsed: Do correct removal of printer entry handling 16877b66cf61Sopenharmony_ci duplicates correctly also when a legacy CUPS-broadcasted 16887b66cf61Sopenharmony_ci printer disappears or a printer remaining from the last 16897b66cf61Sopenharmony_ci session does not appear again. 16907b66cf61Sopenharmony_ci - cups-browsed: Use getline() instead of fgets() to read saved 16917b66cf61Sopenharmony_ci option settings. This is less crash-prone (Ubuntu bug 16927b66cf61Sopenharmony_ci #1658833). 16937b66cf61Sopenharmony_ci - cups-browsed: Improved error logging when saving option 16947b66cf61Sopenharmony_ci settings. 16957b66cf61Sopenharmony_ci - cups-browsed: Added NULL checks for generate_local_queue() 16967b66cf61Sopenharmony_ci and create_local_queue() functions. 16977b66cf61Sopenharmony_ci - cups-browsed: When accessing local CUPS queues use always 16987b66cf61Sopenharmony_ci the correct port of the CUPS daemon we are attached to. 16997b66cf61Sopenharmony_ci - cups-browsed: Check whether a connection to the local CUPS 17007b66cf61Sopenharmony_ci daemon actually happened before using it (Ubuntu bug 17017b66cf61Sopenharmony_ci #1644049). 17027b66cf61Sopenharmony_ci - cups-browsed: Set unused fields of printer record to NULL 17037b66cf61Sopenharmony_ci when tranfering data from the record of a duplicate printer 17047b66cf61Sopenharmony_ci to the record of a disappeared one. 17057b66cf61Sopenharmony_ci - cups-browsed: Simplify removal of all queues on shutdown or 17067b66cf61Sopenharmony_ci stop of Avahi. 17077b66cf61Sopenharmony_ci - cups-browsed: When creating a record for a discovered 17087b66cf61Sopenharmony_ci printer set it all zero before filling it in, to assure 17097b66cf61Sopenharmony_ci that no field is in an undefined state. 17107b66cf61Sopenharmony_ci - cups-browsed: All functions which are called via Glib 17117b66cf61Sopenharmony_ci functions or otherwise event-triggered log now in which 17127b66cf61Sopenharmony_ci thread they are running. This way one can see whether 17137b66cf61Sopenharmony_ci problems can be caused by concurrent access to global 17147b66cf61Sopenharmony_ci resources. 17157b66cf61Sopenharmony_ci - cups-browsed: Do not check whether the DNS-SD event is from 17167b66cf61Sopenharmony_ci the local machine in the browse_callback() function. We 17177b66cf61Sopenharmony_ci cannot check the port here. 17187b66cf61Sopenharmony_ci - cups-browsed: Added more NULL checks to Avahi callback 17197b66cf61Sopenharmony_ci functions. 17207b66cf61Sopenharmony_ci - cups-browsed: Added NULL check to avoid crashes in the Avahi 17217b66cf61Sopenharmony_ci resolver callback (Ubuntu bug #1696967). 17227b66cf61Sopenharmony_ci - libcupsfilters: Let PPD generator do case-insensitive 17237b66cf61Sopenharmony_ci comparisons for PWG Raster color spaces, as some printers 17247b66cf61Sopenharmony_ci (Epson) do not use the standard-conforming all-lowercase 17257b66cf61Sopenharmony_ci form for them (CUPS Issue #4998). 17267b66cf61Sopenharmony_ci 17277b66cf61Sopenharmony_ciCHANGES IN V1.14.0 17287b66cf61Sopenharmony_ci 17297b66cf61Sopenharmony_ci - cups-browsed: When a printer is discovered via DNS-SD on the 17307b66cf61Sopenharmony_ci "lo" (loopback) interface the printer is not reliably 17317b66cf61Sopenharmony_ci accessible through the reported host name (which is the 17327b66cf61Sopenharmony_ci network host name of the local machine). Until this problem 17337b66cf61Sopenharmony_ci is fixed in Avahi, we create queues for such printers with a 17347b66cf61Sopenharmony_ci URI based on the IP address. This is a workaround until 17357b66cf61Sopenharmony_ci Avahi fully supports the "lo" interface. 17367b66cf61Sopenharmony_ci - cups-browsed: Added new setting "LocalOnly" for the 17377b66cf61Sopenharmony_ci CreateIPPPrinterQueues in cups-browsed.conf. With this new 17387b66cf61Sopenharmony_ci setting (which is the default from now on) only for local 17397b66cf61Sopenharmony_ci printers made available as IPP printers (like IPP-over-USB 17407b66cf61Sopenharmony_ci printers with ippusbxd) queues are auto-created. With this 17417b66cf61Sopenharmony_ci we can follow the common standard of distributions where USB 17427b66cf61Sopenharmony_ci printers are automatically set up and network printers not. 17437b66cf61Sopenharmony_ci - cups-browsed: Fixes and improvements in comments and debug 17447b66cf61Sopenharmony_ci messages: 1. Bonjour -> DNS-SD; 2. When a remote CUPS class 17457b66cf61Sopenharmony_ci is discovered, tell that it is a class; 3. Show network 17467b66cf61Sopenharmony_ci interface and IPv4/IPv6 when a DNS-Sd service appears or 17477b66cf61Sopenharmony_ci disappears. 17487b66cf61Sopenharmony_ci - cups-browsed: Added ./configure script option 17497b66cf61Sopenharmony_ci "--enable-auto-setup-driverless" to let cups-browsed 17507b66cf61Sopenharmony_ci automatically set up IPP network printers by default. 17517b66cf61Sopenharmony_ci 17527b66cf61Sopenharmony_ciCHANGES IN V1.13.5 17537b66cf61Sopenharmony_ci 17547b66cf61Sopenharmony_ci - foomatic-rip: When called via the utility cupsfilter from 17557b66cf61Sopenharmony_ci CUPS, foomatic-rip was not able to read the PPD file with 17567b66cf61Sopenharmony_ci the file name supplied as environment variable PPD (Bug 17577b66cf61Sopenharmony_ci #1388). 17587b66cf61Sopenharmony_ci - driverless: Improved error message output. 17597b66cf61Sopenharmony_ci - libcupsfilters: Fixed error handling of the PPD file 17607b66cf61Sopenharmony_ci generator for driverless printing, so that callers get 17617b66cf61Sopenharmony_ci decent error messages. 17627b66cf61Sopenharmony_ci - libcupsfilters: Do not generate a PPD file where the only 17637b66cf61Sopenharmony_ci output data format is JPEG, as JPEG does not support 17647b66cf61Sopenharmony_ci multi-page documents. 17657b66cf61Sopenharmony_ci - libcupsfilters: Let PPD generator skip broken page size 17667b66cf61Sopenharmony_ci records and add warnings for debugging to the PPD. 17677b66cf61Sopenharmony_ci - libcupsfilters: Updated PPD generator to match with the 17687b66cf61Sopenharmony_ci current GIT state of the one of CUPS. 17697b66cf61Sopenharmony_ci - braille: Automatically select a table according to the 17707b66cf61Sopenharmony_ci current locale. 17717b66cf61Sopenharmony_ci - braille: Update for liblouis table list. 17727b66cf61Sopenharmony_ci - braille: Added support for text margins. 17737b66cf61Sopenharmony_ci - cups-browsed: When creating a local queue for a remote CUPS 17747b66cf61Sopenharmony_ci printer, add the line '*APRemoteQueueID: ""' to the PPD file 17757b66cf61Sopenharmony_ci so that CUPS sets the CUPS_PRINTER_REMOTE bit for the 17767b66cf61Sopenharmony_ci printer type of the local queue (Bug #1386). 17777b66cf61Sopenharmony_ci 17787b66cf61Sopenharmony_ciCHANGES IN V1.13.4 17797b66cf61Sopenharmony_ci 17807b66cf61Sopenharmony_ci - libcupsfilters: Let PPD generator for driverless printing 17817b66cf61Sopenharmony_ci not error out when there is no urf-supported or 17827b66cf61Sopenharmony_ci pwg-raster-document-resolution-supported IPP attribute, 17837b66cf61Sopenharmony_ci simply accept the default resolution also from the 17847b66cf61Sopenharmony_ci printer-resolution-default attribute or set a default value 17857b66cf61Sopenharmony_ci of 300 dpi to get a working PPD file. 17867b66cf61Sopenharmony_ci - cups-browsed: Do not use deprecated names for IPP status 17877b66cf61Sopenharmony_ci constants 17887b66cf61Sopenharmony_ci - cups-browsed: Corrected determination whether an IPP status 17897b66cf61Sopenharmony_ci is an error, to avoid "Unable to create/modify CUPS queue 17907b66cf61Sopenharmony_ci (Success)" and infinite repetition of a succeeded operation 17917b66cf61Sopenharmony_ci (Debian bug #852436). 17927b66cf61Sopenharmony_ci 17937b66cf61Sopenharmony_ciCHANGES IN V1.13.3 17947b66cf61Sopenharmony_ci 17957b66cf61Sopenharmony_ci - libcupsfilters: When auto-generating PPD files added support 17967b66cf61Sopenharmony_ci for passing through JPEG input to printers which understand 17977b66cf61Sopenharmony_ci JPEG. This is also done in CUPS-generated PPDs (Debian bug 17987b66cf61Sopenharmony_ci #851499). 17997b66cf61Sopenharmony_ci - libcupsfilters: Added the "output-bin" option support from 18007b66cf61Sopenharmony_ci CUPS' PPD generator to our PPD generator (CUPS Issue #4938). 18017b66cf61Sopenharmony_ci - cups-browsed: Make support for printers with IPv6 IP address 18027b66cf61Sopenharmony_ci work. Both link-local and regular addresses work. 18037b66cf61Sopenharmony_ci 18047b66cf61Sopenharmony_ciCHANGES IN V1.13.2 18057b66cf61Sopenharmony_ci 18067b66cf61Sopenharmony_ci - cupsfilters.drv: Corrected cupsFilter entry for the "Generic 18077b66cf61Sopenharmony_ci IPP Everywhere Printer". 18087b66cf61Sopenharmony_ci - driverless: Fixes on the man page (Debian bug #849075). 18097b66cf61Sopenharmony_ci - driverless: Do not error-exit (non-zero status) when run by 18107b66cf61Sopenharmony_ci CUPS as backend or PPD generator when no driverless printer 18117b66cf61Sopenharmony_ci is found or Avahi not running. When run from thr command 18127b66cf61Sopenharmony_ci line, exit status is the same as of ippfind. 18137b66cf61Sopenharmony_ci - imagetoraster: Removed (incomplete) PWG Raster support. For 18147b66cf61Sopenharmony_ci PWG Raster output we let the rastertopwg filter from CUPS do 18157b66cf61Sopenharmony_ci the finalization (mainly adding white pixels at the borders 18167b66cf61Sopenharmony_ci to get a full-page bitmap). 18177b66cf61Sopenharmony_ci - imagetoraster: Fixed several bugs in the calculation of the 18187b66cf61Sopenharmony_ci page geometry (Debian bug #849380). 18197b66cf61Sopenharmony_ci - libcupsfilters: If the IPP-polled printer has the 18207b66cf61Sopenharmony_ci "sides-supported" attribute, determine the need of a 18217b66cf61Sopenharmony_ci "Duplex" option solely whether the attribute has a 18227b66cf61Sopenharmony_ci "two-sided-long-edge" choice and ignore the "duplex" 18237b66cf61Sopenharmony_ci parameter of the ppdCreateFromIPP() function call. This lets 18247b66cf61Sopenharmony_ci the more precise information coming from the IPP query 18257b66cf61Sopenharmony_ci always be preferred against information from the Bonjour 18267b66cf61Sopenharmony_ci record. 18277b66cf61Sopenharmony_ci - driverless: When listing printers let the device ID contain 18287b66cf61Sopenharmony_ci "AppleRaster" (for Apple Raster printers) and "PWGRaster" 18297b66cf61Sopenharmony_ci (for IPP Everywhere printers) in the "CMD" field. 18307b66cf61Sopenharmony_ci - driverless: Added "-T 3" to the ippfind command line. This 18317b66cf61Sopenharmony_ci makes ippfind search the Bonjour broadcasts for up to 3 18327b66cf61Sopenharmony_ci seconds when searching for IPP printers, raising the 18337b66cf61Sopenharmony_ci reliability in finding all of them (Debian bug #848712). 18347b66cf61Sopenharmony_ci 18357b66cf61Sopenharmony_ciCHANGES IN V1.13.1 18367b66cf61Sopenharmony_ci 18377b66cf61Sopenharmony_ci - cups-browsed: Avoid erroring out when restarting after a 18387b66cf61Sopenharmony_ci crash (with generated queues not deleted due to the crash) 18397b66cf61Sopenharmony_ci and the configuration option 18407b66cf61Sopenharmony_ci CreateRemoteCUPSPrinterQueues=No being set. 18417b66cf61Sopenharmony_ci - cups-browsed: If CUPS is stopped while cups-browsed is 18427b66cf61Sopenharmony_ci running and there are queue for IPP network printers (not 18437b66cf61Sopenharmony_ci remote CUPS queues) on restart of CUPS the still existing 18447b66cf61Sopenharmony_ci local CUPS queue is not correctly re-connected with 18457b66cf61Sopenharmony_ci cups-browsed and therefore gets removed after a 18467b66cf61Sopenharmony_ci timeout. This should be fixed after a clean-up of 18477b66cf61Sopenharmony_ci re-connecting with remaining queues from a previous session 18487b66cf61Sopenharmony_ci (Debian bug #848223). 18497b66cf61Sopenharmony_ci - cups-browsed: Generated queues did not get removed on 18507b66cf61Sopenharmony_ci shutdown (Debian bug #848167). 18517b66cf61Sopenharmony_ci - libcupsfilters: Let PPD generator for driverless printing 18527b66cf61Sopenharmony_ci suppress page sizes which the printer reports more than 18537b66cf61Sopenharmony_ci once (CUPS Issue #4933). 18547b66cf61Sopenharmony_ci - driverless, libcupsfilters: Make "driverless list" output 18557b66cf61Sopenharmony_ci and output of driverless as CUPS backend in discovery mode 18567b66cf61Sopenharmony_ci add the word "driverless" to its output, to make it easier 18577b66cf61Sopenharmony_ci to set up driverless printers with printer setup tools. 18587b66cf61Sopenharmony_ci Made the NickName of the generated PPDs also match with the 18597b66cf61Sopenharmony_ci "driverless list" output. 18607b66cf61Sopenharmony_ci 18617b66cf61Sopenharmony_ciCHANGES IN V1.13.0 18627b66cf61Sopenharmony_ci 18637b66cf61Sopenharmony_ci - cups-browsed: Use the httpGetAddr() only with CUPS 2.0.x or 18647b66cf61Sopenharmony_ci newer, as older CUPS versions do not provide it (Bug #1381). 18657b66cf61Sopenharmony_ci - cups-browsed: Minor corrections in the handling of the data 18667b66cf61Sopenharmony_ci records of the discovered printers. 18677b66cf61Sopenharmony_ci - rastertopdf, urftopdf: As with libcupsimage from CUPS 2.2.2 18687b66cf61Sopenharmony_ci on rastertopdf also understands Apple Raster and much better 18697b66cf61Sopenharmony_ci than urftopdf does, use rastertopdf for Apple Raster 18707b66cf61Sopenharmony_ci (image/urf) input files then. Also allow for manually 18717b66cf61Sopenharmony_ci choosing by the ./configure command line. 18727b66cf61Sopenharmony_ci - driverless: Added a CUPS backend mode to the driverless 18737b66cf61Sopenharmony_ci utility. Running as a CUPS backend in discovery mode it 18747b66cf61Sopenharmony_ci lists the IPP URIs of the suitable printers in printer setup 18757b66cf61Sopenharmony_ci tools and in "lpinfo -v", as conneting via IPP is required 18767b66cf61Sopenharmony_ci for driverless printing. 18777b66cf61Sopenharmony_ci 18787b66cf61Sopenharmony_ciCHANGES IN V1.12.0 18797b66cf61Sopenharmony_ci 18807b66cf61Sopenharmony_ci - cups-browsed: Added new "CreateRemoteCUPSPrinterQueues" 18817b66cf61Sopenharmony_ci directive to cups-browsed.conf, which allows to decide 18827b66cf61Sopenharmony_ci whether to auto-create local print queues for shared CUPS 18837b66cf61Sopenharmony_ci queues on remote machines. This way one can also set up 18847b66cf61Sopenharmony_ci servers which only create queues for IPP network printers. 18857b66cf61Sopenharmony_ci - driverless: Added new /usr/lib/cups/driver/driverless 18867b66cf61Sopenharmony_ci utility to make CUPS auto-generate PPD files for printers 18877b66cf61Sopenharmony_ci designed for driverless use (IPP Everywhere, Apple Raster) 18887b66cf61Sopenharmony_ci when they are set up with a printer setup tool. This gives 18897b66cf61Sopenharmony_ci transparency to set up these printers with legacy printer 18907b66cf61Sopenharmony_ci setup tools. This utility is also linked to /ustr/bin to 18917b66cf61Sopenharmony_ci manually generate PPDs via command line. 18927b66cf61Sopenharmony_ci - libcupsfilters, cups-browsed: Moved the PPD generator for 18937b66cf61Sopenharmony_ci IPP network printers from cups-browsed to libcupsfilters, so 18947b66cf61Sopenharmony_ci that it can also be used by other utilities. 18957b66cf61Sopenharmony_ci - cups-browsed: When auto-generating a PPD set the cost values 18967b66cf61Sopenharmony_ci in the filter lines to give the highest priority to PDF, 18977b66cf61Sopenharmony_ci then PWG Raster, Apple Raster, PCL-XL, PostScript, PCL 5c/e. 18987b66cf61Sopenharmony_ci - cups-browsed: Synced the PPD generator with the one of CUPS, 18997b66cf61Sopenharmony_ci giving the best possible support for IPP Everywhere and 19007b66cf61Sopenharmony_ci AirPrint printers. Especially support for more media types 19017b66cf61Sopenharmony_ci and for finishing units got added. Also support for more 19027b66cf61Sopenharmony_ci different ways to represent the printer capabilities via 19037b66cf61Sopenharmony_ci IPP attributes got added. 19047b66cf61Sopenharmony_ci - cups-browsed: Added support for auto setup of IPP printers 19057b66cf61Sopenharmony_ci understanding the Apple Raster input data format (.urf, on 19067b66cf61Sopenharmony_ci AirPrint printers), only if CUPS 2.2.2 is used, which can 19077b66cf61Sopenharmony_ci generate this format via its rastertopwg filter. 19087b66cf61Sopenharmony_ci - cups-browsed: Added new "NewIPPPrinterQueuesShared" 19097b66cf61Sopenharmony_ci directive to cups-browsed.conf, which allows to decide 19107b66cf61Sopenharmony_ci whether the auto-created local print queue for a newly 19117b66cf61Sopenharmony_ci discovered IPP network printer will be shared or not. For 19127b66cf61Sopenharmony_ci printers discovered earlier, cups-browsed remembers the 19137b66cf61Sopenharmony_ci previous setting. 19147b66cf61Sopenharmony_ci - cups-browsed: If a user changes the printer-is-shared bit of 19157b66cf61Sopenharmony_ci an auto-created print queue for an IPP network printer (not 19167b66cf61Sopenharmony_ci for a remote CUPS queue), record this fact and recover the 19177b66cf61Sopenharmony_ci change when creating this queue in the next session. 19187b66cf61Sopenharmony_ci - cups-browsed: For automatic creation of print queues for IPP 19197b66cf61Sopenharmony_ci network printers also allow only creating queues for IPP 19207b66cf61Sopenharmony_ci Everywhere printers, only for Apple Raster printers, or for 19217b66cf61Sopenharmony_ci both printer types designed for driverless printing and not 19227b66cf61Sopenharmony_ci only for all suitable printers, configurable via the 19237b66cf61Sopenharmony_ci CreateIPPPrinterQueues directive in cups-browsed.conf. 19247b66cf61Sopenharmony_ci 19257b66cf61Sopenharmony_ciCHANGES IN V1.11.6 19267b66cf61Sopenharmony_ci 19277b66cf61Sopenharmony_ci - pdftops: Do not default to simply "pdftops" when calling the 19287b66cf61Sopenharmony_ci Poppler pdftops utility, as the $PATH of CUPS when running 19297b66cf61Sopenharmony_ci filters/backends starts with /usr/lib/cups/filter/ and then 19307b66cf61Sopenharmony_ci pdftops would call itself (Bug #1380). 19317b66cf61Sopenharmony_ci 19327b66cf61Sopenharmony_ciCHANGES IN V1.11.5 19337b66cf61Sopenharmony_ci 19347b66cf61Sopenharmony_ci - cups-browsed: Fixed several typos in the documentation (Bug 19357b66cf61Sopenharmony_ci #1378). 19367b66cf61Sopenharmony_ci - gstoraster, mupdftoraster, pdftops, sys5ippprinter: Use 19377b66cf61Sopenharmony_ci execvp() and execvpe() to call programs so that the $PATH 19387b66cf61Sopenharmony_ci environment variable gets used to find the programs (Bug 19397b66cf61Sopenharmony_ci #1378). 19407b66cf61Sopenharmony_ci - build system: Several fixes, especially to make it work when 19417b66cf61Sopenharmony_ci cross-compiling or using a build server (Bug #1378). 19427b66cf61Sopenharmony_ci - cups-browsed: Silenced a warning. 19437b66cf61Sopenharmony_ci - cups-browsed: For remote CUPS queues with a dot in their 19447b66cf61Sopenharmony_ci name no local queue got created (Bug #1379). 19457b66cf61Sopenharmony_ci - pdftopdf: Do the page logging also for IPP Everywhere 19467b66cf61Sopenharmony_ci printers which use the PWG Raster data format as the 19477b66cf61Sopenharmony_ci ...toraster filters being the last filter then do not log. 19487b66cf61Sopenharmony_ci - gstoraster, pdftoraster: Let filters generate PWG Raster if 19497b66cf61Sopenharmony_ci the environment variable FINAL_CONTENT_TYPE is set to 19507b66cf61Sopenharmony_ci image/pwg-raster, make sure full-page bitmaps are generated 19517b66cf61Sopenharmony_ci in PWG_raster mode, and added mime conversion rules for 19527b66cf61Sopenharmony_ci direct PWG Raster output. 19537b66cf61Sopenharmony_ci - cups-browsed: Corrected checking of the PDLs of an IPP network 19547b66cf61Sopenharmony_ci printer. Now PCL 5c/e printers (not HP inkjets) should get 19557b66cf61Sopenharmony_ci recognized correctly. 19567b66cf61Sopenharmony_ci - texttopdf: Added missing NULL check to avoid a segfault when 19577b66cf61Sopenharmony_ci texttopdf does not find a suitable (monospace TTF) font. 19587b66cf61Sopenharmony_ci - foomatic-rip: Replace old manpage macro calls from 19597b66cf61Sopenharmony_ci foomatic-filters 3.0.2-20050114. 19607b66cf61Sopenharmony_ci - cups-browsed: Allow changing BrowseInterval and 19617b66cf61Sopenharmony_ci BrowseTimeout via cups-browsed.conf, as it was formerly with 19627b66cf61Sopenharmony_ci CUPS (Debian bug #794655). 19637b66cf61Sopenharmony_ci - pdftopdf: Count the actual output pages also if the 19647b66cf61Sopenharmony_ci number-up option is not used, to correctly find out whether 19657b66cf61Sopenharmony_ci we have an even or odd number of pages, even if the 19667b66cf61Sopenharmony_ci page-ranges option is used. This is needed to correctly 19677b66cf61Sopenharmony_ci decide whether for duplex printing a blank page has to be 19687b66cf61Sopenharmony_ci added (Bug #1377). 19697b66cf61Sopenharmony_ci 19707b66cf61Sopenharmony_ciCHANGES IN V1.11.4 19717b66cf61Sopenharmony_ci 19727b66cf61Sopenharmony_ci - gstoraster: Allow Ghostscript to use the center-of-pixel 19737b66cf61Sopenharmony_ci method instead of the PostScript-standard any-part-of-pixel 19747b66cf61Sopenharmony_ci method when rendering filled paths. This improves the 19757b66cf61Sopenharmony_ci graphics output quality of low-resolution printers like 19767b66cf61Sopenharmony_ci label printers, for example to assure readability of bar 19777b66cf61Sopenharmony_ci codes (Bug #1373). 19787b66cf61Sopenharmony_ci - cups-browsed: Fixes to avoid unneeded calls of 19797b66cf61Sopenharmony_ci handle_cups_queues() and even infinite loops (Possible fix 19807b66cf61Sopenharmony_ci for bug #1376). Also make sure that queues left over from 19817b66cf61Sopenharmony_ci the previous cups-browsed session are integrated correctly. 19827b66cf61Sopenharmony_ci 19837b66cf61Sopenharmony_ciCHANGES IN V1.11.3 19847b66cf61Sopenharmony_ci 19857b66cf61Sopenharmony_ci - cups-browsed: If a queue is not only discovered via Bonjour 19867b66cf61Sopenharmony_ci but also via legacy CUPS or LDAP, prefer the Bonjour record 19877b66cf61Sopenharmony_ci as it provides more information and there is also a defined 19887b66cf61Sopenharmony_ci cancellation broadcast. 19897b66cf61Sopenharmony_ci - cups-browsed: Let PPD options saved in the last session also 19907b66cf61Sopenharmony_ci get applied to generated PPDs for IPP network printers. 19917b66cf61Sopenharmony_ci - cups-browsed: Make sure that saved PPD options do not get 19927b66cf61Sopenharmony_ci lost if for some reason the PPD file cannot be loaded in a 19937b66cf61Sopenharmony_ci new cups-browsed session (or the loaded PPD file is 19947b66cf61Sopenharmony_ci different). This is done by holding a copy of the settings 19957b66cf61Sopenharmony_ci in the remote printer data structure. 19967b66cf61Sopenharmony_ci - cups-browsed: When saving option settings, remove 19977b66cf61Sopenharmony_ci backslashes added when the settings are read out via IPP 19987b66cf61Sopenharmony_ci request. Otherwise the backslashes would double with each 19997b66cf61Sopenharmony_ci session of cups-browsed. 20007b66cf61Sopenharmony_ci - implicitclass: Do not let the job get immediately retried on 20017b66cf61Sopenharmony_ci failure to send it out to the remote CUPS printer. By 20027b66cf61Sopenharmony_ci repeating to send the job to an unavailable server so 20037b66cf61Sopenharmony_ci quickly, cups-browsed gets bombed with requests and hangs on 20047b66cf61Sopenharmony_ci shutdown. 20057b66cf61Sopenharmony_ci - cups-browsed: Shortened timeouts of HTTP connections and IPP 20067b66cf61Sopenharmony_ci requests to 3 seconds amd of IPP requests to remote CUPS 20077b66cf61Sopenharmony_ci servers to 2 seconds. For local IPP requests always use the 20087b66cf61Sopenharmony_ci connection once created via http_connect_local(). Also call 20097b66cf61Sopenharmony_ci g_main_context_wakeup(NULL) after each 20107b66cf61Sopenharmony_ci g_main_loop_quit(gmainloop) call. These measures should 20117b66cf61Sopenharmony_ci reduce long hangs of cups-browsed on shutdown when a CUPS 20127b66cf61Sopenharmony_ci server got unavailable. 20137b66cf61Sopenharmony_ci - cups-browsed: Do not mark remote printers discovered via 20147b66cf61Sopenharmony_ci legacy CUPS broadcasts as disappeared right from the 20157b66cf61Sopenharmony_ci beginning to implement the browse timeout. Instead manage 20167b66cf61Sopenharmony_ci their expiring by introducing a flag which marks them as 20177b66cf61Sopenharmony_ci CUPS legacy printers. Printers with disappeared status are 20187b66cf61Sopenharmony_ci considered invalid in some situations, especially when 20197b66cf61Sopenharmony_ci clusterin equally-named remote printers (Bug #1374). 20207b66cf61Sopenharmony_ci - cups-browsed: When we have remote CUPS printers, we use the 20217b66cf61Sopenharmony_ci implicitclass backend and a local copy of the remote PPD 20227b66cf61Sopenharmony_ci file already if we have only a single remote printer with 20237b66cf61Sopenharmony_ci this queue name. This simplifies the management of remote 20247b66cf61Sopenharmony_ci CUPS printers and also we do not hassle with using a remote 20257b66cf61Sopenharmony_ci PPD file. Now one can change PPD option defaults with 20267b66cf61Sopenharmony_ci printer setup tools or the lpadmin command and they get 20277b66cf61Sopenharmony_ci preserved in the next cups-browsed sessions. 20287b66cf61Sopenharmony_ci - if we are using the implicitclass backend CUPS does not make 20297b66cf61Sopenharmony_ci the server's PPD file available on the client any more. To 20307b66cf61Sopenharmony_ci fix this, we download the PPD file when creating an 20317b66cf61Sopenharmony_ci implictclass:... queue and apply it to the queue. This way 20327b66cf61Sopenharmony_ci the options of the printer(s) are always available for 20337b66cf61Sopenharmony_ci enumeration, especially in print dialogs (Bug #1372). We 20347b66cf61Sopenharmony_ci modify the local copy setting any options saved from the 20357b66cf61Sopenharmony_ci previous session and inhibiting local execution of filters 20367b66cf61Sopenharmony_ci (as the driver for the remote printer is not necessarily 20377b66cf61Sopenharmony_ci available locally). 20387b66cf61Sopenharmony_ci - cups-browsed: Added flag to inhibit auto-backup of option 20397b66cf61Sopenharmony_ci settings by the on_printer_modified() notification handler 20407b66cf61Sopenharmony_ci during print queue setup and removal. 20417b66cf61Sopenharmony_ci - cups-browsed: Let the printer_record() function always 20427b66cf61Sopenharmony_ci return the master record for the printer name and not an 20437b66cf61Sopenharmony_ci arbitrary duplicate. 20447b66cf61Sopenharmony_ci - cups-browsed: Fixes in the functionality for saving option 20457b66cf61Sopenharmony_ci settings: Make sure to not save the same option twice with 20467b66cf61Sopenharmony_ci different values, do not save the "printer-is-shared" option 20477b66cf61Sopenharmony_ci (errors out when re-applying option in the next session). 20487b66cf61Sopenharmony_ci - cups-browsed: Treat discovered printers correctly also if 20497b66cf61Sopenharmony_ci they use a non-standard port, even if several CUPS daemons 20507b66cf61Sopenharmony_ci are running on the same server but on different ports. This 20517b66cf61Sopenharmony_ci also improves the support of a sandboxed printing stack. 20527b66cf61Sopenharmony_ci - cups-browsed: Close http connections opened for polling 20537b66cf61Sopenharmony_ci properties of IPP network printers, to fix a possible memory 20547b66cf61Sopenharmony_ci leak. 20557b66cf61Sopenharmony_ci - cups-browsed: Cleaned up HTTP access to local and remote 20567b66cf61Sopenharmony_ci CUPS servers and IPP printers, to assure that the local CUPS 20577b66cf61Sopenharmony_ci daemon is always accessed the same (user-defined) way 20587b66cf61Sopenharmony_ci (domain socket/localhost:port). This especially prevents 20597b66cf61Sopenharmony_ci cups-browwsed hanging on shutdown (Debian bug #832637). 20607b66cf61Sopenharmony_ci - cups-browsed: Fixed clustering equally-named queues of 20617b66cf61Sopenharmony_ci different remote servers, to assure to have one master 20627b66cf61Sopenharmony_ci referencing to all duplicates and not a daisy chain of 20637b66cf61Sopenharmony_ci duplicate references. 20647b66cf61Sopenharmony_ci 20657b66cf61Sopenharmony_ciCHANGES IN V1.11.2 20667b66cf61Sopenharmony_ci 20677b66cf61Sopenharmony_ci - cups-browsed: Allow turning off the use of CUPS' domain 20687b66cf61Sopenharmony_ci socket via cups-browsed.conf. 20697b66cf61Sopenharmony_ci - foomatic-rip: When run as regular CUPS filter use preferably 20707b66cf61Sopenharmony_ci /etc/cups/foomatic-rip.conf (or whereever the CUPS 20717b66cf61Sopenharmony_ci configuration files reside, according to the CUPS_SERVERROOT 20727b66cf61Sopenharmony_ci environment variable) as configuration file. This way we can 20737b66cf61Sopenharmony_ci more easily run the printing stack in a sandbox. 20747b66cf61Sopenharmony_ci - foomatic-rip: When run as regular CUPS filter, read the PPD 20757b66cf61Sopenharmony_ci through CUPS and get the print queue name by environment 20767b66cf61Sopenharmony_ci variable. 20777b66cf61Sopenharmony_ci - bannertopdf, foomatic-rip, gstoraster, mupdftoraster, 20787b66cf61Sopenharmony_ci pdftoopvp, pdftoraster: Do not use build-time hard-coded 20797b66cf61Sopenharmony_ci paths, but always the paths from the environment variables 20807b66cf61Sopenharmony_ci which CUPS sets when calling its filters. This is needed to 20817b66cf61Sopenharmony_ci run the printing stack in a sandbox. 20827b66cf61Sopenharmony_ci 20837b66cf61Sopenharmony_ciCHANGES IN V1.11.1 20847b66cf61Sopenharmony_ci 20857b66cf61Sopenharmony_ci - mupdftoraster: Lowered the priority (raised the cost value) 20867b66cf61Sopenharmony_ci in the cupsfilters-mupdf.convs file so that in a full 20877b66cf61Sopenharmony_ci cups-filters installation MuPDF is not prioritized. 20887b66cf61Sopenharmony_ci 20897b66cf61Sopenharmony_ciCHANGES IN V1.11.0 20907b66cf61Sopenharmony_ci 20917b66cf61Sopenharmony_ci - pdftops: Added support for MuPDF as PDF renderer. MuPDF can 20927b66cf61Sopenharmony_ci be selected by the "pdftops-renderer=mupdf" option. 20937b66cf61Sopenharmony_ci - rastertops: Removed unneeded page logging. 20947b66cf61Sopenharmony_ci - rastertops: Fixed DSC comments, some were only preceded by 20957b66cf61Sopenharmony_ci a single '%' instead of a double "%%". 20967b66cf61Sopenharmony_ci - gstoraster, pdftops, foomatic-rip: Use -dNOMEDIAATTRS when 20977b66cf61Sopenharmony_ci calling Ghostscript. This way Ghostscript does not try to 20987b66cf61Sopenharmony_ci match media sizes with internal lists. 20997b66cf61Sopenharmony_ci - Build system: Allow building cups-filters without Poppler 21007b66cf61Sopenharmony_ci (--disable-poppler in ./configure command line) This skips 21017b66cf61Sopenharmony_ci the build of pdftoraster, bannertopdf, pdftoijs, and 21027b66cf61Sopenharmony_ci pdftoopvp and the installation of these filters and their 21037b66cf61Sopenharmony_ci auxiliary files. With this cups-filters can be easily 21047b66cf61Sopenharmony_ci installed on mobile/appliance systems with MuPDF as the only 21057b66cf61Sopenharmony_ci PDF interpreter. 21067b66cf61Sopenharmony_ci - mupdftoraster: Added filter to support MuPDF as PDF 21077b66cf61Sopenharmony_ci interpreter. MuPDF is a lightweight PDF interpreter 21087b66cf61Sopenharmony_ci especially interesting for mobile systems and 21097b66cf61Sopenharmony_ci appliances. Thanks to Pranjal Bhor for contributing this as 21107b66cf61Sopenharmony_ci part of his Google Summer of Code project. 21117b66cf61Sopenharmony_ci - gstoraster: Fix setting of width and height of the page in 21127b66cf61Sopenharmony_ci pixels when there is no Resolution option in the PPD. 21137b66cf61Sopenharmony_ci - cups-browsed, implicitclass: Avoid the use of files for the 21147b66cf61Sopenharmony_ci communication between cups-browsed and the load-balancing 21157b66cf61Sopenharmony_ci backend implicitclass. Instead of in a file, cups-brwsed 21167b66cf61Sopenharmony_ci stores the destination server name in an option (which CUPS 21177b66cf61Sopenharmony_ci saves in printers.conf) which the implicitclass backend 21187b66cf61Sopenharmony_ci reads via IPP. This not only makes it easier to run 21197b66cf61Sopenharmony_ci cups-filters in a sandbox, but it is also better in terms of 21207b66cf61Sopenharmony_ci system security. 21217b66cf61Sopenharmony_ci - cups-browsed: Allow configuring where the files produced by 21227b66cf61Sopenharmony_ci cups-browsed will get stored. This makes it easier to run 21237b66cf61Sopenharmony_ci cups-filters in a sandbox. 21247b66cf61Sopenharmony_ci - beh: Fixed printing multiple copies with beh (Ubuntu bug 21257b66cf61Sopenharmony_ci #1605514). 21267b66cf61Sopenharmony_ci - cups-browsed: Fixed several memory leaks, especially when 21277b66cf61Sopenharmony_ci using IPP requests and DNS-SD TXT record look-ups. Thanks to 21287b66cf61Sopenharmony_ci Ivo Straka for finding them with Valgrind and supplying 21297b66cf61Sopenharmony_ci patches to fix them (Bug #1365, Bug #1368, Ubuntu bug 21307b66cf61Sopenharmony_ci #1203276). 21317b66cf61Sopenharmony_ci - libcupsfilters: Added missing "#include <cups/ppd.h>" to 21327b66cf61Sopenharmony_ci make sure that the package builds on all systems (Bug 21337b66cf61Sopenharmony_ci #1366). 21347b66cf61Sopenharmony_ci 21357b66cf61Sopenharmony_ciCHANGES IN V1.10.0 21367b66cf61Sopenharmony_ci 21377b66cf61Sopenharmony_ci - texttotext: Added new filter for text-only printers written 21387b66cf61Sopenharmony_ci in C, to use the CUPS library to access the print queue's 21397b66cf61Sopenharmony_ci PPD file, with a lot of options to fit practically all 21407b66cf61Sopenharmony_ci printer models amd paper sizes, support for CUPS' page 21417b66cf61Sopenharmony_ci management options, and support for configuring the print 21427b66cf61Sopenharmony_ci queue and controlling the options by the PPD file. The PPD 21437b66cf61Sopenharmony_ci is now generated on-the-fly by cupsfilters.drv. 21447b66cf61Sopenharmony_ci - textonly: Removed the old script-based filter and its PPD 21457b66cf61Sopenharmony_ci for text-only printers. 21467b66cf61Sopenharmony_ci - rastertops: Added new filter to turn PWG Raster into 21477b66cf61Sopenharmony_ci PostScript, in preparation for MuPDF support. Thanks to 21487b66cf61Sopenharmony_ci Pranjal Bhor for contributing this as part of his Google 21497b66cf61Sopenharmony_ci Summer of Code project. 21507b66cf61Sopenharmony_ci - gstoraster, gstopxl, gstopdf, pstopdf: Integrated 21517b66cf61Sopenharmony_ci functionality of script-based filters pstopdf and gstopxl 21527b66cf61Sopenharmony_ci into gstoraster filter as script-based filters cannot access 21537b66cf61Sopenharmony_ci the print queue's PPD file with current CUPS due to change 21547b66cf61Sopenharmony_ci of PPD file permissions. To make gstoraster always produce 21557b66cf61Sopenharmony_ci the correct output format (CUPS/PWG Raster, PDF, PCL-XL) it 21567b66cf61Sopenharmony_ci is called via new wrapper scripts (gstopdf, gstopxl) which 21577b66cf61Sopenharmony_ci set an environment variable telling the format. The old 21587b66cf61Sopenharmony_ci filter scripts got removed. 21597b66cf61Sopenharmony_ci - imagetops, texttops: Do not use $0 in the wrapper scripts, 21607b66cf61Sopenharmony_ci when CUPS calls filters, it passes the queue name as $0, not 21617b66cf61Sopenharmony_ci path and name of the called filter. 21627b66cf61Sopenharmony_ci - cups-browsed: When creating local queues for discovered IPP 21637b66cf61Sopenharmony_ci network printers always create PPD files and if the 21647b66cf61Sopenharmony_ci information supplied by the printer via IPP is insufficient 21657b66cf61Sopenharmony_ci use information from the DNS-SD entry or default values 21667b66cf61Sopenharmony_ci suitable for most printers. Use System V interface scripts 21677b66cf61Sopenharmony_ci only on explicit request in cups-browsed.conf. This change 21687b66cf61Sopenharmony_ci is to address the fact that System V interface script 21697b66cf61Sopenharmony_ci support is removed from CUPS 2.2.x and later for security 21707b66cf61Sopenharmony_ci reasons. 21717b66cf61Sopenharmony_ci - pstopdf: Make the filter only get installed if Ghostscript is 21727b66cf61Sopenharmony_ci present and also moved its conversion rules into the 21737b66cf61Sopenharmony_ci cupsfilters-ghostscript.convs file. 21747b66cf61Sopenharmony_ci - cups-browsed: Fixed crash when trying to get debugg logging 21757b66cf61Sopenharmony_ci both to the terminal and into a file. 21767b66cf61Sopenharmony_ci - libcupsfilters: Fixed crash of pdftoraster when the color 21777b66cf61Sopenharmony_ci space is an RGB space (3 colors) with 1 bit color 21787b66cf61Sopenharmony_ci depth. Here we need to add one bit to the pixels (to get 4 21797b66cf61Sopenharmony_ci bits per pixel) to align the pixels with the bytes. 21807b66cf61Sopenharmony_ci - cups-browsed: From cups-browsed.service removed the unneeded 21817b66cf61Sopenharmony_ci "Wants=cups.service" as we have "Requires=cups.service" 21827b66cf61Sopenharmony_ci (Debian bug #827455, #827457). 21837b66cf61Sopenharmony_ci - foomatic-rip: Updated man page for removed page logging 21847b66cf61Sopenharmony_ci facility. 21857b66cf61Sopenharmony_ci - pdftops: Also added Dell to the list of manufacturers whose 21867b66cf61Sopenharmony_ci printers need Poppler's PostScript to work around their 21877b66cf61Sopenharmony_ci PostScript interpreter bugs (Debian bug #827040). 21887b66cf61Sopenharmony_ci 21897b66cf61Sopenharmony_ciCHANGES IN V1.9.0 21907b66cf61Sopenharmony_ci 21917b66cf61Sopenharmony_ci - foomatic-rip: Removed page logging via insertion of PostScript code. 21927b66cf61Sopenharmony_ci This works only with Ghostscript and PostScript input and even 21937b66cf61Sopenharmony_ci then it can break things or simply not work. We do the page logging 21947b66cf61Sopenharmony_ci for foomatic-rip in pdftopdf now, which is more universal and more 21957b66cf61Sopenharmony_ci reliable. 21967b66cf61Sopenharmony_ci - sys5ippprinter: Added page logging (to /var/log/cups/page_log) 21977b66cf61Sopenharmony_ci functionality. 21987b66cf61Sopenharmony_ci - pdftopdf: Added functionality for logging pages in the 21997b66cf61Sopenharmony_ci /var/log/cups/page_log file. Logging can also be forced or 22007b66cf61Sopenharmony_ci surpressed via command line (page-logging=on/off/auto) and 22017b66cf61Sopenharmony_ci page logging is also done for filters which should do but 22027b66cf61Sopenharmony_ci actually do not do: foomatic-rip, gstopxl, hpps (CUPS issue #4798, 22037b66cf61Sopenharmony_ci Ubuntu bug #1585380). 22047b66cf61Sopenharmony_ci - pdftopdf: Whitespace and indentation clean-up. 22057b66cf61Sopenharmony_ci - README: Removed the documentation of the old Poppler-based pdftopdf 22067b66cf61Sopenharmony_ci filter which is not included any more. 22077b66cf61Sopenharmony_ci - cups-browsed: Do not schedule failed operations for later repetition 22087b66cf61Sopenharmony_ci during shutdown. 22097b66cf61Sopenharmony_ci - cups-browsed: Added support for debug logging into a file (usually 22107b66cf61Sopenharmony_ci /var/log/cups/cups-browsed_log, to be activated via "-l" or 22117b66cf61Sopenharmony_ci "--logfile" option or via "DebugLogging file" option in 22127b66cf61Sopenharmony_ci cups-browsed.conf. 22137b66cf61Sopenharmony_ci - cups-browesd: Consistent use of debug_printf() in the LDAP support. 22147b66cf61Sopenharmony_ci - cups-browsed: Added "Requires=cups-service" to the 22157b66cf61Sopenharmony_ci cups-browsed.service file, so that systemd keeps CUPS running while 22167b66cf61Sopenharmony_ci shutting down cups-browsed on system shutdown (Ubuntu bug #1579905). 22177b66cf61Sopenharmony_ci - README: Extended pdftopdf's documentation. 22187b66cf61Sopenharmony_ci - README: Added documentation for the pdfAutorotate option in 22197b66cf61Sopenharmony_ci pdftopdf. 22207b66cf61Sopenharmony_ci - gstoraster: Treat status output of the waitpid() function properly, 22217b66cf61Sopenharmony_ci to avoid gstoraster exiting with zero status when Ghostscript 22227b66cf61Sopenharmony_ci exited with non-zero status or got terminated by a signal 22237b66cf61Sopenharmony_ci (Bug #1354). 22247b66cf61Sopenharmony_ci - README: Fixed typos. Thanks to Pranjal Bhor (bhor dot pranjal at 22257b66cf61Sopenharmony_ci gmail dot com) for the patch. 22267b66cf61Sopenharmony_ci - braille: Recognize application/vnd.cups-pdf-banner MIME type and 22277b66cf61Sopenharmony_ci read standard input directly instead of using /dev/stdin. 22287b66cf61Sopenharmony_ci - braille: Drop output of the "type" command when checking the 22297b66cf61Sopenharmony_ci presence of helper utilities. 22307b66cf61Sopenharmony_ci - braille: Do not send EOF twice to the braille embosser. 22317b66cf61Sopenharmony_ci - cups-browsed/sys5ippprinter: Fixed documentation about the allowed 22327b66cf61Sopenharmony_ci input formats for auto-created network printer queues using 22337b66cf61Sopenharmony_ci sys5ippprinter, also improved NEWS entry about renaming of 22347b66cf61Sopenharmony_ci sys5ippprinter (Debian bug #819665). 22357b66cf61Sopenharmony_ci 22367b66cf61Sopenharmony_ciCHANGES IN V1.8.3 22377b66cf61Sopenharmony_ci 22387b66cf61Sopenharmony_ci - cups-browsed: When creating or modifying a local print queue 22397b66cf61Sopenharmony_ci set the printer-is-shared bit to false in a separate IPP 22407b66cf61Sopenharmony_ci request as this operation errors on queues directly pointing 22417b66cf61Sopenharmony_ci to remote CUPS queues with the IPP backend. This way we can 22427b66cf61Sopenharmony_ci ignore the error and assure that all other settings are 22437b66cf61Sopenharmony_ci applied (Ubuntu bug #1560099). 22447b66cf61Sopenharmony_ci - Fixed pkg-config support so that $PKG_CONFIG gets used and 22457b66cf61Sopenharmony_ci cross compilation works (Bug #1347). 22467b66cf61Sopenharmony_ci - gstoraster: Put conversion rules for this filter into a 22477b66cf61Sopenharmony_ci separate file, so that they do not get installed when we 22487b66cf61Sopenharmony_ci build without Ghostscript support (Bug #1346). 22497b66cf61Sopenharmony_ci - Allow disabling dependencies on IJS (Bug #1345). 22507b66cf61Sopenharmony_ci - pdftops: Switch to Poppler as PDF renderer also for the 22517b66cf61Sopenharmony_ci Apple LaserWriter 12/640, to work around a bug in the 22527b66cf61Sopenharmony_ci printer's PostScript interpreter (Bug #1344). 22537b66cf61Sopenharmony_ci 22547b66cf61Sopenharmony_ciCHANGES IN V1.8.2 22557b66cf61Sopenharmony_ci 22567b66cf61Sopenharmony_ci - Allow disabling dependencies on Ghostscript and Foomatic 22577b66cf61Sopenharmony_ci (Bug #1342). 22587b66cf61Sopenharmony_ci - cups-browsed: Optionally generate also local queues pointing 22597b66cf61Sopenharmony_ci to remote raw queues. Usually only queues pointing to remote 22607b66cf61Sopenharmony_ci queues with PPD/driver are created (Debian bug #814020, 22617b66cf61Sopenharmony_ci Debian bug #756724). 22627b66cf61Sopenharmony_ci 22637b66cf61Sopenharmony_ciCHANGES IN V1.8.1 22647b66cf61Sopenharmony_ci 22657b66cf61Sopenharmony_ci - cups-browsed: Do not disable queues which still have jobs (and 22667b66cf61Sopenharmony_ci therefore cannot be removed) when avahi-daemon goes away, the 22677b66cf61Sopenharmony_ci print server is most probably still available and printing can 22687b66cf61Sopenharmony_ci be continued. Especially important on mobile devices where 22697b66cf61Sopenharmony_ci avahi-daemon is shut down when the print dialog is closed (and 22707b66cf61Sopenharmony_ci the job(s) still printing). 22717b66cf61Sopenharmony_ci 22727b66cf61Sopenharmony_ciCHANGES IN V1.8.0 22737b66cf61Sopenharmony_ci 22747b66cf61Sopenharmony_ci - COPYING: Replaced the COPYING file by a file in Debian format, 22757b66cf61Sopenharmony_ci derived from Debian's file but updated and corrected. 22767b66cf61Sopenharmony_ci - braille: Added info about additional packages needed for Braille 22777b66cf61Sopenharmony_ci printing to the README file. 22787b66cf61Sopenharmony_ci - braille: Let the Braille filters use lou_translate of 22797b66cf61Sopenharmony_ci liblouis if the more sophisticated file2brl of liblouisutdml 22807b66cf61Sopenharmony_ci is not installed. This is decided on at run time, so later 22817b66cf61Sopenharmony_ci installation of liblouisutdml will let the filters 22827b66cf61Sopenharmony_ci automatically switch to file2brl. 22837b66cf61Sopenharmony_ci - braille: Allow to build with Braille support also if 22847b66cf61Sopenharmony_ci liblouis is not installed at build time. 22857b66cf61Sopenharmony_ci - braille: Added checks for the presence of helper tools, to 22867b66cf61Sopenharmony_ci get clear messages in the CUPS error_log if something is 22877b66cf61Sopenharmony_ci missing. 22887b66cf61Sopenharmony_ci - Fixed copyright headers of files inherited from CUPS or 22897b66cf61Sopenharmony_ci derived from CUPS, pointing to COPYING as license info file, 22907b66cf61Sopenharmony_ci removing Apple exceptions, removing hints that a missing 22917b66cf61Sopenharmony_ci license info file can be found at www.cups.org, and removing 22927b66cf61Sopenharmony_ci "$Id" SVN file ID placeholders. 22937b66cf61Sopenharmony_ci - Updated COPYING file for missing implicitclass and beh 22947b66cf61Sopenharmony_ci backends. 22957b66cf61Sopenharmony_ci 22967b66cf61Sopenharmony_ciCHANGES IN V1.7.0 22977b66cf61Sopenharmony_ci 22987b66cf61Sopenharmony_ci - cups-browsed: Added possibility to trigger the auto shutdown 22997b66cf61Sopenharmony_ci by the queues of cups-browsed being without jobs. Before 23007b66cf61Sopenharmony_ci auto shutdown was only possible when all queues have gone 23017b66cf61Sopenharmony_ci away. This allows auto shutdown on mobile devices where 23027b66cf61Sopenharmony_ci avahi-daemon is also used for other things than printing. 23037b66cf61Sopenharmony_ci 23047b66cf61Sopenharmony_ciCHANGES IN V1.6.0 23057b66cf61Sopenharmony_ci 23067b66cf61Sopenharmony_ci - cups-browsed: Fixed use of CUPS domain socket, both 23077b66cf61Sopenharmony_ci detection during build process and permission check at 23087b66cf61Sopenharmony_ci runtime. 23097b66cf61Sopenharmony_ci - foomatic-rip: Fixed buffer overflow when reading environment 23107b66cf61Sopenharmony_ci variables CUPS_FONTPATH, CUPS_DATADIR, and GS_LIB (Bug 23117b66cf61Sopenharmony_ci #1336). 23127b66cf61Sopenharmony_ci - beh: Introduced beh, the Backend Error Handler, a wrapper 23137b66cf61Sopenharmony_ci backend to make handling of backend errors more 23147b66cf61Sopenharmony_ci configurable. This backend is a C re-write of the beh 23157b66cf61Sopenharmony_ci backend written in Perl which was part of the former 23167b66cf61Sopenharmony_ci foomatic-filters package. Several people asked for beh 23177b66cf61Sopenharmony_ci getting moved to cups-filters. 23187b66cf61Sopenharmony_ci - braille: Make image printing working also if ImageMagick 23197b66cf61Sopenharmony_ci generates formatted images without header. 23207b66cf61Sopenharmony_ci - braille: If the user does not select a Braille translation, 23217b66cf61Sopenharmony_ci let the embosser do the translation. 23227b66cf61Sopenharmony_ci - cups-browsed: Added version info to help screen and start-up 23237b66cf61Sopenharmony_ci in debug mode, call help screen also via "--version" option. 23247b66cf61Sopenharmony_ci - cups-browsed: Minor improvements in help screen and man 23257b66cf61Sopenharmony_ci page. 23267b66cf61Sopenharmony_ci 23277b66cf61Sopenharmony_ciCHANGES IN V1.5.0 23287b66cf61Sopenharmony_ci 23297b66cf61Sopenharmony_ci - cups-browsed: Allow use of an alternative configuration file 23307b66cf61Sopenharmony_ci via the "-c" command line option. 23317b66cf61Sopenharmony_ci - cups-browsed: Allow supplying configuration settings via the 23327b66cf61Sopenharmony_ci command line using the "-o" command line option. 23337b66cf61Sopenharmony_ci - cups-browsed: Command line help via the "-h" or "--help" 23347b66cf61Sopenharmony_ci command line option. 23357b66cf61Sopenharmony_ci 23367b66cf61Sopenharmony_ciCHANGES IN V1.4.0 23377b66cf61Sopenharmony_ci 23387b66cf61Sopenharmony_ci - foomatic-rip: SECURITY FIX: Also consider the semicolon 23397b66cf61Sopenharmony_ci (';') as an illegal shell escape character. Thanks to Adam 23407b66cf61Sopenharmony_ci Chester (adam dot chester at pentest dot co dot uk) for the 23417b66cf61Sopenharmony_ci hint (CVE-2015-8560). 23427b66cf61Sopenharmony_ci - brftoembosser, imagetobrf, imagetoubrl, imageubrltoindexv3, 23437b66cf61Sopenharmony_ci imageubrltoindexv4, textbrftoindexv3, textbrftoindexv4, 23447b66cf61Sopenharmony_ci texttobrf, braille.convs, braille.types, generic-brf.drv, 23457b66cf61Sopenharmony_ci indexv3.drv, indexv4.drv: Added support for Braille 23467b66cf61Sopenharmony_ci embossing via CUPS. Text and even images can now be sent to 23477b66cf61Sopenharmony_ci a Braille embosser like to a printer. Thanks to Samuel 23487b66cf61Sopenharmony_ci Thibault (samuel dot thibault at ens-lyon dot org) for this 23497b66cf61Sopenharmony_ci contribution. 23507b66cf61Sopenharmony_ci 23517b66cf61Sopenharmony_ciCHANGES IN V1.3.0 23527b66cf61Sopenharmony_ci 23537b66cf61Sopenharmony_ci - cups-browsed: Added new BrowseFilter directive in 23547b66cf61Sopenharmony_ci cups-browsed.conf. This directive allows filtering of the 23557b66cf61Sopenharmony_ci remote printers to be accepted on most properties/metadata 23567b66cf61Sopenharmony_ci supplied with the DNS-SD broadcasts. This allows, in 23577b66cf61Sopenharmony_ci addition to BrowseAllow/BrowseDeny/BrowseOrder, to reduce 23587b66cf61Sopenharmony_ci the amount of printers listed in print dialogs to a more 23597b66cf61Sopenharmony_ci useful amount. 23607b66cf61Sopenharmony_ci - cups-browsed: Added support for BrowseDeny and BrowseOrder 23617b66cf61Sopenharmony_ci directives in cups-browsed.conf. 23627b66cf61Sopenharmony_ci - cups-browsed: Let the BrowseAllow lines in cups-browsed.conf 23637b66cf61Sopenharmony_ci also apply to remote printers discovered via DNS-SD. 23647b66cf61Sopenharmony_ci - cups-browsed: Auto-create queues for PCL-5c/e printers but 23657b66cf61Sopenharmony_ci not for HP inkjet printers (which also advertise themselves 23667b66cf61Sopenharmony_ci as PCL printers). 23677b66cf61Sopenharmony_ci - cups-browsed, sys5ippprinter: Recognize PCL-5c/e printers 23687b66cf61Sopenharmony_ci not only by the application/vnd.hp-pcl MIME type but also by 23697b66cf61Sopenharmony_ci application/pcl and application/x-pcl. 23707b66cf61Sopenharmony_ci 23717b66cf61Sopenharmony_ciCHANGES IN V1.2.0 23727b66cf61Sopenharmony_ci 23737b66cf61Sopenharmony_ci - cups-browsed: When using IP-address-based device URIs via 23747b66cf61Sopenharmony_ci the "IPBasedDeviceURIs" directive in cups-browsed.conf, add 23757b66cf61Sopenharmony_ci two additional settings to restrict the used IP addresses to 23767b66cf61Sopenharmony_ci either only IPv4 addresses or only IPv6 addresses. 23777b66cf61Sopenharmony_ci - foomatic-rip: SECURITY FIX: Also consider the back tick 23787b66cf61Sopenharmony_ci ('`') as an illegal shell escape character. Thanks to Michal 23797b66cf61Sopenharmony_ci Kowalczyk from the Google Security Team for the hint 23807b66cf61Sopenharmony_ci (CVE-2015-8327). 23817b66cf61Sopenharmony_ci 23827b66cf61Sopenharmony_ciCHANGES IN V1.1.0 23837b66cf61Sopenharmony_ci 23847b66cf61Sopenharmony_ci - Version numbering scheme changed: Releases with feature 23857b66cf61Sopenharmony_ci addition/change have the minor number increased now, pure 23867b66cf61Sopenharmony_ci bug fix releases get the revision number increased, to make 23877b66cf61Sopenharmony_ci use of the minor number which stayed zero all the time. 23887b66cf61Sopenharmony_ci - cups-browsed: Added "DefaultOptions" directive to 23897b66cf61Sopenharmony_ci cups-browsed.conf to allow defining default option settings 23907b66cf61Sopenharmony_ci for local queues to be generated for newly appearing remote 23917b66cf61Sopenharmony_ci printers. 23927b66cf61Sopenharmony_ci - cups-browsed: Removed assert() calls which remained from 23937b66cf61Sopenharmony_ci copy and paste in the very beginning of the development of 23947b66cf61Sopenharmony_ci cups-browsed. assert() is only for use during debugging and 23957b66cf61Sopenharmony_ci should not be used in production code. 23967b66cf61Sopenharmony_ci - cups-browsed: Let option settings of a generated print queue 23977b66cf61Sopenharmony_ci be saved before taking the queue down so that when the remote 23987b66cf61Sopenharmony_ci printer appears again all user changes get restored, making 23997b66cf61Sopenharmony_ci user changes permanent on generated queues. 24007b66cf61Sopenharmony_ci - foomatic-rip: Fixed string length for shell path constant, to 24017b66cf61Sopenharmony_ci work also with systems having longer paths (Bug #1325) 24027b66cf61Sopenharmony_ci - cups-browsed: Added a mode in which IP-based device URIs 24037b66cf61Sopenharmony_ci for the generation of local print queues are used, for 24047b66cf61Sopenharmony_ci cases with problems in local host name resolution. 24057b66cf61Sopenharmony_ci - foomatic-rip: Use -dFirstPage=... and -dLastPage=... only 24067b66cf61Sopenharmony_ci if really needed (Bug #1324). 24077b66cf61Sopenharmony_ci - cups-browsed, implicitclass: Make the load-balancing 24087b66cf61Sopenharmony_ci configurable so that one can select whether the jobs get 24097b66cf61Sopenharmony_ci queued up locally like in a CUPS class or whether they get 24107b66cf61Sopenharmony_ci immediately distributed to the remote servers letting them 24117b66cf61Sopenharmony_ci queue up there. 24127b66cf61Sopenharmony_ci 24137b66cf61Sopenharmony_ciCHANGES IN V1.0.76 24147b66cf61Sopenharmony_ci 24157b66cf61Sopenharmony_ci - cups-browsed: Make build also working with BSD make (Bug 24167b66cf61Sopenharmony_ci #1310). 24177b66cf61Sopenharmony_ci - cups-browsed, implicitclass: Let the load-balancing queue up 24187b66cf61Sopenharmony_ci the jobs in the local (generated) queue until a free (idle, 24197b66cf61Sopenharmony_ci enabled, and accepting jobs) remote queue is found (check 24207b66cf61Sopenharmony_ci every 5 sec if no free queue available). This gives a more 24217b66cf61Sopenharmony_ci even distribution of the work amongst the servers and 24227b66cf61Sopenharmony_ci protects against the case that a bunch of jobs gets 24237b66cf61Sopenharmony_ci inaccessible or lost if one of the servers fails. 24247b66cf61Sopenharmony_ci - cups-browsed: Let the load-balancing also check whether the 24257b66cf61Sopenharmony_ci destination queue is actually accepting jobs. 24267b66cf61Sopenharmony_ci - cups-browsed: If a generated queue is not removed on 24277b66cf61Sopenharmony_ci shutdown of cups-browsed due to remaining jobs in it, 24287b66cf61Sopenharmony_ci re-enable it in the next cups-browsed session even if it was 24297b66cf61Sopenharmony_ci disabled by something other than cups-browsed. 24307b66cf61Sopenharmony_ci - implicitclass: Clean up debug and error messages. 24317b66cf61Sopenharmony_ci - implicitclass: Fix exit codes for immediate retry of jobs. 24327b66cf61Sopenharmony_ci - cups-browsed: Make absence of CUPS notifications via D-Bus 24337b66cf61Sopenharmony_ci non-fatal and fall back to the old behavior of cups-browsed 24347b66cf61Sopenharmony_ci (fail-over instead of load balancing for equally-named 24357b66cf61Sopenharmony_ci remote queues, do not remove generated queue if it is 24367b66cf61Sopenharmony_ci default instead of default printer management). This solves 24377b66cf61Sopenharmony_ci problems of CUPS and/or cups-browsed built without D-Bus 24387b66cf61Sopenharmony_ci support or absence of D-Bus on the system (Bug #1316). 24397b66cf61Sopenharmony_ci - cups-browsed: Do not use g_warning() function, sneaked in by 24407b66cf61Sopenharmony_ci copy and paste of CUPS subscription functions. 24417b66cf61Sopenharmony_ci 24427b66cf61Sopenharmony_ciCHANGES IN V1.0.75 24437b66cf61Sopenharmony_ci 24447b66cf61Sopenharmony_ci - texttopdf: Really support BoldItalic (original texttops just maps 24457b66cf61Sopenharmony_ci BoldItalic to Bold). 24467b66cf61Sopenharmony_ci - texttopdf: Fixed segfault when outputting BoldItalic (Bug #1314). 24477b66cf61Sopenharmony_ci 24487b66cf61Sopenharmony_ciCHANGES IN V1.0.74 24497b66cf61Sopenharmony_ci 24507b66cf61Sopenharmony_ci - cups-browsed: Added NULL check when getting the notification of 24517b66cf61Sopenharmony_ci a printer starting to process a job and checking whether this 24527b66cf61Sopenharmony_ci printer is created by cups-browsed with the implicitclass: 24537b66cf61Sopenharmony_ci backend (Ubuntu bug #1488524). 24547b66cf61Sopenharmony_ci - backends: Include unistd.h and fcntl.h in backend-private.h for 24557b66cf61Sopenharmony_ci all platforms, not only Linux, so that the backends build also 24567b66cf61Sopenharmony_ci on non-Linux platforms (Bug #1308). 24577b66cf61Sopenharmony_ci - cups-browsed: Do not schedule printers for update when they are 24587b66cf61Sopenharmony_ci already marked as disappeared. 24597b66cf61Sopenharmony_ci - cups-browsed: Added sanity checks when saving the default printer 24607b66cf61Sopenharmony_ci selection in a file. 24617b66cf61Sopenharmony_ci - cups-browsed, implicitclass: If remote queues disappear or 24627b66cf61Sopenharmony_ci cups-browsed shuts down and a cups-browsed-generated queue still 24637b66cf61Sopenharmony_ci has jobs and needs to be kept therefore, disable it and re-enable 24647b66cf61Sopenharmony_ci it when cups-browsed starts again and/or the remote queue(s) re- 24657b66cf61Sopenharmony_ci appear(s). This avoids repeated retries of the jobs while the 24667b66cf61Sopenharmony_ci remote server is not available, causing unneeded system load and 24677b66cf61Sopenharmony_ci battery consumption. 24687b66cf61Sopenharmony_ci - cups-browsed: After polling info from remote CUPS servers to find 24697b66cf61Sopenharmony_ci the best destination job, set the default CUPS server back to local. 24707b66cf61Sopenharmony_ci 24717b66cf61Sopenharmony_ciCHANGES IN V1.0.73 24727b66cf61Sopenharmony_ci 24737b66cf61Sopenharmony_ci - cups-browsed: Added missing 24747b66cf61Sopenharmony_ci utils/org.cups.cupsd.Notifier.xml file. 24757b66cf61Sopenharmony_ci 24767b66cf61Sopenharmony_ciCHANGES IN V1.0.72 24777b66cf61Sopenharmony_ci 24787b66cf61Sopenharmony_ci - cups-browsed, implicitclass: Added load balancing 24797b66cf61Sopenharmony_ci functionality. If there are several remote CUPS printers 24807b66cf61Sopenharmony_ci with the same name, they for locally a cluster represented 24817b66cf61Sopenharmony_ci by a print queue with this name. This printer prints through 24827b66cf61Sopenharmony_ci a special backend (implicitclass) which makes cups-browsed 24837b66cf61Sopenharmony_ci find the best destination remote queue (fewest jobs, 24847b66cf61Sopenharmony_ci enabled) for this job. 24857b66cf61Sopenharmony_ci - cups-browsed: Added protection against accidental deletion of 24867b66cf61Sopenharmony_ci print queues generated by cups-browsed. These queues now get 24877b66cf61Sopenharmony_ci automatically re-created. 24887b66cf61Sopenharmony_ci - cups-browsed: Added LDAP support. Appropriately configured via 24897b66cf61Sopenharmony_ci cups-browsed.conf remote printers made available via LDAP will be 24907b66cf61Sopenharmony_ci looked up and local queues pointing to them created. Thanks to 24917b66cf61Sopenharmony_ci Raphael Geissert (atomo64 at gmail dot com) for contributing this 24927b66cf61Sopenharmony_ci patch (Debian bug #795185). 24937b66cf61Sopenharmony_ci - cups-browsed: Introduced new handling for the default 24947b66cf61Sopenharmony_ci printer using cache files. So we do not need to keep an auto-generated 24957b66cf61Sopenharmony_ci queue because it is set as default printer. If the auto-generated 24967b66cf61Sopenharmony_ci queue disappears, the old local printer is set as default again and 24977b66cf61Sopenharmony_ci when it re-appears it returns to be the default printer. 24987b66cf61Sopenharmony_ci - cups-browsed: Added infrastructure for subscribing to CUPS 24997b66cf61Sopenharmony_ci notifications for things like improved default printer handling, 25007b66cf61Sopenharmony_ci load balancing, ... 25017b66cf61Sopenharmony_ci - foomatic-rip: Prevent crash when supplying "media" option with empty 25027b66cf61Sopenharmony_ci value ("media=", Ubuntu bug #1479871). 25037b66cf61Sopenharmony_ci - pdftoopvp: Adaptations to API changes on Poppler 0.34.0, note that 25047b66cf61Sopenharmony_ci this patch disables color management in this filter. Thanks to 25057b66cf61Sopenharmony_ci Vincent le Garrec and Andreas K. Huettel for the patch (Bug #1301, 25067b66cf61Sopenharmony_ci Gentoo bug #554782). 25077b66cf61Sopenharmony_ci - libcupsfilters, bannertopdf, foomatic-rip, gstoraster, pdftoijs, 25087b66cf61Sopenharmony_ci sys5ippprinter, pdftoopvp, pdftops, pdftoraster, rastertoescpx, 25097b66cf61Sopenharmony_ci urftopdf, texttopdf: Miscellaneous fixes for build compatibility with 25107b66cf61Sopenharmony_ci different platforms, like config.h as very first include and so on. 25117b66cf61Sopenharmony_ci Thanks to Richard Palo for the patch (Bug #1264). 25127b66cf61Sopenharmony_ci - texttopdf: Request the generic 'monospace' font alias from fontconfig 25137b66cf61Sopenharmony_ci instead of the hard-coded FreeMono. Thanks to Fabian Greffrath 25147b66cf61Sopenharmony_ci (fabian at debian dot org) for the patch (Debian bug #788048). 25157b66cf61Sopenharmony_ci 25167b66cf61Sopenharmony_ciCHANGES IN V1.0.71 25177b66cf61Sopenharmony_ci 25187b66cf61Sopenharmony_ci - texttopdf: The Page allocation is moved into textcommon.c, where it 25197b66cf61Sopenharmony_ci does all the necessary checking: lower-bounds for CVE-2015-3258 and 25207b66cf61Sopenharmony_ci upper-bounds for CVE-2015-3279 due to integer overflows for the 25217b66cf61Sopenharmony_ci calloc() call initialising Page[0] and the memset() call in 25227b66cf61Sopenharmony_ci texttopdf.c's WritePage() function zeroing the entire array. Thanks 25237b66cf61Sopenharmony_ci to Tim Waugh from Red Hat for the patch. 25247b66cf61Sopenharmony_ci - texttopdf: Upper-bounds checking (CVE-2015-3279). 25257b66cf61Sopenharmony_ci 25267b66cf61Sopenharmony_ciCHANGES IN V1.0.70 25277b66cf61Sopenharmony_ci 25287b66cf61Sopenharmony_ci - texttopdf: Fixed buffer overflow on size allocation of texttopdf 25297b66cf61Sopenharmony_ci when working with extremely small line sizes, which causes the size 25307b66cf61Sopenharmony_ci calculation to result in 0 (CVE-2015-3258, thanks to Stefan 25317b66cf61Sopenharmony_ci Cornelius fro Red Hat for the patch). 25327b66cf61Sopenharmony_ci - cups-browsed: leak fixes 25337b66cf61Sopenharmony_ci - cups-browsed: Further BrowseAllow fixing 25347b66cf61Sopenharmony_ci - cups-browsed: BrowsePoll is an array of pointers, not structures, 25357b66cf61Sopenharmony_ci so allocate room for the pointers 25367b66cf61Sopenharmony_ci - cups-browsed: Prevent NULL dereference when handling BrowseAllow 25377b66cf61Sopenharmony_ci without value 25387b66cf61Sopenharmony_ci - cups-browsed: Use memory deallocation function corresponding to 25397b66cf61Sopenharmony_ci allocation function used 25407b66cf61Sopenharmony_ci - cups-browsed: Fixes for glib source handling (Red Hat bug #1228555) 25417b66cf61Sopenharmony_ci - foomatic-rip: Allow using another shell than /bin/bash using the 25427b66cf61Sopenharmony_ci "--with-shell=..." option for "./configure". Thanks to Leonardo 25437b66cf61Sopenharmony_ci Taccari for the patch (Bug #1288). 25447b66cf61Sopenharmony_ci 25457b66cf61Sopenharmony_ciCHANGES IN V1.0.69 25467b66cf61Sopenharmony_ci 25477b66cf61Sopenharmony_ci - cups-browsed: When generating a PPD for an auto-discovered IPP 25487b66cf61Sopenharmony_ci network printer, create a "ColorModel" option only if valid 25497b66cf61Sopenharmony_ci choices are reported for it by the IPP printer. 25507b66cf61Sopenharmony_ci - cups-browsed: Updated PPD file generator for auto-generated queues 25517b66cf61Sopenharmony_ci for IPP network printers from the CUPS 2.1.x upstream code, so that 25527b66cf61Sopenharmony_ci floating-point numbers are written in a locale-neutral way 25537b66cf61Sopenharmony_ci (CUPS STR #4579). 25547b66cf61Sopenharmony_ci - cups-browsed: When checking whether a queue name already exists 25557b66cf61Sopenharmony_ci as a locally defined queue, do case-insensitive comparing as for 25567b66cf61Sopenharmony_ci CUPS printer names are case-insensitive. This assures that 25577b66cf61Sopenharmony_ci already existing queues do never get overwritten. 25587b66cf61Sopenharmony_ci - cups-browsed: Added "IPPPrinterQueueType Auto/PPD/NoPPD" directive 25597b66cf61Sopenharmony_ci to cups-browsed.conf to allow controlling how cups-browsed 25607b66cf61Sopenharmony_ci creates queues fr native IPP network printers: with PPD, with 25617b66cf61Sopenharmony_ci System V interface script, or selecting automatically. 25627b66cf61Sopenharmony_ci - pdftopdf: Center Landscape-oriented jobs correctly on the page 25637b66cf61Sopenharmony_ci if the "fitplot" or "number-up" options are used (Bug #1284). 25647b66cf61Sopenharmony_ci - pstopdf: Removed "-dUseCIEColor" from the Ghostscript command line. 25657b66cf61Sopenharmony_ci In modern Ghostscript versions (9.11 and newer) it is recommended to 25667b66cf61Sopenharmony_ci not use it with the pdfwrite and ps2write output devices any more. 25677b66cf61Sopenharmony_ci - imagetopdf: Corrections in PDF output: Let evince display the PDF 25687b66cf61Sopenharmony_ci with the correct size including margins and let ghostscript not 25697b66cf61Sopenharmony_ci complain about an invalid xref entry. 25707b66cf61Sopenharmony_ci - cups-browsed: Do not add options to the System V interface script 25717b66cf61Sopenharmony_ci which calls sys5ippprinter but set the options as defaults for the 25727b66cf61Sopenharmony_ci CUPS queue in printers.conf. 25737b66cf61Sopenharmony_ci - cups-browsed: When auto-generating a PPD-less print queue for an 25747b66cf61Sopenharmony_ci IPP network printer, determine default page size, unprintable margins, 25757b66cf61Sopenharmony_ci and color space from the printer via an IPP request. 25767b66cf61Sopenharmony_ci - imagetopdf: Debug logging should be only controlled by the LogLevel 25777b66cf61Sopenharmony_ci of CUPS, not by an awkward build time switch. 25787b66cf61Sopenharmony_ci - cups-browsed: Determine from the TXT records of the Bonjour broadcast 25797b66cf61Sopenharmony_ci of an IPP network printer whether it has color and duplex 25807b66cf61Sopenharmony_ci capabilities and if yes, let auto-generated PPD-less print queues 25817b66cf61Sopenharmony_ci use appropriate command line options to make use of these 25827b66cf61Sopenharmony_ci capabilities. 25837b66cf61Sopenharmony_ci - imagetopdf: Make this filter also work with auto-generated PPD-less 25847b66cf61Sopenharmony_ci print queues for IPP network printers. 25857b66cf61Sopenharmony_ci - sys5ippprinter: Renamed from pdftoippprinter to reflect that 25867b66cf61Sopenharmony_ci it is a System 5 interface script and does not accept only 25877b66cf61Sopenharmony_ci PDF as input. 25887b66cf61Sopenharmony_ci - pdftoippprinter: Support also PWG Raster and JPEG as input formats 25897b66cf61Sopenharmony_ci so that an auto-generated, PPD-less queue for an IPP printer emulates 25907b66cf61Sopenharmony_ci an IPP Everywhere printer. 25917b66cf61Sopenharmony_ci 25927b66cf61Sopenharmony_ciCHANGES IN V1.0.68 25937b66cf61Sopenharmony_ci 25947b66cf61Sopenharmony_ci - cups-browsed: Numeric IDs for GSources of the glib event 25957b66cf61Sopenharmony_ci loop must be positive integers greater than zero according 25967b66cf61Sopenharmony_ci to the documentation of the g_source_get_id() function. 25977b66cf61Sopenharmony_ci Taken care of this at all places. 25987b66cf61Sopenharmony_ci - cups-browsed: Added conditionals so that it also builds with 25997b66cf61Sopenharmony_ci CUPS 1.5.x (but then withou support for automatically creating 26007b66cf61Sopenharmony_ci queues for IPP network printers). Thanks to Johannes Meixner from 26017b66cf61Sopenharmony_ci SUSE for the patch (Bug #1268). 26027b66cf61Sopenharmony_ci - Ricoh-PDF_Printer-PDF.ppd: Added PPD file for Ricoh's PDF printers 26037b66cf61Sopenharmony_ci (experimental). Thanks to Ulrich Wehner from Ricoh for the file. 26047b66cf61Sopenharmony_ci 26057b66cf61Sopenharmony_ciCHANGES IN V1.0.67 26067b66cf61Sopenharmony_ci 26077b66cf61Sopenharmony_ci - cups-browsed: Use g_source_remove() instead of g_source_destroy() 26087b66cf61Sopenharmony_ci for killing auto shutdown timers (Ubuntu bug #1427344). 26097b66cf61Sopenharmony_ci 26107b66cf61Sopenharmony_ciCHANGES IN V1.0.66 26117b66cf61Sopenharmony_ci 26127b66cf61Sopenharmony_ci - cups-browsed: SECURITY FIX: Fixed a bug in the remove_bad_chars() 26137b66cf61Sopenharmony_ci failing to reliably filter out illegal characters if there are two 26147b66cf61Sopenharmony_ci or more subsequent illegal characters, allowing execution of 26157b66cf61Sopenharmony_ci arbitrary commands with the rights of the "lp" user, using forged 26167b66cf61Sopenharmony_ci print service announcements on DNS-SD servers (Bug #1265). 26177b66cf61Sopenharmony_ci - pdftoopvp: Added conditionals to also build with Poppler 0.31.0 26187b66cf61Sopenharmony_ci and newer. Thanks to Armin K. (krejzi at email dot com) for the 26197b66cf61Sopenharmony_ci patch (Bug #1254). 26207b66cf61Sopenharmony_ci 26217b66cf61Sopenharmony_ciCHANGES IN V1.0.65 26227b66cf61Sopenharmony_ci 26237b66cf61Sopenharmony_ci - cups-browsed: Listen for NetworkManager changes (Red Hat bug #975933). 26247b66cf61Sopenharmony_ci - cups-browsed: Fix for memory leak introduced in BZR rev 7059. 26257b66cf61Sopenharmony_ci - cups-browsed: Memory leak/uninit fixes. 26267b66cf61Sopenharmony_ci - cups-browsed: Cache prepared browse data to send. 26277b66cf61Sopenharmony_ci - cups-browsed: Only get local notifications once per BrowsePoll run. 26287b66cf61Sopenharmony_ci - cups-browsed: Fix BrowsePoll now notifications work properly. Need 26297b66cf61Sopenharmony_ci to maintain a list of printers to keep alive for the case of there 26307b66cf61Sopenharmony_ci being no notifications of changes. 26317b66cf61Sopenharmony_ci - cups-browsed: Use local browsepolling for getting initial printer 26327b66cf61Sopenharmony_ci list. 26337b66cf61Sopenharmony_ci - cups-browsed: Ignore browse packets for deleted printers. 26347b66cf61Sopenharmony_ci - cups-browsed: Cache connection to local cupsd. 26357b66cf61Sopenharmony_ci - cups-browsed: Use notifications to track local printers. 26367b66cf61Sopenharmony_ci This avoids expensive calls to cupsGetDests(). 26377b66cf61Sopenharmony_ci - cups-browsed: Manage subscriptions for local browsepolling. 26387b66cf61Sopenharmony_ci - cups-browsed: Track notify-sequence-number for notifications. 26397b66cf61Sopenharmony_ci 26407b66cf61Sopenharmony_ciCHANGES IN V1.0.64 26417b66cf61Sopenharmony_ci 26427b66cf61Sopenharmony_ci - cups-browsed: Added PPD file generator for IPP Everywhere 26437b66cf61Sopenharmony_ci printers. If auto-setup of discovered IPP printers is 26447b66cf61Sopenharmony_ci activated ("CreateIPPPrinterQueues Yes" in 26457b66cf61Sopenharmony_ci cups-browsed.conf), the printer provides suitable capability 26467b66cf61Sopenharmony_ci information via a Get-Printer-Attributes IPP call, and 26477b66cf61Sopenharmony_ci prints PWG or PostScript input, a PPD is auto-generated 26487b66cf61Sopenharmony_ci based on the Get-Printer-Attributes IPP response. Otherwise 26497b66cf61Sopenharmony_ci a System-V interface script is used as befreo. Advantage of 26507b66cf61Sopenharmony_ci the PPD file is that current print dialogs aloow access to 26517b66cf61Sopenharmony_ci the options, no IPP request done by the dialog is 26527b66cf61Sopenharmony_ci required. The PPD generator code is borrowed from the CUPS 26537b66cf61Sopenharmony_ci 2.1.x development code repository. It will perhaps be 26547b66cf61Sopenharmony_ci removed in the future when CUPS provides proper API function 26557b66cf61Sopenharmony_ci for its PPD generator. 26567b66cf61Sopenharmony_ci 26577b66cf61Sopenharmony_ciCHANGES IN V1.0.63 26587b66cf61Sopenharmony_ci 26597b66cf61Sopenharmony_ci - foomatic-rip: Added hint to man page that direct, spooler-less mode 26607b66cf61Sopenharmony_ci is mainly for testing and debugging (Bug #1253). 26617b66cf61Sopenharmony_ci - foomatic-rip: Added a symlink of the filter to the binary executable 26627b66cf61Sopenharmony_ci directory (usually /usr/bin), so that LSB compliance test scripts 26637b66cf61Sopenharmony_ci work (Bug #1255). 26647b66cf61Sopenharmony_ci - cups-browsed: Fixed CUPS Browsing timeouts. Thanks to Tim 26657b66cf61Sopenharmony_ci Waugh from Red Hat for the patch (Bug #1252, Red Hat bug 26667b66cf61Sopenharmony_ci #1189254). 26677b66cf61Sopenharmony_ci 26687b66cf61Sopenharmony_ciCHANGES IN V1.0.62 26697b66cf61Sopenharmony_ci 26707b66cf61Sopenharmony_ci - cups-browsed: Allow underscore characters in print queue names. 26717b66cf61Sopenharmony_ci Thanks to Tim Waugh from Red Hat for the bug report (Bug 26727b66cf61Sopenharmony_ci #1241). 26737b66cf61Sopenharmony_ci - pdftops: Apply workarounds for Kyocera also to Utax printers 26747b66cf61Sopenharmony_ci as Utax uses hard- and software from Kyocera. Thanks to Edward 26757b66cf61Sopenharmony_ci Huang from Kyocera. 26767b66cf61Sopenharmony_ci - cups-browsed: Added support for "BrowseAllow All" in the 26777b66cf61Sopenharmony_ci cups-browsed.conf file. 26787b66cf61Sopenharmony_ci - cups-browsed: Reorder inclusion of headers for compatibility 26797b66cf61Sopenharmony_ci with NetBSD (Bug #1235). 26807b66cf61Sopenharmony_ci - imagetopdf, pdftopdf: Correct handling of hardware copies in 26817b66cf61Sopenharmony_ci PJL/JCL and/or when the PPD file has a "Copies" option. 26827b66cf61Sopenharmony_ci 26837b66cf61Sopenharmony_ciCHANGES IN V1.0.61 26847b66cf61Sopenharmony_ci 26857b66cf61Sopenharmony_ci - cups-browsed: Fixed memory leak when a 26867b66cf61Sopenharmony_ci cups-browsed-generated print queue is the default 26877b66cf61Sopenharmony_ci printer. Thanks to Tim Waugh from Red Hat for the patch (Red 26887b66cf61Sopenharmony_ci Hat bug: #1119290). 26897b66cf61Sopenharmony_ci - cupsfilters.drv, *-PDF.ppd, textonly.ppd: Added 26907b66cf61Sopenharmony_ci "*cupsFilter2: ..." lines to the PPD files to support 26917b66cf61Sopenharmony_ci data-format-specific behavior of backends, especially of the 26927b66cf61Sopenharmony_ci IPP backend. 26937b66cf61Sopenharmony_ci 26947b66cf61Sopenharmony_ciCHANGES IN V1.0.60 26957b66cf61Sopenharmony_ci 26967b66cf61Sopenharmony_ci - cups-browsed, pdftoippprinter: Do not confuse the PDL "PCLm" 26977b66cf61Sopenharmony_ci with "PCL". The former is a proprietary, PDF-based raster 26987b66cf61Sopenharmony_ci format and has nothing to do with PCL. 26997b66cf61Sopenharmony_ci - cupsfilters.drv: Corrected the CMD: field of the device ID, 27007b66cf61Sopenharmony_ci it must read "PWGRaster" there to conform to the PWG standard. 27017b66cf61Sopenharmony_ci 27027b66cf61Sopenharmony_ciCHANGES IN V1.0.59 27037b66cf61Sopenharmony_ci 27047b66cf61Sopenharmony_ci - cupsfilters.drv: Added PPD file for a Generic IPP Everywhere 27057b66cf61Sopenharmony_ci Printer, generating PWG Raster output. 27067b66cf61Sopenharmony_ci - gstoraster, pdftoraster, imagetoraster: Allow PWG Raster 27077b66cf61Sopenharmony_ci output with print queues using a PPD file, using the new 27087b66cf61Sopenharmony_ci "PWGRaster" PPD attribute. 27097b66cf61Sopenharmony_ci - pdftoraster: Removed "cm_disabled" flag in selectConvFunc() 27107b66cf61Sopenharmony_ci - libcupsfilters: Allowed color management to continue while 27117b66cf61Sopenharmony_ci invalid input 27127b66cf61Sopenharmony_ci - rastertopdf: Streamlined PDF conversion code 27137b66cf61Sopenharmony_ci - rastertopdf: Invert all CUPS_CSPACE_K documents by default 27147b66cf61Sopenharmony_ci - foomatic-rip: Clean trailing white space from PPD file lines to 27157b66cf61Sopenharmony_ci avoid a segfault caused by it (Bug #1227). 27167b66cf61Sopenharmony_ci 27177b66cf61Sopenharmony_ciCHANGES IN V1.0.58 27187b66cf61Sopenharmony_ci 27197b66cf61Sopenharmony_ci - pdftoraster: Changed ICC profile get function to accept a 27207b66cf61Sopenharmony_ci PPD fallback profile. 27217b66cf61Sopenharmony_ci - pdftoraster: Fixed handling of cupsColorSpaces 18,19,20. 27227b66cf61Sopenharmony_ci - rastertopdf: Added test feature to force color management if 27237b66cf61Sopenharmony_ci "profile=" option is specified. 27247b66cf61Sopenharmony_ci - rastertopdf: Grayscale color conversion now properly inverts 27257b66cf61Sopenharmony_ci bits. 27267b66cf61Sopenharmony_ci - rastertopdf: Code cleanup for prepare_pdf_page(). 27277b66cf61Sopenharmony_ci - rastertopdf: Implemented basic 8bit->8bit color space 27287b66cf61Sopenharmony_ci conversions. 27297b66cf61Sopenharmony_ci - rastertopdf: Added black point compensation. 27307b66cf61Sopenharmony_ci - rastertopdf: Added handling of color rendering intent. 27317b66cf61Sopenharmony_ci - gstoraster, imagetoraster, pdftoraster, rastertopclx, 27327b66cf61Sopenharmony_ci rastertopdf, foomatic-rip: Use color management functions in 27337b66cf61Sopenharmony_ci libcupsfilters. 27347b66cf61Sopenharmony_ci - libcupsfilters: Modified code formatting and documentation in 27357b66cf61Sopenharmony_ci the color management functions. 27367b66cf61Sopenharmony_ci - libcupsfilters: Fixed string handling and added debug log 27377b66cf61Sopenharmony_ci messages in the color management functions. 27387b66cf61Sopenharmony_ci - libcupsfilters: Fixed Adobe RGB matrix for proper rendering 27397b66cf61Sopenharmony_ci (transpose) 27407b66cf61Sopenharmony_ci - libcupsfilters: Moved color management functions from the 27417b66cf61Sopenharmony_ci individual filters to the libcupsfilters library. 27427b66cf61Sopenharmony_ci 27437b66cf61Sopenharmony_ciCHANGES IN V1.0.57 27447b66cf61Sopenharmony_ci 27457b66cf61Sopenharmony_ci - rastertopclx: Fixed implicit declaration of 27467b66cf61Sopenharmony_ci colord_get_inhibit_for_device_id. 27477b66cf61Sopenharmony_ci - Build system: Explicitly link to libm as -lm was dropped 27487b66cf61Sopenharmony_ci from cups-config --libs. 27497b66cf61Sopenharmony_ci - libcupsfilters, foomaticrip, gstoraster, imagetoraster, 27507b66cf61Sopenharmony_ci pdftoraster, rastertopclx, rastertopdf: Handle absence of 27517b66cf61Sopenharmony_ci colord or D-Bus gracefully (Ubuntu bug #1356405). 27527b66cf61Sopenharmony_ci 27537b66cf61Sopenharmony_ciCHANGES IN V1.0.56 27547b66cf61Sopenharmony_ci 27557b66cf61Sopenharmony_ci - rastertopdf: Some code polishing and removal of now unneeded 27567b66cf61Sopenharmony_ci functions 27577b66cf61Sopenharmony_ci - rastertopdf: Reduced color space handling to only 27587b66cf61Sopenharmony_ci PWG-supported color spaces 27597b66cf61Sopenharmony_ci - rastertopdf: Added colorspace calibration function; included 27607b66cf61Sopenharmony_ci optional "/Alternate" PDF key for ICC profile embedding 27617b66cf61Sopenharmony_ci - rastertopdf: Colorspace sRGB now embeds srgb icc profile; 27627b66cf61Sopenharmony_ci implemented ICC Profile embedding (PDF 1.3 spec) 27637b66cf61Sopenharmony_ci - rastertopdf: Added basic color calibration 27647b66cf61Sopenharmony_ci - rastertopdf: Implemented ICC Profile creation code for IPP 27657b66cf61Sopenharmony_ci Everywhere (from PWG raster) 27667b66cf61Sopenharmony_ci - pdftoraster: Added colord handling of ICC profiles 27677b66cf61Sopenharmony_ci - kmdevices.cpp/.h: Added interface for Kolor Manager 27687b66cf61Sopenharmony_ci - cups-browsed: Do not consider a remote CUPS queue as raw if 27697b66cf61Sopenharmony_ci the TXT record is NULL as for queues broadcasted by the 27707b66cf61Sopenharmony_ci legacy CUPS method the TXT record does not exist. Now 27717b66cf61Sopenharmony_ci consider a queue with NULL TXT record only as raw if the 27727b66cf61Sopenharmony_ci domain entry is not empty (which tells that the queue is 27737b66cf61Sopenharmony_ci Bonjour-broadcasted (Bug #1223). 27747b66cf61Sopenharmony_ci - cups-browsed: Do also not mark a discovered printer as 27757b66cf61Sopenharmony_ci already provided by another server when the other server's 27767b66cf61Sopenharmony_ci queue has "unconfirmed" status. Mark the other queue with 27777b66cf61Sopenharmony_ci "disappeared" or "unconfirmed" status as duplicate of the 27787b66cf61Sopenharmony_ci discovered printer so that the new queue for the discovered 27797b66cf61Sopenharmony_ci printer does not get removed when the entry for the other 27807b66cf61Sopenharmony_ci queue times out. 27817b66cf61Sopenharmony_ci 27827b66cf61Sopenharmony_ciCHANGES IN V1.0.55 27837b66cf61Sopenharmony_ci 27847b66cf61Sopenharmony_ci - pdftopdf: Fixed manual duplex by adding a blank page to evn 27857b66cf61Sopenharmony_ci pages if the total number of pages of the document is 27867b66cf61Sopenharmony_ci odd. Otherwise the last page of the document would stay in 27877b66cf61Sopenharmony_ci the input tray. This fixes also a side effect as the set of 27887b66cf61Sopenharmony_ci even pages reducing to a zero page job if the job consists 27897b66cf61Sopenharmony_ci of only one page, making Poppler's pdftops error out (Ubuntu 27907b66cf61Sopenharmony_ci bug #1340435). 27917b66cf61Sopenharmony_ci - cups-browsed: Do not mark a discovered printer as already 27927b66cf61Sopenharmony_ci provided by another server when the other server's queue has 27937b66cf61Sopenharmony_ci "disappeared" status. This queue can be from the same server 27947b66cf61Sopenharmony_ci before it changed its name. 27957b66cf61Sopenharmony_ci - cups-browsed: Do not create a local queue pointing to a 27967b66cf61Sopenharmony_ci remote raw queue (Ubuntu bug #1335211). 27977b66cf61Sopenharmony_ci - foomatic-rip, imagetoraster, pdftoraster, rastertopclx, 27987b66cf61Sopenharmony_ci rastertopdf: Added colord "device_inhibit" support for 27997b66cf61Sopenharmony_ci color-managed filters. 28007b66cf61Sopenharmony_ci - foomatic-rip: Let it also build correctly on systems which 28017b66cf61Sopenharmony_ci already provide the strlcat() and strlcpy() functions, like 28027b66cf61Sopenharmony_ci Mac OS X. Thanks to Matt Broughton for reporting this 28037b66cf61Sopenharmony_ci (bug #1215). 28047b66cf61Sopenharmony_ci - bannertopdf: Added support for PPD-less printing, especially 28057b66cf61Sopenharmony_ci one gets a useful test page with PPD-less queues now. 28067b66cf61Sopenharmony_ci - bannertopdf: Fixed "Printer Location" and "Driver Version" 28077b66cf61Sopenharmony_ci entries on the test page/the banners. 28087b66cf61Sopenharmony_ci - bannertopdf: Added new PDF template files which contain the 28097b66cf61Sopenharmony_ci text strings appropriate to the banners, before the banners 28107b66cf61Sopenharmony_ci were all equal, without text. Thanks to Johannes Meixner 28117b66cf61Sopenharmony_ci from SUSE/Novell for this fix (Bug #1209). 28127b66cf61Sopenharmony_ci - bannertopdf: Fixed Makefile to mark it dependent on 28137b66cf61Sopenharmony_ci libfontembed.la. Thanks to Tim Waugh from Red Hat for the 28147b66cf61Sopenharmony_ci patch (Red Hat bug #1106101). 28157b66cf61Sopenharmony_ci - pstopdf: Use "grep -E" instead of "grep -P" as the latter 28167b66cf61Sopenharmony_ci generates executable code and executes it, requiring 28177b66cf61Sopenharmony_ci "execmem" privileges which could be not available in some 28187b66cf61Sopenharmony_ci security policies. Thanks to Tim Waugh from Red Hat for the 28197b66cf61Sopenharmony_ci patch (Red Hat bug #1079534). 28207b66cf61Sopenharmony_ci - foomatic-rip: NetBSD does not provide a mkstemps() function, 28217b66cf61Sopenharmony_ci use appropriate workaround then (Bug #1211). 28227b66cf61Sopenharmony_ci - cups-browsed: Reorder inclusion of headers for compatibility 28237b66cf61Sopenharmony_ci with NetBSD (Bug #1212). 28247b66cf61Sopenharmony_ci - pdftoraster: Fixed segfault caused by introduction of 28257b66cf61Sopenharmony_ci "no-color-management" option (Bug #1214). 28267b66cf61Sopenharmony_ci - libcupsfilters: Let cupsRasterParseIPPOptions() also accept 28277b66cf61Sopenharmony_ci "pwg-raster-document-type" settings with hyphen between 28287b66cf61Sopenharmony_ci color space name and color depth. 28297b66cf61Sopenharmony_ci 28307b66cf61Sopenharmony_ciCHANGES IN V1.0.54 28317b66cf61Sopenharmony_ci 28327b66cf61Sopenharmony_ci - pdftoraster: Support for output in the color spaces 18 28337b66cf61Sopenharmony_ci (CUPS_CSPACE_SW, sGray), 19 (CUPS_CSPACE_SRGB, sRGB), and 20 28347b66cf61Sopenharmony_ci (CUPS_CSPACE_ADOBERGB, Adobe RGB). No color management 28357b66cf61Sopenharmony_ci appropriate to these color spaces is added yet. 28367b66cf61Sopenharmony_ci - foomatic-rip, gstoraster, imagetoraster, pdftoraster, 28377b66cf61Sopenharmony_ci rastertopclx: added boolean option "no-color-management" to 28387b66cf61Sopenharmony_ci suppress all forms of color correction when 28397b66cf61Sopenharmony_ci color-calibrating the printer. 28407b66cf61Sopenharmony_ci - pdftops: Default to "hybrid" setting for the PDF->PostScript 28417b66cf61Sopenharmony_ci renderer. 28427b66cf61Sopenharmony_ci - pdftoraster: Produce correct (compressed) PWG Raster output 28437b66cf61Sopenharmony_ci when requested by using the correct mode in 28447b66cf61Sopenharmony_ci cupsRasterOpen(). 28457b66cf61Sopenharmony_ci - rastertopdf: Added new filter to convert PWG Raster input 28467b66cf61Sopenharmony_ci into a PDF file (using QPDF). This filter makes CUPS 28477b66cf61Sopenharmony_ci supporting the PWG Raster input format which is required to 28487b66cf61Sopenharmony_ci be supported by IPP Everywhere printers, making a shared 28497b66cf61Sopenharmony_ci CUPS queue emulating an IPP Everywhere printer. This is a 28507b66cf61Sopenharmony_ci first implementation which supports the black, RGB, CMYK, 28517b66cf61Sopenharmony_ci sGray, sRGB, and Adobe RGB color spaces (all mapped to 28527b66cf61Sopenharmony_ci DeviceGray, DeviceRGB, and DeviceCMYK resp. in the PDF 28537b66cf61Sopenharmony_ci output) with 1, 8, and 16 bits per component color 28547b66cf61Sopenharmony_ci depth. sGray, sRGB, and Adobe RGB are currently also mapped 28557b66cf61Sopenharmony_ci to DeviceGray and DeviceRGB and do not have the correct 28567b66cf61Sopenharmony_ci color management yet, so color output is not absolutely 28577b66cf61Sopenharmony_ci correct. Note that mime.types of CUPS up to 1.7.2 has a bug 28587b66cf61Sopenharmony_ci which prevents PWG Raster to be recognized, the 28597b66cf61Sopenharmony_ci "priority(100)" of the rule needs to be changed to 28607b66cf61Sopenharmony_ci "priority(150)". 28617b66cf61Sopenharmony_ci - foomatic-rip: Corrected declaration of print_pdf() function in 28627b66cf61Sopenharmony_ci pdf.h file (Debian bug #748028). 28637b66cf61Sopenharmony_ci - foomatic-rip: Let it also build with uclibc which does not 28647b66cf61Sopenharmony_ci provide the mkstemps() function. Thanks to Andreas K. 28657b66cf61Sopenharmony_ci Huettel for the patch (Gentoo bug #509884). 28667b66cf61Sopenharmony_ci - cups-browsed: Create local queues also to access classes on 28677b66cf61Sopenharmony_ci remote CUPS servers (Ubuntu bug #1313741). 28687b66cf61Sopenharmony_ci - cups-browsed: Let a newly discovered printer not only 28697b66cf61Sopenharmony_ci overtaking an existing printer entry if it is from the same 28707b66cf61Sopenharmony_ci host (usually IPP -> IPPS) or without host entry 28717b66cf61Sopenharmony_ci (unconfirmed local queue from previous cups-browsed session) 28727b66cf61Sopenharmony_ci but also if it is marked disappeared. So printer entries get 28737b66cf61Sopenharmony_ci correctly migrated when things like a host name change of 28747b66cf61Sopenharmony_ci the remote server happen. 28757b66cf61Sopenharmony_ci - cups-browsed: Always do case-insensitive comparing of 28767b66cf61Sopenharmony_ci strings, as CUPS queue names and URIs are case-insensitive 28777b66cf61Sopenharmony_ci (CUPS STR #4411). 28787b66cf61Sopenharmony_ci 28797b66cf61Sopenharmony_ciCHANGES IN V1.0.53 28807b66cf61Sopenharmony_ci 28817b66cf61Sopenharmony_ci - foomatic-rip: Fixed segfault when creating log file (Bug 28827b66cf61Sopenharmony_ci #1206). 28837b66cf61Sopenharmony_ci - cups-browsed: SECURITY FIX: Fix on usage of the 28847b66cf61Sopenharmony_ci "BrowseAllow" directive in cups-browsed.conf. Before, if the 28857b66cf61Sopenharmony_ci argument of a "BrowseAllow" directive is not understood it 28867b66cf61Sopenharmony_ci is treated as the directive not having been there, allowing 28877b66cf61Sopenharmony_ci any host if this was the only "BrowseAllow" directive. Now 28887b66cf61Sopenharmony_ci we treat this as a directive which no host can fulfill, not 28897b66cf61Sopenharmony_ci allowing any host if it was the only one. No "BrowseAllow" 28907b66cf61Sopenharmony_ci directive means access for all, as before (Bug #1204). 28917b66cf61Sopenharmony_ci - cups-browsed: SECURITY FIX: Further improvement on the fix 28927b66cf61Sopenharmony_ci in 1.0.51 as it was insufficient. In addition, some fixes 28937b66cf61Sopenharmony_ci against OOB access are done. Thanks to Sebastian Krahmer for 28947b66cf61Sopenharmony_ci the patch (SUSE/Novell bug #871327). 28957b66cf61Sopenharmony_ci 28967b66cf61Sopenharmony_ciCHANGES IN V1.0.52 28977b66cf61Sopenharmony_ci 28987b66cf61Sopenharmony_ci - texttopdf: Make sure that margin changes for prettyprint 28997b66cf61Sopenharmony_ci get applied. 29007b66cf61Sopenharmony_ci - texttopdf, imagetopdf, imagetoraster: Range-check paper 29017b66cf61Sopenharmony_ci dimensions and margins taken from the PPD file and correct 29027b66cf61Sopenharmony_ci them if needed (Bug #1195). 29037b66cf61Sopenharmony_ci 29047b66cf61Sopenharmony_ciCHANGES IN V1.0.51 29057b66cf61Sopenharmony_ci 29067b66cf61Sopenharmony_ci - cups-browsed: SECURITY FIX to prevent arbitrary code 29077b66cf61Sopenharmony_ci injection into the System V interface scripts generated for 29087b66cf61Sopenharmony_ci queues for discovered native IPP printers by a malicious IPP 29097b66cf61Sopenharmony_ci print service with forged make/model and/or PDL string. 29107b66cf61Sopenharmony_ci 29117b66cf61Sopenharmony_ciCHANGES IN V1.0.50 29127b66cf61Sopenharmony_ci 29137b66cf61Sopenharmony_ci - pdftops: Let old HP LaserJet printers (model number without 29147b66cf61Sopenharmony_ci letter, like "LaserJet 3" or "LaserJet 4000") use Poppler 29157b66cf61Sopenharmony_ci instead of Ghostscript (Debian bug #742765). 29167b66cf61Sopenharmony_ci - pdftops: Improved workaround for Toshiba printers. Instead 29177b66cf61Sopenharmony_ci of using Poppler do not emit TrueType fonts with Ghostscript 29187b66cf61Sopenharmony_ci (Ubuntu bug #998087). 29197b66cf61Sopenharmony_ci - cups-browsed: Build the device URIs for all local queues we create 29207b66cf61Sopenharmony_ci with the CUPS library function httpAssembleURIf() for proper 29217b66cf61Sopenharmony_ci percent escaping of characters which are not allowed in URIs 29227b66cf61Sopenharmony_ci (Bug #1187). 29237b66cf61Sopenharmony_ci 29247b66cf61Sopenharmony_ciCHANGES IN V1.0.49 29257b66cf61Sopenharmony_ci 29267b66cf61Sopenharmony_ci - pdftops: Use Poppler also for Toshiba printers (Ubuntu bug 29277b66cf61Sopenharmony_ci #998087). 29287b66cf61Sopenharmony_ci - pdftops: Fixed typo which always made PostScript level 2 being 29297b66cf61Sopenharmony_ci generated when using Poppler's pdftops (Ubuntu bug #1294370). 29307b66cf61Sopenharmony_ci 29317b66cf61Sopenharmony_ciCHANGES IN V1.0.48 29327b66cf61Sopenharmony_ci 29337b66cf61Sopenharmony_ci - cups-browsed: Fix for a crash which happens on Bonjour reports of 29347b66cf61Sopenharmony_ci printers without "product", "usb_MDL", and "ty" fields in the 29357b66cf61Sopenharmony_ci text record (Ubuntu bug #1284834). 29367b66cf61Sopenharmony_ci - cups-browsed: In README and in the sample startup scripts/configs 29377b66cf61Sopenharmony_ci for System V Init and Upstart taken into account the fact that it 29387b66cf61Sopenharmony_ci is not required any more to start avahi-daemon before starting 29397b66cf61Sopenharmony_ci cups-browsed. 29407b66cf61Sopenharmony_ci 29417b66cf61Sopenharmony_ciCHANGES IN V1.0.47 29427b66cf61Sopenharmony_ci 29437b66cf61Sopenharmony_ci - pdftoopvp: SECURITY FIX for CVE-2013-6474, CVE-2013-6475, 29447b66cf61Sopenharmony_ci and CVE-2013-6476: Introductionof gmallocn and gmallocn3 29457b66cf61Sopenharmony_ci to protect against arbitrary code execution with the 29467b66cf61Sopenharmony_ci privileges of the "lp" user via malicious PDF files. Also 29477b66cf61Sopenharmony_ci restrict the directory from where OPVP drivers can get 29487b66cf61Sopenharmony_ci loaded. 29497b66cf61Sopenharmony_ci - urftopdf: SECURITY FIX for CVE-2013-6473: Two heap-based 29507b66cf61Sopenharmony_ci buffer overflow flaws in urftopdf. If a malicious URF file 29517b66cf61Sopenharmony_ci were processed it could lead to arbitrary code execution 29527b66cf61Sopenharmony_ci with the privileges of the "lp" user. 29537b66cf61Sopenharmony_ci - pdftopdf: Fixed typo in initialization which sets the default 29547b66cf61Sopenharmony_ci value page border to an undefined value. Thanks to Helge 29557b66cf61Sopenharmony_ci Blischke for the patch. 29567b66cf61Sopenharmony_ci - cups-browsed: Check for changes of the URI of a queue which 29577b66cf61Sopenharmony_ci we have created and correct the URI if needed, especially if 29587b66cf61Sopenharmony_ci a queue was not removed on shutdown of cups-browsed (default 29597b66cf61Sopenharmony_ci printer or still having jobs) and before restart of 29607b66cf61Sopenharmony_ci cups-browsed the server's DNS-SD-provided has changed. 29617b66cf61Sopenharmony_ci - bannertopdf: Support PDF forms as banner template. This allows 29627b66cf61Sopenharmony_ci especially internationalized banner pages. Forms can contain 29637b66cf61Sopenharmony_ci fields for any CUPS/IPP value and get automatically filled 29647b66cf61Sopenharmony_ci Thanks to Andrew V. Stepanov from ALT Linux (Bug #1170, 29657b66cf61Sopenharmony_ci also first step to fix Ubuntu bug #1196986). 29667b66cf61Sopenharmony_ci 29677b66cf61Sopenharmony_ciCHANGES IN V1.0.46 29687b66cf61Sopenharmony_ci 29697b66cf61Sopenharmony_ci - gstoraster: Ignore SIGCHLD, rely on waitpid instead. Thanks 29707b66cf61Sopenharmony_ci to Lauri Tirkkonen (Bug #1184). 29717b66cf61Sopenharmony_ci - gstoraster: Fix two instances of insufficient EINTR handling. 29727b66cf61Sopenharmony_ci Thanks to Lauri Tirkkonen (Bug #1184). 29737b66cf61Sopenharmony_ci 29747b66cf61Sopenharmony_ciCHANGES IN V1.0.45 29757b66cf61Sopenharmony_ci 29767b66cf61Sopenharmony_ci - cups-browsed: Under Upstart load the AppArmor profile 29777b66cf61Sopenharmony_ci (Ubuntu bug #1276630). 29787b66cf61Sopenharmony_ci - cups-browsed: Added auto-shutdown feature for on-demand use 29797b66cf61Sopenharmony_ci of cups-browsed (for example on mobile devices). With auto 29807b66cf61Sopenharmony_ci shutdown active, cups-browsed terminates after a certain 29817b66cf61Sopenharmony_ci time interval (30 sec by default) without having any remote 29827b66cf61Sopenharmony_ci printer to make available locally. The mode can be turned 29837b66cf61Sopenharmony_ci on, turned off (default) or set to automatically be off 29847b66cf61Sopenharmony_ci while avahi-daemon is running an on otherwise (controlled by 29857b66cf61Sopenharmony_ci avahi-daemon running on-demand). The mode and the timeout 29867b66cf61Sopenharmony_ci interval can be selected by command line options, the 29877b66cf61Sopenharmony_ci configuration file, and sending signals to cups-browsed 29887b66cf61Sopenharmony_ci (on/off only). 29897b66cf61Sopenharmony_ci - cups-browsed: To make Bonjour-discovered printers locally 29907b66cf61Sopenharmony_ci available avahi-daemon does not need to be started before 29917b66cf61Sopenharmony_ci cups-browsed and does not need to stay continuously running 29927b66cf61Sopenharmony_ci while cups-browsed is running. Bonjour-discovered printers 29937b66cf61Sopenharmony_ci are now added whenever avahi-daemon starts and removed 29947b66cf61Sopenharmony_ci whenever avahi-daemon stops and cups-browsed keeps 29957b66cf61Sopenharmony_ci running. This makes it easier to use cups-browsed in 29967b66cf61Sopenharmony_ci different system-configurations and also on systems with 29977b66cf61Sopenharmony_ci daemons running on-demand (like mobile systems). 29987b66cf61Sopenharmony_ci - foomatic-rip: Fixed pid_t/int function prototype mismatch 29997b66cf61Sopenharmony_ci (Bug #1182). 30007b66cf61Sopenharmony_ci - Fixed --with-pdftops-path and --with-pdftocairo-path options 30017b66cf61Sopenharmony_ci in ./configure (Bug #1181). 30027b66cf61Sopenharmony_ci - foomatic-rip: Do not use PATH_MAX for the length of static 30037b66cf61Sopenharmony_ci strings which are supposed to hold a command line. Use our 30047b66cf61Sopenharmony_ci own CMDLINE_MAX constant to set them to a length of 65535 30057b66cf61Sopenharmony_ci bytes (Ubuntu bug #1019662, Debian bug #738440). 30067b66cf61Sopenharmony_ci - pdftops: Log command lines of renderer (Ghostscript, pdftops, 30077b66cf61Sopenharmony_ci pdftocairo, acroread) and of pstops in CUPS' error_log (in 30087b66cf61Sopenharmony_ci debug mode). 30097b66cf61Sopenharmony_ci 30107b66cf61Sopenharmony_ciCHANGES IN V1.0.44 30117b66cf61Sopenharmony_ci 30127b66cf61Sopenharmony_ci - README: Documented the "hybrid" choice for the PDF renderer 30137b66cf61Sopenharmony_ci in the pdftops filter. 30147b66cf61Sopenharmony_ci - pdftoippprinter: Handle missing Ghostscript/Poppler for all 30157b66cf61Sopenharmony_ci output formats. 30167b66cf61Sopenharmony_ci - cups-browsed: Minor corrections in the error messages. 30177b66cf61Sopenharmony_ci - gstopxl: Support for PPD-less printing. Resolution, 30187b66cf61Sopenharmony_ci InputSlot, Duplex, and ColorModel are set also without PPD 30197b66cf61Sopenharmony_ci file now. 30207b66cf61Sopenharmony_ci - Added another sample PPD file for a native PDF printer, 30217b66cf61Sopenharmony_ci Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd. Thanks to Adrian 30227b66cf61Sopenharmony_ci Johnson for contributing this PPD file. 30237b66cf61Sopenharmony_ci 30247b66cf61Sopenharmony_ciCHANGES IN V1.0.43 30257b66cf61Sopenharmony_ci 30267b66cf61Sopenharmony_ci - cups-browsed: When automatically setting up a PPD-less print 30277b66cf61Sopenharmony_ci queue for an IPP network printer add make/model info as an 30287b66cf61Sopenharmony_ci additional "make-and-model" command line option to the call 30297b66cf61Sopenharmony_ci of the pdftoippprinter filter, this way filters can do 30307b66cf61Sopenharmony_ci make/model-specific exceptions (quirk rules). 30317b66cf61Sopenharmony_ci - pdftopdf: Take page size from the command line if not 30327b66cf61Sopenharmony_ci already given by the PPD file, this way 30337b66cf61Sopenharmony_ci "fitplot"/"fit-to-page" also works with PPD-less printing. 30347b66cf61Sopenharmony_ci - libcupsfilters: cupsRasterParseIPPOptions() did not set 30357b66cf61Sopenharmony_ci sRGB color space. 30367b66cf61Sopenharmony_ci - libcupsfilters: cupsRasterParseIPPOptions() did not set 30377b66cf61Sopenharmony_ci Tumble with "Duplex=DuplexTumble". 30387b66cf61Sopenharmony_ci - pdftopdf: Fixed software copy generation logic for printers 30397b66cf61Sopenharmony_ci with hardware copy generation, but without collate support 30407b66cf61Sopenharmony_ci (Ubuntu bug #1259240). 30417b66cf61Sopenharmony_ci - pdftops: Let Ghostscript output PostScript level 3 also for 30427b66cf61Sopenharmony_ci PPD-less printing, but not for HP lasers or when make/model 30437b66cf61Sopenharmony_ci info is not supplied. 30447b66cf61Sopenharmony_ci - cups-browsed: removed duplicate definition of ippSetVersion. 30457b66cf61Sopenharmony_ci - foomatic-rip: Take PATH_MAX constant from limits.h if 30467b66cf61Sopenharmony_ci available instead defining it's own version conflicting with 30477b66cf61Sopenharmony_ci kfreebsd. Thanks to Peter Green for the patch (Debian bug 30487b66cf61Sopenharmony_ci #731658). 30497b66cf61Sopenharmony_ci - pdftops: Ignore "landscape", "orientation-requested", 30507b66cf61Sopenharmony_ci "fit-to-page", and any page geometry options. The first two 30517b66cf61Sopenharmony_ci do not make sense on PDF input and therefore should only be 30527b66cf61Sopenharmony_ci used in ...topdf filters used before pdftopdf, the others 30537b66cf61Sopenharmony_ci are already taken care of by pdftopdf so that pdftops gets 30547b66cf61Sopenharmony_ci pages with print-ready page geometry. 30557b66cf61Sopenharmony_ci - pdftops: Added "-nocenter" to the call of "pdftops 30567b66cf61Sopenharmony_ci -origpagesizes" (Poppler/freedesktop.org bug #72312, 30577b66cf61Sopenharmony_ci comments #6 and #7). 30587b66cf61Sopenharmony_ci - pdftopdf: If there is no PPD file or no 30597b66cf61Sopenharmony_ci "*LandscapeOrientation:" keyword in the PPD file, rotate 30607b66cf61Sopenharmony_ci counterclockwise, not clockwise to fit a landscape-oriented 30617b66cf61Sopenharmony_ci page on a portrait-oriented sheet (See 30627b66cf61Sopenharmony_ci Poppler/freedesktop.org bug #72312, comment #6). 30637b66cf61Sopenharmony_ci - pstopdf: Support for the "landscape" and 30647b66cf61Sopenharmony_ci "orientation-requested" options (Ubuntu bug #1243484). 30657b66cf61Sopenharmony_ci - pdftops: Support for PPD-less printing on PostScript 30667b66cf61Sopenharmony_ci printers: duplex, resolution, input tray, color mode, and 30677b66cf61Sopenharmony_ci make/model (for quirk rules) can now be supplied by the 30687b66cf61Sopenharmony_ci command line, pdftopdf takes care of the page geometry. 30697b66cf61Sopenharmony_ci - libcupsfilters: cupsRasterParseIPPOptions() allows 30707b66cf61Sopenharmony_ci specifying resolutions without unit now, assuming dpi then 30717b66cf61Sopenharmony_ci (example: "600x600"). 30727b66cf61Sopenharmony_ci - Fixed "--with-cups-rundir" and "--with-cups-domainsocket" 30737b66cf61Sopenharmony_ci options in configure (Bug #1174). 30747b66cf61Sopenharmony_ci - pdftops: After fixing the output of rotated PDF pages 30757b66cf61Sopenharmony_ci (usually landscape-oriented pages rotated by pdftopdf) in 30767b66cf61Sopenharmony_ci Poppler (Poppler/freedesktop.org bug #72312) corrected the 30777b66cf61Sopenharmony_ci use of "pdftops -origpagesizes" in pdftops appropriately 30787b66cf61Sopenharmony_ci (Red Hat bug #768811). 30797b66cf61Sopenharmony_ci 30807b66cf61Sopenharmony_ciCHANGES IN V1.0.42 30817b66cf61Sopenharmony_ci 30827b66cf61Sopenharmony_ci - pdftoippprinter: Check also the presence of Ghostscript and 30837b66cf61Sopenharmony_ci use pdftoraster if Ghostscript is missing. 30847b66cf61Sopenharmony_ci - gstoraster: At build time use the path for Ghostscript which 30857b66cf61Sopenharmony_ci our build system already finds for pdftops. 30867b66cf61Sopenharmony_ci - pdftoraster: Take into account rotate field in PDF header, 30877b66cf61Sopenharmony_ci when pdftopdf rotates a page to fit the paper it sets the 30887b66cf61Sopenharmony_ci rotate field and does not swap the width and height entries. 30897b66cf61Sopenharmony_ci - pdftoippprinter: Made PCL 5c/e printing working correctly, 30907b66cf61Sopenharmony_ci by first adding support for unprintable margins and 30917b66cf61Sopenharmony_ci defaulting to 12pt margins if no margin info is supplied, 30927b66cf61Sopenharmony_ci and second, by doing color printing always in RGB color 30937b66cf61Sopenharmony_ci space. 30947b66cf61Sopenharmony_ci - rastertopclx: Improved support for PPD-less printing, 30957b66cf61Sopenharmony_ci allowing color printing with (s)RGB color space. Output is 30967b66cf61Sopenharmony_ci in sRGB then. 30977b66cf61Sopenharmony_ci - rastertopclx: Determine page size and select correct PCL 30987b66cf61Sopenharmony_ci command for the page size more reliably, especially for 30997b66cf61Sopenharmony_ci landscape-oriented pages. 31007b66cf61Sopenharmony_ci - gstoraster, pdftoraster: Do correct PWG Raster output, allow 31017b66cf61Sopenharmony_ci switching to PWG Raster via "media-class=PwgRaster" option 31027b66cf61Sopenharmony_ci and CUPS Raster via "media-class=". Default for PPD-less 31037b66cf61Sopenharmony_ci printing is PWG Raster. 31047b66cf61Sopenharmony_ci - gstoraster, pdftoraster: Support applying unprintable 31057b66cf61Sopenharmony_ci margins for PPD-less mode with CUPS Raster output. 31067b66cf61Sopenharmony_ci - libcupsfilters: Added support for "media-left-margin", 31077b66cf61Sopenharmony_ci "media-right-margin", "media-bottom-margin", and 31087b66cf61Sopenharmony_ci "media-top-margin" IPP options to specify unprintable 31097b66cf61Sopenharmony_ci margins in 1/100th of a mm, to allow PPD-less printing with 31107b66cf61Sopenharmony_ci unprintable margins (esp. PCL 5c/e with rastertopclx). 31117b66cf61Sopenharmony_ci - libcupsfilters: Do not set "MediaClass" to "PwgRaster" when 31127b66cf61Sopenharmony_ci we request a CUPS Raster header and not a PWG Raster header. 31137b66cf61Sopenharmony_ci - libcupsfilters: Fixed typo in a debug message in the colord 31147b66cf61Sopenharmony_ci support part. 31157b66cf61Sopenharmony_ci - cupsfilters.convs: Corrected cost factor of 31167b66cf61Sopenharmony_ci vnd.cups-postscript -> vnd.cups-raster conversion with 31177b66cf61Sopenharmony_ci gstoraster, so that input data of the type 31187b66cf61Sopenharmony_ci application/vnd.adobe-reader-postscript is converted 31197b66cf61Sopenharmony_ci correctly (not via pstotiff). Thanks to Tim Waugh from Red 31207b66cf61Sopenharmony_ci Hat for this patch 31217b66cf61Sopenharmony_ci - cups-browsed: Fixed several memory leaks by adding missing 31227b66cf61Sopenharmony_ci free() calls and removing an unneeded strdup(). Thanks to 31237b66cf61Sopenharmony_ci Jaromir Koncicky from Red Hat for the patch (Red Hat bug 31247b66cf61Sopenharmony_ci #1027317). 31257b66cf61Sopenharmony_ci - Backends parallel and serial: Fixed logical expressions for 31267b66cf61Sopenharmony_ci error handling (Bug #1172). 31277b66cf61Sopenharmony_ci - libcupsfilters: Moved filter/colord.[ch] into the library as 31287b66cf61Sopenharmony_ci this code is now used by both gstoraster and foomatic-rip. 31297b66cf61Sopenharmony_ci - libcupsfilters: Made the names of the flags to tell that the 31307b66cf61Sopenharmony_ci header is already included unique in all API header files. 31317b66cf61Sopenharmony_ci - foomatic-rip: Moved foomatic-rip's upstream home from the 31327b66cf61Sopenharmony_ci foomatic-filters package to cups-filters, to make it easier 31337b66cf61Sopenharmony_ci for distributions to ship and maintain a complete printing 31347b66cf61Sopenharmony_ci stack and also to make upstream maintenance and development 31357b66cf61Sopenharmony_ci easier. 31367b66cf61Sopenharmony_ci - foomatic-rip: Removed support for all the non-CUPS printing 31377b66cf61Sopenharmony_ci environments as they are discontinued upstream. Now 31387b66cf61Sopenharmony_ci foomatic-rip only works as a CUPS filter and in a spooler-less 31397b66cf61Sopenharmony_ci direct mode, where the latter is mainly for testing and 31407b66cf61Sopenharmony_ci debugging. Thanks to Anshul Kushwaha (anshulkushwaha1 at gmail 31417b66cf61Sopenharmony_ci dot com) for doing this as a Google Summer of Code 2013 project. 31427b66cf61Sopenharmony_ci - foomatic-rip: Eliminated compiler warnings. 31437b66cf61Sopenharmony_ci - foomatic-rip: fixed "endswith()" string utility function. 31447b66cf61Sopenharmony_ci - foomatic-rip: Removed unneeded HAVE_DBUS conditionals. 31457b66cf61Sopenharmony_ci - gstoraster: Fixed build system for gstoraster use D-Bus for 31467b66cf61Sopenharmony_ci colord support. 31477b66cf61Sopenharmony_ci - libcupsfilters: Recognize more Adobe-generated CMYK JPEGs to 31487b66cf61Sopenharmony_ci take into account their inverted colors (Bug #1169). 31497b66cf61Sopenharmony_ci - pdftopdf: When checking whether double-sided printing is 31507b66cf61Sopenharmony_ci chosen, do not only check for the choice names "DuplexNoTumble" 31517b66cf61Sopenharmony_ci and "DuplexTumble" but also for "LongEdge", "ShortEdge", 31527b66cf61Sopenharmony_ci "Top", and "Bottom", as CUPS does (Bug #1167). 31537b66cf61Sopenharmony_ci 31547b66cf61Sopenharmony_ciCHANGES IN V1.0.41 31557b66cf61Sopenharmony_ci 31567b66cf61Sopenharmony_ci - cups-browsed: Added support for automatic PPD-less setup of 31577b66cf61Sopenharmony_ci print queues for IPP printers discovered on the network via 31587b66cf61Sopenharmony_ci Bonjour. Supported are printers with known languages (PWG 31597b66cf61Sopenharmony_ci Raster, PDF, PostScript, PCL XL, PCL 5c/e), especially also 31607b66cf61Sopenharmony_ci IPP Everywhere printers. This functionality is especially 31617b66cf61Sopenharmony_ci ment for mobile devices to be able to print without printer 31627b66cf61Sopenharmony_ci setup tool and without printer driver/PPD collection. 31637b66cf61Sopenharmony_ci - cups-browsed: Fixed a Valgrind-reported issue. 31647b66cf61Sopenharmony_ci - pdftoippprinter: New filter for PPD-less printing. The filter 31657b66cf61Sopenharmony_ci will be configured as System-V interface script for a print 31667b66cf61Sopenharmony_ci queue for a discovered IPP network printer generated by 31677b66cf61Sopenharmony_ci cups-browsed. 31687b66cf61Sopenharmony_ci - rastertopclx: Added support for PPD-less printing. Without 31697b66cf61Sopenharmony_ci PPD the filter generates PCL 5e. 31707b66cf61Sopenharmony_ci - cups-browsed: Fixed socket leaks in recent IPP subscriptions 31717b66cf61Sopenharmony_ci changes. Thanks to Tim Waugh from Red Hat for the patch (Red 31727b66cf61Sopenharmony_ci Hat bug #1021512). 31737b66cf61Sopenharmony_ci 31747b66cf61Sopenharmony_ciCHANGES IN V1.0.40 31757b66cf61Sopenharmony_ci 31767b66cf61Sopenharmony_ci - pdftops: Introduced new "hybrid" renderer: Here usually 31777b66cf61Sopenharmony_ci Ghostscript is used, but if the printer is a Brother, 31787b66cf61Sopenharmony_ci Minolta, or Konica Minolta Poppler's pdftops gets used. This 31797b66cf61Sopenharmony_ci is a quirk rule to work around bugs in the PS interpreters 31807b66cf61Sopenharmony_ci of the printers. 31817b66cf61Sopenharmony_ci - Fixed format string issues and added __attribute__ wording 31827b66cf61Sopenharmony_ci to printf-like functions to catch any regressions. Thanks to 31837b66cf61Sopenharmony_ci Tim Waugh from Red Hat for the patch. 31847b66cf61Sopenharmony_ci 31857b66cf61Sopenharmony_ciCHANGES IN V1.0.39 31867b66cf61Sopenharmony_ci 31877b66cf61Sopenharmony_ci - pdftops: Fix for landscape PDF handling. Do not use the 31887b66cf61Sopenharmony_ci command line options "-origpagesizes" and 31897b66cf61Sopenharmony_ci "-choosePaperByPDFPageSize" of Poppler's pdftops utility on 31907b66cf61Sopenharmony_ci already processed PDF data. Thanks to Tim Waugh from Red Hat 31917b66cf61Sopenharmony_ci for the patch. 31927b66cf61Sopenharmony_ci - cups-browsed: Improve the efficiency of BrowsePoll by using 31937b66cf61Sopenharmony_ci IPP notifications when possible. It falls back to the 31947b66cf61Sopenharmony_ci previous behaviour if it is not possible to use this 31957b66cf61Sopenharmony_ci optimization. Thanks to Tim Waugh from Red Hat for the patch. 31967b66cf61Sopenharmony_ci 31977b66cf61Sopenharmony_ciCHANGES IN V1.0.38 31987b66cf61Sopenharmony_ci 31997b66cf61Sopenharmony_ci - pdftops: Added "-dNOINTERPOLATE" to the Ghostscript command line 32007b66cf61Sopenharmony_ci for quicker processing of embedded bitmaps. 32017b66cf61Sopenharmony_ci - pstopdf: Added "-dUseCIEColor" to the Ghostscript command line 32027b66cf61Sopenharmony_ci to assure compatibility with newer Ghostscript versions (9.08 32037b66cf61Sopenharmony_ci and newer). 32047b66cf61Sopenharmony_ci 32057b66cf61Sopenharmony_ciCHANGES IN V1.0.37 32067b66cf61Sopenharmony_ci 32077b66cf61Sopenharmony_ci - Added example configuration files for systemd and Upstart. Thanks 32087b66cf61Sopenharmony_ci to Tomáš Chvátal for the systemd file. 32097b66cf61Sopenharmony_ci - Build system: Make sure that gstoraster gets linked against the 32107b66cf61Sopenharmony_ci libcupsfilters of the currently built package and not of the 32117b66cf61Sopenharmony_ci system. Thanks to Tomáš Chvátal. 32127b66cf61Sopenharmony_ci - cupsfilters.convs: Reworked the cost factors of the filters to 32137b66cf61Sopenharmony_ci avoid bogus filter chains like pstotiff|imagetopdf instead of 32147b66cf61Sopenharmony_ci pstopdf|pdftopdf for PostScript->PDF. Thanks to Tim Waugh from 32157b66cf61Sopenharmony_ci Red Hat for the report. 32167b66cf61Sopenharmony_ci - pdftopdf: Accept additional command line options for PPD-less 32177b66cf61Sopenharmony_ci printing. 32187b66cf61Sopenharmony_ci - cups-browsed: Fixed building with CUPS 1.5.x and older, 32197b66cf61Sopenharmony_ci ippSetVersion() was missing under the accessor function definitions 32207b66cf61Sopenharmony_ci for backward compatibility. 32217b66cf61Sopenharmony_ci 32227b66cf61Sopenharmony_ciCHANGES IN V1.0.36 32237b66cf61Sopenharmony_ci 32247b66cf61Sopenharmony_ci - Fixed libdl detection in configure. Thanks to Andreas Huettel and 32257b66cf61Sopenharmony_ci Yuta Satoh (Gentoo bug #478642). 32267b66cf61Sopenharmony_ci - cups-browsed: Allow BrowsePoll operation also access print queues 32277b66cf61Sopenharmony_ci on older CUPS servers. Thanks to David Mohr for the patch. 32287b66cf61Sopenharmony_ci - cups-browsed: Assure that it always applies to the local CUPS 32297b66cf61Sopenharmony_ci daemon and never to a remote one specified via client.conf 32307b66cf61Sopenharmony_ci (Ubuntu bug #1207203). 32317b66cf61Sopenharmony_ci - pdftoopvp, pdftoijs, pdftoraster, bannertopdf: Made code working 32327b66cf61Sopenharmony_ci with Poppler 0.24.x (Bug #1144). 32337b66cf61Sopenharmony_ci - gstoraster: Silenced compiler warnings. 32347b66cf61Sopenharmony_ci - gstoraster, pdftoraster: Added support for PPD-less printing 32357b66cf61Sopenharmony_ci controlled by IPP attributes (CUPS 1.7.x+ only). 32367b66cf61Sopenharmony_ci - gstoraster, gstopxl: Moved these filters from Ghostscript to 32377b66cf61Sopenharmony_ci cups-filters as upstream home. 32387b66cf61Sopenharmony_ci - libcupsfilters: Added new cupsRasterParseIPPOptions() API 32397b66cf61Sopenharmony_ci function for PPD-less printing controlled by IPP attributes 32407b66cf61Sopenharmony_ci (raster.h, CUPS 1.7.x+ only). 32417b66cf61Sopenharmony_ci - pdftopdf: Added support for page labels. "page-label" option and 32427b66cf61Sopenharmony_ci "CLASSIFICATION" environment variable. Thanks to Tim Waugh from 32437b66cf61Sopenharmony_ci Red Hat for the patch. 32447b66cf61Sopenharmony_ci - pdftops: If one or more of the PDF-to-PS renderers (Ghostscript, 32457b66cf61Sopenharmony_ci Poppler pdftops, Poppler pdftocairo, acroread) is not installed 32467b66cf61Sopenharmony_ci at build time, pre-fill the appropriate executable's path with the 32477b66cf61Sopenharmony_ci executable name to allow the use of this renderer when it gets 32487b66cf61Sopenharmony_ci installed later (Debian bug #716842). 32497b66cf61Sopenharmony_ci - cups-browsed: Do not resolve host names of remote printers discovered 32507b66cf61Sopenharmony_ci via CUPS broadcasts (Bug #1141). 32517b66cf61Sopenharmony_ci - Added man pages for cups-browsed and cups-browsed.conf. Thanks to 32527b66cf61Sopenharmony_ci Brian Potkin for the contribution (Debian bug #714460). 32537b66cf61Sopenharmony_ci - Install also escp.h, it is useful for .drv files. 32547b66cf61Sopenharmony_ci 32557b66cf61Sopenharmony_ciCHANGES IN V1.0.35 32567b66cf61Sopenharmony_ci 32577b66cf61Sopenharmony_ci - pdftoraster: Silenced compiler warning (Bug #1092). 32587b66cf61Sopenharmony_ci - bannertopdf: Fixed typo which prevented the host name to be shown 32597b66cf61Sopenharmony_ci (Bug #1115). 32607b66cf61Sopenharmony_ci - README: Fixed info about the PPD keyword cupsManualCopies (Bug 32617b66cf61Sopenharmony_ci #1086). 32627b66cf61Sopenharmony_ci - Modified the cost factors of the filters to avoid unneeded PDF 32637b66cf61Sopenharmony_ci conversion detours when the input data is PostScript. Instead of 32647b66cf61Sopenharmony_ci pstopdf->pdftopdf->pdftops and pstopdf->pdftopdf->gstoraster we 32657b66cf61Sopenharmony_ci get pstops and pstops->gstoraster now (Bug #1138). 32667b66cf61Sopenharmony_ci - pdftops: Added experimental support for pdftocairo as PDF renderer. 32677b66cf61Sopenharmony_ci Note that PostScript level 1 output and PDF input with color 32687b66cf61Sopenharmony_ci spaces other than DeviceRGB, DeviceGray, sRGB or sGray is not 32697b66cf61Sopenharmony_ci supported. PDFs generated by Cairo (for example when printing from 32707b66cf61Sopenharmony_ci evince) uses only supported color spaces. Thanks to James Cloos 32717b66cf61Sopenharmony_ci for the patch (Bug #1139). 32727b66cf61Sopenharmony_ci - cups-browsed: Changed default of browsing protocols fron none to 32737b66cf61Sopenharmony_ci both DNS-SD and CUPS. 32747b66cf61Sopenharmony_ci - pdftops: Let Poppler generally generate PostScript level 3 if the 32757b66cf61Sopenharmony_ci PPD identifies the printer as PS3 printer, make an exception of 32767b66cf61Sopenharmony_ci sending PostScript Level 2 only for HP's laser printers, to not 32777b66cf61Sopenharmony_ci compromise print quality and performance on all PS3 printers only 32787b66cf61Sopenharmony_ci due to some buggy HP models (Debian bug #712949, see also Ubuntu bug 32797b66cf61Sopenharmony_ci #277404). 32807b66cf61Sopenharmony_ci - Install pcl.h, it is needed by cupsfilters.drv. Thanks to Jiri 32817b66cf61Sopenharmony_ci Popelka from Red Hat for the patch (Bug #1133). 32827b66cf61Sopenharmony_ci - Make cups-filters building with automake 1.13. Thanks to Andreas K. 32837b66cf61Sopenharmony_ci Huettel (dilfridge) on IRC. 32847b66cf61Sopenharmony_ci - libcupsfilters, libfontembed, pdftopdf, texttopdf, cups-browsed: 32857b66cf61Sopenharmony_ci Fixed several resource leaks and other problems. Thanks to Jiri 32867b66cf61Sopenharmony_ci Popelka from Red Hat for the patches (Bug #1116). 32877b66cf61Sopenharmony_ci 32887b66cf61Sopenharmony_ciCHANGES IN V1.0.34 32897b66cf61Sopenharmony_ci 32907b66cf61Sopenharmony_ci - cups-browsed: Fixed build with OpenBSD (Bug #1103). 32917b66cf61Sopenharmony_ci - pdftopdf: Enabled hardware copy generation, if available. 32927b66cf61Sopenharmony_ci - pdftopdf: Fixed evenDuplex logic. 32937b66cf61Sopenharmony_ci - cups-browsed: If a queue left over from the last session 32947b66cf61Sopenharmony_ci gets confirmed, fill in the data structure with the Bonjour 32957b66cf61Sopenharmony_ci parameters, also update the Bonjour parameters if a local 32967b66cf61Sopenharmony_ci queue is upgraded from IPP to IPPS. 32977b66cf61Sopenharmony_ci 32987b66cf61Sopenharmony_ciCHANGES IN V1.0.33 32997b66cf61Sopenharmony_ci 33007b66cf61Sopenharmony_ci - cups-browsed: Added NULL check (Bug #1106). 33017b66cf61Sopenharmony_ci 33027b66cf61Sopenharmony_ciCHANGES IN V1.0.32 33037b66cf61Sopenharmony_ci 33047b66cf61Sopenharmony_ci - cups-browsed: Shared algorithm to generate local queues based on 33057b66cf61Sopenharmony_ci browsed remote queue data between Bonjour and CUPS browsing, as the 33067b66cf61Sopenharmony_ci simpler method used for CUPS browsing could overwrite local print 33077b66cf61Sopenharmony_ci queues and had de-duplication problems, for example if the server 33087b66cf61Sopenharmony_ci appears on two IPs in the network (connected by both ethernet and 33097b66cf61Sopenharmony_ci WLAN). 33107b66cf61Sopenharmony_ci - cups-browsed: CUPS broadcasting also broadcasted non-shared, 33117b66cf61Sopenharmony_ci especially cups-browsed-generated printers. Switched to detection 33127b66cf61Sopenharmony_ci of non-shared printers by the appropriate bit in the printer-type 33137b66cf61Sopenharmony_ci bit field IPP attribute. 33147b66cf61Sopenharmony_ci - cups-browsed: Made CUPS broadcasting work also without BrowseAllow 33157b66cf61Sopenharmony_ci lines in cups-browsed.conf. In this case we accept all remote 33167b66cf61Sopenharmony_ci printers (Ubuntu bug #1163764). 33177b66cf61Sopenharmony_ci - README: Updated documentation for cups-browsed. 33187b66cf61Sopenharmony_ci - Added more comments and examples to /etc/cups/cups-browsed.conf. 33197b66cf61Sopenharmony_ci - cups-browsed: Added support for "...:<port>" extensions of 33207b66cf61Sopenharmony_ci BrowsePoll addresses. Thanks to Tim Waugh from Red Hat (Ubuntu 33217b66cf61Sopenharmony_ci bug 1159213). 33227b66cf61Sopenharmony_ci 33237b66cf61Sopenharmony_ciCHANGES IN V1.0.31 33247b66cf61Sopenharmony_ci 33257b66cf61Sopenharmony_ci - cups-browsed: cups-browsed removed valid local queues pointing to 33267b66cf61Sopenharmony_ci remote queues when cups-browsed did not shut down cleanly after 33277b66cf61Sopenharmony_ci the previous session, leaving the user with missing local accessor 33287b66cf61Sopenharmony_ci queues for some of the remote CUPS queues (Ubuntu bug #1131149). 33297b66cf61Sopenharmony_ci - Fixed build system to allow parallel or multilib builds. Thanks to 33307b66cf61Sopenharmony_ci Timo Gurr for the patch (Bug #1104). 33317b66cf61Sopenharmony_ci - pdftopdf: Improved error output. 33327b66cf61Sopenharmony_ci - pdftopdf: getRotation now handles unusual cases more graceful 33337b66cf61Sopenharmony_ci (probably fixes Ubuntu Bug #1154318). 33347b66cf61Sopenharmony_ci - Fixed build system to allow building without Avahi. In this case 33357b66cf61Sopenharmony_ci a cups-browsed with only CUPS broadcasting/browsing will get 33367b66cf61Sopenharmony_ci built. Thanks to Tim Waugh from Red Hat (Bug #1101, Bug #1102). 33377b66cf61Sopenharmony_ci 33387b66cf61Sopenharmony_ciCHANGES IN V1.0.30 33397b66cf61Sopenharmony_ci 33407b66cf61Sopenharmony_ci - cups-browsed: Do not remove a generated local print queue when 33417b66cf61Sopenharmony_ci it was made the system default printer (Ubuntu bug #1146407). 33427b66cf61Sopenharmony_ci - texttopdf: Fixed corrupted pdf when a utf-8 title is given and 33437b66cf61Sopenharmony_ci corresponding crash with 'prettyprint' (Ubuntu Bug #1137438). 33447b66cf61Sopenharmony_ci - cups-browsed: Added CUPS Broadcasting for sharing local printers 33457b66cf61Sopenharmony_ci to remote CUPS clients with CUPS 1.5.x and older. Thanks to Tim 33467b66cf61Sopenharmony_ci Waugh from Red Hat. 33477b66cf61Sopenharmony_ci - cups-browsed: Added sample config-file and build-time default 33487b66cf61Sopenharmony_ci setting options. Thanks to Tim Waugh from Red Hat. 33497b66cf61Sopenharmony_ci - cups-browsed: Added CUPS browsing and BrowsePoll functionality, to 33507b66cf61Sopenharmony_ci be backwards compatible to CUPS 1.5.x and older servers. Thanks 33517b66cf61Sopenharmony_ci to Tim Waugh from Red Hat. 33527b66cf61Sopenharmony_ci - pdftopdf: Fixed incorrect evenDuplex page insertion (Bug #1088). 33537b66cf61Sopenharmony_ci - pdftoopvp: Let it build with Poppler 0.22.x. Thanks to Koji Otani 33547b66cf61Sopenharmony_ci from BBR Inc. (Bug #1089). 33557b66cf61Sopenharmony_ci 33567b66cf61Sopenharmony_ciCHANGES IN V1.0.29 33577b66cf61Sopenharmony_ci 33587b66cf61Sopenharmony_ci - Fixed ./configure option "--with-rcdir=no". Thanks to Jiri 33597b66cf61Sopenharmony_ci Popelka from Red Hat (Bug #1091). 33607b66cf61Sopenharmony_ci 33617b66cf61Sopenharmony_ciCHANGES IN V1.0.28 33627b66cf61Sopenharmony_ci 33637b66cf61Sopenharmony_ci - cups-browsed: Do not create CUPS queues for shared local CUPS 33647b66cf61Sopenharmony_ci printers. 33657b66cf61Sopenharmony_ci 33667b66cf61Sopenharmony_ciCHANGES IN V1.0.27 33677b66cf61Sopenharmony_ci 33687b66cf61Sopenharmony_ci - cups-browsed: The daemon crashed if there is no local CUPS queue 33697b66cf61Sopenharmony_ci at all. Fixed. 33707b66cf61Sopenharmony_ci 33717b66cf61Sopenharmony_ciCHANGES IN V1.0.26 33727b66cf61Sopenharmony_ci 33737b66cf61Sopenharmony_ci - Some fixes in README and INSTALL. 33747b66cf61Sopenharmony_ci - cups-browsed: Added daemon to browse the Bonjour broadcasts of 33757b66cf61Sopenharmony_ci shared remote CUPS printers and automatically add local raw queues 33767b66cf61Sopenharmony_ci pointing to them, to resemble the behavior of the former CUPS 33777b66cf61Sopenharmony_ci broadcasting/browsing which was dropped in CUPS 1.6. Now remote 33787b66cf61Sopenharmony_ci printers appear as local print queues as before, but with the 33797b66cf61Sopenharmony_ci standardized Bonjour broadcasting. 33807b66cf61Sopenharmony_ci - "make dist" got broken in 1.0.25. Fixed. 33817b66cf61Sopenharmony_ci 33827b66cf61Sopenharmony_ciCHANGES IN V1.0.25 33837b66cf61Sopenharmony_ci 33847b66cf61Sopenharmony_ci - urftopdf: Newly added filter to convert the URF format which (at 33857b66cf61Sopenharmony_ci least some) iOS apps send when printing via AirPrint (Bug #1076). 33867b66cf61Sopenharmony_ci - pdftopdf: pdfautorotate functionality has been patched directly 33877b66cf61Sopenharmony_ci into pdftopdf (Bug #1080). 33887b66cf61Sopenharmony_ci - pdftopdf: "mirror" produced only empty pages (XObjects not there). 33897b66cf61Sopenharmony_ci - pdftopdf: Fixed segfault on "page-ranges=1-2147483647" (from cups). 33907b66cf61Sopenharmony_ci - pdftopdf: Fixed collate filler insertion. 33917b66cf61Sopenharmony_ci - texttopdf: Fixed deficient string escaping (Bug #1071). 33927b66cf61Sopenharmony_ci - pdftoopvp: Get correct byte order definition when building under 33937b66cf61Sopenharmony_ci OpenBSD (Bug #1070). 33947b66cf61Sopenharmony_ci - serial backend: Added check for sys/ioctl.h to configure.ac (Bug 33957b66cf61Sopenharmony_ci #1069). 33967b66cf61Sopenharmony_ci - pdftopdf: Made code building under OpenBSD (Bug #1068). 33977b66cf61Sopenharmony_ci - pdftopdf: Don't expect too much C++11 support for now (Bug #1067). 33987b66cf61Sopenharmony_ci 33997b66cf61Sopenharmony_ciCHANGES IN V1.0.24 34007b66cf61Sopenharmony_ci 34017b66cf61Sopenharmony_ci - pdftopdf now generates the necessary pdf comments to disable 34027b66cf61Sopenharmony_ci duplicate number-up when pdftops is also applied (Bug #1063). 34037b66cf61Sopenharmony_ci - pdftops: Added support for using Adobe Reader (acroread) in command 34047b66cf61Sopenharmony_ci line mode for turning PDF to PostScript (Bug #1065). 34057b66cf61Sopenharmony_ci - pdftopdf: Fix build on OpenBSD (Bug #1062). 34067b66cf61Sopenharmony_ci - pdftops: Fix stripping of page management options from the pstops 34077b66cf61Sopenharmony_ci command line which got already applied by pdftopdf. If the name 34087b66cf61Sopenharmony_ci of the option to be removed is contained in the name of a option 34097b66cf61Sopenharmony_ci in the command line (like "number-up" in "number-up-layout" or 34107b66cf61Sopenharmony_ci "scaling" in "Natural-scaling"), this option gets stripped instead 34117b66cf61Sopenharmony_ci of the correct option (Bug #1064). 34127b66cf61Sopenharmony_ci 34137b66cf61Sopenharmony_ciCHANGES IN V1.0.23 34147b66cf61Sopenharmony_ci 34157b66cf61Sopenharmony_ci - Removed filter/pdftopdf.old 34167b66cf61Sopenharmony_ci - Fixed the requires.private for cupsfilters lib 34177b66cf61Sopenharmony_ci 34187b66cf61Sopenharmony_ciCHANGES IN V1.0.22 34197b66cf61Sopenharmony_ci 34207b66cf61Sopenharmony_ci - Added missing *.h files of filter/pdftopdf/ to source file list so 34217b66cf61Sopenharmony_ci that "make dist" builds correct upstream tarballs. 34227b66cf61Sopenharmony_ci 34237b66cf61Sopenharmony_ciCHANGES IN V1.0.21 34247b66cf61Sopenharmony_ci 34257b66cf61Sopenharmony_ci - bannertopdf: Page duplication routine fixed. 34267b66cf61Sopenharmony_ci - bannertopdf: Fixed invalid output of a direct stream object. 34277b66cf61Sopenharmony_ci - pdftopdf filter replaced by new QPDF-based filter from Tobias 34287b66cf61Sopenharmony_ci Hoffmann's Google Summer of Code project. The former Poppler-based 34297b66cf61Sopenharmony_ci pdftopdf duplicated a lot of Poppler's code. The old filter is 34307b66cf61Sopenharmony_ci still in the package as pdftopdf.old with source code in 34317b66cf61Sopenharmony_ci filter/pdftopdf.old. It will be removed in a later release. 34327b66cf61Sopenharmony_ci - Added most recent contributors to AUTHORS and COPYING files. 34337b66cf61Sopenharmony_ci 34347b66cf61Sopenharmony_ciCHANGES IN V1.0.20 34357b66cf61Sopenharmony_ci 34367b66cf61Sopenharmony_ci - pdftops: Added another workaround for Kyocera printers: Some 34377b66cf61Sopenharmony_ci models get very slow on images which request interpolation, 34387b66cf61Sopenharmony_ci so now we remove the image interpolation requests by additional 34397b66cf61Sopenharmony_ci PostScript code only inserted for Kyocera printers (Ubuntu bug 34407b66cf61Sopenharmony_ci #1026974). 34417b66cf61Sopenharmony_ci - pdftops: The build system only configured the default renderer 34427b66cf61Sopenharmony_ci (Ghostscript OR Poppler), not the other renderer, but as we support 34437b66cf61Sopenharmony_ci switching on runtime both need to get configured. 34447b66cf61Sopenharmony_ci - Improved portability of the package to non-Linux systems (Bug #1056). 34457b66cf61Sopenharmony_ci - Made the Poppler-based filters pdftopdf and pdftoopvp build with 34467b66cf61Sopenharmony_ci both Poppler 0.18.x and 0.20.x (Bug #1055). 34477b66cf61Sopenharmony_ci - Let build system check for dlopen. 34487b66cf61Sopenharmony_ci 34497b66cf61Sopenharmony_ciCHANGES IN V1.0.19 34507b66cf61Sopenharmony_ci 34517b66cf61Sopenharmony_ci - Fixes according to Coverity scan results (Bug #1054). 34527b66cf61Sopenharmony_ci - Added distribution packaging instructions to INSTALL. 34537b66cf61Sopenharmony_ci - Switched build system to autotools. This especially fixes several 34547b66cf61Sopenharmony_ci build problems in Gentoo. Also build-tested with CUPS 1.6.0b1. 34557b66cf61Sopenharmony_ci - Fixes for compatibility with clang/gcc-4.7. 34567b66cf61Sopenharmony_ci - textonly: Filter did not work as a pipe with copies=1 (Bug #1032). 34577b66cf61Sopenharmony_ci - texttopdf: Avoid trimming the results of FcFontSort(), as this may 34587b66cf61Sopenharmony_ci miss some reasonable candidates under certain circumstances. BTW, 34597b66cf61Sopenharmony_ci fix passing a non-pointer as a pointer to "result" (Debian bug 34607b66cf61Sopenharmony_ci #670055), 34617b66cf61Sopenharmony_ci - Corrected documentation. The option for the maximum image rendering 34627b66cf61Sopenharmony_ci resolution in pdftops is "pdftops-max-image-resolution", not 34637b66cf61Sopenharmony_ci "pdftops-max-image-resolution-default". 34647b66cf61Sopenharmony_ci 34657b66cf61Sopenharmony_ciCHANGES IN V1.0.18 34667b66cf61Sopenharmony_ci 34677b66cf61Sopenharmony_ci - Modified "./configure" options related to the pdftops filter to 34687b66cf61Sopenharmony_ci allow changing the defaults for the renderer being used by default 34697b66cf61Sopenharmony_ci (Ghostscript or Poppler) and the maximum image rendering resolution 34707b66cf61Sopenharmony_ci and to supply paths for both Ghostscript's gs and Poppler's pdftops. 34717b66cf61Sopenharmony_ci - pdftops: Allow selection whether Ghostscript or Poppler is used 34727b66cf61Sopenharmony_ci at runtime, setting the "pdftops-renderer" option to "gs" or 34737b66cf61Sopenharmony_ci "pdftops". 34747b66cf61Sopenharmony_ci - pdftops: Allow setting an upper limit for the image rendering 34757b66cf61Sopenharmony_ci resolution, also at runtime, setting the option 34767b66cf61Sopenharmony_ci "pdftops-max-image-resolution" to the desired limit in dpi. 34777b66cf61Sopenharmony_ci "0" means no limit. 34787b66cf61Sopenharmony_ci - pdftops: Fixed crash by wrong usage of sizeof() function when adding 34797b66cf61Sopenharmony_ci "Collate" to the fifth command line argument for the "pstops" CUPS 34807b66cf61Sopenharmony_ci filter call (Ubuntu bug #982675). 34817b66cf61Sopenharmony_ci - pdftops: Removed newline from copies value when reading it from 34827b66cf61Sopenharmony_ci the "%%PDFTOPDFNumCopies" entry of the incoming PDF file. 34837b66cf61Sopenharmony_ci - pdftops: Silenced compiler warning about ignoring the return 34847b66cf61Sopenharmony_ci value of the write() function. 34857b66cf61Sopenharmony_ci - pdftops: Added a crash guard. 34867b66cf61Sopenharmony_ci - pdftops: Start determining the printing resolution with 34877b66cf61Sopenharmony_ci cupsRasterInterpretPPD(), this is the most reliable as often 34887b66cf61Sopenharmony_ci the choice names of the "Resolution" option are marketing names 34897b66cf61Sopenharmony_ci with higher numerical values than the actual resolution. Also 34907b66cf61Sopenharmony_ci ignore error exit values of cupsRasterInterpretPPD() as the 34917b66cf61Sopenharmony_ci function can error out after having found the resolution. 34927b66cf61Sopenharmony_ci - pdftops: If printing resolution is determined by 34937b66cf61Sopenharmony_ci cupsRasterInterpretPPD() do not stick on 100 dpi if the 34947b66cf61Sopenharmony_ci resolution cannot be determined (Ubuntu bug #984082). 34957b66cf61Sopenharmony_ci 34967b66cf61Sopenharmony_ciCHANGES IN V1.0.17 34977b66cf61Sopenharmony_ci 34987b66cf61Sopenharmony_ci - pdftopdf: Fixed segmentation fault when printing selected pages 34997b66cf61Sopenharmony_ci ("page-ranges" option, Ubuntu bug #980673). 35007b66cf61Sopenharmony_ci 35017b66cf61Sopenharmony_ciCHANGES IN V1.0.16 35027b66cf61Sopenharmony_ci 35037b66cf61Sopenharmony_ci - pdftopdf: Fixed segmentation faults when using N-up with certain PDF 35047b66cf61Sopenharmony_ci files (Ubuntu bug #980673) and when calling pdftopdf manually without 35057b66cf61Sopenharmony_ci specifyting a PPD file. 35067b66cf61Sopenharmony_ci 35077b66cf61Sopenharmony_ciCHANGES IN V1.0.15 35087b66cf61Sopenharmony_ci 35097b66cf61Sopenharmony_ci - pdftops: Suppress image compression only for Brother printers as they 35107b66cf61Sopenharmony_ci really need this measure to print at all. This accelerates printer- 35117b66cf61Sopenharmony_ci internal job processing on most other printers (tested on HP and 35127b66cf61Sopenharmony_ci Kyocera). Also suppress page compression on Kyocera printers, this 35137b66cf61Sopenharmony_ci works around a bug in Kyocera's PostScript interpreters which makes 35147b66cf61Sopenharmony_ci printing pages with images very slow (Ubuntu bug #977912). 35157b66cf61Sopenharmony_ci 35167b66cf61Sopenharmony_ciCHANGES IN V1.0.14 35177b66cf61Sopenharmony_ci 35187b66cf61Sopenharmony_ci - pdftops: Determine printing resolution from the PPD file and supply 35197b66cf61Sopenharmony_ci it on the Ghostscript or pdftops (Poppler) command line, so that 35207b66cf61Sopenharmony_ci the renderer does the image rendering with a resolution matching the 35217b66cf61Sopenharmony_ci printer's resolution. This avoids too slow processing of the jobs 35227b66cf61Sopenharmony_ci by the printer's built-in PostScript interpreter. In addition 35237b66cf61Sopenharmony_ci a default resolution of 300 dpi is used for PPDs without any hint 35247b66cf61Sopenharmony_ci of the printer's resolution, as most PostScript lasers use multiples 35257b66cf61Sopenharmony_ci of 300 dpi as resolution (Ubuntu bug #977912). 35267b66cf61Sopenharmony_ci 35277b66cf61Sopenharmony_ciCHANGES IN V1.0.13 35287b66cf61Sopenharmony_ci 35297b66cf61Sopenharmony_ci - bannertopdf: Fix display of the job dates on the test page and on 35307b66cf61Sopenharmony_ci banner pages (Ubuntu bug #975064). 35317b66cf61Sopenharmony_ci 35327b66cf61Sopenharmony_ciCHANGES IN V1.0.12 35337b66cf61Sopenharmony_ci 35347b66cf61Sopenharmony_ci - Fixed crash of imagetopdf filter when it is called manually 35357b66cf61Sopenharmony_ci without supplying a valid PPD file (Ubuntu bug #973564). 35367b66cf61Sopenharmony_ci 35377b66cf61Sopenharmony_ciCHANGES IN V1.0.11 35387b66cf61Sopenharmony_ci 35397b66cf61Sopenharmony_ci - Actually install the Generic PDF printer PPD file. 35407b66cf61Sopenharmony_ci - Really introduce a Generic PDF printer PPD file. 35417b66cf61Sopenharmony_ci 35427b66cf61Sopenharmony_ciCHANGES IN V1.0.10 35437b66cf61Sopenharmony_ci 35447b66cf61Sopenharmony_ci - Added Generic PPD file for native PDF printers. 35457b66cf61Sopenharmony_ci - Updated all code copied from Poppler to the current state of Poppler. 35467b66cf61Sopenharmony_ci - Made Poppler-based PDF filters building with various versions of 35477b66cf61Sopenharmony_ci Poppler. 35487b66cf61Sopenharmony_ci 35497b66cf61Sopenharmony_ciCHANGES IN V1.0.9 35507b66cf61Sopenharmony_ci 35517b66cf61Sopenharmony_ci - Deactivated NIME conversion rules which are not used by the PDF- 35527b66cf61Sopenharmony_ci based printing workflow. 35537b66cf61Sopenharmony_ci - Cleaned up sample PPD file HP-Color_LaserJet_CM3530_MFP-PDF.ppd. 35547b66cf61Sopenharmony_ci - imagetopdf: Added support for native PDF printers. 35557b66cf61Sopenharmony_ci - imagetopdf, imagetoraster: Let image input "scale to fit" 35567b66cf61Sopenharmony_ci by default. This makes photo printing via AirPrint work, 35577b66cf61Sopenharmony_ci as the iOS devices send JPEG but do not allow setting options. 35587b66cf61Sopenharmony_ci 35597b66cf61Sopenharmony_ciCHANGES IN V1.0.8 35607b66cf61Sopenharmony_ci 35617b66cf61Sopenharmony_ci - pdftops: Generally do not compress fonts and images, and 35627b66cf61Sopenharmony_ci also do not do CCITT compression for bitmap glyphs to make 35637b66cf61Sopenharmony_ci the PostScript output more compatible with buggy PostScript 35647b66cf61Sopenharmony_ci interpreters. The output gets 30-50% longer but will work on 35657b66cf61Sopenharmony_ci many more different printer models. Problems were also 35667b66cf61Sopenharmony_ci discovered on HP and not only on Brother (Ubuntu bug 35677b66cf61Sopenharmony_ci #960666). 35687b66cf61Sopenharmony_ci 35697b66cf61Sopenharmony_ciCHANGES IN V1.0.7 35707b66cf61Sopenharmony_ci 35717b66cf61Sopenharmony_ci - pdftops: Added PostScript debug mode. For jobs sent with "-o psdebug" 35727b66cf61Sopenharmony_ci the PostScript output by Ghostscript does not have compression of 35737b66cf61Sopenharmony_ci pages and fonts, so that one can analyse the PostScript code, 35747b66cf61Sopenharmony_ci especially in cases of incompatibilities and bugs of the built-in 35757b66cf61Sopenharmony_ci PostScript interpreters of printers. Thanks to the Ghostscript 35767b66cf61Sopenharmony_ci upstream developers for this hint. 35777b66cf61Sopenharmony_ci 35787b66cf61Sopenharmony_ciCHANGES IN V1.0.6 35797b66cf61Sopenharmony_ci 35807b66cf61Sopenharmony_ci - texttopdf: Fixed minor miscalculation of /AvgWidth. 35817b66cf61Sopenharmony_ci - texttopdf: Added support for direct file references in pdf.utf-8. 35827b66cf61Sopenharmony_ci - pdftops: Added another workaround for a bug in Brother's PostScript 35837b66cf61Sopenharmony_ci interpreter: Suppress CCITT compression for bitmap glyphs and 35847b66cf61Sopenharmony_ci images on Brother printers (Ubuntu bug #955553). 35857b66cf61Sopenharmony_ci - texttopdf: Fixed typo in pdf font descriptor dictionary keys. 35867b66cf61Sopenharmony_ci - Fixed ColorDevice definition in cupsfilters.drv for HP DesignJet 35877b66cf61Sopenharmony_ci printers. 35887b66cf61Sopenharmony_ci - Put ModelNumber entries in cupsfilters.drv at the right place to 35897b66cf61Sopenharmony_ci get correct "*cupsModelNumber:" entries in the PPDs for the HP 35907b66cf61Sopenharmony_ci DesignJet printers. 35917b66cf61Sopenharmony_ci - rastertopclx: Code of JCL options did not get inserted into the JCL 35927b66cf61Sopenharmony_ci header. 35937b66cf61Sopenharmony_ci - parallel backend: Use the same way as CUPS does to prevent an 35947b66cf61Sopenharmony_ci infinite loop on side channel errors (CUPS STR #4044). 35957b66cf61Sopenharmony_ci - pdftopdf: Added support for native PDF printers, add JCL (PJL) 35967b66cf61Sopenharmony_ci options and send page_log entries only if the PDF has the 35977b66cf61Sopenharmony_ci "*JCLToPDFInterpreter:" keyword. 35987b66cf61Sopenharmony_ci - Updated README.txt for the new native PDF printer support. 35997b66cf61Sopenharmony_ci - Added a sample PPD file for a native PDF printer, 36007b66cf61Sopenharmony_ci HP-Color_LaserJet_CM3530_MFP-PDF.ppd. 36017b66cf61Sopenharmony_ci - texttopdf: A lot of internal rework; also split up into more files 36027b66cf61Sopenharmony_ci - texttopdf: Fixed many bugs on the way 36037b66cf61Sopenharmony_ci - texttopdf: Added support for CFF-flavoured OTFs; for these 36047b66cf61Sopenharmony_ci subsetting is not yet implemented, full embedding is done instead 36057b66cf61Sopenharmony_ci - texttopdf: Adapted and improved fontconfig font selection 36067b66cf61Sopenharmony_ci - Make sure that "make clean" and "make distclean" also work if 36077b66cf61Sopenharmony_ci Makedefs does not exist (Debian bug #663564). 36087b66cf61Sopenharmony_ci 36097b66cf61Sopenharmony_ciCHANGES IN V1.0.5 36107b66cf61Sopenharmony_ci 36117b66cf61Sopenharmony_ci - pdftops: Added insertion of workaround PostScript code for printers 36127b66cf61Sopenharmony_ci with bugs in their PS interpreters (Ubuntu bugs #950713, #951627). 36137b66cf61Sopenharmony_ci - parallel backend: Break infinite loop (Ubuntu bug #936647). 36147b66cf61Sopenharmony_ci - texttopdf: Complete the implementation of fontconfig-based font 36157b66cf61Sopenharmony_ci selection (Debian bug #663070). 36167b66cf61Sopenharmony_ci 36177b66cf61Sopenharmony_ciCHANGES IN V1.0.4 36187b66cf61Sopenharmony_ci 36197b66cf61Sopenharmony_ci - texttopdf: Fall back to altermative fonts via fontconfig if the 36207b66cf61Sopenharmony_ci FreeMono TrueType fonts are not installed (Debian bugs #495598 36217b66cf61Sopenharmony_ci and #662660). 36227b66cf61Sopenharmony_ci - bannertopdf: Fix off-by-one error in page duplication 36237b66cf61Sopenharmony_ci - bannertopdf: Put indirect references to streams into the page's 36247b66cf61Sopenharmony_ci contents 36257b66cf61Sopenharmony_ci - bannertopdf: Let byte offsets for the Xref table of the PDF output 36267b66cf61Sopenharmony_ci being determined correctly also when the output goes to stdout 36277b66cf61Sopenharmony_ci (Ubuntu bug #939735). 36287b66cf61Sopenharmony_ci - bannertopdf: Output multiple copies of the test page if duplex 36297b66cf61Sopenharmony_ci and/or N-up is chosen, to let the test page appear on all possible 36307b66cf61Sopenharmony_ci positions of the sheet (Ubuntu bug #939530). 36317b66cf61Sopenharmony_ci 36327b66cf61Sopenharmony_ciCHANGES IN V1.0.3 36337b66cf61Sopenharmony_ci 36347b66cf61Sopenharmony_ci - bannertopdf: Draw the frame to mark the non-printable borders 1pt 36357b66cf61Sopenharmony_ci smaller all around to assure that it is always visible, like it was 36367b66cf61Sopenharmony_ci done in bannertops. 36377b66cf61Sopenharmony_ci - bannertopdf: Scale the page to fit onto the desired output page. 36387b66cf61Sopenharmony_ci - bannertopdf: Get and output the correct media limits. 36397b66cf61Sopenharmony_ci 36407b66cf61Sopenharmony_ciCHANGES IN V1.0.2 36417b66cf61Sopenharmony_ci 36427b66cf61Sopenharmony_ci - bannertopdf: Fixed crash caused by wrong Poppler API use. 36437b66cf61Sopenharmony_ci - bannertopdf: Info text on test page came out in gray and not in 36447b66cf61Sopenharmony_ci black. 36457b66cf61Sopenharmony_ci 36467b66cf61Sopenharmony_ciCHANGES IN V1.0.1 36477b66cf61Sopenharmony_ci 36487b66cf61Sopenharmony_ci - Added the textonly filter and its PPD file, a driver for text-only 36497b66cf61Sopenharmony_ci printers. 36507b66cf61Sopenharmony_ci - Install the pdftoijs sample PPD file 36517b66cf61Sopenharmony_ci HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd 36527b66cf61Sopenharmony_ci - Added cupsfilters.drv, centralized ppdc-based PPD generator for the 36537b66cf61Sopenharmony_ci printer driver filters in this package. Current printers supported 36547b66cf61Sopenharmony_ci are several HP DesignJet large format inkjet printers. 36557b66cf61Sopenharmony_ci - Fixed "make uninstall". Now everything of this package gets removed. 36567b66cf61Sopenharmony_ci - Added wrapper scripts texttops and imagetops for backward 36577b66cf61Sopenharmony_ci compatibility to third-party PPD files or custom configurations 36587b66cf61Sopenharmony_ci which refer to these filters explicitly (Debian bug #658258). 36597b66cf61Sopenharmony_ci 36607b66cf61Sopenharmony_ciCHANGES IN V1.0 36617b66cf61Sopenharmony_ci 36627b66cf61Sopenharmony_ci - Built the pdftops filter based on Ghostscript by default, as 36637b66cf61Sopenharmony_ci Ghostscript is better optimized for print output (Ubuntu bug 36647b66cf61Sopenharmony_ci #926068). 36657b66cf61Sopenharmony_ci - If the pdftops filter is built for using Poppler, let Poppler not 36667b66cf61Sopenharmony_ci emit PostScript level 3, as this causes problems with some HP 36677b66cf61Sopenharmony_ci printers (Ubuntu bug #277404, Freedesktop (Poppler) bug #19640). 36687b66cf61Sopenharmony_ci - bannertopdf needs to be linked with C++ (bug #995) 36697b66cf61Sopenharmony_ci - Added test.sh script for testing texttopdf 36707b66cf61Sopenharmony_ci - Added original documentation of the PDF filters to README.txt 36717b66cf61Sopenharmony_ci - Install C header files and the static library 36727b66cf61Sopenharmony_ci - General clean-up of "make install" targets in Makefiles 36737b66cf61Sopenharmony_ci - Raised MIME conversion cost factor of pdftoraster from 66 to 100 to 36747b66cf61Sopenharmony_ci give priority to the gstoraster filter from Ghostscript, as this 36757b66cf61Sopenharmony_ci filter supports ICC-profile-based color management. 36767b66cf61Sopenharmony_ci - Documentation updated because libijs, liblcms, freetype, and 36777b66cf61Sopenharmony_ci fontconfig are needed to build this package 36787b66cf61Sopenharmony_ci 36797b66cf61Sopenharmony_ciCHANGES IN V1.0b1 36807b66cf61Sopenharmony_ci 36817b66cf61Sopenharmony_ci - Removed the bannertops, imagetops, and texttops filters, they are 36827b66cf61Sopenharmony_ci not needed any more in the PDF-based printing workflow 36837b66cf61Sopenharmony_ci - Added support for liblcms2 36847b66cf61Sopenharmony_ci - Named the package "OpenPrinting CUPS Filters" 36857b66cf61Sopenharmony_ci - Renamed libcupslegacy to libcupsfilters 36867b66cf61Sopenharmony_ci - Joined pdftops and cpdftocps filters into one C program 36877b66cf61Sopenharmony_ci - Added new bannertopdf filter from Lars Karlitski (formerly 36887b66cf61Sopenharmony_ci Uebernickel): https://launchpad.net/bannertopdf 36897b66cf61Sopenharmony_ci - Added the filters for the PDF-based printing workflow, from 36907b66cf61Sopenharmony_ci OpenPrinting: http://sourceforge.jp/projects/opfc/ and 36917b66cf61Sopenharmony_ci http://www.openprinting.org/download/printing/pdf-printing/ 36927b66cf61Sopenharmony_ci - Initial packaging of files that are no longer included in CUPS 1.6 36937b66cf61Sopenharmony_ci from CUPS upstream (http://www.cups.org/) 3694