-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
2807 lines (2513 loc) · 129 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
NEWS - OpenPrinting CUPS Filters v1.25.0 - 2019-06-06
-----------------------------------------------------
CHANGES IN V1.25.0
- pdftoijs, pdftoopvp: Removed these deprecated filters
completely as there is no demand for them any more. They
also used unstable, undocumented APIs of Poppler.
- pdftoraster: Changed from using unstable, undocumented APIs
of Poppler to stable, documented ones, to improve
maintainability of this filter, and with it of the
cups-filters package. Thanks to Tanmay Anand for
contributing this as his Google Summer of Code 2019 project.
- libcupsfilters: Added support for color spaces CMY and RGBW
when using filters without PPD file (mainly for development
and debugging, option "print-color-mode" with values
"cmy-XX" and "rgbw-XX" with XX being the number of bits per
color).
CHANGES IN V1.24.0
- cups-browsed: Integration of Deepak Patankar's Google Summer
of Code 2018 project with the main goal of clustering
different printers and automatically selecting the
destination printers by job content and option/attribute
settings. All changes of this release are done by Deepak as
parts of his project.
- cups-browsed, implicitclass: Support for mixed clusters of
remote CUPS queues and IPP network printers. For this PPD
files of remote CUPS queues are generated by cups-browsed
based on IPP queries, as for native IPP printers, the number
of jobs for load balancing is polled in a way that it works
also with native IPP printers, the implicitclass backend
sends jobs directky to the printer instead of re-queueing
them via CUPS.
- cups-browsed: Merge IPP attributes of several printers to
combined attributes for the cluster to generate the
cluster's PPD file, including PPD constraints for option
combinations not fulfillable by any of the member printers,
and finding reasonable, non-conflicting default settings,
- cups-browsed: Selection algorithm for the destination
printer for a job sent to the cluster. Based on the job
settings requested such as page size, media type, print
quality, ... the best most suitable printer in the cluster
for the job will be selected.
- cups-browsed, implicitclass: Filter jobs to clusters already
locally. Due to the fact that a cluster's member printers
are not exclusively non-raw CUPS queues with the complete
filtering framework on the remote server, but also native
IPP printers, we need to support generic driverless printers
as destination. So we cannot pass on the input data
unfiltered but need to filter locally. We let the cluster's
PPD file emulate a PDF printer, letting the local CUPS queue
of the cluster run pdftopdf and any pre-filters to turn the
input into PDF and we let the implicitclass backend turn PDF
into a format understood by the destination printer,
supporting the 4 formats of driverless IPP printing: PDF,
PWG Raster, Apple Raster, PCLm.
CHANGES IN V1.23.0
- pdftops, mupdftoraster: Let pdftops call mutool directly and
so that it directly outputs PostScript, eliminating the need
to call the mupdftoraster and rastertops filters.
- mupdftoraster: Reduced the use of temporary files from 3 to
just one.
- imagetopdf, imagetoraster, pdftopdf: Add support for
print-scaling option (Issue #108, Pull request #118).
CHANGES IN V1.22.6
- rastertops: Fixed PageSize settings in the PostScript output
(Must be in points not in pixels).
- pdftops, mupdftoraster: Produce actual grayscale/monochrome
PostScript (and not only instructions to print grayscale/
monochrome) for jobs to be printed in grayscale/monochrome
(Issue #96, Pull request #115).
- mupdftoraster: Fixed filter not producing output at all.
- Build system: ENABLE_DRIVERLESS got only defined with CUPS
1.6 and newer, not with older CUPS versions (Issue #111).
- pdftopdf, imagetopdf, imagetoraster: Silenced compiler
warnings.
- cups-browsed, driverless: Replaced httpConnect() calls by
httpConnect2() calls as the former CUPS library function is
deprecated.
- Build system: Compile everything using the CUPS libraries
with '-D_PPD_DEPRECATED=""' for the time being until the
deprecated PPD API calls get replaced, to stop the flooding
with PPD API deprecation warnings making more important
warnings being overlooked.
- cups-browsed: When removing a local queue on shutdown or
when DNS-SD reports the printer as disappeared check whether
the local queue got overwritten by an external process as
sometimes the shutdown or disappearing event comes too close
for cups-browsed receiving a printer-modified notification
from CUPS before (Ubuntu bug #1731417).
CHANGES IN V1.22.5
- foomatic-rip: Changed Ghostscript call to count pages in a
PDF file to use "runpdfbegin" and not the undocumented
Ghostscript internal "pdfdict", so that it works with
Ghostscript 9.27 and later (Debian bug #926576, Arch Linux
bug #62251).
CHANGES IN V1.22.4
- cups-browsed: Fix broken trailing space removal on
"NickName" (Pull request #103).
- pdftops: Emit PostScript Level 2 instead of Level 3 for
Brother PostScript printers as at least some of them
report to support level 3 but ontly work with Level 2
(Ubuntu bug #1306849, comment #42).
- bannertopdf: When multiplying the page for N-up or Duplex
printing one page too much was generated (Issue #102).
CHANGES IN V1.22.3
- libcupsfilters: Added error checks for processing GIF, to
avoid crashes or hangs on broken GIF files (Issues #81, #82,
Pull request #100).
- cups-browsed: Added hint to the man page and configuration
file that with "DebugLogging stderr" the logging output goes
to journal or syslog if cups-browsed is running as system
service (Issue #28).
CHANGES IN V1.22.2
- cups-browsed: Let distribution of jobs sent to queues with
"implicitclass" backend (usually clusters) be done by a
"job-state" CUPS notification and not by
"printer-state-changed" any more. The "job-state"
notification already contains the job ID. Before we had to
poll the job ID from CUPS via IPP which was sometimes
unreliable (Issue #97).
- imagetopdf, imagetoraster, pdftopdf, libcupsfilters: Added
new page scaling options: "fill" scales the input page
(typically a photo) so that the output page (typically with
different aspect ratio) gets completely filled, aloowing for
some content of the input page getting lost. "crop-to-fit"
allows for easy printing of documents on slightly different
output page sizes (A4 <-> Letter) maintaining the size and
centering and cropping into the destination page. Thanks to
Dheeraj Yadav (dhirajyadav135 at gmail dot com) for the
patch (Pull request #92).
- cups-browsed: Do not do IPP request for printer-is-shared
option for remote cups queues with CUPS 2.2.x and newer
(Pull request #91).
- cups-browsed: Fix crash bug when reading "Cluster"
directive from configuration file (Issue #94).
- driverless: Updated man page as now also Mopria and
Wi-Fi Direct printers are supported. Mentioned also
ippusbxd.
CHANGES IN V1.22.1
- braille: Use sort command with LC_ALL=C for reproducibility
of the genrated files, needed for distribution packaging.
- cups-browsed, driverless: When polling the printer's
capabilities via get-printer-attributes IPP request for
driverless printing, use the attributes "all" and
"media-col-database". Without "all" some printers do not
report "urf-supported" and without "media-col-database" not
all paper size and marging info gets reported (Issue #22,
Pull request #86, CUPS issue #5484).
- braille: Document how to rework output before
embossing. Thanks to Samuel Thibault for this patch (Pull
request #90).
CHANGES IN V1.22.0
- pdftopdf: Use QPDF for flattening interactive PDF forms
(Issues #2, #23, #36, Pull request #88).
- pdftopdf: Fixed bug of closing temporary file prematurely
when external PDF form flattening utilities fail (Thanks to
Tobias Hoffmann for finding this, see pull request #88).
- pdftoopvp: More fixes for building with Poppler 0.72
(Pull request #83, Issue #75).
- pdftoraster, pdftoijs, pdftoopvp: Removed support for
Poppler 0.18 (Pull request #83).
- cups-browsed: Fixed crash in applying the BrowseFilter
cups-browsed.conf directives (Debian bug #916765).
CHANGES IN V1.21.6
- cups-browsed: To find out whether a DNS-SD-discovered
printer is from the local machine, use not only the flags in
the Avahi lookup result but also check the host name.
- cups-browsed: When a local CUPS queue pointing to a remote
CUPS printer was removed and re-created to make it a
permanent queue, on_printer_deleted() was triggered by
cupsd's notification to re-create a lost queue. Now
on_printer_deleted() checks whether the queue is really gone
and only re-creates then (Issue #80).
- cups-browsed: When updating the CUPS queues, also removed
and unregistered queues and not only created queues got
checked for HTTP timeouts, which caused crashes on shutdown
(Issue #79, Debian bug #916149).
- pdftops: Use the PS interpreter of Poppler for all Apple
LaserWriter 16/600, 4/600, 12/640, 12/600, 12/660 as they
all seem to not work with Ghostscript's PS output (Issue
#76).
- cups-browsed: On shutdown queues got removed even if they
still had jobs (Debian bug #908147).
CHANGES IN V1.21.5
- cups-browsed: We cannot reliably determine whether a CUPS
queue is temporary, so we apply the procedure to make a
temporary queue permanent to any unshared queue (Debian bugs
#910882, #905850, #908604).
- pdftoraster, pdftopdf, pdftoijs, pdftoopvp: Do not use the
Poppler-specific "GBool", "gFalse", "gTrue" any more, as
Poppler has switched to standard "bool", "false", "true" in
version 0.71.0 (Issue #69).
CHANGES IN V1.21.4
- cups-browsed: Limit the number of retries for
creating a print queue when it comes to HTTP
timeouts. Number of retries given by HttpMaxRetries
directive in cups-browsed.conf. Thanks to Zdenek Dohnal for
the patch (Pull request #73, Red Hat bug #1648697).
- cups-browsed: Read out current time right before setting the
timeouts. Thanks to Zdenek Dohnal for the patch (Pull
request #71, Red Hat bug #1648697).
- libcupsfilters: In the PPD generator for driverless IPP
printing let "*cupsManualCopies: true" lines get added to
the PPD if printing is done in a raster format as then
pdftopdf needs to generate the copies.
- pdftoraster, pdftoopvp, pdftoijs: Fix build with Poppler >=
0.70 (Issue #69, Pull request #70).
- pdftopdf: Fixed printing multiple copies on driverless IPP
printers. When printing collated copies the multiple copies
got applied twice, resulting in n*n instead of n copies
(CUPS issue #5433).
- pdftoraster, pdftoopvp, pdftoijs: Poppler removed memCheck
and gMemReport functions, remove appropriate calls (Issue
#62, Pull request #66).
CHANGES IN V1.21.3
- foomatic-rip: Reset stdin after replacing the underlying file
descriptor (Issue #58).
CHANGES IN V1.21.2
- cups-browsed: Fixed freeing of literal string caused by
Coverity Scan issue fix (Debian bug #907399).
CHANGES IN V1.21.1
- foomatic-rip: Fixed segmentation fault caused by wrong
Coverity Scan issue fix (Issue #57, Debian bug #907026).
- Build system: Require QPDF 8.1.0 or later as it is needed by
bannertopdf (Issue #56).
CHANGES IN V1.21.0
- libcupsfilters, cups-browsed, driverless, foomatic-rip,
parallel: Silenced warnings from newest gcc.
- libcupsfilters: When generating a PPD for driverless
printing on a remote IPP printer, make pdftopdf not being
run by the local queue if the remote queue is a CUPS queue
to avoid running pdftopdf twice (CUPS Issue #5361).
- libcupsfilters, cups-browsed, driverless, bannertopdf,
foomatic-rip, pdftops, pdftoraster, rastertops,
rastertoescpx, sys5ippprinter, beh: Fixed Coverity Scan
issues. Thanks to Zdenek Dohnal (zdohnal at redhat dot com)
for the tests and the patches.
- bannertopdf: Switched over from using Poppler to using QPDF
for generating the PDF pages. With Poppler unstable APIs
were used which were subject to change. Thanks to Sahil
Arora for this project in the Google Summer of Code 2018
(Pull request #25).
- cups-browsed: Manually defined clusters ("Cluster" directive
in cups-browsed.conf) caused cups-browsed to crash.
CHANGES IN V1.20.4
- README: Added link to Issue Tracker on GitHub.
- gstoraster: Removed unneeded "if"s. Thanks to Laurent
Martelli (martellilaurent at gmail dot com) for the patch
(Ghostscript bug #692705).
- cups-browsed: When checking whether there is already a local
print queue with the same URI as the one of the discovered
printer, consider also as equal URI if the URIs only differ
by use of IPP or IPPS and/or use of HTTPS port 443 instead
of IPP port 631.
- cups-browsed: Also upgrade from ipp: to ipps: when the ipps:
URI is on HTTPS port 443 instead of IPP port 631. This is
common on IPP network printers.
- pdftopdf: Removed support for hardware-implemented reversing
of page order in PostScript printers. It was once not
correctly implemented in cups-filters and second, such
printers are extremely rare, and on Gutenprint PPDs with
pseudo OutputOrder option hardware reversing was even
wrongly assumed (Issue #47).
- pdftopdf: Accept option "output-order=normal/reverse" for
reversing page order (Issue #47) and also "page-delivery=
same-order/reverse-order" (CUPS Issue #5340).
- libcupsfilters: Let the PPD generator add "*PageStackOrder
..." lines to the choices of the "OutputBin" option, to
mark which output bins need the pages printed in reverse
order (Issue #47).
- libcupsfilters: Let the PPD generator correctly create a
"*DefaultOutputOrder: ..." entry, depending on whether the
paper is put out face-up or face-down in the default output
bin (Issue #47).
- libcupsfilters: Fixed human-readable name of the OutputBin
option in the PPD generator.
- pdftoopvp: Silence compiler warning (Issue #42).
- cups-browsed: If the user modifies/overwrites a print queue
created by cups-browsed, it will now not only be
automatically released from the control of cups-browsed, but
we also create a replacement for our generated local queue
under a new name.
- cups-browsed: Make URIS for using the implicitclass backend
correctly working also with queue names containing an '@'
character.
- braille: Strengthen error checking (Pull request #41).
- braille: Index: Replace bogus characters with space (Pull
request #41).
- braille: Add print and braille page number options (Pull
request #41).
- braille: Index: Use standard duplex cups option (Pull
request #41).
- cups-browsed: Moved auto-generation of PPD file for IPP
network printers from create_remote_printer_entry()
function to update_cups_queues(). This allows re-creating
accidentally removed or overwritten local queues without
losing the PPD file.
- braille: Add option to pick hyphenation rule according to
current locale and make it the default for second
translation table. Thanks to Samuel Thibault for this patch
(Pull request #38 and #39).
- braille: Remove generated defs on "make clean". Thanks to
Samuel Thibault for this patch (Pull request #38).
- braille: Turn non-breakable spaces to spaces. Thanks to
Samuel Thibault for this patch (Pull request #38 and #39).
- braille: Fix character encoding when extracting text. When
extracing text from a zip file or a pdf, the resulting text
is always utf-8 independently of the original locale, so we
need to force that. Thanks to Samuel Thibault for this patch
(Pull request #38).
- braille: Warn when no text translation was selected in case
the user didn't notice. Thanks to Samuel Thibault for this
patch (Pull request #37).
- braille: Fix spurious spacing after last Form-Feed (Pull
request #45).
CHANGES IN V1.20.3
- braille: Do not remove read permission on cups-brf. Thanks
to Samuel Thibault for this patch (Pull request #32).
- braille: Get braille table descriptions from liblouis
metadata. Thanks to Samuel Thibault for this patch (Pull
request #31).
- braille: Select liblouis tables based on metadata before
using file names. Thanks to Samuel Thibault for this patch
(Pull request #30).
- cups-browsed: The new method of identifying remote CUPS
queues via the "printer-type" TXT record field does not work
for printers discovered by legacy CUPS broadcast (CUPS 1.5.x
or older). Now consider also printers without TXT record
(not discovered via DNS-SD) as remote CUPS queues (Issue
#34).
- gstoraster: Improved detection whether input is PostScript
or PDF by skipping over possible headers. Thanks to Rod
Schmidt (schmidtrod at q dot com) for the patch.
CHANGES IN V1.20.2
- cups-browsed: If the user modifies/overwrites a print queue
created by cups-browsed, it will now automatically released
from the control of cups-browsed, so the modified queue does
not get removed by cups-browsed on shutdown. (Ubuntu bug
#1731417).
- cups-browsed: The configuration setting
"CreateIPPPrinterQueues LocalOnly" suppressed also the
automatic generation of local queues for remote CUPS
printers whereas this option is only intended for physical
IPP printers.
- cups-browsed: Identify remote CUPS queues by the
"printer-type" TXT record entry and not by the
"ipp(s)://<host>/printers/<name>" URIs, there are also IPP
network printers with such URIs (HP LaserJet Professional
M1212nf MFP in Ubuntu bug #1731417).
- .gitignore: Added filter/braille/filters/brftopagedbrf
- cups-browsed, foomatic-rip: Fixed several typos. Thanks to
Didier Raboud for the patches.
CHANGES IN V1.20.1
- libcupsfilters: Silenced warning when using CUPS < 2.x by
eliminating the use of a recently introduced CUPS library
function (Bugzilla bug #1421).
- braille: Fix some missing options on indexv4. Thanks to
Samuel Thibault for this patch (Pull request #21).
- braille: Fix disabling margins on indexv4 in graphic
mode. Thanks to Samuel Thibault for this patch (Pull request
#20).
- braille: Fix installation of brftopagedbrf. Thanks to Samuel
Thibault for this patch (Pull request #18, Issue #17).
- cups-browsed: Fixed crash when CUPS reports a print queue
without "device-uri" attribute when cups-browsed polls a
list of local CUPS queues (Issue #16).
CHANGES IN V1.20.0
- libcupsfilters: Let the PPD generator prefer the English
translation file from CUPS for the human-readable strings in
the PPD files.
- libcupsfilters: The PPD generator lists all page sizes with
human-readable names now, including proprietary names of the
printer.
- cups-browsed, driverless: Fixed get-printer-attributes call
on driverless printers for generating the PPD, explicitly
requesting the media-col-database attribute as otherwise
borderless page sizes do not appear.
- libcupsfilters: Fixed loading option/choice strings lists
from driverless printers for PPD file generation. Especially
proprietary media types appear correctly now.
- libcupsfilters: Completed color space support in the PPD
generator: Added DeviceGray/RGB/CMYK, default to 8 bit for
SRGB and to 16 bit for AdobeRGB, avoid duplicate listings of
the same color space.
CHANGES IN V1.19.0
- libcupsfilters: Let the PPD generator add the options "Print
Optimization", "Print Rendering Intent" and "Print Scaling"
if appropriate IPP attributes are found.
- libcupsfilters: Let the PPD generator read out the maximum
of info about color spaces and this way not only reliably
the correct choices are added to the ColorModel option but
also the maximum supported bit depth (8 or 16 bit) is used.
- libcupsfilters: Overtaken new features from CUPS' PPD
generator: Presets, Finishing Templates, and extraction of
media sizes from "media-col-database"
- libcupsfilters: Improvements on header of generated PPDs:
use cups-filters version number, "drvless.ppd" PCFileName,
APSupplies and cupsChargeInfoURI from CUPS.
- libcupsfilters: Let the PPD generator use the IPP string
tables in the translation files of CUPS 2.3.x or newer
(English strings only). Let all options in the PPD have
human-readable option and choice names. In case of CUPS
2.2.x or older (or if the CUPS translation are missing) we
fall back to internal tables.
- cups-browsed: Improved debug output when checking IPP
attributes of IPP printers.
- .gitignore: Ignore also core files.
- cups-browsed: Support use of PPD files generated by CUPS for
IPP Printers. Works only if the the local queue created by
cups-browsed replaces a temporary queue from CUPS.
Configurable via "UseCUPSGeneratedPPDs" directive in
cups-browsed.conf.
CHANGES IN V1.18.0
- braille: Add support for page-ranges option. Thanks to
Samuel Thibault for this patch (Pull request #12).
- braille: Fix supporting docx and LO file names with
spaces. Thanks to Samuel Thibault for this patch (Pull
request #11).
- .gitignore: Updated and cleaned up.
- Build system: Make sure that "make dist" always includes all
files of the repository, plus the files generated by
./autogen.sh, independent of the system configuration and
the used ./configure options.
- pdftoijs, pdftoopvp: Build pdftoijs and pdftoopvp only on
demand (via "--enable-ijs" and "--enable-opvp" on the
./configure command line). There are actually no known
printer drivers using these filters. If no one complains
about the missing filters they will get completely removed.
- Build system: Set default path for pdftops to
/usr/bin/pdftops also for cross-compiling (Bug #1417).
- cups-browsed: Set "printer-location" as an attribute and not
as an option when creating/updating a CUPS queue (Bug
#1413).
- braille: Fix handling non-printable characters in BRF
files. Thanks to Samuel Thibault for this patch.
- braille: Fix printing backslashes in BRF files. Thanks to
Samuel Thibault for this patch.
- braille: use application/vnd.cups-brf instead of
text/vnd.cups-brf. Thanks to Samuel Thibault for this patch.
- braille: Make sure liblouis emits pure BRF output. Thanks to
Samuel Thibault for this patch.
- braille: Spaces at the head of lines were not getting
embossed, because bash would eat them in the read
command. IFS allows to avoid the issue. Thanks to Samuel
Thibault for this patch.
- gstoraster: Emit proper error message if Ghostscript is
missing. Thanks to Peter De Wachter (pdewacht at gmail dot
com) for the patch (Bug #1415).
- braille: Old bash does not like quotes, like in '$(("123" +
0))'. Removed unneeded quotes. Thanks to Samuel Thibault for
this patch.
- braille: Index V5 embossers are compatible with the V4
protocol so we do not need driver changes, we just need to
advertise the support. Thanks to Samuel Thibault for this
patch.
CHANGES IN V1.17.9
- cups-browsed: Applying option defaults from the
DefaultOptions directive in cups-browsed.conf got
lost. Re-introduced it (Bug #1414).
- cups-browsed: Get printer-location field from remote
printers. Thanks to Marek Kasik for the patch (Bug #1413).
CHANGES IN V1.17.8
- foomatic-rip: Change execution of renderer thread to fail
whenever any of its individual sub-comands fails. Thanks to
LUUM (luum at chromium dot org) for the patch (Bug #1412).
- foomatic-rip: Parent process now ignores SIGPIPE calls from
upstream/downstream CUPS filters, per
https://www.cups.org/doc/api-filter.html, while correctly
noting child process failures and exiting
accordingly. Thanks to LUUM (luum at chromium dot org) for
the patch (Bug #1412).
- Build system: Fixed typo which broke the
"--enable-gs-ps2write" ./configure command line option (Bug
#1410).
CHANGES IN V1.17.7
- braille: Add a mirror option for graphical output. Thanks to
Samuel Thibault for this patch.
- braille: Rename the internal cups name of the Resize option
to the standard well-known and well-documented fitplot
option. Thanks to Samuel Thibault for this patch.
- braille: Add support for margins in graphical mode,
defaulting them to 15 points (a bit more than 5mm). Thanks
to Samuel Thibault for this patch.
- braille: Updated French translation. Thanks to Samuel
Thibault for this patch.
- braille: Add a PPD which generates UBRL output, i.e. Braille
expressed in Unicode. This is not useful for actual
embossers, but very convenient to check output to be
embossed without wasting paper. Thanks to Samuel Thibault
for this patch.
- braille: Add virtual BRF backend for generating
ready-to-emboss BRF files with CUPS, similarly to the
cups-pdf backend. Thanks to Samuel Thibault for this patch.
- braille: Some tools seem to emit true/false instead of
True/False, so let us cope with it. Thanks to Samuel
Thibault for this patch.
- braille: "make uninstall" did not remove all the
links. Thanks to Samuel Thibault for this patch.
- braille: Add support for embossing MusicXML files, through
the FreeDots transcriptor. Thanks to Samuel Thibault for
this patch.
- braille: Add proper support for hardware margins on braille
embossers. Thanks to Samuel Thibault for this patch.
- braille: Fix the disabling of the text margins in Index
graphics mode. Thanks to Samuel Thibault for this patch.
- braille: Support for direct, structured embossing of XML and
XML-based file formats (like odt, docx, ...). Thanks to
Samuel Thibault for this patch.
CHANGES IN V1.17.6
- braille: Embossers can only emboss integer numbers of 2x4
cells. Thanks to Samuel Thibault for this patch.
- braille: In Index graphical mode we need to disable the text
margins, since they come in earlier on the way to
there. Thanks to Samuel Thibault for this patch.
- braille: Also, we should always add a 1.6mm margin for
taking into account the width of dots. Thanks to Samuel
Thibault for this patch.
CHANGES IN V1.17.5
- libcupsfilters: In the PPD generator for driverless printing
renamed the "print-quality" option back to
"cupsPrintQuality" as the support for this option got fixed
in CUPS (CUPS issue #5090).
- braille: Improvements on the braille support for bitmap
images: Moves the graphical dot distance option to the image
conversion group, add an option to avoid image resize, and
make the rotation option easier by proposing to just fit
paper instead of fitting portrait or landscape. Thanks to
Samuel Thibault for this patch.
- braille: Support for embossing vector images as braille.
Thanks to Samuel Thibault for this patch.
- braille: Fix liblouis1.defs installation. Thanks to Samuel
Thibault for this fix.
CHANGES IN V1.17.4
- pdftopdf: If the input PDF file contains an interactive
form, flatten it to static PDF so that further manipulation,
like scaling, number-up, ... do not let the filled for
content getting lost. This is implemented by using the
pdftocairo utility of Poppler and if this fails Ghostscript
(9.22 or later recommended). This will probably replaced by
a QPDF-based solution later. Thanks to Tobias Hoffmann for
the QPDF-based detection of PDF forms (Bug #1315, Ubuntu bug
#1564249).
CHANGES IN V1.17.3
- bannertopdf: Make it working also with Poppler 0.58.0 and
newer (Bug #1408).
- gstoraster, pdftops, foomatic-rip: Added "-dShowAcroForm" to
all Ghostscript command lines where the input data format
can be PDF. With this and the fix of Ghostscript bug
#698461 most filled PDF forms should be rendered correctly
by Ghostscript now.
- libcupsfilters: Do not check maximum resolutions of
raster-based PDLs, as implementation was incorrect and
reliability of PDLs is more important than maximum
resolution.
CHANGES IN V1.17.2
- rastertopdf: Fixed outstanding bug in PCLm with JPEG (DCT)
compression. Now PCLm support is completely working.
CHANGES IN V1.17.1
- libcupsfilters: Added direct PNG printing to the PPD
generator, the one of CUPS has it, too.
- libcupsfilters: In the PPD file generator renamed the option
"cupsPrintQuality" into the IPP name "print-quality" as CUPS
does not update the "print-quality=4" entry in the filter
command line based on the setting of "cupsPrintQuality"
(CUPS issue #5090).
- libcupsfilters: Completely redone the way how to determine
the resolutions to use for the default resolution and print
quality option in the PPDs generated for IPP
printers. Resolution lists from IPP attributes are now read
into sorted, duplicate-free lists with wrong resolutions
removed or fixed. Resolutions actually used are the common
ones between the supported PDLs, PDls with inferior maximum
resolution or with broken resolution list are skipped
(Debian bug #868360, Ubuntu bug #1712019, CUPS issue #5088,
CUPS issue #5091).
- rastertopdf: Prefer RLE compression instead of Flate as
there are HP printers where Flate is buggy.
- Build system: Fixed help mesage for "--enable-driverless"
configure option (Bug #1405).
CHANGES IN V1.17.0
- rastertopdf, rastertopclm, driverless, cups-browsed,
libcupsfilters: Added support for the PCLm output format for
driverless printing on printers using Wi-Fi Direct and other
driverless printing standards.
printers. This is the Google Summer of Code 2017 project of
Sahil Arora (sahilarora dot 535 at gmail dot com). Thank you
very much for your great work! The PCLm support requires
QPDF 7.0.0 or later.
CHANGES IN V1.16.4
- Build system: Switched over to C11 standard with GNU
extensions (-std=gnu11).
- Build system: Removed -pedantic flag as it is only needed
for compatibility with commercial compilers like the ones of
Windows (and we use GNU extensions anyway).
- libfontembed, texttopdf: reverted removal of anonymous
union.
CHANGES IN V1.16.3
- libfontembed: Reverted unneeded soname change.
CHANGES IN V1.16.2
- README: Minimum CUPS requirement of cups-filters is CUPS
1.4.x. It does not build with earlier CUPS versions (Bug
#993).
- driverless, foomatic-rip: Create relative symbolic links.
- All C/C++ files: Silenced all compiler warnings, at least
the ones appearing when building on Ubuntu Linux 17.10 with
GCC 7.1.0.
- README: Updated the introduction section to reflect the
current functionality of cups-filters, and the build
requirements for the Poppler-based filters (C++11: Bug
#1404, Build configuration of Poppler: Bug #1257). Thanks to
Roland Hieber (r dot hieber at pengutronix dot de) to find
out about this.
- pdftoopvp, bannertopdf, pdftoraster: Build with C++11
standard as some features of this standard are needed by
these filters (or by Poppler). Thanks to Roland Hieber (r
dot hieber at pengutronix dot de) for the patch (Bug #1404).
CHANGES IN V1.16.1
- cups-browsed: Make timeouts for HTTP access to the local
CUPS daemon and remote IPP printers configurable. Thanks to
Cedric Dufour (cedric dot dufour at idiap dot ch) for the
patch (Bug #1387, Debian bug #852436).
- texttopdf: Allow bold and underline formatting to be used
together when using "prettyprint". Thanks to Michael Moran
(vampm at comcast dot net) for the patch.
- texttopdf: Allow to alter margins, and chars/lines per Inch
when using "prettyprint". Thanks to Michael Moran (vampm at
comcast dot net) for the patch.
- texttopdf: When "prettyprint" is used, do not drop out of
C/shell comment mode too early. Thanks to Michael Moran
(vampm at comcast dot net) for the patch.
- cups-browsed: Additional NULL checks for description and
location.
- cups-browsed: Fixed crash which happens when using
BrowsePoll (Debian bug #723835).
CHANGES IN V1.16.0
- cups-browsed: Let elements in arrays get stacked up in the
order they are added, before, they were in the order how
they are positioned in memory. This especially led to a
random order of printer cluster definitions and of
command-line-supplied configuration options.
- cups-browsed: On shutdown not all locally created queues got
deleted.
- cups-browsed: Added support for manual definition of
load-balancing printer clusters via the "Cluster" directive
in cups-browsed.conf.
CHANGES IN V1.15.0
- cups-browsed: Removed the function to compare printer entries
for sorting the printer entry list. This led to corruption
of the list and so to crashes.
- cups-browsed: Fixed crashes when many printers (especially
all printers of a load-balanced cluster) are removed at once.
- cups-browsed: Log the full list of handled remote printers
whenever one is added or removed.
- cups-browsed: Renamed the handle_cups_queues() function to
update_cups_queues() to better reflect what it is doing.
- cups-browsed: When clustering remote CUPS printers together
do not call them duplicates but slaves asigned to a master.
- cups-browsed: Log the error if the network interface name of
a DNS-SD event could not be determined.
- cups-browsed: Simplified printer entry removal procedure.
- cups-browsed: Log memeber printer list of a printer cluster
(implicit class) when a member printer is added or removed.
- cups-browsed: Removed superfluous (and not correctly
working) duplicate counter from the remote printer entry
data structure.
- cups-browsed: Add "AutoClustering" directive to
cups-browsed.conf to turn on and off automatically
clustering equally named local print queues which point to
remote CUPS printers. When automatic clustering is turned
off, queue name clashes are prevented by adding "@<server
name>" to local queue names based on the remote queue name
or on make and model.
- cups-browsed: Skip callback functions and the CUPS queue
creation/update/removal loop when cups-browsed is terminated
by a SIGTERM signal. This avoids hanging on shutdown. Thanks
to Edgar Fuss (ef at math dot uni-bonn dot de, Bug #1402).
- libcupsfilters: Added some fallbacks for incorrect
resolution IPP attributes on IPP network printers (Debian
bug #868360).
- pdftoopvp: Added missing "#include <math.h>" needed for
cross-compiling for arm-v7a-linux-gnueabi (Bug #1232).
- cups-browsed: Prevent the creation of two remote printer
entries for two IPP network printers or an IPP network
printer and a remote CUPS printer with the same local queue
name. This could easily happen with make/model-based naming.
- cups-browsed: Added the possibility to optionally not
create local queues for remote printers for which CUPS
(from 2.2.x on) auto-creates queues by itself (DNS-SD
advertised driverless printers).
- cups-browsed: Removed repeated code for clean-up when
generate_local_queue() function fails.
- cups-browsed: Take care of CUPS' temporary queues. Do not
consider them when checking whether a queue with the same
name as the one we are creating already exists and make
temporary queues permanent (or remove them) before
overwriting them with our local queue.
- cups-browsed: Make the naming scheme for locally created
print queue configurable, especially allow for naming based
on the DNS-SD service name (now default) as this is the same
scheme as CUPS uses for its temporary queues. This way we
prevent CUPS creating temporary queues when cups-browsed is
already creating a queue.
- cups-browsed: Do not add "APRemoteQueueID" keyword to the
local queue's PPD file if the queue is for an IPP network
printer.
- cups-browsed: Skip multiple browse entries for the same
printer with interface alias addresses. Thanks to Edgar
Fuss (ef at math dot uni-bonn dot de, Bug #1399).
- cups-browsed: Improved support for Description (Info) and
Location fields of remote CUPS queues. Thanks to Edgar Fuss
(ef at math dot uni-bonn dot de, Bug #1398).
- cups-browsed: Renamed variable names for better code
readability. Thanks to Edgar Fuss (ef at math dot uni-bonn
dot de, Bug #1398).
- cups-browsed: Additional NULL checks in the
create_local_queue() function. Thanks to Edgar Fuss (ef at
math dot uni-bonn dot de, Bug #1398).
CHANGES IN V1.14.1
- cups-browsed: Do correct removal of printer entry handling
duplicates correctly also when a legacy CUPS-broadcasted
printer disappears or a printer remaining from the last
session does not appear again.
- cups-browsed: Use getline() instead of fgets() to read saved
option settings. This is less crash-prone (Ubuntu bug
#1658833).
- cups-browsed: Improved error logging when saving option
settings.
- cups-browsed: Added NULL checks for generate_local_queue()
and create_local_queue() functions.
- cups-browsed: When accessing local CUPS queues use always
the correct port of the CUPS daemon we are attached to.
- cups-browsed: Check whether a connection to the local CUPS
daemon actually happened before using it (Ubuntu bug
#1644049).
- cups-browsed: Set unused fields of printer record to NULL
when tranfering data from the record of a duplicate printer
to the record of a disappeared one.
- cups-browsed: Simplify removal of all queues on shutdown or
stop of Avahi.
- cups-browsed: When creating a record for a discovered
printer set it all zero before filling it in, to assure
that no field is in an undefined state.
- cups-browsed: All functions which are called via Glib
functions or otherwise event-triggered log now in which
thread they are running. This way one can see whether
problems can be caused by concurrent access to global
resources.
- cups-browsed: Do not check whether the DNS-SD event is from
the local machine in the browse_callback() function. We
cannot check the port here.
- cups-browsed: Added more NULL checks to Avahi callback
functions.
- cups-browsed: Added NULL check to avoid crashes in the Avahi
resolver callback (Ubuntu bug #1696967).
- libcupsfilters: Let PPD generator do case-insensitive
comparisons for PWG Raster color spaces, as some printers
(Epson) do not use the standard-conforming all-lowercase
form for them (CUPS Issue #4998).
CHANGES IN V1.14.0
- cups-browsed: When a printer is discovered via DNS-SD on the
"lo" (loopback) interface the printer is not reliably
accessible through the reported host name (which is the
network host name of the local machine). Until this problem
is fixed in Avahi, we create queues for such printers with a
URI based on the IP address. This is a workaround until
Avahi fully supports the "lo" interface.
- cups-browsed: Added new setting "LocalOnly" for the
CreateIPPPrinterQueues in cups-browsed.conf. With this new
setting (which is the default from now on) only for local
printers made available as IPP printers (like IPP-over-USB
printers with ippusbxd) queues are auto-created. With this
we can follow the common standard of distributions where USB
printers are automatically set up and network printers not.
- cups-browsed: Fixes and improvements in comments and debug
messages: 1. Bonjour -> DNS-SD; 2. When a remote CUPS class
is discovered, tell that it is a class; 3. Show network
interface and IPv4/IPv6 when a DNS-Sd service appears or
disappears.
- cups-browsed: Added ./configure script option
"--enable-auto-setup-driverless" to let cups-browsed
automatically set up IPP network printers by default.
CHANGES IN V1.13.5
- foomatic-rip: When called via the utility cupsfilter from
CUPS, foomatic-rip was not able to read the PPD file with
the file name supplied as environment variable PPD (Bug
#1388).
- driverless: Improved error message output.
- libcupsfilters: Fixed error handling of the PPD file
generator for driverless printing, so that callers get
decent error messages.
- libcupsfilters: Do not generate a PPD file where the only
output data format is JPEG, as JPEG does not support
multi-page documents.
- libcupsfilters: Let PPD generator skip broken page size
records and add warnings for debugging to the PPD.
- libcupsfilters: Updated PPD generator to match with the
current GIT state of the one of CUPS.
- braille: Automatically select a table according to the
current locale.
- braille: Update for liblouis table list.
- braille: Added support for text margins.
- cups-browsed: When creating a local queue for a remote CUPS
printer, add the line '*APRemoteQueueID: ""' to the PPD file
so that CUPS sets the CUPS_PRINTER_REMOTE bit for the
printer type of the local queue (Bug #1386).
CHANGES IN V1.13.4
- libcupsfilters: Let PPD generator for driverless printing
not error out when there is no urf-supported or
pwg-raster-document-resolution-supported IPP attribute,
simply accept the default resolution also from the
printer-resolution-default attribute or set a default value
of 300 dpi to get a working PPD file.
- cups-browsed: Do not use deprecated names for IPP status
constants
- cups-browsed: Corrected determination whether an IPP status
is an error, to avoid "Unable to create/modify CUPS queue
(Success)" and infinite repetition of a succeeded operation
(Debian bug #852436).
CHANGES IN V1.13.3
- libcupsfilters: When auto-generating PPD files added support
for passing through JPEG input to printers which understand
JPEG. This is also done in CUPS-generated PPDs (Debian bug
#851499).
- libcupsfilters: Added the "output-bin" option support from
CUPS' PPD generator to our PPD generator (CUPS Issue #4938).
- cups-browsed: Make support for printers with IPv6 IP address
work. Both link-local and regular addresses work.
CHANGES IN V1.13.2
- cupsfilters.drv: Corrected cupsFilter entry for the "Generic
IPP Everywhere Printer".
- driverless: Fixes on the man page (Debian bug #849075).
- driverless: Do not error-exit (non-zero status) when run by
CUPS as backend or PPD generator when no driverless printer
is found or Avahi not running. When run from thr command
line, exit status is the same as of ippfind.
- imagetoraster: Removed (incomplete) PWG Raster support. For
PWG Raster output we let the rastertopwg filter from CUPS do
the finalization (mainly adding white pixels at the borders
to get a full-page bitmap).
- imagetoraster: Fixed several bugs in the calculation of the
page geometry (Debian bug #849380).
- libcupsfilters: If the IPP-polled printer has the
"sides-supported" attribute, determine the need of a
"Duplex" option solely whether the attribute has a
"two-sided-long-edge" choice and ignore the "duplex"
parameter of the ppdCreateFromIPP() function call. This lets
the more precise information coming from the IPP query
always be preferred against information from the Bonjour
record.
- driverless: When listing printers let the device ID contain
"AppleRaster" (for Apple Raster printers) and "PWGRaster"
(for IPP Everywhere printers) in the "CMD" field.
- driverless: Added "-T 3" to the ippfind command line. This
makes ippfind search the Bonjour broadcasts for up to 3
seconds when searching for IPP printers, raising the
reliability in finding all of them (Debian bug #848712).
CHANGES IN V1.13.1
- cups-browsed: Avoid erroring out when restarting after a
crash (with generated queues not deleted due to the crash)
and the configuration option
CreateRemoteCUPSPrinterQueues=No being set.
- cups-browsed: If CUPS is stopped while cups-browsed is
running and there are queue for IPP network printers (not
remote CUPS queues) on restart of CUPS the still existing
local CUPS queue is not correctly re-connected with
cups-browsed and therefore gets removed after a
timeout. This should be fixed after a clean-up of
re-connecting with remaining queues from a previous session
(Debian bug #848223).
- cups-browsed: Generated queues did not get removed on
shutdown (Debian bug #848167).
- libcupsfilters: Let PPD generator for driverless printing
suppress page sizes which the printer reports more than
once (CUPS Issue #4933).
- driverless, libcupsfilters: Make "driverless list" output
and output of driverless as CUPS backend in discovery mode
add the word "driverless" to its output, to make it easier
to set up driverless printers with printer setup tools.
Made the NickName of the generated PPDs also match with the
"driverless list" output.
CHANGES IN V1.13.0
- cups-browsed: Use the httpGetAddr() only with CUPS 2.0.x or
newer, as older CUPS versions do not provide it (Bug #1381).
- cups-browsed: Minor corrections in the handling of the data
records of the discovered printers.
- rastertopdf, urftopdf: As with libcupsimage from CUPS 2.2.2
on rastertopdf also understands Apple Raster and much better
than urftopdf does, use rastertopdf for Apple Raster
(image/urf) input files then. Also allow for manually
choosing by the ./configure command line.
- driverless: Added a CUPS backend mode to the driverless
utility. Running as a CUPS backend in discovery mode it
lists the IPP URIs of the suitable printers in printer setup
tools and in "lpinfo -v", as conneting via IPP is required
for driverless printing.
CHANGES IN V1.12.0
- cups-browsed: Added new "CreateRemoteCUPSPrinterQueues"
directive to cups-browsed.conf, which allows to decide
whether to auto-create local print queues for shared CUPS
queues on remote machines. This way one can also set up
servers which only create queues for IPP network printers.
- driverless: Added new /usr/lib/cups/driver/driverless
utility to make CUPS auto-generate PPD files for printers