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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
|
2012-07-02 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.17.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.17.
* foomaticrip.h: Raised PATH_MAX to 65536 bytes so that CUPS
filter calls with many command line options work (Ubuntu bug
#1019662).
2012-06-25 Jiri Popelka <jpopelka@redhat.com>
* options.c, renderer.c: Fixed problems discovered by a Coverity scan
(Bug #752).
2012-06-18 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.16.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.16.
* foomaticrip.c: Fixed wrong access to command line option list which
prevented the command line options being passed on to the pdftops
CUPS filter when incoming PDF is converted to PostScript (Ubuntu
bug #1002699).
2012-06-06 Till Kamppeter <till.kamppeter@gmail.com>
* spooler.c: Fixed off-by-one bug which has cut off the last character
of the option string for CUPS (5th command line argument) and so made
the last option setting not being applied (Ubuntu bug #1003194).
2012-03-23 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.15.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.15.
* options.c: Improved check whether a driver works with PDF input data:
Do not take into account bogus options which appear due to bugs in
PPD files (type is TYPE_NONE) or composite options and in addition
add debug output to show the reason for the decision to convert to
PostScript (Ubuntu bugs #953962 and #960989).
2012-03-14 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.14.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.14.
* foomaticrip.c: If the input data is PDF but the driver requires
PostScript, use the pdftops CUPS filter when CUPS is the spooler.
This way we always use the same method to convert PDF to PostScript
in the whole system, including any workarounds applied in the CUPS
filter.
2012-03-02 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.13.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.13.
2012-03-02 Lars Uebernickel <lars@uebernic.de>
* spooler.c: When using CUPS support option strings (5th command
line argument to a CUPS filter) of more than 512 bytes. For PPD
files with very many options this string can get very long (Thanks
to Yoshito Nishihara, yoshito dot nishihara at nts dot ricoh dot co
dot jp for reporting this).
2012-02-10 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.12.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.12.
2012-02-10 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.11.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.11.
2012-02-10 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c: If incoming PDF needs to be converted to PostScript
due to the filter command line not being a standard Ghostscript
command line, no separate PDF command line being supplied, or
options in the PPD being implemented by PostScript code, use
preferrably Ghostscript (with the "ps2write" device) for this
conversion as Ghostscript is better optimized for printing and
has a more sophisticated color management compared to Poppler.
2012-02-10 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.10.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.10.
2011-08-18 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c, renderer.c: SECURITY FIX: Use the mktemp shell
command/mkstemp() function to create the debug log file and the
renderer input data file (both files only generated when
foomatic-rip is un in debug mode) with file names with an
unpredictable part. The names are /tmp/foomatic-rip-XXXXXX.log and
/tmp/foomatic-rip-YYYYYY.ps where the XXXXXX and YYYYYY are
replaced by random strings. Thanks to Tim Waugh from Red Hat for
for the patch (bug #936, CVE-2011-2924).
2011-07-25 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.9.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.9.
2011-07-25 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c: Fixed build of foomatic-rip on systems without
D-Bus. Thanks to Richard Hughes (hughsient at gmail dot com) for
the quick fix.
2011-07-25 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.8.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.8.
2011-07-24 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c: Removed stray characters from "pstoraster"
Ghostscript command line.
* foomaticrip.c, pdf.c, renderer.c: Added "-dNOINTERPOLATE" to the
Ghostscript command lines as this makes Ghostscript rendering
the pages significantly faster. Use "ps2write" instead of "pswrite"
as PostScript output device as Ghostscript produced huge output
files with "pswrite" (and "pswrite" is also deprecated now).
* foomaticrip.c: SECURITY FIX: It was possible to make CUPS executing
arbitrary commands as the system user "lp" when foomatic-rip was
used as CUPS filter. Fixed by not parsing named options (like
"--ppd lj.ppd") when foomatic-rip is running as CUPS filter, as
CUPS does not supply named options to their filters.
2011-03-04 Till Kamppeter <till.kamppeter@gmail.com>
* configure.ac: Support for libdir in the ./configure script.
* pdf.c: Use mkstemp() instead of mktemp(). Thanks to Richard
Hughes (hughsient at gmail dot com) for supplying me this patch
from Red Hat.
* colord.c, colord.h, Makefile.am, configure.ac, foomaticrip.c,
options.c, options.h: Added support for ICC-based color managment.
Both colord and CUPS' ICC-related PPD extensions are supported.
For colord D-Bus is required. Thanks to Richard Hughes (hughsient
at gmail dot com) for the patch.
2011-02-21 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.1.in: Corrected typos in the man page for
foomatic-rip. Thanks to Tim Waugh from Red Hat for the patch (bug
#659).
2011-02-18 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.7.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.7.
2011-01-04 Till Kamppeter <till.kamppeter@gmail.com>
* acinclude.m4, configure.ac: General cleanup (as in bugs #609,
#610).
2010-12-23 Till Kamppeter <till.kamppeter@gmail.com>
* README: Corrected several typos. Thanks to Christopher Yeleighton
(giecrilj at stegny dot 2a dot pl) for the patch (bug #598).
2010-12-16 Till Kamppeter <till.kamppeter@gmail.com>
* README: Corrected e-mail address of Helge Bliscke.
2010-12-15 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c: Run strtok() on a copy of the list of input files
for the first check, as strtok() modifies the string it parses,
overwriting the delimiters with zeros. Before, the list of input
files only showed its first entry when being parsed again for
actually printing the files (Ubuntu bug #676680).
* Tagged branch for release 4.0.6.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.6.
* options.c: Allow length limitation for the substitution of the special
entities "&job;", "&user;", "&host;", "&title;", and "&options;":
The maximum length can be supplied via the PPD keywords
"*FoomaticRIP<Item>EntityMaxLength: <mexlength>" (for example
"*FoomaticRIPUserEntityMaxLength: 8") or by adding a number to the
individual entities (for example "&user8;"). If the string to
insert for the entity is longer than the limit, it gets cut off to
the limit. Feature requested by Uli Wehner from Ricoh
(http://forums.linux-foundation.org/read.php?30,13134).
2010-12-10 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c: Make file type detection also work if the PostScript
or PDF input is preceeded by PJL with an additional '%' character.
Thanks to Alexpro for reporting this as Ubuntu bug #688551 and
supplying the patch.
2010-11-11 Till Kamppeter <till.kamppeter@gmail.com>
* util.c: The temp_dir() function did not take into account that
getenv() can return NULL. In such a case the fallback to /tmp
did not work. Thanks to Abel Abraham Camarillo Ojeda (spam at
verlet dot org) for the patch (bug #552).
* fileconverter.c: Make the check for the text filter actually
work. Before, the text filter choice from the configuration file
was simply taken for good and not checked whether it is supported.
Thanks to Abel Abraham Camarillo Ojeda (spam at verlet dot org)
for the patch (bug #551).
2010-08-27 Till Kamppeter <till.kamppeter@gmail.com>
* options.c: Made sure that the unhtmlify() function does not write
the zero byte to mark the string end beyond the buffer. Also use a
much larger buffer for parsing "*FoomaticRIPOptionPrototype:" in
the PPD file (bug #515).
* util.c: In strncpy_tochar() use the isempty() function to check
whether the input string is empty (bug #514).
2010-08-10 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.5.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.5.
2010-07-07 Till Kamppeter <till.kamppeter@gmail.com>
* options.c: Make substitution of zeros by the the user-defined
page size in the prototype string for the custom page size
working. Before, only substitution of %0 and %1 worked reliably.
Thanks to Lutz Sammer (johns98 at web dot de) for reporting this
problem (see also bug 514, comment #1).
* options.c: Make custom page size settings also work if the custom
size is set via embedded PostScript code and the comment to mark
the selected option setting is only "%% FoomaticRIPOptionSetting:
PageSize=Custom", without the size and unit parameters. Thanks to
Lutz Sammer for reporting this problem (see also bug 514, comment #1).
2010-07-02 Till Kamppeter <till.kamppeter@gmail.com>
* spooler.c: Config file for the default printer in spooler-less
(direct) printing mode was not read correctly. Thanks to Lutz
Sammer (johns98 at web dot de) for reporting this problem (see
also bug 514, comment #1).
* spooler.c: Fixed error message output if a printer's PPD is missing
in spooler-less mode. There was a segfault due to the printer name
not specified in the _log() function call. Thanks to Lutz Sammer
for reporting this problem (see also bug 514, comment #1).
* util.c: The isempty() function did not consider NULL as an empty
string. This caused segfaults when a string is considered non-empty
but in fact it is NULL. Thanks to Lutz Sammer for reporting this
problem (see also bug 514, comment #1).
* util.c: strncpy_tochar() did not check whether the input string
is empty and returned a pointer one character beyond the input
string, leading to segfaults in the code calling this function.
Thanks to Lutz Sammer for reporting this problem (see also bug 514,
comment #1).
2010-06-08 Till Kamppeter <till.kamppeter@gmail.com>
* USAGE: Documentation correction.
2010-06-07 Till Kamppeter <till.kamppeter@gmail.com>
* USAGE: Finally completed the documentation update to reflect that
the Ghostscript library is not needed any more.
* configure.ac, util.h, util.c: Added implementation of strcasestr()
function for non-GNU systems (completes fix of bug #303, thanks
to Tim Mooney for this fix).
* foomaticrip.c, foomaticrip.h, pdf.c: Let foomatic-rip actually
error out if something goes wrong. It simply continued or closed
silently (exit status 0) on the following events: Failure of
print_file() function call, failure of Ghostscript to determine
the number of pages of a PDF input file (causes Ubuntu bug
#570522), failure to start Ghostscript to render a PDF file,
failure to create a temporary file for extracting selected pages
from a PDF file, failure to run Ghostscript to extract pages from
a PDF file, page count result being a negative number.
* foomaticrip.c: Use EXIT_PRINTED constant and not hard-coded "0"
as exit value when terminating successfully.
* foomaticrip.h: Correct definition of EXIT_STARVED constant.
2010-03-26 Till Kamppeter <till.kamppeter@gmail.com>
* options.c, options.h: Made some strings longer, to avoid space
problems.
2010-02-15 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.4.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.4.
* README, USAGE: Reflected that libgs is not needed any more.
2010-02-12 Till Kamppeter <till.kamppeter@gmail.com>
* pdf.c, configure.ac: Removed dependency on libgs by calling
Ghostscript via the command line. This makes packaging for Linux
distributions easier and also building on Mac OS X and Solaris
gets simplified (Bugs #303, #382, #384).
2010-02-05 Till Kamppeter <till.kamppeter@gmail.com>
* options.c, spooler.c: Made suppression of CUPS accounting PostScript
code into a PostScript data stream actually working:
PPD keyword is "*FoomaticRIPCommandLinePDF", value must be "true",
and check of the ps_accounting variable must be done after parsing
the PPD file (Ubuntu bug #513690).
2010-02-03 Till Kamppeter <till.kamppeter@gmail.com>
* postscript.c: Added NULL pointer check to avoid segfault when
custom margins option is added to the PPD file via the
alignmargins script (Bug #413, Debian bug #539676).
2010-02-02 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c: If incoming PDF needs to get converted to
PostScript remove /usr/lib/cups/filter from $PATH, so that
"pdftops" of Poppler or XPDF gets called and not "pdftops" of
CUPS. The latter has another command line and does undesired page
management operations (Ubuntu bug #463059).
2010-01-19 Lars Uebernickel <larsuebernickel@gmx.de>
* *.[ch], README: Added license headers to all source files and
clarified in the README that the license is GPLv2 or later.
2010-01-16 Till Kamppeter <till.kamppeter@gmail.com>
* options.c: Fixed the previous revision to have bug #399 also
fixed for float options.
2010-01-15 Till Kamppeter <till.kamppeter@gmail.com>
* options.c: When building the driver command line do not use the
empty code fields of automatically generated choices of
numerical options of Foomatic-based PPDs (bug #399).
2009-08-19 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.3.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.3.
* foomaticrip.c: If PDF input has to be converted to PostScript
due to a PPD which does not support PDF (like the PPDs of the
Foomatic "Postscript" driver), we try at first to use "pdftops"
(Poppler) and only if this fails we use Ghostscript. This is
because Ghostscript blows up PDFs to huge PostScript
files (which many PostScript printers failed on), whereas
Poppler's output stays compact. As "pdftops" does not support
reading from stdin, we create a temporary file with the input
before starting to convert. Note that "pdftops" will get only
used if it has the "-origpagesizes" option (Poppler 0.11.x or
newer), as otherwise documents with pages of different sizes do
not get converted correctly (bug #365).
* pdf.c, util.c, util.h: Moved temp_dir() function from pdf.c to util.c
as it is now also needed by foomaticrip.c.
* foomaticrip.c: Fixed LPRng support (bug #337): PPD file names
were not read correctly from /etc/printcap (PRINTCAP_ENTRY
environment variable), starting 8 characters after the beginning
of the path and not stopping at a colon. Also the last command
line argument of the foomatic-rip call was always considered the
name of the PPD file, even if the PPD file name was already
determined by the PRINTCAP_ENTRY environment variable or the
"--ppd" command line argument.
2009-07-01 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c: Do not use JCL which is preceeded to the input
data. We can generate it on our own and even merge it with the JCL
coming from the driver.
* renderer.c: Make sure that "@PJL SET ..." commands from the PPD
file do not get nmerged into the driver's PJL header too early,
expecially not before "@PJL JOB ..." lines, as then the commands
get ignored. This happened especially with the "InputSlot"
option for the "cdnj500" driver.
2009-06-24 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.2.
* VERSION, README, USAGE, configure.ac: Updated for release 4.0.2.
2009-05-31 Till Kamppeter <till.kamppeter@gmail.com>
* configure.ac: Add support for cups-config (bug #349).
2009-05-27 Till Kamppeter <till.kamppeter@gmail.com>
* renderer.c: Fixed no-return-in-nonvoid-function compiler warning
caused by the write_binary_data() function (bug #348).
2009-04-23 Till Kamppeter <till.kamppeter@gmail.com>
* Re-tagged branch for release 4.0.1.
* VERSION, README, USAGE, configure.ac: Updated.
2009-04-19 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.1.
* foomatic-rip.1.in: Added documentation for the configuration file
(/etc/foomatic/filter.conf, bug #312), minor text fixes.
* postscript.c: Fixed segfault when the PPD contains only a
default value but not an option for it (like
"*DefaultResolution: 600dpi" and the client inserts this as an
option setting into the PostScript input data stream (Windows
clients do so). Bug #324.
2009-03-30 Till Kamppeter <till.kamppeter@gmail.com>
* options.c: Custom page sizes were not accepted if one of the three
parameters "WidthOffset", "HeightOffset", or "Orientation" of the
"PageSize" option in the PPD file did not allow 0 as value.
Made error messages for the parameters of custom options more
readable.
* foomaticrip.c, options.c: If there are printing system options
(like "media" of CUPS) and PPD options (like "PageSize") on the
command line and they do the same thing (like choosing the paper
size) let the setting of the PPD option always have priority,
as this is expected for a CUPS filter (see CUPS STR #3148). This
is done by treating the printing system options before the PPD
options. This fixes Ubuntu bug #338999.
2009-03-08 Till Kamppeter <till.kamppeter@gmail.com>
* renderer.c: Fixed segmentation fault in JCL option handling (bugs
#311 and #317).
2009-03-07 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.1.in: Fixed typos.
* renderer.c: When doing the massaging of the remderer command line
foomatic-rip inserts 'gs' at the wrong place in command lines of
Foomatic 3.x-generated PPD files for the "Postscript" driver, leading
to duplicate calls of Ghostscript (bug #316).
* foomaticrip.c: Fixed buffer overflow mentioned in bug #311.
2009-02-11 Lars Uebernickel <larsuebernickel@gmx.de>
* foomaticrip.c: The value of the "execpath" variable in the config
file was not used fully: Only the characters leading up to the first
':' were copied into the programs $PATH environment variable.
2009-02-11 Lars Uebernickel <larsuebernickel@gmx.de>
* renderer.c: Fixed several bugs in the argument replacements in
massage_gs_commandline.
* foomaticrip.c: Use "gspath" and "echopath" from the config file.
2009-02-09 Lars Uebernickel <larsuebernickel@gmx.de>
* fileconverter.h, foomaticrip.c, renderer.c, util.c: Made
foomatic-rip building under Mac OS X, mainly by replacing
functions which are GNU-only.
2009-02-02 Till Kamppeter <till.kamppeter@gmail.com>
* renderer.c: When foomatic-rip looked for JCL options in the
binary output of the driver to merge them with JCL options from
the PPD file, it read binary data into a C string, which causes
problems when this data contains zeroes. Finally fixes Ubuntu bug
LP: #303691.
2009-01-29 Till Kamppeter <till.kamppeter@gmail.com>
* renderer.c: If there were very many JCL lines in the driver's
output or coming together by JCL options, the JCL merging
process (kid4) segfaulted (Ubuntu bug LP: #321164,
https://launchpad.net/bugs/321164).
2009-01-14 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.0.
2009-01-13 Till Kamppeter <till.kamppeter@gmail.com>
* options.c: Custom JCL options were not inserted correctly
(thanks to Bin Li from Ricoh for reporting this). Fixed also
that "None" as argument for a string or password option is
considered as the empty string.
* options.c: String and password option settings got inserted into
the command line or the PostScript code with the "Custom."
prefix (thanks to Bin Li from Ricoh for reporting this). Fixed
also a segmentation fault due to missing initialization of
components of the param_t data structure by the
option_add_custom_param_from_string() function. Removed also
some unneeded free() calls.
2009-01-12 Till Kamppeter <till.kamppeter@gmail.com>
* acinclude.m4: Eliminated warnings when generating ./configure
2009-01-08 Till Kamppeter <till.kamppeter@gmail.com>
* README, USAGE: Version 4.0.0.
* STANDARD_installation: Tell also that "sudo make install" works
to run "make install" as root.
* Makefile.am: Fixed cleaning rules. Many transient files did not
get removed.
Fixed "make inplace" and uninstalling rules.
2009-01-03 Till Kamppeter <till.kamppeter@gmail.com>
* postscript.c: Do the workaround for PostScript input of
OpenOffice 1.1.x also for StarOffice 8 (Thanks to Martin Jacobs,
martin dot jacobs at arcor dot de, for the patch).
2008-12-10 Till Kamppeter <till.kamppeter@gmail.com>
* foomaticrip.c, foomaticrip.h, options.c: The PostScript code of
PostScript options did not get inserted when the spooler is CUPS
and foomatic-rip had to convert incoming PDF to PostScript
(Ubuntu bug #299918).
2008-12-05 Till Kamppeter <till.kamppeter@gmail.com>
* README: Updated for Foomatic 4.x
* test/*: Added test suite based on the LSB tests for foomatic-rip
* README, USAGE, foomatic-rip.1.in, foomaticrip.c, options.c, pdf.c.
spooler.c: s/GhostScript/Ghostscript/
2008-11-30 Till Kamppeter <till.kamppeter@gmail.com>
* postscript.c: Insert the "%%PageSetup" section directly after
the DSC comment header of the page, all page drawing commands
must be after the section.
* postscript.c: Inserted PostScript option settings from pstops
were not corrected with custom option settings done on the
command line (numerical, string, password).
* options.c: Small fix for better readability.
* renderer.c: If there was only one PJL option in the PPD no PJL got
added at all (Ubuntu bug #303691).
* renderer.c: Fixed several bugs in the merging of PJL options.
In some cases equal keywords were not found in the two JCL
option sets or keywords only differing by the last character
were considered equal. Also a command in the first line of the
driver's PJL header got dropped.
2008-11-26 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c: When a numeric value is out of range, use the default
value instead of the closest valid value (i.e. min or max). Do not
truncate string options which are longer than allowed, use the
default instead. Apply AllowedChars and AllowedRegExp also to
Password options.
Small bug fix: The generated regular expression for AllowedChars was
missing the final '$' and therefore didn't match all cases
correctly.
Bug fix: Merge JCL options correctly
2008-11-21 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c: Fixed bug: Setting the page range of an option to
multiple ranges (seperated by comma), foomatic-rip was caught in an
infinte loop.
* options.c: Fixed bug: Page ranges were not applied for command line
options when processing PostScript files (the renderer wasn't
restarted as it should have been).
2008-11-13 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c: Don't prepend @PJL to JCL options if they already start
with @PJL. Unhexify JCL commands.
* options.c: Handle CustomJCL<option> and ParamCustomJCL<option>.
Prefer JCL Custom options over foomatic options (as was already done
for PostScript options).
2008-10-22 Till Kamppeter <till.kamppeter@gmail.com>
* postscript.c: Reset the "fromcomposite" variable when treating
a "%%BeginFeature" line. In this case we do not do the treatment
of composite options and so the variable should never remain set
from a previous "%%FoomaticRIPOption" line. Fixes the problem
described in comment #23 of bug #173.
2008-10-15 Lars Uebernickel <larsuebernickel@gmx.de>
* ppd.c: In some cases, the code for the true and false settings of
boolean values was interchanged. E.g., if the user (or the default)
chose "false" for an option, the code for "true" was embedded in the
PostScript / JCL / Command Line.
2008-10-15 Lars Uebernickel <larsuebernickel@gmx.de>
* postscript.c: Let foomatic-rip not try to correct the
settings of boolean and enumerated choice options embedded in
the Prolog and Setup sections of the PostScript input data. With
the current pstops filter of CUPS we cannot determine any more
whether these options come from pstops or from the application.
Corrections of these options are only needed in the PageSetup,
anyway, for page overrides (Bug #173). [ported from foomatic-rip 3]
2008-10-01 Lars Uebernickel <larsuebernickel@gmx.de>
* pdf.c: Use $TMPDIR for storing temporary files, and only use
P_tmpdir or /tmp if $TMPDIR is not writable.
2008-09-25 Till Kamppeter <till.kamppeter@gmail.com>
* beh.in: Use /tmp as temporary directory when CUPS does not
supply the $TMPDIR environment variable (Ubuntu bug #268284).
2008-09-24 Lars Uebernickel <larsuebernickel@gmx.de>
* foomaticrip.c: Remove leading whitespace from jobs instead of
passing it on. Flush() standard output after writing leading data to
ensure it comes first (not after or between the output of the
renderer).
2008-09-24 Lars Uebernickel <larsuebernickel@gmx.de>
* pdf.c, renderer.c: Put JCL data also around PDF documents
2008-08-13 Lars Uebernickel <larsuebernickel@gmx.de>
* pdf.c: foomatic-rip inserted the -sOutputFile GhostScript command
line argument at the wrong position when printing a PDF file (not from
stdin), which led GhostScript to crash
* options.c: Option settings can be given in the PPD file before the
option is "declared", which led foomatic-rip to think that there are
PostScript options (the default) in the PPD and the driver could not
understand PDF input. Now, foomatic-rip checks for PostScript
options after the whole PPD has been read.
2008-08-12 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c: Use FoomaticRIPCommandLinePDF if it is available. Don't
use it if at least one option wants to insert PostScript code
* pdf.c: Only create a temporary file if there actually are page
overrides, not if printing the whole document
* postscript.c: Fixed bug #142, custom input value which was wrongly
set by pstops was not set to the correct value by foomatic-rip
2008-08-05 Lars Uebernickel <larsuebernickel@gmx.de>
* renderer.c: fixed bug #146, merging of JCL options omitted some
options.
* options.c: Fixed bug #151, crash when default value of an option was
set from a composite option.
2008-07-30 Lars Uebernickel <larsuebernickel@gmx.de>
* *: Added support for the *FoomaticRIPCommandLinePDF keyword. It will
be used for PDF input. If it is missing, *FoomaticRIPCommandLine
will be used _only_ if it calls GhostScript, otherwise the Job is
converted to PostScript.
* pdf.c: Pagerange-specific options work correctly now. If the command
line calls GhostScript, the -d(First|Last)Page parameters are used.
Otherwise, the PDF is split with GhostScript and fed to the command
line afterwards.
2008-06-22 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c: Allow float values on *OrderDependency settings. This is
valid according to the PPD spec, and is used by some HP PPDs.
2008-06-17 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c: Allow choices starting with "From". Even if they do not
point to a valid composite option.
* renderer.c: Parse more complex command lines correctly when looking
for the "gs" executable
2008-06-17 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c, postscript.c: fixed bug #138 (foomatic-rip does not
always insert the code pieces of the members of composite options)
2007-06-13 Till Kamppeter <till.kamppeter@gmail.com>
* renderer.c: When replacing elements of the Ghostscript command line,
do not remove the spaces between the items. This made printing with
the new foomatic-rip not working in general for most cases.
2008-05-11 Lars Uebernickel <larsuebernickel@gmx.de>
* pdf backend: removed poppler dependency, process pdfs with libgs
now. Changed the buildsystem to reflect this.
2008-04-23 Lars Uebernickel <larsuebernickel@gmx.de>
* foomatic-rip.c, configure.ac: Compose the current version out of the
contents of VERSION and `bzr revno`. It is now possible to find out
foomatic-rip's version by calling it with one of "--version", "-v",
"--help", or "-h".
2008-04-22 Lars Uebernickel <larsuebernickel@gmx.de>
* foomatic-rip.c, options.c: Fixed a bug in option parsing (some
options were not read correctly).
Let option settings for the "PageSetup" sections of the
PostScript input file really be inserted in and not before the
"PageSetup" sections.
2008-04-21 Lars Uebernickel <larsuebernickel@gmx.de>
* postscript.c, options.c: New placeholder "&rbinumcopies;" which gets
replaced by the value set in the "%RBINumCopies: ..." or
"%%RBINumCopies: ..." line in the PostScript input. If the PostScript
input does not contain such lines, the number of copies according to
the foomatic-rip command line is inserted. Feature request of George
Liu from Ricoh.
2008-03-17 Lars Uebernickel <larsuebernickel@gmx.de>
* foomaticrip.c, options.c: Moved buildcommandline() and
append_*_section() to options.c, where they belong.
* foomaticrip.c, spooler.c: Moved some spooler specific stuff to spooler.c
to clean up foomaticrip.c some more.
2008-03-16 Lars Uebernickel <larsuebernickel@gmx.de>
* foomaticrip.c: Started to move all process forking to process.c - to
share it with the pdf handler. Furthermore, the functions in process.c
will keep track of all forked processes and kill them when foomatic-rip
reveives a SIGTERM.
2008-03-08 Lars Uebernickel <larsuebernickel@gmx.de>
* options.c: Accept custom page sizes without a unit (assume pt)
2008-03-04 Lars Uebernickel <larsuebernickel@gmx.de>
* foomatic-rip.c, options.c: Use default values for custom options with
wrong parameters (e.g. PageSize=Custom) - Ubuntu bug #196687
2008-03-03 Lars Uebernickel <larsuebernickel@gmx.de>
* foomatic-rip.c: Fixed minor bug in option parsing
* pdf.cc/pdf.h: Beginning of pdf printing support. Printing is done
via ghostscript, using the commandline in the ppd file that is already
used for rendering postscript.
2008-01-26 Lars Uebernickel <larsuebernickel@gmx.de>
* foomatic-rip: Fixed minor bugs found while testing foomatic-rip
with cups.
2008-01-22 Lars Uebernickel <larsuebernickel@gmx.de>
* foomatic-rip: Merged foomatic-gswrapper into foomatic-rip.
* *: Fixed 'make install'
2008-01-14 Lars Uebernickel <larsuebernickel@gmx.de>
* *: Added support for CUPS custom options
(see http://www.cups.org/documentation.php/spec-ppd.html#OPTIONS)
o PPD files can contain both CUPS and foomatic custom options
o Custom options can be set like this on the command line:
Options with a single parameter:
-o optionname=Custom.value or
-o optionname=value
Options with multiple parameters:
-o optionname={param1=value1 param2=value2 ...}
* options.c: Refactored the options system to allow for custom
options. As a nice side effect, lots of redundant code (getting
commands / drivervalues for the options, syncing PageSize
and PageRegion) could be removed from foomaticrip.c.
2007-12-21 Lars Uebernickel <larsuebernickel@gmx.de>
* *: Converted foomatic-rip to C and updated the build system.
2007-12-04 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-gswrapper.in: Let Ghostscript always use buffered
input. This works around a Ghostscript bug which prevents
printing encrypted PDF files with Adobe Reader 8.1.1 and
Ghostscript built as shared library (Ghostscript bug #689577,
Ubuntu bug #172264).
2007-11-30 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: More bug fixes:
o If the CUPS-style duples option
"-o sides={one|two}-sided[-{long|short}-edge]" was supplied,
the "Duplex" option could be set to "0", "LongEdge", or
"ShortEdge", which do not exist in the "Duplex" options in
PPD files (Thanks to Ricoh Japan for reporting this bug).
o Now all of "LongEdge", "DuplexNoTumble", or "ShortEdge",
"DuplexTumble", are converted to each other if supplied as
value to an enumerated choice option (usually "Duplex") and
this value is not in the list of choices.
o Removed the unused variable "$rangeend" from the
parsepageranges() function.
o Reset the best score for finding the narrowest page range
before treating each option, not only before the first
option. Now jobs with page overrides on more than one
option are executed correctly.
2007-11-23 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Several fixes for bugs found while developing
the foomatic-rip test suite for the LSB 3.2:
o If an option had the default value "0" (enumerated choice,
numerical, string) in the PPD file, the first choice from
the list was set as default and not "0".
o When assigning a non-integer number to an integer option,
the "%%BeginFeature: ..." line of the option inserted into
the PostScript data stream still contained the non-integer
value. Only the value in the code piece was converted to
integer.
o If a non-integer "*FoomaticRIPDefault..." was given for an
integer option it was not converted to integer.
o Boolean options had "0" and "1" as values in the
"%%BeginFeature: ..." lines and not "False" and "True".
o PPD-supplied JCL/PJL options did not get merged with
driver-generated JCL/PJL options when there were spaces
between the JCL command and the "=" (ex: "@PJL SET TRAY = 1").
o Now all of "0", "No", "Off", "False" or "1", "Yes", "On",
"True" are converted to each other if supplied as value to
an enumerated choice option and this value is not in the
list of choices.
2007-10-11 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Allow the parameters of the "*Foomatic..."
lines which formerly had to be given without quotes also to be
given with double quotes. This is to support generation and
manipulation of Foomatic PPDs with the CUPS DDK. The PPD
generator of the CUPS DDK ("ppdc") can create these lines only
with quoted parameters (See http://www.cups.org/str.php?L2551).
2007-07-18 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Added support for suppressing page accounting
on a per-driver basis. Page accounting is deactivated if a line
"*FoomaticNoPageAccounting: True" is found in the PPD file.
2007-03-20 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Performance improvement: Do not match all forms
of DSC comments against every line. Check whether the line is a
DSC comment at all and pass it quickly through if not (Thanks to
Andreas Bolsch, Andreas dot Bolsch at alumni dot TU-Berlin dot
DE, for this patch). Will probably fix Ubuntu bug LP#78781
(https://launchpad.net/bugs/78781).
Fixed bug of custom page sizes not read from the PostScript code
when the size values are in more than one line (as the
"imagetops" CUPS filter outputs them when adapting a
user-supplied custom page size to the aspect ratio of the image,
to not waste roll paper). This fixes CUPS STR #1722
(http://www.cups.org/str.php?L1722), Ubuntu bug LP#42234
(https://launchpad.net/bugs/42234).
Let data structure get written to debug log also if foomatic-rip
exits with an error (only in debug mode).
2007-03-10 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Replaced sysread() and syswrite() by read() and
print() as sysread() and syswrite() is not compatible with the
read() and print() of the other operations. See Ubuntu bug #87597
(https://launchpad.net/bugs/87597).
2007-02-20 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Fixed problem of too high memory consumption
when binary output data of GhostScript is read line-wise and
does not contain line feeds (Ubuntu bug #85569 with driver
"eplaser", Red Hat bug #221194 with driver "lx5000"). Applied
same fix also to binary non-PostScript input data (only relevant
for non-CUPS printing systems).
* README, USAGE, foomatic-rip.in, foomatic-rip.1.in, beh.in,
foomatic-gswrapper.1.in, debian/copyright, debian/control,
debian/README.Debian: Replaced "linuxprinting.org" by
"openprinting.org" or "OpenPrinting".
2006-10-03 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Fixed bashism.
2006-08-27 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-gswrapper.in: Support for built-in redirection of
standard output of PostScript programs ("-sstdout=%stderr") in
newer GhostScript versions. More reliable then using /dev/fd/3
(not always available, difficult to check presence) or '|cat >3'
(not seekable and some GhostScript output devices require
seekability of the output file),
2006-07-10 Norm Jacobs <Norm.Jacobs@Sun.COM>
* *: Removed executable permissions from source files which are
not executables
2006-06-15 Norm Jacobs <Norm.Jacobs@Sun.COM>
* foomatic-rip.in: failing to open IPP attributes file shouldn't be
fatal
2006-06-01 Norm Jacobs <Norm.Jacobs@Sun.COM>
* filter.conf: example of a preferred shell setting
* foomatid-rip.in: detect and use a "modern" shell for shell commands
2006-05-17 Norm Jacobs <Norm.Jacobs@Sun.COM>
* foomatic-rip.in: Add support for Solaris LP, made default echo,
fileconverter, and execpath setable through configure options.
* foomatic-gswrapper.in: made default execpath setable through configure
options
* foomatic-rip-1.in: fixed to use @sysconfdir@ for configure
* foomatic-gswrapper-1.in: fixed to use @sysconfdir@ for configure
* configure.ac: made default execpath, fileconverter and echo setable
through configure options. Generate man pages through configure
* makeMan.in: removed, configure now generates the man pages
* Makefile.in: cleaned up some to work with makes other than gmake
* README, USAGE: added Solaris LP
2006-01-06 Till Kamppeter <till.kamppeter@gmx.net>
* beh.in: Fixed bug of N^2 copies being printed when N copies
were requested.
* configure.in, configure.ac: Renamed configure.in to
configure.ac, to make the package working with the current
versions of aclocal and autoconf.
2005-11-13 Till Kamppeter <till.kamppeter@gmx.net>
* README, USAGE, beh.in: Updated documentation, to take into
account beh and HPLIP, dropped HPOJ in the documentation.
2005-09-12 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Better support for non-PJL JCLs. If there are
Foomatic options of execution style JCL, they are only prefixed
with "@PJL " if the PPD does not contain a "*JCLBegin:"
expression not containing "PJL" and if the prefix is not
changed by a "*FoomaticJCLPrefix:" in the PPD file. If there
is a "*JCLBegin:" without "PJL" and no "*FoomaticJCLPrefix:"
the JCL commands do not get any prefix. Fixed also bug of
$jobuser and $jobhost not being chomped.
2005-08-15 Till Kamppeter <till.kamppeter@gmx.net>
* beh.in, configure.in, Makefile.in: Added the "beh" (Backend
Error Handler) CUPS backend. With this the handling of errors
of the CUPS backends (printer communication errors, like
printer not turned on) can be configured, instead of CUPS
simply disabling the print queue.
2005-07-29 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Added substitution of special XML entities by
job data, as date, time, job ID, user name, ... (in function
"unhtmlify()"). This was suggested by George Liu from Ricoh
(george dot liu at ussj dot ricoh dot com), to support jobs
with submission of login/password to the printer.
2005-07-19 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in, foomatic-gswrapper.in: Fix for the fix on the
regexp for reading the config file (Thanks to Hans-Dieter Kosch,
hdkosch at t-online dot de, for this fix).
2005-07-18 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: In quiet mode (non-logging mode) $logh is
closed in the beginning but was never opened (Thanks to
Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix).
* foomatic-gswrapper.in: Fixed quoting of single quotes (Thanks to
Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix).
* foomatic-rip.in, foomatic-gswrapper.in: Fixed regexp for reading
the config file (Thanks to Hans-Dieter Kosch, hdkosch at
t-online dot de, for this fix).
2005-05-19 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Make EPSF files not be an exception when
checking whether the input file is DSC-conforming. They can also
be DSC-conforming (thanks to Kevin ODonovan, kevin dot odonovan
at nist dot gov, for his report); Let the "FontPath" defined in
/etc/cups/cupsd.conf being used when CUPS is the spooler
(thanks to Peter Kekesi, kekpeti at freemail dot hu, for his
report).
2005-05-11 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Added comment before the line to automatically
quote unquoted slashes in the allowed characters list or allowed
regexp.
2004-12-20 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed bug of foomatic-rip replacing a JCL
command (ex: "@PJL HOLDKEY=1234") if another which is contained
in the first one is supplied (ex: "@PJL HOLD=STORE"). Thanks to
Jociel Cavalcante Andrade (jcainfo at inf dot ufes dot br) for
reporting the bug and testing the fix.
2004-12-04 Chris Lawrence <lawrencc@debian.org>
* foomatic-rip.in: Include -*- perl -*- for Emacs mode selection.
* foomatic-gswrapper.in: Instead of testing for /dev/fd/*, use
them directly; this gets around some unreliability with
Ghostscript prefiltering that is described in Debian bug report
#271519 (http://bugs.debian.org/271519). Also include -*- perl
-*- for Emacs mode selection.
* debian/README.Debian, debian/changelog, debian/compat,
debian/control, debian/copyright, debian/dirs, debian/docs,
debian/foomatic-filters.config,
debian/foomatic-filters.postinst,
debian/foomatic-filters.postrm,
debian/foomatic-filters.templates, debian/parseconfig.pl,
debian/po/POTFILES.in, debian/po/de.po, debian/po/fr.po,
debian/po/ja.po, debian/po/nl.po, debian/po/pt_BR.po,
debian/po/templates.pot, debian/po/tr.po, debian/rules: New
files; add Debian packaging information.
2004-11-18 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed problem of foomatic-rip crashing with
error 29 (ESPIPE = "Illegal seek") on "close STDIN;" on some
non-Linux platforms as Unixware 7.1.0, fixed problem of CUPS
page accounting PostScript code in foomatic-rip overriding
already exisiting /EndPage procedures. Added output of error
code when foomatic-rip dies. Thanks to Helge Blischke
(h dot blischke at acm dot org) for all these fixes and
enhancements.
2004-09-14 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.2.
Tag name: "foomatic-filters-3_0_2".
* README, USAGE: Updated for version 3.0.2.
2004-08-26 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: SECURITY FIX: foomatic-rip could execute
arbitrary commands as user "lp" (or however the spooler's
special user is named) on the print server. Advisory ID:
CAN-2004-0801.
The fixes:
- Let unprintable characters be removed from all command line
options and environment variables.
- Let shell escape characters be removed from file names, queue
names, driver options, and some other input strings.
- Let "open" commands for file access always use "<" or ">" to
specify reading or writing.
2004-06-15 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Made workaround for OpenOffice.org 1.1.0 bug
being applied to all OpenOffice.org 1.1.x versions (Thanks to
Nigel Tamplin, nigel at metica dot com).
2004-03-28 Till Kamppeter <till.kamppeter@gmx.net>
* USAGE, foomatic-rip.in: Replaced "GIMP-Print" by "Gimp-Print".
2004-03-26 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed building of PDQ driver description file.
2004-02-18 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.1.
Tag name: "foomatic-filters-3_0_1".
* README, USAGE: Updated for version 3.0.1.
2004-01-24 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.1rc3.
Tag name: "foomatic-filters-3_0_1rc3".
* README, USAGE: Updated for version 3.0.1rc3.
* configure.in: Removed the AC_OUTPUT() entry to create a Makefile
in the tests directory.
2004-01-24 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.1rc2.
Tag name: "foomatic-filters-3_0_1rc2".
* README, USAGE: Updated for version 3.0.1rc2.
2004-01-23 Till Kamppeter <till.kamppeter@gmx.net>
* Removed some more files which do not belong into the stable
release.
* Makefile.in, configure.in, tests/*: Removed Patrick Powells
"make test" facility, it did not work.
2004-01-21 Grant Taylor <gtaylor@linuxprinting.org>
* Secondary checkin, to remove/add files that changed between
branches.
* Reverted snafu unstable code checkin introduced onto the stable
3.0 branch on Jan 16, and present until Jan 21.
2003-12-21 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile.in: Fixed compatibility for non-bash systems: Used
"VAR=VALUE; export VAR" instead of "export VAR=VALUE" (Thanks
to Florian Diesch <diesch@spamfence.net>).
2003-12-01 Till Kamppeter <till.kamppeter@gmx.net>
* configure.in, Makefile.in: Added fixes and improvements for
NetBSD compatibility. Thanks to Bruce J.A. Nourish
(bjan+foomatic-devel at bjan dot net) for this contribution.
2003-11-22 Till Kamppeter <till.kamppeter@gmx.net>
* README, USAGE: Updated for version number 3.1.0.
* *: Tagged all files of the repository with "foomatic-3_0-bp",
started stable branch "foomatic-3_0-branch".
2003-11-20 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.1rc1.
Tag name: "foomatic-filters-3_0_1rc1".
* README, USAGE: Updated for version 3.0.1rc1.
2003-11-19 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in, filter.conf: Added support for CUPS raster
drivers to foomatic-rip. Now CUPS raster drivers can be used
with every spooler.
2003-10-24 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed bug of sometimes an extra blank page
being printed after the job.
2003-10-21 Till Kamppeter <till.kamppeter@gmx.net>
* configure.in: Added option "--disable-file-converter-check" to
disable checking whether there is a file converter installed.
2003-10-20 Till Kamppeter <till.kamppeter@gmx.net>
* configure.in: Added /usr/local/libexec to LIBSEARCHPATH for *BSD
compatibilty. Thanks to Sebastian Horzela (sh at horzela dot
com).
* configure.in: For CUPS a2ps, enscript, or mpage is not needed,
here texttops of CUPS is used be default. So let ./configure
also check for texttops.
* tests/Makefile.in: Continue testing when comparing the result of
a test with the reference file fails, give only a warning in
such a case.
2003-10-20 Patrick Powell <papowell@lprng.com>
* added 'use strict' and -w to the Perl options.
* fixed a large number of undefined or out of scope variable
references discovered by the 'use strict' and -w.
* added 'use Cwd' to get current working directory
* Modified foomatic-rip to auto-sense the LPRng configuration.
This eliminates the need for the --lprng option, unless you want
to use it. You now set the ppd_file option in the printcap to
specify the location of the PPD file:
lp:filter=/path/to/foomatic-rip
:ppd_file=/path/to/ppdfile
or
lp:filter=/path/to/foomatic-rip --ppd=/path/to/ppdfile \
[options]
or
lp:filter=/path/to/foomatic-rip --lprng [options] \
/path/to/ppdfile
(legacy documented foomatic method)
If you specify both, the command line overrides the :ppd_file
New versions of the LPRng 'checkpc' program will check for the
presence of the :ppd_file if it is specified.
* Modified fomatic-rip to be less 'verbose' and not put out blank
lines when used with LPRng. Changed 'dieing' to 'dying' in
error messages, as well as removing some typeos in other places.
* Modified the configure.in, Makefile.in, and makeMan.in scripts
to use the current/latest autoconf conventions. Using
${INSTALL} to do installation and mkinstalldirs to create
directories. Modified the configure script to NOT override the
use of sysconfdir. You can now run the configure script from a
subdirectory. This implies that your filter.conf file will now
be installed in ${sysconfdir}/foomatic/filter.conf, not in
/etc/foomatic/filter.conf. The other foomatic installation
scripts should also be modified to follow this convention.
* The configure script now checks for at least one page converter
(a2ps, enscript, mpage) and errors if one is not installed.
* modified the code for 'echo' to be compatible with the comments in
foomatic-rip. The filter.conf file can now set the echo program.
2003-09-13 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: When option settings on the last page of a job
changed and the last page was read completely into the FIFO
before it was printed, the renderer was not restarted to take
into account the option changes.
Added a new workaround for a new bug in the PostScript generated
by OpenOffice.org 1.1.0.
2003-08-21 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fix on PostScript code insertion for nested
2003-08-14 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed checks for CPS printer spooler.
2003-08-01 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixes on JCL header merging, support for nested
composite options.
2003-07-30 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: If a printer/driver combo has Foomatic-defined
JCL options and the driver already generates a JCL header, the
JCL options are merged into the header produced by the driver.
2003-06-26 Till Kamppeter <till.kamppeter@gmx.net>
* configure.in, makeMan.in, foomatic-rip.in: Support for IRIX.
* foomatic-rip.in: Updated comments.
2003-06-25 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Let "echo" commands in the renderer command
line being replaced by $myecho, so that printing on non-GNU
systems with user-selected GNU "echo" command works.
2003-04-29 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.0.
Tag name: "foomatic-filters-3_0_0".
* README, USAGE: Updated for version 3.0.0.
* foomatic-rip.1.in: Updated linuxprinting.org link for 3.0.0.
2003-04-22 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.0rc2.
Tag name: "foomatic-filters-3_0_0rc2".
* README, USAGE: Updated for version 3.0.0rc2.
* foomatic-rip.1.in: Added missing substitutions for special
characters in postpipe.
2003-04-21 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: added restriction for allowed strings by means
of lists of allowed characters (PPD keyword:
'*FoomaticRIPOptionAllowedChars <option>: "..."') and Perl
regular expressions (PPD: '*FoomaticRIPOptionAllowedRegExp
<option>: "..."'). The allowed characters are checked by a
'/^[...]*$/' expression in the Perl scripts, so ranges with '-',
forbidden characters with a leading '^', or special characters
as '\w', '\d', '\x07', ... are allowed. Regular expressions are
applied via a '/.../' expression. These restrictions are done
for security reasons, to avoid for example a string like "|| rm
-rf * ||" in a command line option.
The string 'None' is always mapped to the empty string,
as PPD files and the command of some spoolers do not accept an
empty string as argument value.
Several bug fixes done for the string options.
2003-04-13 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.0rc1.
Tag name: "foomatic-filters-3_0_0rc1".
* README, USAGE: Updated for version 3.0.0rc1.
2003-04-12 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Introduced string and password options.
2003-04-07 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Currently, the renderer is re-started whenever
an arbitrary option is changed from one page to the next one.
For PostScript options this is not really needed when one resets
the PostScript state from before the beginning of the page. Done
tests with saving the state before and restoring it after every
page, but this did not work as the "showpage" cannot be bracketed
by "(g)save"/"(g)restore". See Adobe's "PostScript Language
Document Structuring Convention (DSC) Specification Version 3.0"
(http://partners.adobe.com/asn/developer/technotes/postscript.html),
section 4.3, "Use of showpage" (p. 26). Problem is that "showpage",
"(g)save", and "(g)restore" are often in macros/subroutines, so
they are not easily visible so that one can easily insert option
settings or saving/restoring of the PostScript state at the correct
place. So for now inserting saving/restoring lines is commented out
in foomatic-rip and the renderer is restarted at every option
change ("optionsequal(, , , 0)") and not only after changes of
JCL or command line options ("optionsequal(, , , 1)").
Fixed bug of Prolog and DocumentSetup sections created by
foomatic-rip when first "%%Page: ..." is found not being added
to the PostScript header data .
2003-04-06 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Added support for applying options only to
selected pages via the command line. Now options can be
preceeded by a page specification:
CUPS, GNUlpr, CPS, no spooler:
lpr -o 1:InputSlot=Letterhead
lpr -o even:Watermark=on
lpr -o 1,6-10,15,20-:MediaType=YellowPaper
LPRng:
lpr -Z 1-2:MediaType=Cardboard
LPD:
lpr -J "1,6-10,15,20-:MediaType=YellowPaper"
PPR (RIP):
ppr --ripopts "1:InputSlot=Letterhead"
PPR (Interface)
ppr -i "1:InputSlot=Letterhead"
The syntax is "even", "odd", or giving comma-separated page
numbers or page ranges. Applying options to selected pages with
PDQ is not supported.
2003-03-22 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.0beta2.
Tag name: "foomatic-filters-3_0_0beta2".
* README, USAGE, foomatic-rip.1.in: Updated for version
3.0.0beta2.
2003-03-07 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Workaround for bug in OpenOffice.org.
OpenOffice.org puts "%%BeginSetup...%%EndSetup" section with
option settings valid for the whole document after the first
"%%Page:..." line. So without the workaround all settings made
with the "Properties" button in the "File"|"Print" dialog
applied only to the first page, the other pages were printed
with the printer's default settings. Fixed also some typos.
2003-03-06 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed bug that unreadable/missing files are not
removed from the list of files to be printed.
2003-03-05 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed bug of settings for composite options
stuffed into the PostScript job data by applications (as
OpenOffice.org) being ignored; added support for
"FoomaticRIPDefault..." keywords in numerical options (see
http://www.linuxprinting.org/pipermail/foomatic-devel/2003q1/001250.html).
2003-02-22 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Introduced mode for the spooler CPS (Coherent
Printing System).
2003-02-13 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed bug in reading a custom page size from
the PostScript input file.
2003-02-03 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 3.0.0beta1.
Tag name: "foomatic-filters-3_0_0beta1".
* README, USAGE: Updated for version 3.0.0beta1.
* COPYING: Added file containing the GPL.
2002-12-19 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 2.9.1.
Tag name: "foomatic-filters-2_9_1".
* README, USAGE: Updated for version 2.9.1.
2002-12-09 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Introduced support for composite options.
2002-12-08 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-gswrapper.in: If there is no /dev/fd/3, don't use
/dev/fd/3 for standard output. Use the good old "| cat >&3".
2002-12-04 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 2.9.0.
Tag name: "foomatic-filters-2_9_0".
2002-12-01 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-gswrapper.in: If there is no /dev/fd/0, don't use
/dev/fd/* for standard input, standard output, and standard
error. Support of block reading from standard input ("-_"
instead of "-" on GhostScript command line), use block
reading preferrably.
* foomatic-rip.in: Made sure that an absolute path for the PPD
file is inserted in the PDQ driver description file, suppress
log output on standard error whenn generating a PDQ driver
description file.
2002-11-29 Till Kamppeter <till.kamppeter@gmx.net>
* *: Tagged CVS for the release of foomatic-filters 2.9.0pre1.
Tag name: "foomatic-filters-2_9_0pre1".
2002-11-28 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Fixed comment text.
* filter.conf: Updated comment text.
* USAGE: Fixed typo.
2002-11-27 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile.in, configure.in, makeMan.in: Updated Makefile
infrastructure to let the package correctly build the man page
and link foomatic-rip into the filter directories of CUPS and
PPR.
* foomatic-rip.in: Allow more than one occurence of the same spot
("%A", "%B", ...) in the RIP command line prototype, so that one
option setting can act on several points of the command line
(was an old TODO point of Grant).
* foomatic-rip.1.in: Continued working on the man page for
foomatic-rip.
* foomatic-gswrapper.in: Fall back to "| cat >&3" and "-" instead
of "/dev/fd/3" and "/dev/fd/0", if the file descriptor directory
/dev/fd does not exist.
* README, USAGE, TODO: Updated the package documentation.
2002-11-26 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Added instructions for using a custom page size
to the documentation page output ("-o docs") for the PPR RIP
mode of foomatic-rip.
* src/*.in, src/Makefile, lpdomatic.8.in, directomatic.1.in:
Removed the old spooler-specific filters, they are replaced
by foomatic-rip now.
* Makefile.in, configure.in: Removed stuff to build the old
src/*omatic filter.
* foomatic-rip.1.in: Added man page for foomatic-rip.
2002-11-25 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Various fixes and adaptations to make
foomatic-rip well working together with the new
foomatic-configure:
Support for raw queues under all spoolers and spooler-less
printing.
When foomatic-rip is used as a PPR RIP, it accepts also options
through the new "--ripopts" option of the "ppr" command of PPR
1.50 now.
Accept "-o <option>=<value>" on the command line also when one
uses foomatic-rip as a PPR RIP, so one can easily set defaults
using
ppad rip <printer> foomatic-rip x -o <option>=<value> -o <switch>
Fixed bug which broke renderer command lines composed from
several shell commands in debug mode.
Read Foomatic IDs from the PPD file.
Make default configuration file for spooler-less printing being
/etc/foomatic/direct/.config and PPD files being searched in
/etc/foomatic/direct.
In debug mode debug logging is started in the beginning of the
parsing of the command line options, right after checking the
options relevant for logging.
2002-11-16 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Added legacy interface for old Foomatic 2.0 PPD
files. Now foomatic-rip accepts all PPD files except the ones
for native CUPS drivers.
Fixed output of sample command line in the help page generator,
also do not display options with only one choice on the help
page.
Do not range check numerical options when building the command
line, we did it already when obtaining the option settings from
the command line, the PPD file, and the job data.
2002-11-15 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Now all spoolers, including PDQ, are supported
and tested successfully. With foomatic-rip all spoolers can be
used with PPD files now, either PPD files supplied by printer
manufacturers for their PostScript printers or Foomatic (2.9.x)
PPD files.
Added "buildpdqdriver()" function and "--genpdq"/"--appendpdq"
command line options to build PDQ driver declaration files which
call foomatic-rip for the dirty work and offer all options
available in the PPD file to the PDQ user. They accept all file
types, so PostScript and all, what the file conversion filter in
use ("a2ps", "enscript", "mpage") understands, can be printed.
Setup of a printer under PDQ as follows:
cp foomatic-rip /usr/bin
cp myprinter.ppd /etc/foomatic (or ~/.foomatic/)
chmod 666 /dev/lp* (or /dev/usb/lp*)
foomatic-rip -P myprinter \
--genpdq /usr/lib/pdq/drivers/misc/myprinter.pdq
xpdq (set up the printer, right-click -> "Add Printer")
The first three lines are the same as for spooler-less printing.
In The "foomatic-rip" line one can add options (with "-o") to
change the defaults in the PDQ driver declaration file.
Improvements on documentation page generation: Support for "-o
switch"/"-o noswitch" for boolean options. Minor text
corrections.
2002-11-14 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Now all spoolers (except PDQ) are tested
successfully.
Added support for foomatic-rip running as a PPR
RIP (PPR 1.5x), before it could only run as a PPR interface. To
use it as a PPR RIP one sets up the print queue as follows:
ln -s foomatic-rip /usr/lib/ppr/lib/
ppad interface foo parallel /dev/lp0
ppad ppd foo /path/to/foo.ppd
ppad rip foo foomatic-rip other x
(the "x" in the end of the last line is needed to work around a
bug.)
Use "PPR_VERSION" environment variable to auto-detect whether
PPR is the spooler.
The parsing of the command line options did not work with the
Getopt::Long Perl library when using LPRng as the spooler. The
problem is that LPRng uses short options (one hyphen and one
letter) and lets the argument follow without space
("-ZPageSize=A4"), on this Getopt::Long chokes. Replaced
Getopt::Long by a self-made method to parse the options.
Prepared foomatic-rip for PDQ support.
Added comment about the supported spoolers.
2002-11-13 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: The basic functionality of foomatic-rip is now
implemented, all features of the old "*omatic" filters are also
available in foomatic-rip.
Now text and other non-PostScript files can be printed,
foomatic-rip calles "a2ps", "enscript", or "mpage" automatically
when it detects a non-PostScript file.
Improved command lines of "a2ps", "enscript", and "mpage" to
generate wider margins (so that nothing gets cut off) and
wrapping of too long lines (to not loose information).
The "docs" option lets a help page being printed, independent of
the file originally sent. This works also with manufacturer-
supplied PPD files of PostScript printers. CUPS prints the
documentation page with its native "texttops" filter by default,
but this can be changed to "a2ps", "enscript", or "mpage" with
"textfilter" line in /etc/foomatic/filter.conf.
Custom page sizes work also on manufacturer-supplied PPD files
now,
Fixed control of quiet, verbose, and debug mode from the command
line ("-q", "-v", "--debug").
foomatic-rip used without spooler does not have any console
output any more (except error messages). Use the "-v"
("Verbose") for log output on the console and "--debug" for
debug log files.
Debugging files are now /tmp/foomatic-rip.log (log file) and
/tmp/foomatic-rip.ps (PostScript data pre-processed by
foomatic-rip, as it is stuffed into the renderer).
When using CUPS as the spooler, lists of the command line
options with which foomatic-rip was called are only written to
the log when in debug mode, so that Mac OS X does not produce
lines for the "error_log" of CUPS which have more than 1024
characters, as this makes CUPS aborting the job.
Fixed PPR spooler auto-detection. Now foomatic-rip should
work as a PPR interface as ppromatic.
Additional comments about non-PostScript and documentation
printing and also about the kid processes of foomatic-rip
and what they do.
Minor clean-ups.
2002-11-11 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Now it should be possible not only to use the
new (Perl-free, version 2.9.x) Foomatic PPD files with
foomatic-rip, but also manufacturer-supplied PPD files of
PostScript printers. This way one can use these PPD files with
every spooler and also spooler-less.
The settings of "PageSize" and "PageRegion" are kept in sync
now, so on does not need to take care whether "PageSize" or
"PageRegion" is used to set the paper size.
The "*JCL..." keywords in PostScript files of PostScript
printers are recognized, so the JCL options of the files are
taken into account and the user can adjust them.
Remove "dossy" ("\r\n") line ends from the lines read from the
PPD file, so also PPD files downloaded under Windows should be
correctly parsed.
Bugfix: Allow trailing whitespace in "*OrderDependency" lines of
the PPD file, for all other keywords trailing whitespace was
already allowed.
Added more comments about the PostScript parsing, especially
about stuffing in PostScript code from command line options
and default settings.
Workaround for "dvips" bug that it misses inserting a
"%%BeginProlog" comment. This will now be handled correctly.
Make sure that code for default and command line option settings
get also inserted in the job when it has the DSC magic string
("%!PS-Adobe-..") but is not DSC-conforming in reality.
To be more general, use the expression "JCL" (Job Control
Language) instead of "PJL" (Print Job Language) for variable
names and comments.
Some minor clean-ups.
2002-11-10 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: Now it should be possible to print with all
spoolers, but only PostScript, no plain text or help pages.
Added code to parse the command line options,
now one can control jobs also by command line options and not
only by stuffing settings into the PostScript file.
Insert code of PostScript options into the appropriate sections
of the PostScript job. This is not done for CUPS as there the
"pstops" filter does it already.
Correct option settings for numerical options which the "pstops"
already inserts. "pstops" inserts the default setting when the
user-supplied value is not one of the choices in the PPD file.
Now foomatic-rip replaces the default value by the correct value
from the command line (or from "/.lpoptions).
Inserted page accounting code for CUPS.
If an enumerated choice option has only one choice, set this one
as the default choice. There was no default set before.
Support for postpipes (command line into which to stuff the
output of the renderer).
2002-11-09 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: foomatic-rip is one filter to be used with
all spoolers now (Currently CUPS works without accounting
and spooler-less printing only to stdout and without
inserting of command line options).
Completed spooler auto-detection and loading of queue and
job information needed for executing the job.
Introduced loop to print more than one file per job (needed
for spooler-less printing).
Parse definition of a postpipe (command into which output of
renderer will be piped) in the PPD file, using the syntax
'*FoomaticRIPPostPipe: "..."'. Use of the postpipe needs still
to be implemented. The postpipe is needed for LPD/LPRng/GNUlpr
and spooler-less printing.
2002-11-07 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: foomatic-rip works also as a CUPS filter,
without any modifications and without wrapper. Accounting
and help page is not supported yet. It is planned to also use
it as filter for the other spoolers without wrapper (spooler
auto-detection).
Made foomatic-rip also recognizing option
settings embedded in PostScript files with "dossy" line ends
("\r\n").
Made it more tolerant against not exactly DSC-conforming
PostScript. as for example CUPS' "pstops" does not put page-
specific option settings between "%%BeginPageSetup" and
"%%EndPageSetup".
Handle the problem that there can be a "%%PS-Adobe" header, but
the document is not DSC-conforming. Stop parsing when the next
DSC section is not found after a certain amount of lines.
Parse also "%%BeginProlog", "%%EndProlog", "%%BeginSetup",
"%%EndSetup", "%%BeginFeature", and "%%EndFeature" comments so
that additional option settings can be inserted.
2002-11-06 Till Kamppeter <till.kamppeter@gmx.net>
* src/*omatic.pl.in: Made filters also recognizing option settings
embedded in PostScript files with "dossy" line ends ("\r\n").
2002-11-03 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-rip.in: "foomatic-rip", the filter to translate
PostScript input to the printer's native language using printer
capability info from a new Perl-free PPD file. It expects the
name of the PPD file in the environment variable PPD or with the
"-p" command line option and the PostScript on standard input,
the job translated to the printer's native language appears as
standard output.
The filter recognizes DSC-conforming PostScript documents and
searches for inserted options settings at all allowed places
without loading the whole document into memory. It handles also
command line and PJL arguments given onely for certain pages, in
this case the renderer (usually GhostScript) is restarted with a
new command line and/or new prepended PJL. For
non-DSC-conforming documents only settings in the beginning of
the file are recognized.
* Makefile.in, configure.in: Taken into account the new
"foomatic-rip" filter.
2002-10-19 Till Kamppeter <till.kamppeter@gmx.net>
* src/*omatic.pl.in: Support for custom page sizes. A choice named
"Custom" in the "PageSize" option is considered as custom page
size. Its "<ev_driverval>" should contain a placeholder "%0" for
the page width and "%1" for the page height (both in points).
Alternatively the "<ev_driverval>" can contain two zeros ("0")
from which the first will be replaced by the page width and the
second by the page height. PPD files will get Adobe-complient
for the custom page size support. So CUPS and the printing
dialog of Mac OS X should have no problems with the custom paper
size. Now custom paper sizes are available for all spoolers:
CUPS: lpr -P huge -o PageSize=Custom.500x750cm bigposter.ps
LPRng: lpr -P huge -Z PageSize=Custom.500x750cm bigposter.ps
GNUlpr: lpr -P huge -o PageSize=Custom.500x750cm bigposter.ps
LPD: lpr -P huge -JPageSize=Custom.500x750cm bigposter.ps
PPR: ppr -P huge -F "*PageSize Custom" -i 500x750cm bigposter.ps
PDQ: pdq -P huge -oPageSize_Custom -aPageWidth=500
-aPageHeight=750 -oPageSizeUnit_cm bigposter.ps
No spooler: directomatic -P huge -o PageSize=Custom.500x750cm
bigposter.ps
2002-10-10 Till Kamppeter <till.kamppeter@gmx.net>
* *: Set revision number of all files to 3.0.
2002-10-09 Till Kamppeter <till.kamppeter@gmx.net>
* README, USAGE: Updated documentation according to the splitted
packages.
2002-10-08 Till Kamppeter <till.kamppeter@gmx.net>
* *: Splitted Foomatic into four packages:
- foomatic-filters: Filter scripts used by the spoolers to
convert the incoming PostScript data into the printer's
native format using a printer/driver specific PPD file
- foomatic-db-engine: Foomatic's database engine generates
PPD files from the data in Foomatic's XML database. It also
contains scripts to directly generate print queues and handle
jobs.
- foomatic-db: The collected knowledge about printers, drivers,
and driver options in XML files, used by foomatic-db-engine
to generate PPD files.
- foomatic-db-hpijs: Foomatic XML data generator for HP's HPIJS
driver.
This package is foomatic-filters.
* configure.in, Makefile.in: Removed all portions not needed for
foomatic-filters.
* configure.in, Makefile.in, makeMan.in, lpdomatic.8.in,
directomatic.1.in: Made insertion of paths in man pages working
without Defaults.pm.
* configure.in: Fixed check to set /etc instead of /usr/local/etc
as $sysconfdir.
* mfomatic.in: This file was not maintained for long time and
noone asked for it, removed.
2002-10-07 Till Kamppeter <till.kamppeter@gmx.net>
* data-generators/hpijs/hpijs-printermap,
db/source/printer/HP-Business_Inkjet_3000.xml: The HP Business
Inkjet 3000 does not work with the HPIJS driver.
* db/source/printer/122496.xml,
db/source/printer/HP-DesignJet_750.xml: Removed hint that IJS
driver has problem with large paper sizes. This is fixed.
2002-10-06 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/*: Added "largeformat-PageSize.xml" special page
size option for large format printers (drivers "dnj650c" and
"Postscript"). Now Foomatic supports paper sizes larger than A3
with these printers.
2002-10-05 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the "lz11" driver entry (enhanced version
of "cZ11" for the Lexmark Z11 printer).
* db/source/printer/*: Fixed auto-detection info of the HP Color
LaserJet 4500 and removed wrong auto-detection info from the
Kyocera FS-1200.
2002-10-03 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added driver entry "lxm3200-tweaked", the
"lxm3200" driver modified to also support the Lexmark Z31 and
Z12.
* db/source/printer/*: Rated the Lexmark Z31 as "Mostly" and the
Z12 as "Partially", due to the "lxm3200-tweaked" driver.
* db/source/printer/Epson-Stylus_CX3200.xml: Changed rating to
"Paperweight" (nothing known about this device yet).
* db/source/*/*: Fixed "stc300.upp" driver, execution information
was missing, new URL.
* db/source/*/*: Added the Epson MJ 520C to the list of supported
printers of the "stcolor", "stcany.upp", and "stc300.upp"
drivers. It is unclear whether it works with Gimp-Print.
2002-10-02 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added more japanese Epson inkjets: Epson CL
700, 750, Epson EM 900C, 900CN, 930C, 930CN, MC 2000, 7000,
9000, MJ 520C, 5100C, 6000C, 8000C, PM 760C, 800C, 820C, 850PT,
2200C, 3300C, 5000C, PX 7000, 9000.
* db/source/printer/*: Added the Epson Stylus Photo 825, 1290S,
EX3, Stylus CX3200.
* db/source/printer/*: Removed broken printer entries for the
Epson PM 760C, 770C, 800C, 820C/3300C, "Stylus PM760", "Stylus
PM820".
* db/source/printer/*: Re-rated the Epson Stylus Photo 785, 825,
875, 895, 915, and 925 from "Perfectly" to "Mostly" because one
cannot access the photo card readers with free software. Also
updated the text appropriately.
* db/source/printer/Epson-Stylus_Pro*: Removed hint that IJS
driver has problem with large paper sizes. This is fixed.
* db/source/driver/filter*, db/source/opt/jap*: Removed the
"filter*" drivers. I don't know where one can download these
drivers.
* db/source/driver/PM*: Updated the driver entries to use the new,
correct printer entries.
2002-10-01 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added japanese Epson inkjets: Epson MC
5000, 1000, PM 700C, 730C, 750C, 770C, 780C, 790PT, 880C, 950C,
2000C, 3000C, 3500C, 4000PX, 7000C, 9000C, 10000.
2002-09-30 Till Kamppeter <till.kamppeter@gmx.net>
* data-generators/hpijs/hpijs-printermap, db/source/printer/*:
Bugfix: The HP DeskJet 612x printers do not support full-bleed
printing.
* data-generators/hpijs/hpijs-printermap, db/source/*/*: Added
the HP Business Inkjet 3000, DesignJet 5500, 5500ps, LaserJet
5100, Color LaserJet 2500, 5500.
2002-09-29 Till Kamppeter <till.kamppeter@gmx.net>
* data-generators/hpijs-rss/*: Added support for HPIJS patched by
Matthias Bunte and Richard Spencer-Smith (see
http://www.linuxprinting.org/download/printing/hpijs/). The
driver entry name is "hpijs-rss".
* data-generators/hpijs/hpijs-generator: Mentioned that the
current Foomatic data is also for HPIJS 1.2.2.
* data-generators/hpijs/hpijs-printermap, db/source/printer/*:
Added the HP DeskJet 450, 3320, 6122, 6127, PhotoSmart P230, PSC
2150.
* data-generators/hpijs*/hpijs*-generator: Corrected "Best
Grayscale" modes for the HP DeskJet 350, 6xxC series, and the
Apollo printers, the mode supports only 600x300 (not 300x300)
dpi and all except the DeskJet 350 and the 63xC series use
both and not only the black cartridge.
* db/source/printer/*: Changed recommended driver to "hpijs-rss"
when it was "hpijs" before (the patched version has better
output quality).
* db/source/printer/*: Raised ratings of all "DJ9xx"-class HP
inkjets without fax facility from "Mostly" to
"Perfectly". Updated the texts of all "DJ9xx"-class models
(because of the patched HPIJS, "hpijs-rss").
* db/source/printer/*: Raised ratings of the HP PPA printers
(supported by the "pnm2ppa" driver from "Mostly" to "Perfectly",
the driver supports their full functionality.
* db/source/driver/PostScript.xml: Added link to Kurt Pfeifle's
tutorial chapter about PostScript to the text of the
"Postscript" driver entry.
2002-09-27 Till Kamppeter <till.kamppeter@gmx.net>
* src/cupsomatic.pl.in: Made command line option list only be
logged in debug mode. Mac OS X adds very many options to the
CUPS filter chain and so the option list gets longer than 1024
bytes and this CUPS cannot handle in its error_log file.
2002-09-26 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/driver/Postscript.xml: Updated text for new PPD file
download place.
2002-09-11 Till Kamppeter <till.kamppeter@gmx.net>
* data-generators/hpijs/hpijs-generator: The 300-dpi normal mode
for the "LJMono" device class uses 600 dpi internally and so
does not work on the 300-dpi-only printers as the HP LaserJet 4L.
Restricted these printers to use the 300-dpi draft mode which
does real 300 dpi.
2002-08-31 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/*, db/source/driver/pnm2ppa.xml: Cleaned up
options for the "pnm2ppa" driver.
2002-08-30 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/HP-LaserJet_1000.xml: Updated text and rating
("Partially") according to a longer posting of the author of the
"pbmtozjs" driver.
* db/source/driver/oki4w.xml: Added additional hint about the
setup of print queues with this driver to the text.
2002-08-29 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/driver/pbmtozjs.xml,
db/source/opt/pbmtozjs-PageSize.xml: Added driver for the
HP LaserJet 1000.
* db/source/printer/HP-LaserJet_1000.xml: Updated text and rating
("Mostly").
* foomatic-configure.in, configure.in, Makefile.in, makeDefaults.in,
USAGE: Added support for HPOJ 0.9.
* README, USAGE: Corrected version number.
2002-08-27 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added the HP PSC 2110 and 2210, replaced
the HP PSC 300 by the HP PSC 370 and 380, text fixes for the
HP DeskJet 5550 and 5551, PhotoSmart 7150, 7350, and 7550,
Epson Stylus C61 and C62.
* db/source/printer/*: Corrected/updated "Recommended driver" and
texts for Epson Stylus Photo 950, 960, 2100, 2200, Stylus Pro
7600, 9600, and HP DeskJet 3420.
* data-generators/hpijs/hpijs-printermap: Added HP PSC 370, 380,
2110, 2210, removed HP PSC 300.
2002-08-24 Till Kamppeter <till.kamppeter@gmx.net>
* src/cupsomatic.pl.in, src/directomatic.pl.in, src/lpdomatic.pl.in:
Now option settings stuffed into the PPD files have priority
against settings done via command line options given with the
printing command. This is done to make sure that settings given
in applications (also on clients with other spooler/OS) have are
taken into account.
* src/cupsomatic.pl.in: Numerical options give on the command line
and not being exactly of a value given as choice in the
PPD-O-Matic PPD file are now overriding the PPD defaults which
"pstops" inserts into the PostScript, but they are overridden
when an application stuffs settings into the PostScript file.
2002-08-22 Till Kamppeter <till.kamppeter@gmx.net>
* data-generators/hpijs/hpijs-generator,
data-generators/hpijs/hpijs-printermap: Updated to HPIJS 1.2.1,
previous file versions in data-generators/hpijs/ tagged with
"hpijs-1_2-files".
* *: Before the update to HPIJS 1.2.1 tagged all files of the
repository with "hpijs-1_2".
* db/source/printer/*: Switched "recommended driver" of the HP
DeskJet 400 and 420C to "hpijs", updated text and rating of HP
DeskJet 420C.
2002-08-17 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added the Epson Stylus Photo 830, 915, 925,
Epson Stylus C41UX, C41SX, C42SX, C61, C62, C82.
* db/source/printer/*: Fixes on text and rating for the Epson
Stylus Color 880, 980, 8 3, C42UX, C80.
2002-08-12 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile.in: In the "inplace" mode the line "use lib/;" and not
"use lib/Foomatic/;" must be inserted to make the scripts using
the Foomatic libraries from the source tree and not the system-
wide ones.
2002-08-10 Till Kamppeter <till.kamppeter@gmx.net>
* data-generators/hpijs/hpijs-generator: Given the short name
"Resolution" to the "Quality, MediaType, Ink Type" option,
so it gets accessable in the GIMP.
2002-08-09 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Text fixes for the HP OfficeJet 6xx/7xx and
OfficeJet Pro 1175C (thanks to David Paschal for all the info).
* db/source/printer/186729.xml: Corrected auto-detection data for
the HP DeskJet 970C.
2002-08-08 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Adapted texts of the printer entries to the
new HPOJ 0.9 (all devices scan with SANE now and photo cards are
supported by the stable version), also corrected the address of
the SANE home page in the printer entries. Raised HP PhotoSmart
7x50 and DeskJet 555x to "Perfectly" because full-bleed printing
works now (thanks to David Paschal for all the info).
* db/source/printer/HP-PhotoSmart_7550.xml: Added HP PhotoSmart
7550.
* data-generators/hpijs/hpijs-printermap: Added HP PhotoSmart
7550.
* data-generators/hpijs/hpijs-[pg]*: Added full-blead support for
the HP PhotoSmart 7x50 and DeskJet 555x.
2002-08-07 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Change the recommended drivers for
Gimp-Print-supported printers from "gimp-print-ijs" to
"gimp-print", the IJS interface of Gimp-Print has problems with
non-english locales.
* data-generators/hpijs/hpijs-generator: Fixed bug that the old
models (HP DeskJet 6xx, Apollo) do only 600x300 dpi and not 600
dpi in best grayscale mode.
* db/source/opt/69.xml: Set default quality mode for the "cdjXXX"
and "chp2200" drivers to "Normal" instead of "Presentation".
2002-08-06 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* foomatic-combo-xml.1.in: Applied Eric S. Raymonds patch. Adds
missing header and fixes typo.
2002-07-27 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/HP-DeskJet_656C.xml: Corrected text, max.
resolution and rating.
2002-07-24 Till Kamppeter <till.kamppeter@gmx.net>
* src/cupsomatic.pl.in: CUPS 1.1.15 mangles the "docs" option and so
the documentation page was not printed any more. Fixed.
2002-07-23 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Epson-Stylus_Pro_?600*.xml: Re-arranged
entries for the Epson Stylus Pro 7600/9600 not being separate
for different ink types to fit to the Foomatic generator of
Gimp-Print.
* db/source/printer/*: Raised the ratings of the Epson Stylus C42UX,
Stylus Photo 950, 960, 2100, 2000 from "Paperweight" to
"Partially", there is preliminary support by Gimp-Print.
2002-07-20 Till Kamppeter <till.kamppeter@gmx.net>
* *: Raised revision number of all files to 2.9.
* db/source/printer/Epson-Stylus_Photo_960: Added Epson Stylus
Photo 960.
* db/source/printer/Epson-Stylus_Photo_950: Text update.
2002-07-19 Till Kamppeter <till.kamppeter@gmx.net>
* README, USAGE: Foomatic version 2.0.0 (Stable branch of
Foomatic, package splitting and PPD-centric Foomatic will be
developed in head branch, version 2.9.x)
* *: Before any further development is done, tagged all files
of the repository with "foomatic-2_0_0" and "foomatic-2_0-bp",
started stable branch "foomatic-2_0-branch".
2002-07-18 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: Added facilities for drivers to suppress
the usage of PJL option by adding a "<nopjl />" flag to the
"<execution>" section of a driver's XML file. This can be used
for drivers which produce their own XML headers as "hpijs" and
"hl1250".
* README: Documentation for the new "<nopjl />" flag.
* data-generators/hpijs/hpijs-generator: Added "<nopjl />" flag to
"hpijs" driver.
* db/source/driver/hl1250.xml: Added "<nopjl />" flag to "hl1250"
driver.
* foomatic-perl-data.c: Let "<nopjl />" flag also be put into the
combo Perl data structure, to use it on the "Execution Details"
pages of linuxprinting.org.
* lib/Foomatic/DB.pm: Added hint in "Execution Details" when a
driver suppressing PJL options is used with a PJL-capable
printer.
* db/source/printer/*: Changed recommended driver of the HP
DeskJet 500, 510, 520, 500C, 540C, OfficeJet, OfficeJet LX,
OfficeJet 300, 330, and 350 to "hpijs".
2002-07-17 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Epson-Stylus_C42UX.xml: Added the Epson Stylus
C42UX ("Paperweight").
* src/cupsomatic.pl.in: Fixed bug of PostScript code for CUPS
page logging not working correctly for PostScript level 1
files rendered by a PostScript level 2/3 interpreter.
* data-generators/hpijs/hpijs-generator,
data-generators/hpijs/hpijs-printermap: Updated to HPIJS 1.2,
previous file versions in data-generators/hpijs/ tagged with
"hpijs-1_1-files".
* *: Before the update to HPIJS 1.2 tagged all files of the
repository with "hpijs-1_1".
* db/source/printer/*: Added the HP DeskJet 670TV, 843C, 916C,
933C, 934C, 935C, and PhotoSmart P130.
* db/source/printer/*: Text/rating updates of many HP printers due
to HPIJS 1.2.
2002-07-15 Till Kamppeter <till.kamppeter@gmx.net>
* src/cupsomatic.pl.in: Fixed bug of PostScript code for CUPS
page logging not working correctly on all documents and also
not working when more than one copy was requested.
2002-07-14 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Corrected link in the entries of the
Samsung SmartGDI printers.
* db/source/driver/gdi.xml: Mentione that the provided MagicFilter
file only works with MagicFilter 1.2.
2002-07-10 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure.in: Fixed incompatibility with Perl 5.0.x:
"delete" could not delete array elements. Thanks to Olaf Till
(i7tiol at t-online dot de).
* db/source/printer/*: Added auto-detection info to the HP LaserJet
2100. Due to the 2100 and 2100M having the same auto-detection
info, they can be confused by frontends, so used "pxlmono" as
recommended driver because it works on both.
* db/source/driver/*: Added HP LaserJet 2100M to the printer lists
of the PCL 5/6 printer drivers.
2002-07-09 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Updated text of HP DeskJet 5550, 5551,
PhotoSmart 7150.
* db/source/printer/HP-PhotoSmart_7350.xml: Added HP PhotoSmart
7350.
2002-07-06 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*, data-generators/hpijs/hpijs-printermap: Added new
HP printers: HP DeskJet 3420, 3820, 5550, 5551, PhotoSmart 7150,
Color LaserJet 4600.
* db/source/printer/*: Re-rated Epson Stylus C20/C40 and Stylus
Color 680 to "Perfectly", added hint about head-alignment to the
Epson Stylus Photo 810/820. Text cleanup for Epson Stylus Color
880/980.
* db/source/printer/317321.xml: Re-rated Epson Stylus Color 480
to "Perfectly". Cartridge change with "mtink" was confirmed.
2002-06-26 Till Kamppeter <till.kamppeter@gmx.net>
* README: Improvements of the description of the Foomatic XML data
structure.
2002-06-25 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Corrected tags for PJL support in HP
printer entries. Many old LaserJets do not support PJL.
* db/source/printer/*: Removed many "Unverified" tags from
HP printer entries.
* db/source/printer/23104.xml: Re-rated LaserJet 2D to "Mostly",
the duplex unit is not supported,
* data-generators/hpijs/hpijs-printermap: Added the HP DesignJet
ColorPro CAD to the printers supported by HPIJS, it is a
repackaged HP 2500C. Re-rated it to "Perfectly".
* src/cupsomatic.in, src/lpdomatic.in, src/ppromatic.in,
src/directomatic.in, lib/Foomatic/DB.pm: Removed the usage of
the PJL commands "JOB" and "EOJ" because not all PJL-capable
printers support it.
2002-06-22 Till Kamppeter <till.kamppeter@gmx.net>
* README: Updated the description of the Foomatic XML data
structure.
* USAGE: Updated for OpenOffice.org 1.0, added work-around for bug
that OpenOffice.org and Star Office do not print the Euro currency
symbol, added hint how to get PPD from remote CUPS server.
2002-06-21 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added the Epson Stylus Pro 7600 and 9600
printers.
2002-06-16 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added the Epson AcuLaser C4000 and C4000PS.
* db/source/*/*: Added the "alc4000" driver entry and updated the
"PostScript" driver entry for thr Epson AcuLaser C4000 and
C4000PS.
2002-06-13 Till Kamppeter <till.kamppeter@gmx.net>
* README: Added commented example of a Foomatic PPD with embedded
Perl data structure.
* Foomatic-Devel-Ideas.txt: New file to collect ideas about the
further development of Foomatic.
2002-06-12 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added hint to the "mtink"
(http://xwtools.automatix.de/) printer maintenance tool to the
entries for the Epson Stylus Color 480/580. It allows software-
controlled cartridge changing.
2002-06-10 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added the Epson Stylus Photo 950, 2100, and
2200.
2002-06-02 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Epson-EPL-5900L.xml: Added the Epson EPL-5900L
("Paperweight").
2002-05-30 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Changed recommended driver for large-format
printers (A2 and bigger) from "gimp-print-ijs" to "gimp-print"
and added a comment. IJS cannot handle very large raster
graphics.
* db/source/printer/Epson-Stylus_Pro_7500.xml: Raised rating to
"Perfectly", I had no problem to print booth posters for the
LinuxTag 2002 with it.
2002-05-29 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/cdj5XX-BlackCorrect.xml: Corrected weird short
name of the "BlackCorrect" option for the "cdj5xx" drivers.
2002-05-28 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*, data-generators/hpijs/hpijs-generator,
data-generators/hpijs/hpijs-printermap: Added HP DeskJet 957C,
959C, and 975C to the database.
2002-05-24 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*, data-generators/hpijs/hpijs-generator,
data-generators/hpijs/hpijs-printermap: Added HP DeskJet 850C,
855C, 870C, 890C, 1100C, OfficeJet Pro 1150C to the supported
printers of the "hpijs" driver. David Suffield, developer of
"hpijs" at HP told that they work with that driver.
* db/source/driver/*: Corrected URLs of the drivers which come with
GhostScript (GNU GhostScript 7.05 instead of 6.51).
2002-05-23 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Fixed URLs in several printer entries
(added missing "http://").
2002-05-19 Till Kamppeter <till.kamppeter@gmx.net>
* README, USAGE: Added information that make_configure needs libxml
2.x.Fixed some typos.
* foomatic-fix-xml.in: Fixed initial comment.
2002-05-18 Till Kamppeter <till.kamppeter@gmx.net>
* data-generators/hpijs/*, db/source/*/hpijs*, Makefile.in: Included
generator script for HPIJS in the Foomatic package, the
appropriate entries are generated during the build process now.
* Makefile.in: Added "uninstall" targets.
2002-05-16 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Lexmark-Z13.xml: Added the Lexmark Z13 to the
printer database.
* db/source/*/*: Fixed HPIJS data for the HP DeskJet 825C/845C: they
do grayscale with the black cartridge and not with the color
cartridge.
2002-05-15 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-preferred-driver.in: Updated driver priority list to
give higher priority to the old HP LaserJet/PCL drivers coming
with GhostScript than to Gimp-Print. The old drivers work better
on laser printers.
* db/source/printer/*: Use the old GhostScript driers ("ljet4",
"laserjet", ...) instead of "gimp-print-ijs" as recommended
driver for laser printers.
2002-05-11 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-preferred-driver.in: Updated driver priority list.
* db/source/printer/*: Use "gimp-print-ijs" as recommended driver
where "gimp-print" was the recommended driver before.
* db/source/driver/lm1100.xml: Added hint how to compile it with
gcc 3.1 to the description text.
2002-05-10 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/driver/hpijs.xml: Corrected version number in "hpijs"
driver entry to be 1.1.
2002-05-09 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added HP Business Inkjet 2230 and 2280 printers.
* db/source/*/*: Updated HPIJS driver entries to version 1.1.
* db/source/printer/HP-PhotoSmart_P100.xml: Raised the HP PhotoSmart
P100 to "Perfectly".
2002-05-07 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the printer models HP OfficeJet, OfficeJet
LX, OfficeJet 300, 330, 350, PhotoSmart. Updated driver entries
"pcl3", "hpdj", and "djet500" appropriately.
* db/source/printer/*: small corrections on the HP DeskJet 520,
560C, Olivetti JP450, DEC DECwriter 110i.
2002-05-05 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Let paper size also be read from
"-dDEVICEWIDTHPOINTS=..."/"-dDEVICEHEIGHTPOINTS=...", needed for
"gimp-print-ijs" and "hpijs" drivers.
2002-04-22 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* foomatic-perl-data.1.in: Created basic manpage for
foomatic-perl-data.
2002-04-18 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Added some more paper sizes to the
"getpapersize()" function, according to DeviceForm.cpp on the OMNI
CVS.
2002-04-17 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Corrected "hpijs" entry for the HP 2500C/2500CN,
they belong to the "DJ9xxVIP" group (as the HP DeskJet 990C), so
they work perfectly with "hpijs". Replaced model string "HP
BUSINESS INKJET 2250" by "DESKJET 990", the former string is
not recognized by "hpijs" (in contrary to the driver's
documentation).
* db/source/*/*: Added the Sony IJP-V100 multi-function device.
* lib/Foomatic/DB.pm: Added '*PSVersion: "(3010.000) 653"' entry
for GhostScript 6.53 to the PPD files. In the "getpapersize()"
function let the ISO B sizes be returned, when the paper size
name is only "Bx" without "JIS" or "ISO". This is also the
default of GhostScript.
* Makefile.in: Fixed bug of database going to
/usr/local/share/share/foomatic.
* foomatic-configure.in: Made "foomatic-configure -Q -q -r"
working correctly with CUPS 1.1.14.
* Makefile.in, makeDefaults.in, configure.in, lib/Foomatic/DB.pm:
Eliminated dependency on the "libwww-perl" Perl library, used
command line tools "wget" or "curl" instead. Now Foomatic should
work only with standard Perl libraries as being part of Perl
itself.
* USAGE, README: Added the requirement of one of the tools "wget"
and "curl".
* db/source/driver/gdi.xml: Updates URLs.
2002-04-16 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added HP 2000C/2500C/2500CM to the "hpijs"
driver, Removed 1200-dpi hires mode from HP Business Inkjet 22xx
models.
* db/source/*/*: Added HP Business Inkjet 2600
* db/source/*/*: Text corrections on HP Business Inkjet 22xx
printers.
* foomatic-kitload.in: Let existing files not being overwritten
unless the "-f" ("force") switch is used, improved screen
output, "CVS" subdirectories in the kit get ignored.
* lib/Foomatic/DB.pm: In the "getexecdocs()" function apply the
"htmlify()" to all strings which are shown on the web page.
Added paper sizes for the "omni" driver to the
"getpapersizes()" function.
2002-04-15 Till Kamppeter <till.kamppeter@gmx.net>
* USAGE: Improvements on the installation instructions.
* make_configure: Added a workaround for a bug in the autoconf
macros of libxml2.
* db/source/*/*: Fixed entries for the HP 2000C/2500C/2500CM
printers.
2002-04-14 Till Kamppeter <till.kamppeter@gmx.net>
* configure.in, acinclude.m4, Makefile.in, Makefile, install-sh,
make_configure, makeMan.in, makeMan, makeDefaults.in,
makeDefaults, foomatic-addpjloptions.in, foomatic-addpjloptions,
foomatic-cleanupdrivers.in, foomatic-cleanupdrivers,
foomatic-compiledb.in, foomatic-compiledb,
foomatic-configure.in, foomatic-configure, foomatic-datafile.in,
foomatic-datafile, foomatic-fix-xml.in, foomatic-fix-xml,
foomatic-getpjloptions.in, foomatic-getpjloptions,
foomatic-gswrapper.in, foomatic-gswrapper, foomatic-kitload.in,
foomatic-kitload, foomatic-ppdload.in, foomatic-ppdload,
foomatic-preferred-driver.in, foomatic-preferred-driver,
foomatic-printjob.in, foomatic-printjob, mfomatic.in, mfomatic,
README, USAGE, src/cupsomatic.pl.in, src/cupsomatic.pl,
src/directomatic.pl.in, src/directomatic.pl,
src/lpdomatic.pl.in, src/lpdomatic.pl, src/ppromatic.pl.in,
src/ppromatic.pl: Introduced a GNU-autoconf-generated "configure"
script, now one can easily install Foomatic with the well-known
"./configure; make; make install".
2002-04-12 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-ppdload: Switched foomatic-ppdload to the new
Perl-XML/Grove-free DB.pm.
* foomatic-ppdload, foomatic-ppdload.8.in: Added "-R" option to
remove a printer from the "ppd" driver.
* README: Removed paragraph that foomatic-ppdload needs the old
Perl-XML/Grove DB.pm.
* lib/Foomatic/PPD.pm: Let the "PageRegion" option in the PPD file
being skipped when creating Foomatic XML data. It is te same
option as "PageSize".
* db/source/driver/Postscript.xml: Corrected HTML tags.
2002-04-10 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-perl-data.c: Added reading of auto-detection data also
for the USB and SNMP connection types. Added support for returning
commants and texts in other languages the english ("-l <language>"
command line option).
* db/source/printer/HP-PSC_750.xml: Added USB auto-detection info.
2002-04-09 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Made the "sortargs()" and "sortvals()"
functions working with Perl 5.0x. The "sort()" function of these
old Perl versions only supports the two items to compare being
given to the copmaring function via the global variables "$a"
and "$b", and not via "@_". linuxprinting.org runs Perl 5.005.
Made also the choices for the options better sorted, especially
Letter/A4 paper sizes in the beginning of the list, resolutions
and "Upper"/"Middle"/"Lower" trays correctly sorted, "Default"
in the beginning of the lists.
2002-04-08 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-perl-data.c: New C program to parse the XML code to
generate Perl data structures from it. Uses libxml (libxml 2.x
recommended because otherwise XML files beginning with a blank
line cannot be read).
* lib/Foomatic/DB.pm: Removed disk cache and XML/Grove Perl
library usage completely, all XML handling is done by C code
now. Added paper sizes of the Dymo-CoStar/Avery label printers
to the "getpapersize()" function, now the "ImageableArea" and
"PaperDimension" entries in the PPD files are built correctly
for these printers. Added possibility to output a combo XML file
with the option default settings set to the values of the queue
currently worked on.
* lib/Foomatic/DB_perl_xml.pm: Stored old XML/Grove/disk cache
version of the Foomatic database library. Added documentation
for this file as comments in its beginning.
* foomatic-configure, foomatic-printjob: Removed "grove-pathval"
expression from "use Foomatic::DB.pm" line.
* foomatic-configure: When a printer queue is set up or modified,
the option default settings are also set in the
/etc/foomatic/<queue>.xml.gz printer/driver combo XML file. So
frontends can also read the option settings from the XML file.
* foomatic-ppdload: Re-linked to old lib/Foomatic/DB_perl_xml.pm,
Perl-XML/Grove-free version not implemented yet.
* foomatic-compiledb, foomatic-compiledb.8.in,
foomatic-compiledb.1.in: In the cache-less time this has a new
purpose: It generates data files for a chosen spooler (or combo
XML files) and for either selected or all drivers. Moved man
page to section 1, foomatic-compiledb works from a normal user
account now (due to the removed cache).
* foomatic-datafile.8.in, foomatic-datafile.1.in: Moved man
page to section 1, foomatic-datafile works from a normal user
account now (due to the removed cache).
* foomatic-fix-xml: Remove leading blank lines from the XML files
in the local Foomatic database. The leading blank lines make the
XML files not readable by libxml 1.x.
* Makefile: Added compilation and installation of
foomatic-perl-data.c.
* Makefile, makeDefault: Commented out all cache-related stuff.
* Makefile: Moved foomatic-datafile and foomatic-compiledb from
/usr/sbin to /usr/bin.
* README, USAGE: Foomatic version 1.9 (Foomatic without
Perl-XML/Grove and without disk cache).
* db/source/*/*: Replaced all occurences of a cross character
(used in resolutions as "600x300 dpi") by an "x" (the letter
"X"). libxml chokes on the cross. Removed leading blank lines
from the XML files, because this breaks libxml 1.x.
2002-04-03 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Added new paper sizes of Gimp-Print to the
paper size table of the "getpapersize" function, fixed a bug of
wrong calculation of "wXXXhYYY" and "XXXxYYY" paper sizes in the
same function.
2002-03-29 Till Kamppeter <till.kamppeter@gmx.net>
* src/ppromatic.pl: Made ppromatic also working in non-english
configurations.
2002-03-28 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/HP-LaserJet_12?0.xml: New user report
for the LaserJet 1200/1220.
* db/source/*/*: Added new Kyocera models: FS-1000+, FS-1010,
FS-1800, FS-1900, FS-3800, FS-9100DN, FS-9500-DN.
* db/source/driver/stp.xml: Added warning that this file is only
for Gimp-Print 4.0.x.
2002-03-27 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: Added possibility to modify the default
option settings in the generated XML ("-o" command line option
for foomatic-combo-xml).
2002-03-26 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/153056.xml: Updated text of the HP DeskJet
340C according to a new user report.
* db/source/*/*: Added Lexmark Z83 multi-function device.
2002-03-24 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/HP-LaserJet_12?0.xml: LaserJet 1200/1220 is
very slow in graphics, added user report.
2002-03-21 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Updated text of all HP printers and
multi-function devices which need HPOJ or the modified printer.c
kernel module to be able to print via USB.
* db/source/printer/*: Updated text of the HP PhotoSmart 1[012]xx
printers because they need the modified USB printer.c kernel
module from the HPOJ website to work together with HPOJ.
* db/source/*/*: Added the Okidata OL400e, HP OfficeJet D125, and
HP LaserJet 3310 MFP and updated the driver data appropriately.
* db/source/*/*: Removed spaces from the names of the Okidata
OLxxx models, so that they get correctly sorted in the printer
listings. Modified option entries appropriately.
2002-03-20 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Updated text of many HP and Apollo printers
and moved many of them from "Mostly" to "Perfectly".
* db/source/printer/*: Updated text of HP OfficeJet G and K series
because they need HPOJ also when one only wants to print via
USB.
* db/source/*/*: Added the Apollo P-1220 Barbie, P1250, P2250,
P-2550, and P-2650. Updated the driver data appropriately.
2002-03-19 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Updated data for the "hpijs" driver to fit
to HPIJS 1.0.4. Modified printer entries appropriate to the new
features ("hpijs" also recommended on large format printers,
DeskJet 990 and compatibles work "Perfectly").
2002-03-18 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Modified text of HP LaserJet 1200, USB
printing only works with HPOJ.
2002-03-17 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: Introduced two debug output levels ("-v",
"-vv"). Now I do not need a special debug version any more.
2002-03-17 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* makeDefaults: Added flag $DEBUG to enable debug messages from
Perl modules. It is not exported by default, you can import it
by adding qw(:DEFAULT $DEBUG) to the "use Foomatic::Defaults"
clause.
* lib/Foomatic/DB.pm: Cache is disabled if CACHEDIR is set to an
empty string at compile time, ie. "make CACHEDIR=".
2002-03-17 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* debian/*: Docs README, TODO, USAGE were not included in the
debian package.
Changed handling of local changes by the debconf interface.
2002-03-16 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Modified text of HP LaserJet 31x0
multi-function devices, because of the available code pieces for
a free software driver for these models.
2002-03-14 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Corrected entries for Brother printers
driven by the "hl7x0" driver.
2002-03-12 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Fixed default "Quality" setting for the photo-
capable HP DeskJet 6xxC printers with the "hpijs" driver.
2002-03-09 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Fixed Foomatic data for the B4 and B5 paper sizes
of the "hpijs" driver.
* db/source/*/*: "Photo Full Bleed" paper size is only supported by
the PhotoSmart P100 for the "hpijs" driver, fixed Foomatic data.
2002-03-08 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the Canon BJC-255SP and BJC-265SP. Modified
"bjx250gs" driver entry appropriately.
2002-03-07 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: When "foomatic-configure" creates a queue
for LPRng, the permissions for the /var/log/lp-errs file are set
correctly now.
2002-03-05 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added Lexmark E210 laser printer (Samsung ML-4500
clone, "gdi" driver).
* foomatic-configure: Fixed bug that of float options in
PPD-O-Matic PPD files only the integer part of the default value
was read.
* foomatic-gswrapper: Fixed Red Hat bug #58319
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=58319).
Some PostScript files cannot be handled by "gs ... - < file",
but they need "gs ... /dev/fd/0 < file".
* lib/Foomatic/DB.pm: Fixed quoting for PDQ, now more complicated
driver command lines with quotes and shell script variables also
work with the PDQ-O-Matic config file generator. Assured that for
every call of GhostScript "foomatic-gswrapper" is used, to fix
Red Hat bug #58319 for all drivers, especially "Postscript".
* src/*omatic.pl: Assured that for every call of GhostScript
"foomatic-gswrapper" is used, to fix Red Hat bug #58319 for all
drivers, especially "Postscript".
2002-03-04 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added new HP multi-function devices: HP OfficeJet
D135, D145, D155, LaserJet 3300 MFP, 3320 MFP, 3320N MFP, 3330
MFP. Updated driver and option entries appropriately.
* db/source/*/*: Fixed default driver for HP LaserJet 6P, added
HP DeskJet 610CL to the "hpijs" driver, fixed text for the
HP DeskJet 1125C.
* src/lpdomatic.pl: Replaced "if ( @pjlprepend > 0 )" by "if (
@pjlprepend > 1 )" so that PJL headers are only used when really
a PJL options is there. Many printers are listed as PJL-capable
in the database, but in reality they are not.
2002-03-03 Till Kamppeter <till.kamppeter@gmx.net>
* src/cupsomatic.pl, src/ppromatic.pl: Fixed reading default option
choices with a "+" from the PPD file.
2002-03-02 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Fixed the entry for the Brother MFC-9600, it does
600 dpi with the "hl1250" driver.
2002-03-01 Till Kamppeter <till.kamppeter@gmx.net>
* src/cupsomatic.pl: Disabled accounting for the "Postscript"
driver, it leads to an extra blank page coming out with every
job.
* db/source/*/*: Added Canon S100, S200, S300, S500, S630,
BJC-2110, Lexmark Optra C710, HP DeskJet 200, DeskJet 841C,
Okidata Okipage 14ex, OL400, Xerox Able 1406, Anitech M24,
Citizen printiva600U, printiva700, printiva1700, Alps MD-2010,
MD-2300, MD-5500. Added these printers to the appropriate driver
entries.
* db/source/*/*: Added the "ppmtomd" driver for MicroDry (Alps MD,
Citizen printiva, Okidata DP) printers.
* db/source/*/*: Set "hpijs" as the recommended driver for all
printers supported by this driver.
* db/source/*/*: Raised Lexmark Z53 from "Paperweight" to
"Perfectly", it is compatible to the Z52.
2002-02-20 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Updated Foomatic data for the "hpijs" driver to
version 1.0.3.
2002-02-18 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/driver/lj5*: Removed HP LaserJet 6P, it does not work
with the "lj5gray"/"lj5mono" drivers.
2002-02-13 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* debian/{control,rules} Added Debconf interface to manage
filter.conf.
* debian/foomatic-bin.{config,templates,postinst} New files needed
by debconf.
2002-02-09 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* lib/Foomatic/DB.pm: Check if existing cache file is empty.
2002-02-06 Tim Waugh <twaugh@redhat.com>
* lib/Foomatic/DB.pm: Cache files created by "foomatic-combo-xml"
were not read sometimes, fixed.
2002-02-05 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile: Added "remove_trash" target to remove temporary and
backup files created by editors and the patch utility. In
"testing_clean" target added "-f" to the "rm" command for the
links to the cache so that make does not stop with an error when
the links are not there.
2002-02-04 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile, src/*omatic, filter.conf: Modified Foomatic to only
make the filter scripts out of the source files in src/. Fixed
bugs on filter script source files: "enscript -b <title>", not
"enscript -b=<title>"; empty title gave a line on the top of the
page when using "mpage". Added "-J" (job title) option to
directomatic. Added sample filter.conf.
* cupsomatic, ppromatic, lpdomatic, directomatic: Removed obsolete
filter scripts.
* directomatic.1.in: Added "-J" (job title) option.
2002-02-03 Till Kamppeter <till.kamppeter@gmx.net>
* USAGE: Corrected link for the "ptal" CUPS backend script.
2002-02-03 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* src/Makefile: Make generated scripts executable.
2002-02-03 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* debian/rules: Set LPRNG_CONF=/etc/lprng/lpd.conf.
* src/lpdomatic.pl: Integrated changes from lpdomatic 1.10.
Overwrite PATH in INPLACE version too. Changed revision to 2.1
to avoid $lomversion clashes with the old scripts.
* src/cupsomatic.pl, src/directomatic.pl, src/ppromatic.pl:
Bootstrapped from corresponding filter scripts.
* src/Makefile: cupsomatic, directomatic and ppromatic get also
built.
2002-02-02 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile, makeDefaults, foomatic-configure, USAGE, README: Added
support for HPOJ (http://hpoj.sourceforge.net/, low-level driver
for HP's multi-function devices) with "ptal:/..." URIs.
2002-01-31 Tim Waugh <twaugh@redhat.com>
* lib/Foomatic/DB.pm (get_overview_xml): Create directory, like
get_overview_grove does. Also fixed quoting.
2002-01-30 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* lpdomatic: Corrected the path to the configuration file.
2002-01-29 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-kitload, foomatic-kitload.8.in: Added "-d" option to
install the kit into a staging area from which a package will
be built (as "DESTDIR=..." in GNU automake/autoconf). This is
a patch from Roger Leigh.
* makeDefaults: Added the possibility to set the cache directory
alternatively with FOOMATIC_CACHEDIR instead of CACHEDIR.
* cupsomatic, ppromatic, lpdomatic, directomatic: Modified parser
for options embedded in the job data so that option and value
names can contain all printable characters except white space
and "=". This fixed a problem with the "Color Mode" option of
the "pcl3" driver.
2002-01-28 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the HP LaserJet 3P with PCL5 extension.
2002-01-27 Till Kamppeter <till.kamppeter@gmx.net>
* USAGE: Minor text modifications for XPP 1.1.
* db/source/*/*: Renamed the database entry for the Canon LIPS-II+
from "Canon-LIPS-II+" to "Canon-LIPS-IIplus". With the "+" in its
ID the printer entry was not accessible on the linuxprinting.org
web site.
2002-01-24 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-gswrapper: Replaced "-sOutputFile=|cat>&3" by
"-sOutputFile=/dev/fd/3" to make foomatic-gswrapper working with
all versions of GhostScript, of the shell, and of Unix.
2002-01-24 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* foomatic-configure.1.in: Corrected manpage section in header.
* foomatic-kitload.8.in: Filled some gaps.
* lpdomatic.8.in: Describe how to print the docs.
* src/lpdomatic.pl: PJL patch from Tim Waugh. Can select one of
the builtin enscriptcommands by setting textfilter to "a2ps",
"mpage" or "enscript" (without arguments).
* debian/rules: Cleanup database.
2002-01-23 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* src: Introduced the subdirectory.
* Makefile: Include a target to make the filter scripts from src/.
* src/lpdomatic.pl: New source file from which lpdomatic can be
generated.
* src/Makefile: Builds lpdomatic from src/lpdomatic.pl.
2002-01-22 Till Kamppeter <till.kamppeter@gmx.net>
* lpdomatic: Cleaned up user-editable settings part.
2002-01-21 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/160.xml: Added Epson EPL lasers to constraint in
"Mode" option of "pxlmono"/"pxlcolor", they print only in bw.
* db/source/printer/*: The Epson EPL-5900/5900PS works perfectly
with "pxlmono", updated text, rating, and recommended driver.
* db/source/printer/*: Raised the rating for the Lexmark Z42 and
Compaq IJ1200 to "Mostly", to reflect the experience of the
author of "drv_z42" with these printers.
* db/source/printer/*: Corrected the ratings/texts for the Epson
Stylus Pro 7000/7500/9000/9500/10000.
* lpdomatic/makeDefaults: Modified the config file support to not
need a Perl library to make it easier to install lpdomatic without
installing the whole Foomatic package.
2002-01-20 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Added '*PSVersion: "(3010.000) 652"' entry
for GhostScript 6.52 to the PPD files.
2002-01-20 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* lpdomatic: Corrected the use of ConfigFile.pm.
* makeDefaults: Write "1;" at the end of ConfigFile.pm.
* foomatic-configure: Added $J to lprng filter options, (prints
job title with a2ps).
* makeDefaults: Added code to write lib/Foomatic/ConfigFile.pm.
* lpdomatic: Adds --center-title=$optJ to a2ps command line.
Enscriptcommand and debug flag can be specified in a config file
in $ETCDIR/filter.conf. Syntax is tag\s*:\s*value.
Added tabulator/indentation settings for emacs.
2002-01-18 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Epson-AcuLaser_C1000.xml: Added the Epson
AcuLaser C1000 (Paperweight).
* db/source/*/*: Applied a patch by Tim Waugh (twaugh at redhat
dot com) which makes the Perl one-liners for paper tray
selection on PCL laser printers working on both Perl 5.6.0 and
5.6.1. The one-liners are in the GhostScript command lines of
the drivers entries for the PCL laser drivers ("lj5gray",
"ljet4", ...).
* db/source/printer/*: Updated text of the Epson EPL-5900/5900PS
because of a bug in Epson's driver.
2002-01-17 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added new Epson laser printer models:
EPL-5900, EPL-N2120.
* db/source/*/*: Added new driver entries "epl2120" and "epl5900"
for Epson-Kowa laser driver 1.0.4.
2002-01-16 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic, lpdomatic, ppromatic, directomatic: Auto-detection
of file converters a2ps, enscript, mpage, usage of the printer's
paper size setting for conversion to PostScript, with a2ps the
possibility to print also PDF, images, etc with LPD/LPRng and
with directomatic (CUPS and PPR do this by themselves, they use
the converter only for the docs pages).
* foomatic-configure: Fixed bug of "-Q" with PPR not working for
non-root users. CUPS queues are automatically set up with
PPD-O-Matic PPD files now (use "--oldppd" to get CUPS-O-Matic
PPD files), for PPD the PPD file is not stored twice any more, a
symbolic link is set instead.
* README, ChangeLog, foomatic-configure.1.in: Updated documentation
to take into account the new "--oldppd" option.
* db/source/*/*: HP removed the "HP only" clause from the license
of HPIJS, so HPIJS is free now.
2002-01-15 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Fixed some incompatibilities in the PDQ file
generator which prevented HPIJS 1.0 from working with PDQ.
2002-01-14 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Fixed bug of foomatic-configure stopping on
directomatic printer configuration when there is no directomatic
config file.
2002-01-13 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic/ppromatic: The PPD default values of float options were
not read correctly, fixed.
2002-01-12 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added HP e-printer e20 to HPIJS 1.0 datafiles.
* db/source/printers/*: Removed "Unverified" flags and cleaned up
text in many datafiles of HP inkjet printers.
* foomatic-preferred-driver: Only set new default driver when the
current one is not OK.
* foomatic-configure: Insert ":ppdfile=<PPD file name>:\" lines
into /etc/printcap (for LPD/GNUlpr/LPRng), so that the graphical
printing frontend GPR finds the PPD-O-Matic PPD files
automatically.
2002-01-11 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added "bjc250gs" driver and Canon BJC-250ex
printer.
2002-01-10 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-gswrapper: Replaced "-sOutputFile=|cat >&3" by
"-sOutputFile=|cat>&3" because the second one also works when
"gs" is a wrapper script around the real GhostScript binary.
2002-01-09 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic: Numerical options given on the command line were
ignored when using a PPD-O-Matic PPD file for the CUPS queue.
Fixed.
2002-01-08 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile, makeDefaults, lpdomatic.8.in: Moved lpdomatic back to
/usr/sbin.
2002-01-06 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Added support for direct, spooler-less
printing with directomatic, added auto-detection of PPR.
* directomatic: Added support for having a default printer.
* foomatic-datafile: Added "lprng" as possible datafile type (gives
the same result as "lpd").
* foomatic-configure.1.in: Completed the list of possible options,
corrected "-D" options ("Default", not "Delete").
* foomatic-printjob.1.in: Corrected command line for printing.
* README, USAGE: Updated to take into account all recent changes.
2002-01-06 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* foomatic-configure: Bails out if it encounters a lprng style
printcap, like those created by lprngtool, as it would hose it
otherwise. This needs a better solution.
* foomatic-configure.1.in: Added description of the above problem.
* debian/control: The conflict with the cupsomatic-ppd package is
indicated.
2002-01-05 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile, makeDefaults: Added definitions for PPR and for
spooler-less printing.
* db/source/driver/Postscript.xml: Updated the text to also
mention that PPD files can be used also with the PPR spooler or
the GPR printing frontend.
2002-01-04 Till Kamppeter <till.kamppeter@gmx.net>
* ppromatic: Made ppromatic stuffing the PostScript code of all
PostScript options into the job, in contrary to CUPS PPR only
stuffs in the code of options explicitly given on the command
line or in the "Switchset".
* foomatic-configure: Added PPR support.
2002-01-03 Till Kamppeter <till.kamppeter@gmx.net>
* ppromatic: Made it possible to have PPD files in other
directories than /usr/share/ppr/PPDFiles, let ppromatic eat up
data on STDIN to make documentation printing ("-i docs") working
correctly. When original job is not completely read, PPR does
not dequeue the print job and stops the printer because it
assumes that the job was not correctly printed.
2002-01-02 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added Compaq IJ1200 (Z42 clone), assigned Lexmark
5700 drivers to Compaq IJ900 (5700 clone). Fixed text of Lexmark
5700.
* db/source/opt/hpijs-Quality.xml: Fixed typo in human-readable
text for 600-dpi-CMYK-normal quality.
2002-01-01 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/hpijs-PageSize.xml: Worked around a bug in HPIJS
1.0 which breaks the paper size setting via PostScript commands.
* lib/Foomatic/DB.pm: Added photo paper sizes for the HPIJS 1.0
driver to the "getpapersize()" function.
2002-01-01 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* debian/rules: see debian/changelog for details.
2001-12-31 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/driver/*.xml: Updated URLs of the home pages for the
"cZ11" and "c2070" drivers.
2001-12-30 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Epson-EPL-5800L.xml: Added the Epson EPL-5800L
laser winprinter.
2001-12-23 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* debian/foomatic-bin.manpages: Corrected section for lpdomatic
manpage.
* lpdomatic.1.in: Made this manpage useful.
* foomatic-gswrapper.1.in: Minor editing.
2001-12-20 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/hpijs*: Updated the entries for the "hpijs" driver
to the new 1,0 release.
* db/source/printer/*: More updates on the comments of the HP
inkjet printers.
2001-12-19 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Updated comments and "Recommended driver"
settings of the HP/Apollo printers for the new "hpijs" 1.0
version.
2001-12-18 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added/modified HP inkjets for the "hpijs" 1.0
driver.
2001-12-17 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Applied a patch from Crutcher Dunnavant
(crutcher@redhat.com) which sets all Perl variables in shell
command lines ($poid, $drv. $libdir, ...) into single quotes, so
that nothing breaks when a strange printer/driver ID or a
strangely named directory is used.
* db/source/driver/*: Made Perl one-liner for paper tray selection
in PCL laser printer driver XML files less memory-consuming.
2001-12-16 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Minolta-PagePro_1100L.xml,
db/source/printer/642674.xml: Added the Paperweight "Minolta
PagePro 1100L".
2001-12-14 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Made "-f" (Force compilation) flag working
for overview request ("-O").
* lib/Foomatic/DB.pm: Functions using "foomatic-combo-xml" check
the cache before and use it, if appropriate files
available. Printer ID set into single quotes in the
"foomatic-combo-xml" command line, to not break with the new
clear text printer IDs (Thanks to Crutcher Dunnavant,
crutcher@redhat.com for his suggestions).
* Makefile: Let "make install" also install the man pages.
2001-12-13 Till Kamppeter <till.kamppeter@gmx.net>
* directomatic: Possibility to use a printer definition file in
~/.foomatic/direct/ or in the current directory.
* Makefile, makeDefaults: Added /etc/ppr directory, fixed typo.
2001-12-12 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Set links for the new location of the
"Lexmark Foomatic Kit" in the comments of the database entries
for the Lexmark Z22, Z23, Z32, Z33, Z52, Z53.
2001-12-11 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Made the "PaperDimension", "ImageableArea",
and "PageRegion" entries in CUPS and generic PPD files working
if the "PageSize" option is not the standard PostScript option,
but a command line option or something else (as in the
"ppmtocpva" or in the "pentaxpj" drivers.
* db/source/opt/2.xml, db/source/driver/c2050.xml: Drivers
"c2050", "cZ11", and "cZ11somsom" had no "PageSize" option,
fixed.
2001-12-11 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de>
* directomatic.1.in manpage added.
* debian/: Bugfixes in the Debian specific files.
2001-12-10 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Updated home page address and comment of the
"lm1100" driver and added a "Brightness" option to that driver
and replaced the "Monochrome" option by "Ink Type".
* db/source/drivers/lpstyl.xml: Re-hosted "lpstyl" driver on
linuxprinting,org, original home page is dead. Modified the
comments in the database entry file appropriately.
* db/source/drivers/gdi.xml: Added filter for MagicFilter users to
easily integrate this driver. Modified the comments in the
database entry file appropriately.
* db/source/*/*: Okipage 6w only works with "oki4w" 2.0, not with
2.1. Modified the comments in the database entry files
appropriately.
* db/source/printers/214153.xml: My Stylus Color 500 has problems
with Gimp-Print 4.2. Modified the comments in the database entry
files appropriately.
* db/source/opt/cZ11somsom-*: Set default values of the ink
densities to 50 instead of 100.
* db/source/driver/cZ11somsom.xml: Corrected command line to make
printing with the black cartridge working.
* db/source/printer/89152.xml: Comments cleaned up for Canon
BJC-2000.
* db/source/printer/Canon-BJC-2010.xml: New printer entry: Canon
BJC-2010.
* db/source/driver/bjc600.xml, db/source/opt/6.xml: Added Canon
BJC-2010 to the "bjc600" driver.
* db/source/printer/Canon-BJ-100.xml: New printer entry: Canon
BJ-100.
* db/source/driver/bj200.xml: Added Canon BJ-100 to the "bj200"
driver.
* db/source/printer/123584.xml: Added comments about the problems
with the Xerox DocuPrint XJ8C.
* db/source/printer/Pentax-PocketJet*: Added the ultra-portable
printers from Pentax.
* db/source/*/pentaxpj*: Added "pentaxpj" driver for the
ultra-portable Pentax PocketJet printers.
2001-12-09 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic: Added support for the accounting facility of CUPS.
Only works with $debug = 0 and when GhostScript is rendering
the PostScript.
* foomatic-ppdload, lib/Foomatic/PPD.pm: "new PPD" and "new
UIElem" replaced by "new Foomatic::PPD" and "new
Foomatic::UIElem", otherwise the "new" methods will not be found
in the respective libraries.
* db/source/printer/Lexmark-Z43.xml: Updated the comments.
2001-12-07 Till Kamppeter <till.kamppeter@gmx.net>
* directomatic: New filter for spooler-less printing. See in the
comments in the beginning how to use it.
* Makefile: Added definitions for PPR, added directomatic
and ppromatic to be installed
* makeDefaults: Added definitions for PPR, moved lpdomatic to
/usr/bin
* lpdomatic.1.in: lpdomatic in /usr/bin => "man 1 lpdomatic"
* foomatic-datafile: Added "direct" data file type for
Direct-O-Matic
* lib/Foomatic/DB.pm: Modified comments of the LPD-O-Matic printer
description file (generated by the function "getlpddata()")
because these files are also used for Direct-O-Matic.
2001-12-07 Manfred Wassmann <foomatic@NCC-1701.B.Shuttle.de>
* Makefile: Split the install target into install-bin and
install-db. Added PHONY target to mark targets not related to
real files.
* Manpages: Added a script to generate manpages with correct
pathnames from files named <manpage>.<section>.in.
Created more or less useable manpages for all binaries.
* debian: Bootstrapped a debian directory for building Debian
packages.
2001-12-06 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic: Corrected link to documentation web page in the
comments in the beginning of the script.
2001-12-04 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic, lpdomatic, ppromatic: Cleaned up multi-processing,
now the parent processes wait for their children to finish and
the interprocess communication pipes are closed after use. The
main process waiting for their children to exit fixes especially
a problem of lpdomatic: LPRng resetted the printer port when the
lpdomatic was ready, but in reality lpdomatic sub-processes were
still working on the job, which lead to incomplete pages being
printed (Bug #486096 on SourceForge). Also updated the comments
in the beginning of the files
* foomatic-datafile: Added PPR support.
* foomatic-configure: Added the "-w 1" option to "nc" used in the
$postpipe for LPD, otherwise "nc" only exits a rather long time
after all data has be transmitted to the printer. This prevents
the new lpdomatic from exiting immediately after the job has
finished and so it takes a longer time until the next job
starts.
* lib/Foomatic/DB.pm: Used "/PageSize[...]" instead of
"/PageRegion[...]" in the "*PageRegion" option of the
PPD-O-Matic PPD files becasue GhostScript does not understand
"/PageRegion[...]" (found this out during tests of PPR, which
uses the "*PageRegion" option and not the "*PageSize" option to
set the paper size.
2001-12-02 Till Kamppeter <till.kamppeter@gmx.net>
* ppromatic: Completed first version of ppromatic: Added error and
signal handling. Introduced back channel from child processes to
main process and let main process wait until all children finish,
to not loose any error message or exit status to report to PPR.
2001-11-30 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added some comments about the similarity of the
Sharp and Xerox inkjets.
* db/source/opt/207.xml: Made "Model" option of "pcl3" having only
the correct model entry as possible choice (as "Model" option of
"gimp-print"/"stp".
2001-11-29 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-preferred-driver: Higher priority for "pcl3" against
"sharp.upp", the support of the "pcl3" driver for the Sharp and
Xerox inkjets is much better since version 3.3 of "pcl3".
* db/source/*/*: Added Sharp/Xerox printers to list of printers
supported by "pcl3" because of better Sharp/Xerox support by
"pcl3" version 3.3, also changed the recommended driver of the
Sharp and Xerox inkjets to "pcl3" and the functionality to
"Mostly".
2001-11-24 Till Kamppeter <till.kamppeter@gmx.net>
* ppromatic: Interface for the spooler PPR (ppr.sourceforge.net)
introduced. To set up printer download PPD-O-Matic PPD file from
your driver's page of the linuxprinting.org database (or use
"foomatic-datafile -t ppd ...") and do
cp ppromatic /usr/lib/ppr/interfaces/
cp <downloaded ppd file> /usr/share/ppr/PPDFiles/
ppad interface <queue> ppromatic <address>
ppad options <queue> backend=<interface>
ppad ppd <queue> <ppd file without path>
(Addiyional command to set up paper trays)
<interface> means the PPR interface name for the desired printer
connection type (all in /usr/lib/ppr/interfaces/: parallel,
serial, tcpip, lpr, smb, atalk, ...).
<address> means the printer address as needed by the interface
(/dev/lp0 for parallel, printer.domain.com:9100 for tcpip, ...)
<ppd file without path> is the name under which you have saved
your downloaded PPD file. Do not specify the path
/usr/share/ppr/PPDFiles/
2001-11-23 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic: Let numerical option default settings in be used
when a printer is used with a PPD-O-Matic PPD file.
2001-11-22 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Made HTML display of how to invoke a driver
working correctly with the new XML Foomatic and enhanced it,
especially for tricky command lines ("Execution Details" pages).
* db/source/opt/*: Corrected the "Required" state for many
options, to get the "Execution Details" pages correct.
2001-11-21 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/drv_z42: New web site for "drv_z42".
2001-11-20 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Set "Recommended driver" field
(<driver>..</driver>) in all non-Paperweight printer entries.
2001-11-19 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: The Epson Stylus C70/C80 do 2880x1440 dpi
under free OS. Added comment in the appropriate database
entries.
2001-11-18 Till Kamppeter <till.kamppeter@gmx.net>
* README, USAGE: Added info about the PPD-O-MATIC PPD files.
Especially USAGE contains info about printing with graphical
interfaces and out of applications now.
2001-11-16 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-preferred-driver: Added the "sj48" driver in the list,
so that when one adds "omni" as the last entry, the "sj48" will
get priority.
2001-11-15 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic: Added support for GPR as CUPS printing frontend.
* db/source/*/*: Added Lexmark Z43 (supported by "drv_z42"
driver), corrections on Lexmark Z42.
2001-11-14 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Added generation of a generic purpose PPD
file (PPD-O-Matic), made generated PDQ scripts using settings
added by an application using the PPD file, fixed bug of PDQ not
printing when driver command line is composed of various shell
commands. Removed some replacements of special characters in the
generation of PDQ config files, they caused some driver command
lines to get "overquoted" characters.
* cupsomatic, lpdomatic: Added support for the new generic PPD
files, jobs are searched for settings done by applications using
these PPD files.
* foomatic-datafile: Added "-t ppd" option to generate generic PPD
files.
* foomatic-configure: Now for every queue a generic PPD file is
created and maintained as /etc/foomatic/<queuename>.ppd.
* db/source/driver/oki4w.xml: Comments updated for oki4linux 2.1
* db/source/*/*: Resolution of Okidata OL 410e fixed (300 dpi only
with "ljet4", RedHat bug #43120).
2001-11-13 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/driver/*: Added "-Mutf8" to the "perl" calls in the
command line of the PCL/PCL-XL laser printer drivers with tray
selection, otherwise Perl 5.6.0 and older cannot handle hex
representations of binary strings in the Perl commands.
2001-11-08 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/*: Fixed default resolutions for the "eps9mid" and
"eps9high" drivers.
2001-11-07 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/*: For the Epson laser printer drivers (EPL,
AcuLaser) fixed forgotten default values for MediaType and
default input tray for the colour models.
2001-10-29 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Perfect support for the Epson Stylus
C70/C80 with Gimp-Print 4.1.99b4.
2001-10-23 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Changed the comments/ratings of the Epson
AcuLaser colour printers according to results of tests at Epson
Paris.
* foomatic-preferred-driver: Given priority to the "alcXXXX"
drivers on Epson color inkjets, they print in color.
2001-10-22 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added comment about up/download of data to
the photo cards in the card reader of the HP PhotoSmart
printers.
2001-10-20 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/630066.xml, db/source/driver/*: Removed
duplicate entry for the HP DeskJet Plus.
2001-10-16 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the Epson Stylus Photo 820.
2001-10-15 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the HP OfficeJet R65 and R80 printers.
* db/source/*/*: Added more Samsung SmartGDI/PassThru printers:
Samsung ML-1010, 1020, 200, 210.
2001-10-13 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Some newer Epsons (Stylus Photo 785, 875, 895)
are USB only, corrected database entries.
2001-10-11 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Re-rated Epson Stylus C60 and Epson Stylus Scan
2500 as "Perfectly" supported.
* USAGE: Fixed text, "postpipe", not "backpipe".
2001-10-10 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Removed HP LaserJet 6L from "lj5gray"/"lj5mono"
drivers, this combo is reported not to work.
* db/source/printer/*: Changes on the text of the HP LaserJet 5L,
5P, and 6L printers.
2001-10-09 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added Samsung SmartGDI/PassThru printers: Samsung
ML-1000, 1200, 1210, 1220, 5080, 6040.
* db/source/*/*: Modified the Foomatic data for the "drv_z42" driver
to fit to version 0.3 of the driver.
* db/source/*/*: Assigned drivers to the HP PhotoSmart P100 printer.
2001-10-08 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/Epson-Stylus_C[78]0.xml: Changed rating from
"Paperweight" to "Partially", Gimp-Print 4.1.99b3 provides
preliminary support.
* db/source/*/*: Added HP DeskJet 1120C to the printers supported
by the "hpijs" driver.
2001-10-06 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the printers HP LaserJet 1000, DeskJet
845C, 940C, PhotoSmart P100, P1115, P1315.
* db/source/*/*: Corrected URLs for the HP inkjet printers.
* db/source/opt/hpijs-PageSize.xml: Added A6 and Photo paper sizes
for the "hpijs" driver,
2001-10-04 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: Added an "#include <stdlib.h>" to make
the code working on IA64.
2001-10-03 Till Kamppeter <till.kamppeter@gmx.net>
* README, USAGE: Updates on the documentation.
* db/source/*/*: Fixes on the "cljet5" driver.
* db/source/*/*: Added options to the drivers "cdj500", "cdj550",
"pj", "pjxl", "pjxl300", "declj250", and "dj505j".
* db/source/driver/*: Updated links to the GhostScript web pages.
* foomatic-preferred-driver: Correction for the DEC LJ250.
2001-10-02 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added paper tray selection to all the other PCL
laser printer drivers. Bugfixes on paper tray selection for the
"ljet4" driver.
* db/source/*/*: Added "cljet5c" driver (Color LaserJet 5 in
Contone mode).
* db/source/*/*: Added "ljet4d" driver ("ljet4" with PCL Duplex).
* foomatic-preferred-driver: Updated for the new drivers.
2001-10-01 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added paper tray selection option to the PCL-XL
drivers ("lj5gray"/"lj5mono", "pxlmono"/"pxlcolor") and to the
"ljet4" driver.
2001-09-29 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added driver "drv_z42" for the Lexmark Z42,
re-rated the printer as "Partially" supported.
* lib/Foomatic/DB.pm: Assured that the "PageSize" option is always
present in CUPS PPD files, evwn when it has only one choice,
CUPS does not work when there is a PPD file without "PageSize"
option.
* foomatic-combo-xml.c: Replaced an "strcat" by an "strcpy" when
setting the default value for an option because otherwise there
appear two values in the string for the default value.
* db/source/*/*: Added GhostScript pre-filtering facility to the
"Postscript" driver, this allows to use additionally installed
GS fonts or converting to a lower PostScript level.
2001-09-28 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Made all file creation be done with "umask
0002", so that the cache can be deleted by anyone in the group
of the cache creator.
* db/source/*/*: Added Foomatic data for the Epson Stylus Color
640 UPP files which come with GhostScript 6.50 and newer.
* db/source/printer/HP-DesignJet_750.xml: Corrected bug in printer
ID, which prevented entry from showing up correctly on
www.linuxprinting.org.
2001-09-27 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added the Lexmark Z82.
* db/source/*/*: Made the "pbm2l7k" driver not needing 120 MB swap
with GS 6.x and newer.
* db/source/*/*: Added Foomatic data for the UPP files
"s400a1.upp" and "s400b1.upp".
* db/source/printer/123776.xml: Corrections in the text about the
BJC-8200.
* db/source/printer/Canon-S600.xml: Added the Canon S600.
* db/source/*/*: Added Foomatic data for the UPP files for the
Canon BJC-8200 which come with GhostScript 6.50 or newer.
* db/source/driver/pcl3.xml: Fixed typo.
2001-09-26 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: In the "loadfile()" function "close" was
used instead of "fclose". This kept all files open and lead to
problems with more than 1000 printer models.
* db/source/*/*: Added the Xerox DocuPrint N4512, corrected comments
for the HP PSC 950 and the Epson Stylus C80.
2001-09-25 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-preferred-driver: Given priority to the lxm3200 driver
against Gimp-Print/stp, the support of the Lexmark 3200 by
Gimp-Print is broken.
2001-09-24 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: Fixed a bug of not setting the high scores
for the constraints.
2001-09-22 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: "checkpc -f" after any change on an LPRng
system. LPRng refuses to print when one file has wrong
permissions.
2001-09-13 Till Kamppeter <till.kamppeter@gmx.net>
* cupsomatic: Made the "sides" (Duplex) option of CUPS working
with printers using Foomatic.
* foomatic-configure: SIGHUP to LPRng daemon when setting the
default printer or deleting one.
2001-09-12 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added the Lexmark Z23, Z33, and Z53
* db/source/printer/486066.xml: The Lexmark Z12 does not print
ain text
* db/source/printer/328553.xml: With the current Gimp-Print the
Lexmark Z52 works "Perfectly".
* db/source/printer/*: Updated and corrected text of the Lexmark
Z23, Z33, and Z52.
* db/source/printer/62720.xml, db/source/driver/lj5*: The HP
LaserJet 5L does not work with the lj5gray/lj5mono drivers.
* cupsomatic: All enumerated options with choices "On", "Off",
"Yes", "No", "True", or "False" did not work with CUPS. This is
fixed now.
2001-09-03 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Possibility to set a system-wide default
printer for all spoolers, for CUPS and PDQ, non-root users can
also set a personal default printer. Due to the architecture of
LPD a queue named "lp" will be renamed when another queue is set
as the default queue.
* Makefile, makeDefaults: Added the "lpoptions" utility of CUPS
which is needed to set a remote printer as default or to set
a personal default printer for non-root users.
* USAGE: Added information about the new default printer setting
facility.
* README: Adapted to all recent changes.
* TODO: Removed the topic about speed and memory consumption, this
is solved by foomatic-combo-xml.c now.
2001-09-02 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: Added functionality for generating the
overview XML file ("-O" option). Makes the overview XML
generation much faster, less than a second on most machines.
* lib/Foomatic/DB.pm: Let the overview XML generation be done
preferrably by foomatic-combo-xml.c.
* Makefile: Added the removal of the foomatic-combo-xml binary
to the "clean" section, let foomatic-preferred-driver be
installed in /usr/sbin.
* foomatic-preferred-driver: Bugfix: Often default driver entries
were not inserted into the printer XML file.
* db/source/driver/ppmtocpva.xml: Added the Alps MD-1500 printer.
2001-08-29 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Several fixes on the comments of the HP
OfficeJets.
* db/source/*/*: Added the Apple LaserWriter 4/600.
* db/source/printer/605074.xml, db/source/printer/609714.xml:
Correction: The HP LaserJet 5Si and 3200se support PJL.
* db/source/driver/lj5gray.xml: Removed duplicate entry for the
HP LaserJet 5Si.
2001-08-28 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-combo-xml.c: C program to build XML files for
printer/driver combos, around 600 times faster than the perl
routines in lib/Foomatic/DB.pm (one Gimp-Print combo in 0.5-1.5
sec. foomatic-compiledb in a few minutes), needs less than 10 MB
of memory. Pre-building of the database for distros not needed
any more.
* lib/Foomatic/DB.pm: Make foomatic-combo-xml.c being preferrably
used for building printer/driver combo data.
* Makefile, makeDefaults: Integration of foomatic-combo-xml.c.
2001-08-26 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/driver/*: Removed printer entry 207945 from the printer
list of the "laserjet" and "stp" drivers, the printer was deleted.
2001-08-25 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/HP-DesignJet_750.xml: added HP DesignJet 750,
it is supported by Gimp-Print now.
2001-08-24 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added a whole bunch of japanese printers and
drivers, thanks to Crutcher Dunnavant from Red Hat.
* db/source/driver/md2k.xml: Added the Alps MD-1500.
* foomatic-preferred-driver: Priorities for the japanese drivers.
* db/source/*/*: Corrected driver names for Epson's colour lasers.
2001-08-23 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added the recent Epson laser printers: Epson
EPL-5800, EPL-N1600, EPL-N2050, EPL-N2050+, EPL-N2750, AcuLaser
C2000, C8500.
* db/source/printer/Brother*: Small adjustments of the entries.
* db/source/printer/*: Added the new Epson lasers to the drivers
"Postscript", "pxlmono", "lj5gray", "lj5mono", "cljet5".
* db/source/*/*: Added the Epson laser printer drivers provided
by Epson: "epl5800", "epl2050", "epl2050p", "acl2000", "acl8500".
* foomatic-preferred-driver: Epson laser printer drivers.
* db/source/printer/641170.xml: Removed duplicate entry for the
Canon LBP-800.
2001-08-21 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/*/*: Added new Brother printers: HL-1440, H:-1450,
HL-1470N, HL-2460, HL-2460N, HL-2400CeN, HL-3400CN, MFC-P2500.
* db/source/*/*: Added some more Brothers to the hl1250 driver.
* db/source/opt/207.xml, db/source/opt/208.xml: Corrected default
settings for the Apollo P-1200 with the pcl3 driver. It needs
the the model setting "Unspecified old model" and a CMY colour
mode.
* db/source/driver/hpijs.xml, db/source/opt/hpijs-Model.xml,
db/source/opt/hpijs-Quality.xml, db/source/printer/413737.xml:
The Apollo P-2200 works with drivers for the HP DeskJet 612C,
taken this into account.
* db/source/printer/Okidata-ML_32?.xml, db/source/driver/okiibm.xml:
Added the printers Okidata ML 320/321.
* db/source/printer/63200.xml: Added comment to the IBM 4019.
* db/source/printer/317321.xml, db/source/printer/607474.xml:
Added instructions how to change the cartridges without needing
special software.
* db/source/printer/24832.xml: Added useful info about the NEC P6
plus.
* db/source/driver/epsonc.xml: This driver is needed to print on
the NEC PinWriter P6/P6 plus in colour.
* foomatic-preferred-driver: Given priority to the "necp6" driver
against the "epsonc" because in most cases the NEC PinWriter P6
is used without colour add-on.
* db/source/*/*: Fixed bug in hpijs driver data: The docs talk about
"DJ6xxP" for the "DeviceName" setting for photo-capable DeskJet
6xx models, in reality "DJ6xxPhoto" has to be used.
* db/source/driver/sharp.upp.xml: Explained how to install
"sharp.upp".
2001-08-20 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/337577.xml: Duplicate entry for the HP OfficeJet
G55, deleted.
* db/source/printer/Sharp*: Added the printers Sharp AJ-1805,
AJ-2005, and AJ-2100.
* db/source/printer/*: Updated the entries for the Xerox DocuPrint
M750 and M760, they print with "sharp.upp" and are both partially
working.
* db/source/driver/sharp.upp.xml: Added the new Sharp printers
(AJ-1805/2005) and the Xerox DucuPrint M750/M760.
* db/source/driver/hl1250.xml: Updated the URL of the driver's home
page.
* db/source/driver/hl1250.xml, db/source/opt/53.xml: Removed the
"Model" option from the "hl1250" driver, the GhostScript option
"-sDEVICE=hl1240" or "-sDEVICE=hl1250" only determines the
default resolution which is anyway overridden by Foomatic.
* db/source/opt/161.xml: The media source selection for the
"Postscript" driver only works for HP printers, restricted to HP.
2001-08-19 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/printer/*: Added HP and Apollo printers: Apollo P-2100,
P-2150, HP DeskJet 816C, 980C, e-printer e20, PhotoSmart P1215,
P1218, OfficeJet K60, K80, V40, PSC 300, 750.
* db/source/*/hpijs*: Updated the data for the inkjet driver of HP
("hpijs").
* db/source/*/DJ*: Deleted the old data of the HP driver (drivers
"DJxxx").
* db/source/*/*: Updated all information about the multifunction
devices of HP, they are all capable for scanning with free
software.
* db/source/printer/641138.xml: Duplicate entry for the Canon
LBP-800, deleted.
* db/source/printer/207945.xml: Duplicate entry for the HP LaserJet
2, deleted.
* foomatic-preferred-driver: Added new "hpijs" driver.
2001-08-17 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile: Moved foomatic-configure from /usr/sbin to /usr/bin.
* db/source/printer/Epson-Stylus_C[24]0*: Split up the entries for
the Epson Stylus C20/C40 into the SX and UX models. This is needed
for the Gimp-Print GhostScript driver.
2001-08-16 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Support for printers on NetWare (with LPD
and LPRng), output of the printer list both as root and normal
user, LPRng SIGHUP after adding a new queue, spooler detection
bug fix.
2001-08-11 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Fixed bug of options not being conserved
when changing parameters of a CUPS or PDQ printer. $olddatablob
was defined at the wrong place. Added paths for rlpr, nc, and
smbclient to Defaults.pm, so these commands can also be called
when foomatic-configure is running in an environment without
$PATH, for example during the installation of a distro.
* Makefile, makeDefaults: Paths for rlpr, nc, and smbclient added.
2001-08-05 Till Kamppeter <till.kamppeter@gmx.net>
* db/source/opt/ppmtocpva-solidblack.xml: Added option "-solidblack"
to "ppmtocpva" driver, it is new in the version 1.0 of the driver.
* db/source/printer/168201.xml: Corrected the resolution of the
Citizen Printiva 600C.
* db/source/driver/ppmtocpva.xml: Added the old Alps MD models to
the printers supported by the "ppmtocpva" driver.
2001-08-01 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-cleanupdrivers: Removes all driver entries without
command line (<prototype>..</prototype>) from a local Foomatic
database. So frontends do not display "unusable" printer/driver
combos.
* foomatic-preferred-drivers: Simple program which adds a
<driver>..</driver> entry to every printer. The best driver is
determined by a ranking. When one deletes all XML files for
drivers which are not available on the system (and adds XML files
for additional drivers) all printers will have the best driver
of the current system as preferred driver.
* lib/Foomatic/DB.pm: Exported "get_overview" for
foomatic-preferred-drivers.
* db/source/*/*: Added the newest inkjets of Epson and the newest
lasers of HP: Epson Stylus C20, C40, Epson Stylus Photo 785,
875, 895, Epson Stylus Pro 10000, HP LaserJet 1200, 1220, 2200,
3200m, 4100, 8150, 9000, HP Color LaserJet 4550.
* db/source/*/*: Corrected driver list for the HP LaserJet 3200se,
it is the same as for the HP LaserJet 3200 now.
* db/source/driver/bjc600.xml: Removed the Canon BJC-5000 from the
list of supported printers, it is a paperweight for sure.
* db/source/printer/474354.xml: Removed this extra entry for the
Canon BJC-85. It was a relict of the time when the database was
publicly editable.
2001-07-29 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Take preferred driver (<driver>..</driver>
tag) into thw overview listing (overview.xml, foomatic-configure
-O).
* db/source/opt/69.xml: Made the "Normal" quality with the "cdj880"
driver available again for all printers. With GNU GhostScript
6.51 it works without problems.
2001-07-25 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: When one uses the -P option with a printer
and a driver to obtain the datablob of this combo, one can also
supply a queue to apply the default options of that queue to the
datablob of the chosen combo. This can be used when one wants to
change the driver used for a queue with the help of a
frontend. The obtained datablob can be used to generate the
option dialog in this situation.
* lib/Foomatic/DB.pm: The option and choice value arrays are
sorted now (by a standard option list, by the "normalizename"
function which is already used for printer names on the web
site, and alphabatically/case-insensitive), so in XPDQ, KUPS,
QtCUPS, XPP, the upcoming new printerdrake (Mandrake 8.1), and
other frontends the options and choices will appear sorted.
2001-07-21 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Added the possibility to copy/clone queues,
now queues can be transferred to another spooler conserving all
settings, including the default option settings. Restructured
all queue query functions, now they can also generate complete
Perl datablobs with all option default settings (even settings
which XPDQ has written into /etc/pdq/printrc or which KUPS has
written into the PPD files) and all queue settings as the
connection URI, description, location, ... (in the new
'queuedata' field). This facility can be used by graphical
frontends. Now foomatic-configure also supports to be called
unser different names and to load the default spooler choice
from a file.
2001-07-20 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Restructured all queue setup functions, now
it is possible with all the spoolers to modify queues by only
supplying the items which are changed on the foomatic-configure
command line. One can even delete the description or location
entries or switch from a queue with driver to a raw
queue. Default settings for options do not get lost when one
changes the driver and the new driver has options with the same
name. Also option settings done with the "native" tools of CUPS
and PDQ do not get lost on any kind of manipulation done with
foomatic-configure. Extra Perl datablob files removed to avoid
problems with maintaining redundant data repositories. Datablobs
are now in the main config files (they were already there for
CUPS and LPD/LPRng, for PDQ they are addad now. Output of
datablobs for frontends will be done by a special command line
option. The query functions are cleaned up now.
* lib/Foomatic/DB.pm: Added Perl datablob to the PDQ datafiles,
added a line break to the end of all "die" and "warn" messages
to clean the error message output.
2001-07-19 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-printjob: Fixed command line option translation when
printing with PDQ (numerical options).
* foomatic-configure: XML-Combo data in /etc/foomatic is gzipped
now (compression factor 10), Perl datablobs with the
user-supplied default option settings are stored in
/etc/foomatic, too (gzip factor 8). They serve for frontends to
get the available options and make it easier to transfer the
queues without loss of option settings.
Setup function for LPD/LPRng restructured, it allows modifying a
queue only supplying the information which changes on the
foomatic-configure command line. One can even change the driver
and all default settings of options with the same name in the
old and the new driver are conserved.
* lib/Foomatic/DB.pm: Fixed help page of PDQ (numerical options).
2001-07-18 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-printjob: Links named "lp", "lpr", "lpq", "lprm", and
"lpc" to the foomatic-printjob executable can be made and the
program does the action of the appropriate command when called
through one of the links, job list ("lpq") output of LPRng
filtered so that it comes out in the same form as the job
listings of the other spoolers, possibility to save a default
spooler.
2001-07-17 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-printjob: Added all missing job listing and job removal
functions. Added functionality for advanced queue and job
control. Updated help message.
* Makefile: Added CUPS commands for queue and job control.
* makeDefaults: Added CUPS commands for queue and job control.
2001-07-16 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-printjob: Added job listing (query) and job removal
functions for PDQ. Added job listing function for LPD. Added
line breaks at the end of all "die" calls so that the line
number is not shown when the program executes the appropriate
"die",
* foomatic-configure: Added line breaks at the end of all "die"
calls.
2001-07-15 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-printjob: Coomand line options which are not used by
foomatic-printjob are passed to spooler-specific printing
command, Support for printing multiple copies with PDQ, printer
queue can also be specified with the "-d" option.
2001-07-14 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-printjob: Exit status of the spooler's printing command
is passed back to the user as the exit status of
foomatic-printjob, GNU-lpr (VA-Linux) is auto-detected and the
options are passed appropriately. Clean-up of the help message
(option -h).
* foomatic-configure: Support for setting default options, help
message cleaned up.
2001-07-13 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Removed backquote from the boolean option
example in the PDQ help page. It broke the shell script for
printing the page. Preliminary fix for foomatic-configure not
exiting when building combo data with the Gimp-Print Foomatic
data installed: Flushing memory cache during build after
treatment of every option.
* foomatic-printjob: Fixed option handling,
* foomatic-configure: Set automatically a search path to
/etc/foomatic/pdq into the /usr/lib/pdq/printrc file, so that
the Foomatic driver description files are found.
2001-07-11 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile: The INSTALLPREFIX facility was broken. Fixed.
* USAGE: Added user instructions.
* README: Pointed to new USAGE file
2001-07-05 Till Kamppeter <till.kamppeter@gmx.net>
* sharp.upp: New driver for the Sharp AJ-1800/2000 inkjet printers
2001-07-02 Till Kamppeter <till.kamppeter@gmx.net>
* Makefile: Added foomatic-printjob to the user programs to be
installed
2001-07-01 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Now the combo XML data and not only the
printer data is stored in /etc/foomatic for every queue, the
"-X" option allows also getting combo data by supplying both a
printer and a driver, the logfile for the LPD/LPRng queues,
/var/log/lp-errs is touched now when a queue is added, so that
it is made sure that it exists.
* foomatic-printjob, Makefile, makeDefaults: First sketch of
foomatic-printjob: Now one has basic printing functionality with
options on all spoolers.
2001-06-30 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure, Makefile, makeDefaults: PDQ support added:
Now we have a command-line-based administration interface for
PDQ and the basic functionality of foomatic-configure is
completed. Fixed bug in help message of foomatic-configure. In
LPD "rlpr" is only used for remote LPD queues with filter, for
raw queues the "rm" and "rp" tags in the /etc/printcap file are
used.
2001-06-29 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Added LPRng support (without
magicfilter). The support is done by adding the differences
between LPD and LPRng in the functions for handling LPD. Fixed
autodetection of LPRng (typo).
2001-06-29 Till Kamppeter <till.kamppeter@gmx.net>
* lpdomatic: Fixed: The documentation page did not show the
correct lpr command line example for LPRng and when lpdomatic
does not find the printer driver description file (*.lom) it did
not put the file name into the error message.
* Makefile: Removed comment that LPRng is not supported yet.
2001-06-28 Till Kamppeter <till.kamppeter@gmx.net>
* lib/Foomatic/DB.pm: Fixed several bugs in the function
getpdqdata(): PostScript/PJL options were not prepended to the
job data/the GhostScript output, let the choice names be
<option>_<choice> and not only <choice>, because in PDQ one
provides only the choice name and not the option name and the
choice name on the command line. So options with the same choice
names (as "Duplex" and "Manualfeed" on the LaserJet 4050 with
"ljet4" driver, which have both "On" and "Off" as choices) are
ambiguous, added "docs" option to print documentation page with
PDQ, fixed boolean options, they were broken. Text file printout
done with "mpage" now.
* cupsomatic, lpdomatic: Fixed bug of "This option corresponds to
a PJL command" not appearing on documentation page (option
"docs").
2001-06-27 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Query function for CUPS, corrected bug in
function dump_config where the <queue ...> tag was closed by
</foomatic>, fixed query function for LPD, so that it supports
all backend types, remote LPD printing under LPD done with
"rlpr".
* Makefile, makeDefaults: Added /etc/cups/printers.conf.
2001-06-26 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Support for adding/modifying and removing
CUPS queues (for all backends supported by CUPS).
* cupsomatic: Parsing of options embedded in the document
fixed. For accessing the value of an enumerated option $avalue
instead of $value was used, so the values read into $value were
not inserted into the option list. Search the first 1000 lines
for options because after polling the PJL options from a printer
or with a PostScript printer with many features in its PPD file
the 100 lines can easily be exceeded.
* lpdomatic/cupsomatic (common part): The support of PJL option is
marked by the existence of the "pjl" key in the Perl data set of
the printer/driver combo. So "if (defined($dat->{'pjl'}))" and
not "if ($dat->{'pjl'})" has to be asked to check PJL support.
2001-06-25 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Support for adding CUPS queues (all queue
types supported by "lpadmin"). Bugfixes in queue setup for LPD:
Make directories before the backend script for raw queues is
written to there, Rename old $etcfile and $etcxfile also when
one sets up a raw queue.
* Makefile, makeDefaults: Set default paths and file names for CUPS,
let cupsomatic be installed in the CUPS filter directory.
2001-06-24 Till Kamppeter <till.kamppeter@gmx.net>
* foomatic-configure: Now one can configure all types of
LPD queues automatically: local USB/parallel, remote
LPD/SMB/Socket. In addition one can define a queue which pipes the
output into an arbitrary command or a raw queue. Bugfix: Removed
colon after "q" (="quiet") in "getopts()" line. Introduced "-f"
(="force") flag of foomatic-datafile.
* lpdomatic (bugfix): In lpdomatic the
prepending of PJL options is suppressed for non-PJL printers.
* Makefile (bugfix): Added foomatic-*pjloptions, moved
foomatic-configure to admin programs. Fixed links of the pcache
and compiled directories in /var/cache/foomatic to
/usr/local/share/foomatic/db, before the printer combo was always
recompiled.
2001-06-21 Till Kamppeter <till.kamppeter@gmx.net>
* Makefiles: Allowed the possibility to install the Perl libs with
another prefix than the rest of the files. So installation is also
possible when Perl does not search for libraries in /usr/local.
2001-06-20 Till Kamppeter <till.kamppeter@gmx.net>
* Bugfixes: foomatic-configure could not delete queues, makeDefaults
set a wrong path for lpdomatic, Makefile missed a "make" in
the process of installing the Perl libraries.
2001-06-16 Till Kamppeter <till.kamppeter@gmx.net>
* PJL options can be added to the Foomatic data now:
foomatic-getpjloptions retrives them from the printer,
foomatic-addpjloptions generates XML datasets from them.
2001-04-01 Grant Taylor <gtaylor@linuxprinting.org>
* Various renaming has happened. Instead of 'PHTDBPUB', it's
Foomatic::DB. Foomatic::Defaults exports the libdir et al into
you, and the flock of companion modules represent other mostly
internal code.
* Rearranged all the code; now there's a proper Perl module, in
theory at least, in Foomatic/, and the toplevel Makefile
supports this. There's also 'make testing', for a run-in-place
setup.
2001-03-14 Grant Taylor <gtaylor@linuxprinting.org>
* Minor updates to reflect website postgres->xml conversion.
2001-03-10 Grant Taylor <gtaylor@linuxprinting.org>
* Added section="??" attribuge to arg_postscript. Now it's clear
where the Postscript snippets should be placed in the document.
OTOH, the filters haven't even absorbed Crutcher's DocumentSetup
patch, nevermind support for other locations. And JCL still
isn't handled. Or ppd constraints. Or queries. Etc.
* Fixed Till's bug wrt empty options being left out. Also fixed a
few other subtle bugs in ppd parser and foo option generator.
* Small updates to Makefile; it might work again. Note that it
modifies the scripts in place before installing, which will
cause confusion if you attempt further work in place.
* Added foomatic-kitload, which imports source data subsets into
the local data library.
2001-03-07 Grant Taylor <gtaylor@linuxprinting.org>
* Various additional checks and things when doing combo ops in
hopes of avoiding horribly mysterious error messages.
* Implemented foomatic-ppdload. It might even work(tm).
2001-03-06 Grant Taylor <gtaylor@linuxprinting.org>
* Made dump_db strip out illegal constraints, and implemented
comments filtering. Only <p> and <a> are allowed now. <br> is
mapped into <p>.
* New snap of Postgres database
* Make install should(tm) now do something sensible. It still
ought to autodetect "flavor" for foomatic-configure.
* Rename make-datafile to foomatic-datafile.
* Wrap f-c -Q output in <queues> to make it have one toplevel
entity.
2001-03-04 Grant Taylor <gtaylor@linuxprinting.org>
* Removed constraints entirely from combo data. So arg_defval now
appears at /option/arg_defval instead of at
/option/constraints/constraint/arg_defval.
* Switch verified tag to an unverified tag. Eventually, the xml
dataset will be defined as containing only verified information,
so this way there's one less tag for maintainers to fiddle with.
* Prepare for CVS integration.
* Various minor twiddles around the website programs.
* args_byname twiddle for Till.
* Include all the backends in the package.
2001-02-28 Grant Taylor <gtaylor@linuxprinting.org>
* Require Storable
* Added printer autodetect sections to overview. Use xpath or
similar to see the values in /printer/autodetect/parallel
* -Q in foomatic-configure; prints XML summary of system printer
configuration. -X and -O allow examination of the whole
database. f-c API should now be sufficient to build GUIs atop.
* compile_db changes to limit pain of Perl memory leaks.
* Added the pcache, a persistent pre-parsed cache of everything.
* Various buglets from Till. Invalid constraints just warn, don't
hose the whole option. Etc.
* Add foomatic-configure; initial LPD support.
* Various typos and minor fixes; the overview compile/save was
broken, and the overview Perl was missing the driver list.
* Begin beta3.
2001-02-25 Grant Taylor <gtaylor@linuxprinting.org>
* Added methods get_makes, get_javascript2, get_models_by_make,
get_printer_from_make_model.
* Added overview support. Various methods now return or use the
overview infromation; the overview is just a summary listing of
various database-wide info. By using it, many operations are
less horribly slow. The overview is db/compiled/overview.xml
* Don't actually need XML::Grove::PerlSAX.
* Added -f clag to compile_db, and extra work avoidance code.
* Fixed variable naming bug in pdq generator, and fixed boolean
option conversion in getdat.
2001-02-25 Grant Taylor <gtaylor@habanero.picante.com>
* Included an experimental dataset from the new data generation
code I've written for gimp-print. The driver "stp-4.1.5" might
even work(tm).
2001-02-20 Grant Taylor <gtaylor@habanero.picante.com>
* Subtle adjustments to <constraint> contents. The <sense>
element is gone; replaced with the sense="true" or sense="false"
attribute on the <constraint> tag itself. Also, you can now
specify a <printer>printer-id</printer> element instead of
make/model; this is useful for automatically generated data.
|