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 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>pcl3</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet version 1.13"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
><H1
>GS-PCL3</H1
><DIV
CLASS="REFNAMEDIV"
><H2
>NAME</H2
>pcl3 — ghostscript device driver for printers understanding PCL 3+</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><H2
>SYNOPSIS</H2
><P
><B
CLASS="COMMAND"
>gs</B
> -sDEVICE=pcl3 [<TT
CLASS="REPLACEABLE"
><I
>gs_option</I
></TT
> | -dBlackLevels=<TT
CLASS="REPLACEABLE"
><I
>integer</I
></TT
> | -dCMYLevels=<TT
CLASS="REPLACEABLE"
><I
>integer</I
></TT
> | -sColorModel=<TT
CLASS="REPLACEABLE"
><I
>model</I
></TT
> | -sColourModel=<TT
CLASS="REPLACEABLE"
><I
>model</I
></TT
> | -dCompressionMethod=<TT
CLASS="REPLACEABLE"
><I
>method</I
></TT
> | -dConfigureEveryPage | -dCUPSAccounting | -dCUPSMessages | -dDepletion=<TT
CLASS="REPLACEABLE"
><I
>depletion</I
></TT
> | -dDryTime=<TT
CLASS="REPLACEABLE"
><I
>seconds</I
></TT
> | -sDuplexCapability=<TT
CLASS="REPLACEABLE"
><I
>capability</I
></TT
> | -sIntensityRendering=<TT
CLASS="REPLACEABLE"
><I
>method</I
></TT
> | -dLeadingEdge=<TT
CLASS="REPLACEABLE"
><I
>edge</I
></TT
> | -dManualFeed | -sMediaConfigurationFile=<TT
CLASS="REPLACEABLE"
><I
>pathname</I
></TT
> | -dMediaPosition=<TT
CLASS="REPLACEABLE"
><I
>position</I
></TT
> | -sMedium=<TT
CLASS="REPLACEABLE"
><I
>medium</I
></TT
> | -dOnlyCRD | -sPageCountFile=<TT
CLASS="REPLACEABLE"
><I
>pathname</I
></TT
> | -sPCLInit1=<TT
CLASS="REPLACEABLE"
><I
>string</I
></TT
> | -sPCLInit2=<TT
CLASS="REPLACEABLE"
><I
>string</I
></TT
> | -sPJLJob=<TT
CLASS="REPLACEABLE"
><I
>jobname</I
></TT
> | -sPJLLanguage=<TT
CLASS="REPLACEABLE"
><I
>language</I
></TT
> | -sPrintQuality=<TT
CLASS="REPLACEABLE"
><I
>quality</I
></TT
> | -dRasterGraphicsQuality=<TT
CLASS="REPLACEABLE"
><I
>quality</I
></TT
> | -dSendBlackLast | -dSendNULs=<TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
> | -dShingling=<TT
CLASS="REPLACEABLE"
><I
>shingling</I
></TT
> | -sSubdevice=<TT
CLASS="REPLACEABLE"
><I
>subdevice</I
></TT
> | -dTumble | -dUseCard=<TT
CLASS="REPLACEABLE"
><I
>value</I
></TT
>...] [<TT
CLASS="REPLACEABLE"
><I
>file</I
></TT
>...] </P
></DIV
><DIV
CLASS="REFSECT1"
><A NAME="DESCRIPTION"
><H2
>DESCRIPTION</H2
></A
><DIV
CLASS="REFSECT2"
><H3
>Supported Printers</H3
><P
>The ghostscript device driver <B
CLASS="COMMAND"
>pcl3</B
>
(formerly called <B
CLASS="COMMAND"
>hpdj</B
>)
is a ghostscript backend for printers understanding
Hewlett-Packard's Printer Command Language, level 3+
("PCL 3+", also called "PCL 3 Plus").
The driver is intended to support in particular the following printer models:
<BLOCKQUOTE
><P
CLASS="LITERALLAYOUT"
>HP DeskJet<br>
HP DeskJet Plus<br>
HP DeskJet Portable<br>
HP DeskJet 310<br>
HP DeskJet 320<br>
HP DeskJet 340<br>
HP DeskJet 400<br>
HP DeskJet 500<br>
HP DeskJet 500C<br>
HP DeskJet 510<br>
HP DeskJet 520<br>
HP DeskJet 540<br>
HP DeskJet 550C<br>
HP DeskJet 560C<br>
HP DeskJet 600<br>
HP DeskJet 660C<br>
HP DeskJet 670C<br>
HP DeskJet 680C<br>
HP DeskJet 690C<br>
HP DeskJet 850C<br>
HP DeskJet 855C<br>
HP DeskJet 870C<br>
HP DeskJet 890C<br>
HP DeskJet 1120C</P
></BLOCKQUOTE
>
The PCL dialect called "PCL Level 3 enhanced" is apparently a not
entirely compatible modification of PCL 3+.
This driver should basically work with such printers
but you must be more careful which options you select and
you might not be able to exploit all your printer's capabilities.</P
><P
>The driver does <I
CLASS="EMPHASIS"
>not</I
> support printers understanding only
Hewlett-Packard's PPA (Printing Performance Architecture) commands.
If a printer's documentation does not say anything about its
printer command language and
you find a statement like "... is designed for Microsoft Windows" or
"DOS support through Windows only",
the printer is almost certainly a PPA printer and hence is intended
<I
CLASS="EMPHASIS"
>exclusively</I
>
for systems running Microsoft Windows.
(These printers are also erroneously known as "GDI printers"
because they are intended to be accessed through a manufacturer-supplied driver
via Windows' GDI interface.)
There exist ways of using a PPA printer with ghostscript,
but not through <B
CLASS="COMMAND"
>pcl3</B
>.</P
><P
>Different printer models usually implement model-specific subsets of all
PCL-3+ commands or arguments to commands.
You must therefore tell the driver by means of the
<SPAN
CLASS="OPTION"
>Subdevice</SPAN
>
option for which model the generated PCL code is intended.
The model-dependent difference in the generated code is not great.
Apart from media specifications, resolutions and colour capabilities,
one can consider three groups of models
which are treated with significant differences:
<BLOCKQUOTE
><P
></P
><DL
><DT
>Group 1</DT
><DD
><P
>DeskJet, DeskJet Plus, DeskJet 500</P
></DD
><DT
>Group 2</DT
><DD
><P
>DeskJet Portable, DeskJets 3<TT
CLASS="REPLACEABLE"
><I
>xx</I
></TT
>,
400, 5<TT
CLASS="REPLACEABLE"
><I
>xx</I
></TT
> except 500 and 540,</P
></DD
><DT
>Group 3</DT
><DD
><P
>DeskJets 540, 6<TT
CLASS="REPLACEABLE"
><I
>xx</I
></TT
>,
8<TT
CLASS="REPLACEABLE"
><I
>xx</I
></TT
> and 1120C.</P
></DD
></DL
></BLOCKQUOTE
>
The first two groups I call the "old Deskjets",
the third group consists of "new DeskJets".
If you have a PCL-3 printer not appearing in the list above,
the likelihood is still good that it will accept the files generated by
<B
CLASS="COMMAND"
>pcl3</B
>.
You can specify one of the supported subdevices in these cases
(it is sufficient to try one each from the groups just mentioned),
or use the special subdevice names
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> or <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>
which are treated like members of the second and the third group above,
respectively,
with all subdevice-dependent checks having been turned off.</P
><P
>The list of printer models for which this driver is currently known to work is:</P
><P
><BLOCKQUOTE
><P
CLASS="LITERALLAYOUT"
>HP 2000C<br>
HP 2500CM<br>
HP DeskJet 697C<br>
HP DeskJet 850C<br>
HP DeskJet 970C<br>
HP DeskJet 1100C<br>
Xerox DocuPrint M750</P
></BLOCKQUOTE
></P
><P
>Details can be found in the file <TT
CLASS="FILENAME"
>reports.txt</TT
> in the
<B
CLASS="COMMAND"
>pcl3</B
> distribution;
its latest version is available via <B
CLASS="COMMAND"
>pcl3</B
>'s
<A
HREF="http://home.t-online.de/home/Martin.Lottermoser/pcl3.html"
TARGET="_top"
>home
page</A
>.
If you wish to report on the hardware compatibility for a particular
printer model,
please read the file <TT
CLASS="FILENAME"
>how-to-report.txt</TT
>.</P
><P
>Omitting models already mentioned,
previous (<B
CLASS="COMMAND"
>hpdj</B
>) versions of this driver were reported to
work with the following printers:</P
><P
><BLOCKQUOTE
><P
CLASS="LITERALLAYOUT"
>HP DeskJet 340<br>
HP DeskJet 400 (tested for Gray only)<br>
HP DeskJet 420<br>
HP DeskJet 500<br>
HP DeskJet 500C (tested for Gray only)<br>
HP DeskJet 520<br>
HP DeskJet 540<br>
HP DeskJet 560C<br>
HP DeskJet 600<br>
HP DeskJet 610C<br>
HP DeskJet 612C <br>
HP DeskJet 640C <br>
HP DeskJet 660C/660Cse<br>
HP DeskJet 670C<br>
HP DeskJet 672C<br>
HP DeskJet 680C<br>
HP DeskJet 690C<br>
HP DeskJet 690C+<br>
HP DeskJet 693C<br>
HP DeskJet 694C<br>
HP DeskJet 832C<br>
HP DeskJet 855C<br>
HP DeskJet 870Cse/870Cxi<br>
HP DeskJet 880C<br>
HP DeskJet 890C<br>
HP DeskJet 895Cse/895Cxi<br>
HP DeskJet 932C <br>
HP DeskJet 1120C<br>
HP OfficeJet 350 <br>
HP OfficeJet 590<br>
HP OfficeJet 600<br>
HP OfficeJet 625<br>
HP OfficeJet G55 <br>
HP OfficeJet T45 <br>
Lexmark 3000 Color Jetprinter<br>
Olivetti JP792 (see the option <SPAN
CLASS="OPTION"
>SendBlackLast</SPAN
>)</P
></BLOCKQUOTE
></P
><P
>Most of the people who sent me reports did not state to which extent
<B
CLASS="COMMAND"
>hpdj</B
> worked for their printer model.</P
></DIV
><DIV
CLASS="REFSECT2"
><A NAME="COLOURMODELS"
><H3
>Colour Models</H3
></A
><P
>Ignoring photo cartridges which are not supported by <B
CLASS="COMMAND"
>pcl3</B
>,
DeskJet printers can be classified in four categories:</P
><P
></P
><UL
><LI
><P
>The printer has only a black ink cartridge.</P
></LI
><LI
><P
>The printer can print with either a black or a
cyan/magenta/yellow (CMY) cartridge.</P
></LI
><LI
><P
>The printer holds a CMY and a black cartridge simultaneously,
but the two groups of inks are chemically incompatible and should not be
overlayed.
(Don't worry: the printer is not going to explode if they do.
You merely get poorer results because the black ink will spread further
than it should.
This is called "ink bleeding".)</P
></LI
><LI
><P
>The printer holds a CMY and a black cartridge simultaneously
and the inks can be mixed.
(Newer HP DeskJets use such bleed-proof inks.)</P
></LI
></UL
><P
>This leads to four <I
CLASS="FIRSTTERM"
>(process) colour models</I
>
for the driver:
<BLOCKQUOTE
><P
></P
><DL
><DT
>Gray</DT
><DD
><P
>Print in black only.</P
></DD
><DT
>CMY</DT
><DD
><P
>Print with cyan, magenta and yellow.
In this mode, "composite black" consisting of all three inks is used to
stand in for true black.</P
></DD
><DT
>CMY+K</DT
><DD
><P
>Print with all four inks, but never mix black with one of the others.</P
></DD
><DT
>CMYK</DT
><DD
><P
>Print with all four inks.</P
></DD
></DL
></BLOCKQUOTE
>
As a printer with both, a black and a CMY cartridge, can usually also print,
e.g., with black only,
the printer's "cartridge state" merely identifies one of these models as the
maximal one.
Depending on the category of the printer,
the driver will therefore accept one or more models.
The possibilities are:
<BLOCKQUOTE
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
>DeskJet Model</TH
><TH
ALIGN="LEFT"
VALIGN="TOP"
>Colour Models</TH
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
>DeskJet, DeskJet Plus, DeskJet Portable, 500, 510, 520</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Gray</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
>310, 320, 340, 400, 500C, 540, 600</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Gray, CMY</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
>550C, 560C</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Gray, CMY, CMY+K</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
>660C, 670C, 680C, 690C, 850C, 855C, 870C, 890C, 1120C</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>all</TD
></TR
></TABLE
><P
></P
></DIV
></BLOCKQUOTE
>
The subdevices <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> and
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> also permit all colour models.
A printer capable only of CMY might accept CMY+K or CMYK data,
remapping them to CMY,
and a printer capable of CMY+K might remap CMY data to CMY+K.</P
><P
>The colour model CMY+K is not useful if you have a CMYK printer.
In contrast,
if you have a CMY+K or CMYK printer and the two cartridges support different
resolutions,
the colour models Gray or CMY become interesting as well.
In most of these cases
the black cartridge can print at a higher resolution than the CMY cartridge,
although the converse does also occur.
In addition, ghostscript is generally fastest for Gray.</P
><P
>PCL3+ also supports the colour model RGB
although Hewlett-Packard discourages its use.
For this model the printer internally converts the RGB data it receives into
CMY data for printing.
Note that not everything which can be demanded when using a CMY palette
in PCL3+ is also permitted when using RGB.
Because of its limited usefulness,
<B
CLASS="COMMAND"
>pcl3</B
> accepts the colour model RGB only for the subdevices
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>.</P
></DIV
><DIV
CLASS="REFSECT2"
><A NAME="SIZESANDORIENTATIONS"
><H3
>Media Sizes and Orientations</H3
></A
><P
>A PostScript document describes its visible content with respect to
a coordinate system called <I
CLASS="FIRSTTERM"
>default user space</I
>.
Almost all PostScript devices are <I
CLASS="FIRSTTERM"
>page devices</I
> which
paint only a restricted rectangular area in default user space.
Part of the state of a page device is therefore the current
<I
CLASS="FIRSTTERM"
>page size</I
>,
two numbers specifying the width and height of the sheet to be printed on.
These values must be interpreted from default user space,
hence the page size not only describes the
"sheet size" (extension irrespective of orientation) but also the
orientation between page contents and sheet
(portrait if width <= height, landscape otherwise).
The page size is requested by the user or the document,
and it is one of the jobs of the device to satisfy this request.</P
><P
>Ghostscript looks at several sources to determine the page size:</P
><P
></P
><UL
><LI
><P
>the default size configured for <B
CLASS="COMMAND"
>gs</B
>
(usually US Letter or ISO A4 in portrait orientation),</P
></LI
><LI
><P
>the value given to the option <SPAN
CLASS="OPTION"
>PAPERSIZE</SPAN
> in the
invocation,</P
></LI
><LI
><P
>the size requested by the document, unless you specify
<TT
CLASS="USERINPUT"
><B
>-dFIXEDMEDIA</B
></TT
>.</P
></LI
></UL
><P
>The last applicable item in this list overrides the others,
hence the current page size can change at runtime.</P
><P
>The <B
CLASS="COMMAND"
>pcl3</B
> driver splits the page size into sheet size and
page orientation and passes the sheet size to the printer.
This works only if the printer accepts this size
(accepted sizes are listed in your printer's manual).
For the explicitly supported printers,
the driver knows which sizes are accepted
and will refuse to print if an unsupported one is requested.
(If you suspect that <B
CLASS="COMMAND"
>pcl3</B
> is in error concerning what is
supported,
check the list of supported sizes in the PPD file for the subdevice you are
using.)
Group-3 printers also accept a <I
CLASS="FIRSTTERM"
>custom page size</I
> command
which permits printing on arbitrarily-sized media
but only within certain limits which are also known to the driver.
Unlike the sheet size the page orientation is irrelevant for deciding whether
a particular page size is supported or not.
The driver will adapt itself as required by the
PostScript language and rotate the output if necessary.
(I know of only one other ghostscript driver capable of this.)</P
><P
>In setting up the PostScript default user space,
<B
CLASS="COMMAND"
>pcl3</B
>
does not treat envelope sizes differently from other sizes.</P
><P
>The subdevice <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> accepts all sizes supported by
the HP DeskJet 560C,
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> supports all discrete sizes known to the
HP DeskJets 850C/855C/870C/890C and
treats in addition every other size request as a custom page size
without imposing any limits.
If using any of these two subdevices you should change the list of supported
sizes to fit your printer's capabilities;
see the
<A
HREF="gs-pcl3.html#CONFIGURATION"
><I
CLASS="CITETITLE"
>CONFIGURATION</I
></A
>
section below for details.</P
><P
>In order for a document to be printed correctly
a sheet of appropriate size must be provided and the driver must know
what its orientation with respect to the printing mechanism is.
The latter is usually specified by reference to the feeding direction as
"short edge first" or "long edge first".
Don't confuse this kind of orientation with the portrait/landscape
orientation:
the former ("sheet orientation") refers to the orientation of the sheet
with respect to the feeding direction,
the latter ("page orientation") describes the orientation of the sheet with
respect to the page contents (default user space).
These orientations are logically independent:
people inserting paper into the printer need to know about the first,
people composing documents only care about the latter.</P
><P
>Because <B
CLASS="COMMAND"
>pcl3</B
>
has no information about the actual dimension or orientation of the medium
in the input tray,
you must ensure yourself that this is appropriate.
By default, the driver assumes the dimension to be that requested via the
page size,
but you can override this assumption with an <TT
CLASS="LITERAL"
>InputAttributes</TT
>
definition (see the
<A
HREF="gs-pcl3.html#SOURCESANDDESTINATIONS"
><I
CLASS="CITETITLE"
>Media Sources and Destinations</I
></A
>
subsection in the <I
CLASS="CITETITLE"
>CONFIGURATION</I
> section below).</P
><P
>There is no command in PCL3+ to tell the printer about the
sheet's orientation in the input tray,
therefore it cannot be chosen and the manufacturer must prescribe it.
I am not aware of any precise and complete statement from Hewlett-Packard
about what is required in this respect,
hence you should check your printer's manual whether the assumptions made by
<B
CLASS="COMMAND"
>pcl3</B
> are correct or not:
the driver assumes that media are always fed short edge first except when
using the subdevices
<TT
CLASS="USERINPUT"
><B
>hpdj</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdjplus</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj400</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj500</B
></TT
>
or
<TT
CLASS="USERINPUT"
><B
>hpdj500c</B
></TT
>
for printing on envelope sizes
(US no. 10 and ISO DL).
In these cases you should insert the medium long edge first.
If you find that <B
CLASS="COMMAND"
>pcl3</B
>'s default behaviour is incorrect,
you can override it with the option <SPAN
CLASS="OPTION"
>LeadingEdge</SPAN
>
or a media configuration file
(see the
<A
HREF="gs-pcl3.html#CONFIGURATION"
><I
CLASS="CITETITLE"
>CONFIGURATION</I
></A
>
section below).</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Print Quality and Media Properties</H3
><P
>With the introduction of the DeskJet 540, HP added two new PCL commands to the
language: "Print Quality" and "Media Type".
For older DeskJets (groups 1 and 2), similar effects can be
achieved by specifying some technical aspects of the printing process in detail.</P
><P
>You can use the <SPAN
CLASS="OPTION"
>PrintQuality</SPAN
> and
<SPAN
CLASS="OPTION"
>Medium</SPAN
> options to adapt the driver to the desired
output quality and those properties of the medium it must know about,
independent of which kind of subdevice you select.
If it corresponds to a printer understanding the new commands,
the option values are passed through to the printer,
otherwise these specifications are
mapped to the older Depletion, Shingling, and Raster Graphics Quality commands
based on recommendations from HP.
If you are not satisfied with the result in the latter case,
use the options <SPAN
CLASS="OPTION"
>Depletion</SPAN
>,
<SPAN
CLASS="OPTION"
>Shingling</SPAN
> and
<SPAN
CLASS="OPTION"
>RasterGraphicsQuality</SPAN
>
to explicitly set these values.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Diagnostic Messages</H3
><P
>Error messages issued by this driver start with
"<TT
CLASS="COMPUTEROUTPUT"
>? <TT
CLASS="REPLACEABLE"
><I
>component</I
></TT
>:</TT
>"
and warnings with
"<TT
CLASS="COMPUTEROUTPUT"
>?-W <TT
CLASS="REPLACEABLE"
><I
>component</I
></TT
>:</TT
>".
The <TT
CLASS="REPLACEABLE"
><I
>component</I
></TT
> can be
<TT
CLASS="COMPUTEROUTPUT"
>eprn</TT
>,
<TT
CLASS="COMPUTEROUTPUT"
>pcl3</TT
>, or
<TT
CLASS="COMPUTEROUTPUT"
>pclgen</TT
>,
corresponding to the driver's three internal layers:
the <B
CLASS="COMMAND"
>eprn</B
> device extends ghostscript without knowing PCL,
<B
CLASS="COMMAND"
>pclgen</B
> is a module generating PCL without being aware of
ghostscript,
and <B
CLASS="COMMAND"
>pcl3</B
> is the driver proper connecting the other two
layers.</P
><P
>All these messages are written on the standard error stream.</P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><H2
>OPTIONS</H2
><P
>When specifying options for <B
CLASS="COMMAND"
>gs</B
> you should keep in mind
that
case is significant,
that some options must be passed as strings (<TT
CLASS="USERINPUT"
><B
>-s</B
></TT
>)
and others as general tokens (<TT
CLASS="USERINPUT"
><B
>-d</B
></TT
>),
and that <B
CLASS="COMMAND"
>gs</B
>
effectively ignores every option it does not recognize.
Hence some care in spelling parameter names is necessary.</P
><P
>If you are confused by the large number of options, don't worry.
Just ignore those you don't understand and
concentrate first on the following ones,
given here in the order of their importance:
<TT
CLASS="USERINPUT"
><B
>-sDEVICE</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>-sSubdevice</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>-sColourModel</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>-r</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>-sPrintQuality</B
></TT
>,
and
<TT
CLASS="USERINPUT"
><B
>-sMedium</B
></TT
>.
You should also check whether there is an entry in the
<TT
CLASS="FILENAME"
>reports.txt</TT
> file
in the <B
CLASS="COMMAND"
>pcl3</B
> distribution
listing working option combinations for your printer.</P
><DIV
CLASS="REFSECT2"
><H3
>Standard Options</H3
><P
>When calling <B
CLASS="COMMAND"
>gs</B
> with the <B
CLASS="COMMAND"
>pcl3</B
> driver
you can specify any option defined for ghostscript's
<B
CLASS="COMMAND"
>prn</B
>
(printer) device although some have particular meanings or restrictions.
This includes all device-independent options described in
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>gs</SPAN
>(1)</SPAN
>.
You should also look into ghostscript's extended documentation
(file <A
HREF="Use.htm"
TARGET="_top"
><TT
CLASS="FILENAME"
>Use.htm</TT
></A
> and the section
<A
HREF="Language.htm#Device_parameters"
TARGET="_top"
><I
CLASS="CITETITLE"
>Device
parameters</I
></A
>
in <TT
CLASS="FILENAME"
>Language.htm</TT
>). </P
><P
></P
><DL
><DT
><TT
CLASS="USERINPUT"
><B
>-sDEVICE=pcl3</B
></TT
></DT
><DD
><P
>This specification selects the <B
CLASS="COMMAND"
>pcl3</B
>
driver,
but this is not the only way to select it with this option.
See the description of the <SPAN
CLASS="OPTION"
>Subdevice</SPAN
> option below for other
possibilities.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dDuplex[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
> or <TT
CLASS="USERINPUT"
><B
>-dDuplex=null</B
></TT
></DT
><DD
><P
>This parameter requests duplex printing and can be set to
<TT
CLASS="USERINPUT"
><B
>true</B
></TT
> only for <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> and
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>,
and when the
<SPAN
CLASS="OPTION"
>DuplexCapability</SPAN
> value is not <TT
CLASS="USERINPUT"
><B
>none</B
></TT
>.
The default is <TT
CLASS="USERINPUT"
><B
>null</B
></TT
>
which for this driver means that the printer's default setting will be used.</P
><P
>If your printer does not support duplex printing you can achieve the same
effect manually by printing the odd and even pages separately
(use a command like <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>psselect</SPAN
>(1)</SPAN
> from the psutils package for extracting these parts)
and reinserting the paper in between.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-r <TT
CLASS="REPLACEABLE"
><I
>resolution</I
></TT
></B
></TT
></DT
><DD
><P
>This option specifies the resolution in
pixels per inch (ppi; sometimes also called dots per inch, dpi).
The driver checks whether the subdevice selected accepts the given
resolution unless the subdevice is <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> or
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>.
Resolutions supported by at least some of the other subdevices
for some of the colour models are 75, 100, 150, 300, 600300 and 600 ppi.
Consult the PPD files in the <B
CLASS="COMMAND"
>pcl3</B
> distribution if you want
to know the details.
The default resolution for <B
CLASS="COMMAND"
>pcl3</B
> is 300 ppi.</P
><P
>At least the highest possible value should be listed in your printer's manual,
but some care is necessary in the interpretation:
the value given to <B
CLASS="COMMAND"
>pcl3</B
> must be a resolution supported by
the printer's hardware for all the colorants in the process colour model
simultaneously and when operating in raster graphics mode.
You should also keep in mind that if your printer has two cartridges
they might support different sets of resolutions,
i.e., which resolution you can choose might depend on the colour model.
It is also possible that the print quality has to be considered as well.
If you are in doubt and have access to a manufacturer-endorsed driver for your
printer,
use <B
CLASS="COMMAND"
>pcl3opts</B
> to find out about the settings used by that
driver.</P
><P
>At least some of the series-500 DeskJets claim to
permit a resolution of 600 300 ppi.
However,
although these models have a 600 dpi addressable horizontal resolution grid
they do not permit neighbouring pixels to be activated
(and the dots printed still have a diameter of about 1/300 in).
The raster data generated by
<B
CLASS="COMMAND"
>gs</B
>
does not obey this restriction.
In addition, it is possible that the higher resolution is anyway only supported
for the printer's builtin fonts and not for general raster data.</P
><P
>Concerning the DeskJet 870C,
my impression is that although some HP documents and drivers use expressions
like "600x300 dpi C-REt color" for this printer,
the model does not really support a resolution of 600 300 ppi.
First, it does not accept <B
CLASS="COMMAND"
>pcl3</B
>'s output with this resolution,
and second,
if one inspects the best output of HP's Windows driver for this printer
with <B
CLASS="COMMAND"
>pcl3opts</B
>,
one finds that the file uses a "mixed resolution",
i.e., 600 ppi for black and 300 ppi for CMY.
This is not supported by <B
CLASS="COMMAND"
>pcl3</B
>.</P
></DD
></DL
></DIV
><DIV
CLASS="REFSECT2"
><H3
><B
CLASS="COMMAND"
>Pcl3</B
>-Specific Options</H3
><P
></P
><DL
><DT
><TT
CLASS="USERINPUT"
><B
>-dBlackLevels=<TT
CLASS="REPLACEABLE"
><I
>levels</I
></TT
></B
></TT
> and <TT
CLASS="USERINPUT"
><B
>-dCMYLevels=<TT
CLASS="REPLACEABLE"
><I
>levels</I
></TT
></B
></TT
></DT
><DD
><P
>These options set the number of intensity levels per pixel and colorant
to use when printing with black or CMY inks, respectively,
and must be consistent with the colour model.
They permit access to the printer's
Colour Resolution Enhancement technology (C-REt) feature.
The defaults are 0 or 2, depending on the colour model chosen.
Other values are only accepted for the subdevices
<TT
CLASS="USERINPUT"
><B
>hpdj8<TT
CLASS="REPLACEABLE"
><I
>nn</I
></TT
>c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj1120c</B
></TT
>
and <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>,
and when not using the colour model <TT
CLASS="USERINPUT"
><B
>RGB</B
></TT
>.</P
><P
>The subdevice <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>
accepts any non-negative number of levels except 1 up to 256.
The subdevices <TT
CLASS="USERINPUT"
><B
>hpdj8<TT
CLASS="REPLACEABLE"
><I
>nn</I
></TT
>c</B
></TT
>
and <TT
CLASS="USERINPUT"
><B
>hpdj1120c</B
></TT
> accept the
<TT
CLASS="REPLACEABLE"
><I
>levels</I
></TT
> 0, 2, 3 and 4
with the following restrictions if any of the levels is larger than 2
(these restrictions have been determined experimentally with a
DeskJet 850C and are not based on HP documentation):</P
><P
></P
><UL
><LI
><P
>You can't use this feature with draft quality.</P
></LI
><LI
><P
>You can't use a colour model of <TT
CLASS="USERINPUT"
><B
>CMY</B
></TT
>.</P
></LI
><LI
><P
>You must use a resolution of 300 ppi.</P
></LI
><LI
><P
>You must use 4 levels for black.</P
></LI
></UL
><P
>When using the subdevice <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>
you should expect the printer to similarly limit the possibilities.
In particular you must expect the permitted number of levels to depend on
colour model, resolution and print quality.
So far I have not heard of a PCL-3+ printer supporting more than
four intensity levels per colorant.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sColorModel=<TT
CLASS="REPLACEABLE"
><I
>model</I
></TT
></B
></TT
> or <TT
CLASS="USERINPUT"
><B
>-sColourModel=<TT
CLASS="REPLACEABLE"
><I
>model</I
></TT
></B
></TT
></DT
><DD
><P
>This selects the colour model to be used by the driver:
<TT
CLASS="USERINPUT"
><B
>Gray</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>RGB</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>CMY</B
></TT
>, <TT
CLASS="USERINPUT"
><B
>CMY+K</B
></TT
> or
<TT
CLASS="USERINPUT"
><B
>CMYK</B
></TT
>.
The default is <TT
CLASS="USERINPUT"
><B
>Gray</B
></TT
>.
Which colour models are accepted depends on the subdevice, see
<A
HREF="gs-pcl3.html#COLOURMODELS"
><I
CLASS="CITETITLE"
>Colour Models</I
></A
>
in the section <I
CLASS="CITETITLE"
>DESCRIPTION</I
> above.</P
><P
>A value of <TT
CLASS="USERINPUT"
><B
>CMY</B
></TT
> for this option also sets
<TT
CLASS="USERINPUT"
><B
>BlackLevels</B
></TT
> to zero,
and if
<TT
CLASS="USERINPUT"
><B
>CMYLevels</B
></TT
>
is zero when you demand any of <TT
CLASS="USERINPUT"
><B
>CMY</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>CMY+K</B
></TT
> or <TT
CLASS="USERINPUT"
><B
>CMYK</B
></TT
>,
it is set to two.
For <TT
CLASS="USERINPUT"
><B
>RGB</B
></TT
>, effectively the same happens as for
<TT
CLASS="USERINPUT"
><B
>CMY</B
></TT
>.
For all other situations you must ensure yourself that colour model and
intensity levels are consistent or <B
CLASS="COMMAND"
>pcl3</B
> will complain.
This rule implies that you can ignore the level options unless you
want to use a non-default number of levels.</P
><P
>The PostScript page device dictionary entry
<TT
CLASS="LITERAL"
>ProcessColorModel</TT
> will not be correct for a colour model of
<TT
CLASS="USERINPUT"
><B
>CMY</B
></TT
> or <TT
CLASS="USERINPUT"
><B
>CMY+K</B
></TT
>.
(Ghostscript returns the native colour space in this parameter,
not the process colour model.)</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dCompressionMethod=<TT
CLASS="REPLACEABLE"
><I
>method</I
></TT
></B
></TT
></DT
><DD
><P
>PCL interpreters understand several compression methods for raster graphics
data in order to speed up host-printer communication.
The possible choices are:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>0</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Unencoded, non-compressed</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Runlength encoding</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Tagged Image File Format (TIFF) revision 4.0 "Packbits" encoding </TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>3</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Delta Row Compression</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>9</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Compressed Replacement Delta Row Encoding</TD
></TR
></TABLE
><P
></P
></DIV
>
The default method is 9 except for the subdevices
<TT
CLASS="USERINPUT"
><B
>hpdj</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdjplus</B
></TT
>, and
<TT
CLASS="USERINPUT"
><B
>hpdj500</B
></TT
> where it is 3
(these printers do not support method9),
and for the subdevices <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> and
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> where it is 2
(this seems to give the best combination of portability and compression).
Requesting method 3 actually leads to a combination of methods 2 and3.
The driver may temporarily choose method 0 if a compressed data sequence would
be longer than its uncompressed version.</P
><P
>Compression rates can vary drastically, depending on the structure of the input.
However, although the absolute values change, the relative order of efficiency
between the methods is usually the order of increasing
<TT
CLASS="REPLACEABLE"
><I
>method</I
></TT
>.
In short: use method 9 if it is supported.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dConfigureEveryPage[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>This parameter, if set to true, will force the printer to be reconfigured for
every page.
The option is superfluous for printers which are truly PCL-3-conforming.</P
><P
>Use this parameter if you discover that you can print single-page documents
without problems but that the printer does not accept multi-page files.
At present, the only printer I know of for which such a reconfiguration is
needed is the Xerox DocuPrintM750.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dCUPSAccounting[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>You will usually specify this parameter when using <B
CLASS="COMMAND"
>pcl3</B
> as
the final component in a CUPS (Common UNIX Printing System) driver.
It will lead to appropriate page accounting messages on standard error.
The default for this parameter is <TT
CLASS="USERINPUT"
><B
>false</B
></TT
>.</P
><P
>If you have set this parameter to <TT
CLASS="USERINPUT"
><B
>true</B
></TT
> you can't set
it back to <TT
CLASS="USERINPUT"
><B
>false</B
></TT
>.
The driver will generate a warning if this is attempted.</P
><P
>When using <B
CLASS="COMMAND"
>pcl3</B
> within CUPS you will normally set both,
<SPAN
CLASS="OPTION"
>CUPSAccounting</SPAN
> and <SPAN
CLASS="OPTION"
>CUPSMessages</SPAN
>.
There exist, however, CUPS configurations where page accounting messages should
be generated by a command further down the print pipeline than
<B
CLASS="COMMAND"
>pcl3</B
>
(e.g., by a CUPS backend capable of processing PJL Page Status messages
and driving a printer which sends them).
In these cases you should not specify <TT
CLASS="USERINPUT"
><B
>-dCUPSAccounting</B
></TT
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dCUPSMessages[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>Specify this parameter when using <B
CLASS="COMMAND"
>pcl3</B
> as a
component in a CUPS (Common UNIX Printing System) driver.
It will modify the format of error messages and warnings as expected by CUPS.
The default for this parameter is <TT
CLASS="USERINPUT"
><B
>false</B
></TT
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dDepletion=<TT
CLASS="REPLACEABLE"
><I
>depletion</I
></TT
></B
></TT
></DT
><DD
><P
>This option is only available for old DeskJets
(including <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>)
and when printing in colour.
The integer <TT
CLASS="REPLACEABLE"
><I
>depletion</I
></TT
> controls an algorithm for
removing certain pixels from the image;
this leads to less ink being applied to the medium.
The possible values for <TT
CLASS="REPLACEABLE"
><I
>depletion</I
></TT
> are:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>No depletion</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>25%</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>3</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>50%</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>4</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>25% with gamma correction</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>5</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>50% with gamma correction</TD
></TR
></TABLE
><P
></P
></DIV
>
The default value is derived from
<SPAN
CLASS="OPTION"
>Medium</SPAN
> and <SPAN
CLASS="OPTION"
>PrintQuality</SPAN
>.
The values 4 and 5 are not understood by the DeskJet 500C,
but even for the other printers these values are not useful because PostScript
permits finer control for gamma correction through transfer functions
(see the subsection
<A
HREF="gs-pcl3.html#TRANSFERFUNCTIONS"
><I
CLASS="CITETITLE"
>Transfer Functions</I
></A
>
in the next section).</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dDryTime=<TT
CLASS="REPLACEABLE"
><I
>delay</I
></TT
></B
></TT
></DT
><DD
><P
>With the exception of the DeskJets 500 and 500C,
series-500 DeskJet printers can be told to guarantee a minimum drying time of
<TT
CLASS="REPLACEABLE"
><I
>delay</I
></TT
>
seconds before the next page of the same print job is dropped on a newly
printed page.
(This interval can be terminated by pressing the Load/Eject button.)
The printer will choose default values depending on the current print quality,
hence it is normally not necessary to specify this option and
the feature is even considered obsolete for post-series-500 DeskJets
although it is still supported by some of them.</P
><P
>Permissible values for
<TT
CLASS="REPLACEABLE"
><I
>delay</I
></TT
>
are <TT
CLASS="USERINPUT"
><B
>null</B
></TT
> and
integers in the range <TT
CLASS="USERINPUT"
><B
>0</B
></TT
>
to <TT
CLASS="USERINPUT"
><B
>1200</B
></TT
>,
where
<TT
CLASS="USERINPUT"
><B
>null</B
></TT
>
instructs
<B
CLASS="COMMAND"
>pcl3</B
>
not to send a corresponding command,
<TT
CLASS="USERINPUT"
><B
>0</B
></TT
>
establishes default values for the current print quality,
and all other values explicitly request the duration in seconds.
The default is <TT
CLASS="USERINPUT"
><B
>null</B
></TT
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sDuplexCapability=<TT
CLASS="REPLACEABLE"
><I
>capability</I
></TT
></B
></TT
></DT
><DD
><P
>Looking at the final result (sheet printed),
there are two kinds of duplex printing identified by the two possible values
for the option <SPAN
CLASS="OPTION"
>Tumble</SPAN
>.
Not all printers capable of duplex printing, however, provide the hardware
support necessary for both,
hence the driver must be told what the printer offers in order to be able to
compensate for the missing functionality.
The parameter <TT
CLASS="USERINPUT"
><B
><TT
CLASS="REPLACEABLE"
><I
>capability</I
></TT
></B
></TT
>
can be any of the following:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>none</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>no duplex capability</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>sameLeadingEdge</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>second pass of sheet occurs with the same leading edge</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>oppositeLeadingEdge</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>second pass of sheet occurs with the opposite leading edge</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>both</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>second pass of sheet can occur with either edge</TD
></TR
></TABLE
><P
></P
></DIV
>
This option can only be specified for
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>.
The default value is <TT
CLASS="USERINPUT"
><B
>none</B
></TT
>.</P
><P
>The correct setting for the HP DeskJet 970C is
<TT
CLASS="USERINPUT"
><B
>oppositeLeadingEdge</B
></TT
>,
but the printer permits access to its duplex functionality only if you specify
in addition
<TT
CLASS="USERINPUT"
><B
>-sPJLLanguage=PCL3GUI -dOnlyCRD</B
></TT
>.
(Many thanks to Dawei W. Dong for an extensive series of experiments.)</P
><P
>If a printer does not offer hardware support for both orientations,
the document to be printed must execute <TT
CLASS="LITERAL"
>showpage</TT
> after a
possible page-level <TT
CLASS="LITERAL"
>restore</TT
> and not before,
otherwise the driver will not be able to compensate for the missing
functionality
and only one of the two <SPAN
CLASS="OPTION"
>Tumble</SPAN
> values will work.
All DSC-3.0-conforming PostScript files have the required property.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sIntensityRendering=<TT
CLASS="REPLACEABLE"
><I
>method</I
></TT
></B
></TT
></DT
><DD
><P
>Most printers,
including every PCL-3+ printer I know of,
can render only a small number of intensities per pixel and colorant.
In the most frequent case, merely two levels are possible.
As this is usually not sufficient,
various methods have been devised to achieve a larger palette;
this is possible at the expense of spatial resolution.
Because of this tradeoff between effective resolution and the number of
colours which can be distinguished,
the best method for a given document depends on the contents of the document
and the user should therefore be able to select it.</P
><P
>The <B
CLASS="COMMAND"
>pcl3</B
> driver supports the following
<TT
CLASS="USERINPUT"
><B
><TT
CLASS="REPLACEABLE"
><I
>methods</I
></TT
></B
></TT
> for intensity
rendering:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>printer</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>use the printer's capabilities directly</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>halftones</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>use ghostscript's halftoning implementation</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>Floyd-Steinberg</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>use Floyd-Steinberg error diffusion</TD
></TR
></TABLE
><P
></P
></DIV
>
The default method is <TT
CLASS="USERINPUT"
><B
>halftones</B
></TT
>.
The methods differ only in their treatment of intensities which cannot be
represented directly by the printer.
If your document contains for example only black text,
they all produce the same result, albeit at different speeds.</P
><P
>With <TT
CLASS="USERINPUT"
><B
>printer</B
></TT
>,
<B
CLASS="COMMAND"
>pcl3</B
> will cause everything to be painted
at the full hardware resolution but will have to map all colours to the nearest
levels the printer can represent directly.
For a CMY or CMYK printer with two intensity levels,
this results in just 8 useful colours per pixel.
This value is therefore usually only sensible for documents with a small number
of widely different saturated colours
where accurate colour reproduction is of minor importance but
achieving the highest possible resolution is essential.
Another possible application is the case of PostScript input which has already
been adapted to the printer's resolution and available intensity levels.</P
><P
>With <TT
CLASS="USERINPUT"
><B
>halftones</B
></TT
>,
ghostscript will use what looks like standard PostScript halftoning algorithms.
For details, consult a PostScript manual.
However, you should know that ghostscript's current halftoning
implementation has some problems:
<P
></P
><UL
><LI
><P
>The algorithm cannot handle different non-zero values for
<SPAN
CLASS="OPTION"
>BlackLevels</SPAN
> and <SPAN
CLASS="OPTION"
>CMYLevels</SPAN
>.
In this situation <B
CLASS="COMMAND"
>gs</B
> will in general assume
that the number of black levels available is equal to that for CMY levels.
Depending on which of the numbers is smaller, there will then either be unused
black levels or some will be used more than once.</P
></LI
><LI
><P
>When you are using values larger than 2 for <SPAN
CLASS="OPTION"
>BlackLevels</SPAN
> or
<SPAN
CLASS="OPTION"
>CMYLevels</SPAN
>,
ghostscript does not discover by itself that it could now achieve the same
number of shades with smaller halftone cells.</P
></LI
><LI
><P
>Most of the ways of increasing the halftone screen frequency seem to fail.
Ihave been successful only with the somewhat pedestrian approach of
using threshold arrays,
and even that worked only for some cases.</P
></LI
><LI
><P
>For particular CMYK values and with ghostscript version6 or higher,
the colour becomes drastically wrong.
One example is CMYK = (0.99998472, 0.002549, 0, 0.00367827);
this should be almost a pure cyan but is instead displayed as a sort of pink.
If one subtracts one unit in the last position for any of the non-zero
components,
the result becomes acceptable.
The problem has not been observed with ghostscript5.50.</P
></LI
><LI
><P
>For ghostscript versions up to and including 5.50,
if you are using the colour model <TT
CLASS="USERINPUT"
><B
>CMYK</B
></TT
>
and more than 2 black levels you should not set merely a single halftone screen
(<TT
CLASS="LITERAL"
>setscreen</TT
>, a type-1 or a type-3 halftone dictionary)
because
ghostscript's dithering routine can in this case return non-monotonic levels of
black for monotonic input intensities.
However, if you specify independent halftone information for the colour
components,
<B
CLASS="COMMAND"
>gs</B
>
uses a slower but more accurate algorithm instead which does not lead to the
wrong behaviour.
It is not necessary for the halftone information to be different for different
components to achieve this.
Note that ghostscript installs separate halftone screens for CMYK devices by
default if the resolution is at least 150 ppi.</P
></LI
></UL
>
Whenever you modify the halftone screens you should therefore use a test file
like
<TT
CLASS="FILENAME"
>levels-test.ps</TT
> in the <B
CLASS="COMMAND"
>pcl3</B
> distribution
to check whether you obtain the desired result.
In particular,
you should count the number of intensities you can distinguish
for a single colorant:
if it is obviously not one plus
the number of pixels in the halftone cell times
one less than the number of hardware intensity levels,
something has gone wrong.
This is, for example, the case if
you specified 4 black levels and a 22 halftone cell,
and you then can distinguish more than 1 + 43 = 13 intensity levels.
You should also watch for non-monotonic jumps in intensity and incompletely
filled shapes.</P
><P
>The value <TT
CLASS="USERINPUT"
><B
>Floyd-Steinberg</B
></TT
> selects Floyd-Steinberg error
diffusion as the method for rendering intensities.
Use this in particular for printing photographs and other documents with
a large number of colours or small irregular shapes.
Regrettably, <B
CLASS="COMMAND"
>pcl3</B
>'s speed is much slower with this
method than in the other cases,
hence this value should only be used when it is really needed
(e.g., when you run into one of ghostscript's halftoning problems)
or when the delay is acceptable.</P
><P
>If you are using ghostscript5.50 and
the page to be rendered needs a lot of memory
(this applies in particular to <TT
CLASS="USERINPUT"
><B
>Floyd-Steinberg</B
></TT
> in colour)
a core dump may result under certain circumstances.
You can get around this by increasing the <SPAN
CLASS="OPTION"
>MaxBitmap</SPAN
> parameter
or by switching to a newer ghostscript version.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dLeadingEdge=<TT
CLASS="REPLACEABLE"
><I
>edge</I
></TT
></B
></TT
></DT
><DD
><P
>This option can be used to specify which edge of the sheet will enter the
printer first.
The permitted values identify this edge by reference to
the orientation of default user space on the sheet
when printing with default settings (except for <SPAN
CLASS="OPTION"
>LeadingEdge</SPAN
>)
and a page size having width <= height
("canonical page in portrait orientation"):
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>null</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>No request for media orientation</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>0</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Short edge; top of canonical page</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Long edge; right side of canonical page</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Short edge; bottom of canonical page</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>3</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Long edge; left side of canonical page</TD
></TR
></TABLE
><P
></P
></DIV
></P
><P
>As far as I know,
given a particular PCL-3+ printer and a particular media size,
you cannot choose between short edge first (0 or 2) and
long edge first (1 or 3):
this orientation is prescribed by the manufacturer and should be documented
in your printer's manual.
If in doubt, use short edge first when inserting the medium.</P
><P
>The default value for <TT
CLASS="REPLACEABLE"
><I
>edge</I
></TT
> is
<TT
CLASS="USERINPUT"
><B
>null</B
></TT
>.
This leads either to 0 or to 3,
depending on whether the subdevice normally expects media of this size
to be fed short edge first or long edge first.
See the subsection
<A
HREF="gs-pcl3.html#SIZESANDORIENTATIONS"
><I
CLASS="CITETITLE"
>Media Sizes and
Orientations</I
></A
>
in the <I
CLASS="CITETITLE"
>DESCRIPTION</I
> section above for details.</P
><P
>If you find that you can't set this parameter from PostScript but you can set
it from the command line,
ghostscript's <TT
CLASS="LITERAL"
>setpagedevice</TT
> definition probably does not
pass the parameter to drivers.
Read the <TT
CLASS="FILENAME"
>gs-mods.txt</TT
> file in the <B
CLASS="COMMAND"
>pcl3</B
>
distribution on how to fix this.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dManualFeed[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>It is possible to request a DeskJet printer to wait before each page of a
document until the Load/Eject button is pressed on the printer.
This is intended for situations where some special medium is used or
the medium has to be inserted into an input slot holding only one sheet at a
time.
The default setting for this option is <TT
CLASS="USERINPUT"
><B
>false</B
></TT
>.</P
><P
>In PCL, manual feed is established by requesting a particular media source (2),
hence you should expect that setting this parameter will interfere with the
input tray selection via <TT
CLASS="LITERAL"
>InputAttributes</TT
>
(see the
<A
HREF="gs-pcl3.html#SOURCESANDDESTINATIONS"
><I
CLASS="CITETITLE"
>Media Sources and Destinations</I
></A
>
subsection in the <I
CLASS="CITETITLE"
>CONFIGURATION</I
> section below).</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sMediaConfigurationFile=<TT
CLASS="REPLACEABLE"
><I
>pathname</I
></TT
></B
></TT
></DT
><DD
><P
>This option must specify an existing file containing a list of
supported media sizes, sheet orientations
and corresponding margin descriptions for the printer.
This will take precedence over the builtin subdevice-specific lists.
The format of the file is described in the
<A
HREF="gs-pcl3.html#CONFIGURATION"
><I
CLASS="CITETITLE"
>CONFIGURATION</I
></A
>
section below.
This option is primarily intended to be used with the subdevices
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>.</P
><P
>The default is not to use a media configuration file but the builtin lists.
However,
a media file path can also be specified at compile time overriding the default
behaviour for <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> only.
Using the
<SPAN
CLASS="OPTION"
>MediaConfigurationFile</SPAN
>
option in addition will take precedence over the compiled-in media file path.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dMediaPosition=<TT
CLASS="REPLACEABLE"
><I
>position</I
></TT
></B
></TT
></DT
><DD
><P
>This option sets the standard PostScript page device parameter
<TT
CLASS="LITERAL"
>MediaPosition</TT
> to the specified value.
The integer <TT
CLASS="REPLACEABLE"
><I
>position</I
></TT
> identifies an input tray for
feeding media from and
must refer to an existing entry in the <TT
CLASS="LITERAL"
>InputAttributes</TT
>
dictionary (see the
<A
HREF="gs-pcl3.html#SOURCESANDDESTINATIONS"
><I
CLASS="CITETITLE"
>Media Sources and Destinations</I
></A
>
subsection in the <I
CLASS="CITETITLE"
>CONFIGURATION</I
> section below)
in order to take effect.
The media selection process will use this entry in preference to others
provided it matches the media request.
The default is not to request a particular tray by position but to look for
a best match based on other properties.
As ghostscript's default configuration defines only one entry in
<TT
CLASS="LITERAL"
>InputAttributes</TT
>
this option is ineffective unless you modify <TT
CLASS="LITERAL"
>InputAttributes</TT
>.</P
><P
>With current ghostscript versions
you can't use this parameter to select a
negative <TT
CLASS="REPLACEABLE"
><I
>position</I
></TT
>.
The driver will issue a warning if you attempt it.
If the entry is actually selected,
a <TT
CLASS="LITERAL"
>rangecheck</TT
> error from ghostscript will follow.
This restriction applies only to this device parameter,
not to permissible values for position numbers in
<TT
CLASS="LITERAL"
>InputAttributes</TT
>:
if you want to use a negative <TT
CLASS="REPLACEABLE"
><I
>position</I
></TT
>,
you can do so by making sure that it is the only matching entry
or by selecting it via <TT
CLASS="LITERAL"
>Priority</TT
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sMedium=<TT
CLASS="REPLACEABLE"
><I
>medium</I
></TT
></B
></TT
></DT
><DD
><P
>This option selects the type of medium you wish to print on
as far as the printer needs to know about it.
The possible choices are:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>0</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>plain paper</B
></TT
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>bond paper</B
></TT
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>HP Premium paper</B
></TT
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>3</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>glossy paper</B
></TT
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>4</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>transparency film</B
></TT
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>5</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>quick dry glossy</B
></TT
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>6</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>quick dry transparency</B
></TT
></TD
></TR
></TABLE
><P
></P
></DIV
>
The default is <TT
CLASS="USERINPUT"
><B
>plain paper</B
></TT
>.
For <TT
CLASS="REPLACEABLE"
><I
>medium</I
></TT
>,
you can specify the full strings (these are the standard values),
the (in some cases) one-word strings resulting from dropping "paper", "film",
and "HP",
or an integer.
Out-of-range numerical values generate a warning but are passed through to the
printer if you are using a group-3 subdevice.
If you don't,
the effect is the same as specifying <TT
CLASS="USERINPUT"
><B
>plain paper</B
></TT
>.
The values 5 and 6 are unknown to most DeskJets;
the only official exception I know of is the HP 2000C printer.
Your printer's manual should tell you which kinds of medium are supported.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dOnlyCRD[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>This parameter influences the PCL code generated
and should only be specified for group-3 DeskJets.
The default value is <TT
CLASS="USERINPUT"
><B
>false</B
></TT
> and leads to the new
PCL command Configure Raster Data being used only when it is necessary.
Specifying <TT
CLASS="USERINPUT"
><B
>true</B
></TT
> leads to Configure Raster Data
being used even in those cases where older commands would be sufficient.</P
><P
>There are indications that printers with a PCL dialect of
"PCL Level 3 enhanced" need a value of <TT
CLASS="USERINPUT"
><B
>true</B
></TT
> for this
option to enable some of their functionality.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sPageCountFile=<TT
CLASS="REPLACEABLE"
><I
>pathname</I
></TT
></B
></TT
></DT
><DD
><P
>The <TT
CLASS="REPLACEABLE"
><I
>pathname</I
></TT
>
must specify either a non-existent file in a directory with write permission
or a writable file with a single line containing a non-negative integer.
In the first case,
<B
CLASS="COMMAND"
>pcl3</B
>
will create the file and insert the number of pages printed,
in the second case the number will be incremented by that amount.
Parallel invocations of
<B
CLASS="COMMAND"
>gs</B
>
are permitted to use the same file.
<B
CLASS="COMMAND"
>pcl3</B
>
will also make the initial page count available in its page device dictionary.</P
><P
>This option is mainly intended for spooler backends calling
<B
CLASS="COMMAND"
>pcl3</B
>.
It can be used to keep track of the total number of pages printed and also for
per-job accounting.
I recommend using this option for the first purpose and to make a note of the
values in the resulting files whenever you insert a new ink cartridge.
This will enable you to get an indication of how much a printed page costs,
and hence why it is a good idea to use <TT
CLASS="USERINPUT"
><B
>draft</B
></TT
> quality
whenever possible
and why you should have bought a laser printer.</P
><P
>The driver can be compiled without this option present
but on a UNIX system I would not expect this to be done unless
<B
CLASS="COMMAND"
>gs</B
>
offers the same functionality in a driver-independent manner
which it currently does not.</P
><P
><B
CLASS="COMMAND"
>pcl3</B
>
is distributed with example files <TT
CLASS="FILENAME"
>if-pcl3</TT
> and
<TT
CLASS="FILENAME"
>cups-pcl3</TT
>
of Berkeley and CUPS spooler backends using this option.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sPCLInit1=<TT
CLASS="REPLACEABLE"
><I
>string</I
></TT
></B
></TT
> and <TT
CLASS="USERINPUT"
><B
>-sPCLInit2=<TT
CLASS="REPLACEABLE"
><I
>string</I
></TT
></B
></TT
></DT
><DD
><P
>These options can be used to insert additional PCL commands into
<B
CLASS="COMMAND"
>pcl3</B
>'s output.
Strings given to <SPAN
CLASS="OPTION"
>PCLInit1</SPAN
> will be sent immediately after the
initial Printer Reset command,
the value of <SPAN
CLASS="OPTION"
>PCLInit2</SPAN
> will be emitted shortly before the
raster data of the first page.
The default is not to send any additional commands.</P
><P
>Don't use any of these options unless you understand PCL or someone who does
tells you which value to choose under which circumstances.</P
><P
>Because not every possible <TT
CLASS="REPLACEABLE"
><I
>string</I
></TT
> value can be
passed from the command line,
these parameters are best set from a PostScript file.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sPJLJob=[<SPAN
CLASS="OPTIONAL"
><TT
CLASS="REPLACEABLE"
><I
>jobname</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>This option can be used to surround the generated file with
Printer Job Language (PJL) commands declaring it to be a single print job
called <TT
CLASS="REPLACEABLE"
><I
>jobname</I
></TT
>.
If you omit <TT
CLASS="REPLACEABLE"
><I
>jobname</I
></TT
>, you create an unnamed job.
The string <TT
CLASS="REPLACEABLE"
><I
>jobname</I
></TT
> may not contain double quotes
or control characters except HT
(the forbidden byte codes are 0 to8, 10 to31, and34).</P
><P
>Use this option if your printer understands PJL and
you discover either that settings for one job influence the following job
or that the printer does not recognize the end of the job (lights remain
flashing or a control panel still displays a processing message).
If you send the generated PCL file through a PJL filter,
in particular one querying the printer's state,
omit this option and use the filter for this purpose instead.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sPJLLanguage=<TT
CLASS="REPLACEABLE"
><I
>language</I
></TT
></B
></TT
></DT
><DD
><P
>If a printer supports several command languages and PCL3+ is not the
default,
the printer must be told to switch to PCL3+ at the beginning of the
print job.
Hewlett-Packard's printers use a Printer Job Language (PJL) command
for this purpose.
Specifying this option will switch the printer to
<TT
CLASS="REPLACEABLE"
><I
>language</I
></TT
> for the duration of the job and back to the
default at the end.</P
><P
>This option is not usually necessary except that there are indications that
printers with a PCL dialect of "PCL Level 3 enhanced" need
<TT
CLASS="USERINPUT"
><B
>-sPJLLanguage=PCL3GUI</B
></TT
>
to enable some of their functionality.</P
><P
>You should never use the option unless you have a reliable source for the values
of <TT
CLASS="REPLACEABLE"
><I
>language</I
></TT
> accepted by your printer,
for example the output from <B
CLASS="COMMAND"
>pcl3opts</B
> for a file generated
by an official driver for the printer in question.
Values I have seen so far are <TT
CLASS="COMPUTEROUTPUT"
>PCLSLEEK</TT
> and
<TT
CLASS="COMPUTEROUTPUT"
>PCL3GUI</TT
>.</P
><P
>If you send the generated PCL file through a PJL filter,
omit this option and use the filter for this purpose instead.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sPrintQuality=<TT
CLASS="REPLACEABLE"
><I
>quality</I
></TT
></B
></TT
></DT
><DD
><P
>There are three print quality settings:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>-1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>draft</B
></TT
> or <TT
CLASS="USERINPUT"
><B
>econo</B
></TT
></TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>0</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>normal</B
></TT
></TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>presentation</B
></TT
> or <TT
CLASS="USERINPUT"
><B
>best</B
></TT
></TD
></TR
></TABLE
><P
></P
></DIV
>
The default is <TT
CLASS="USERINPUT"
><B
>normal</B
></TT
>.
You may specify the strings or an integer.
Out-of-range numerical values will generate a warning but are passed
through to the printer if you have selected a group-3 subdevice.
If you haven't,
the effect is the same as specifying <TT
CLASS="USERINPUT"
><B
>normal</B
></TT
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dRasterGraphicsQuality=<TT
CLASS="REPLACEABLE"
><I
>quality</I
></TT
></B
></TT
></DT
><DD
><P
>This option is only available for old DeskJets
(including <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>)
and controls a trade-off between quality and print speed.
The possible values for <TT
CLASS="REPLACEABLE"
><I
>quality</I
></TT
> are:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>0</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Use current control panel setting</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Draft</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>High</TD
></TR
></TABLE
><P
></P
></DIV
>
Specifying this option overrides the default value derived from
<SPAN
CLASS="OPTION"
>Medium</SPAN
> and <SPAN
CLASS="OPTION"
>PrintQuality</SPAN
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dSendBlackLast[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>When printing with four inks,
a PCL-3+ printer expects the colour information for a row of pixels
in the order black, cyan, magenta, and finally yellow (KCMY).</P
><P
>There exists at least one printer (Olivetti JP792) which claims to accept
PCL3+
but expects the colour planes to arrive in the order CMYK.
If you have a printer with this property, use this option.
The default value is <TT
CLASS="USERINPUT"
><B
>false</B
></TT
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dSendNULs=<TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
></B
></TT
></DT
><DD
><P
>Most HP drivers for newer DeskJet printers generate PCL files starting with a
sequence of 600 NUL characters, at least one uses even 9600 NULs.
I have seen no documentation of this feature
but I assume that in PCL the NUL character demands a null operation, i.e.,
does nothing.
Just in case such a NUL sequence is useful under certain circumstances,
this option can be used to request it.
(It has been suggested that this is needed to get the printer to accept
new PCL commands if the previous print job was aborted in the middle of a
command.)
The value <TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
> specifies the number of
NUL characters to send and must not be negative.
The default is zero.
Note that initial NULs might confuse spooler backends which
try to determine the file type from the first few bytes of the file contents.</P
><P
>There is no point in using this option if some other command
in your print pipeline will add Printer Job Language (PJL) commands
to the <B
CLASS="COMMAND"
>pcl3</B
>-generated file.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dShingling=<TT
CLASS="REPLACEABLE"
><I
>shingling</I
></TT
></B
></TT
></DT
><DD
><P
>This option is only available for group-2 DeskJets
(including <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>)
and controls the number of passes the print head makes over the medium.
A higher number permits more neighbouring pixels
to be printed in separate passes,
thereby reducing the likelihood of the ink spreading into the next pixel.
The possible values for <TT
CLASS="REPLACEABLE"
><I
>shingling</I
></TT
> are:
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>0</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>No shingling</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>1</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>2 passes (50% each pass)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>4 passes (25% each pass)</TD
></TR
></TABLE
><P
></P
></DIV
>
Specifying this option overrides the default value derived from
<SPAN
CLASS="OPTION"
>Medium</SPAN
> and <SPAN
CLASS="OPTION"
>PrintQuality</SPAN
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-sSubdevice=<TT
CLASS="REPLACEABLE"
><I
>subdevice</I
></TT
></B
></TT
></DT
><DD
><P
>This option identifies the printer model for which the generated file is
intended.
The following names (mostly of Hewlett-Packard DeskJet printers)
are accepted for <TT
CLASS="REPLACEABLE"
><I
>subdevice</I
></TT
>:</P
><BLOCKQUOTE
><P
><TT
CLASS="USERINPUT"
><B
>hpdj</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdjplus</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdjportable</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj310</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj320</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj340</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj400</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj500</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj500c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj510</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj520</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj540</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj550c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj560c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj600</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj660c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj670c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj680c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj690c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj850c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj855c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj870c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj890c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj1120c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>.</P
></BLOCKQUOTE
><P
>The correspondence with the real printer name is, I hope, obvious.
Note that <TT
CLASS="USERINPUT"
><B
>hpdj</B
></TT
> does not select the
<B
CLASS="COMMAND"
>hpdj</B
> driver (this driver's predecessor)
but configures the <B
CLASS="COMMAND"
>pcl3</B
> driver
for the "classical" HP DeskJet.</P
><P
>With the exception of <TT
CLASS="USERINPUT"
><B
>hpdj</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>,
your <B
CLASS="COMMAND"
>gs</B
> binary might support the subdevice names also
as device names,
i.e., instead of specifying
<TT
CLASS="USERINPUT"
><B
>-sDEVICE=pcl3
-sSubdevice=<TT
CLASS="REPLACEABLE"
><I
>subdevice</I
></TT
></B
></TT
>
you might be able to write
<TT
CLASS="USERINPUT"
><B
>-sDEVICE=<TT
CLASS="REPLACEABLE"
><I
>subdevice</I
></TT
></B
></TT
>.
Check ghostscript's list of available devices to find out whether this is the
case (<TT
CLASS="USERINPUT"
><B
>gs -h</B
></TT
>).</P
><P
>The choice of subdevice primarily determines which resolutions, colour models,
intensity levels and media sizes the driver will accept,
where the output will appear on the page,
and to some extent what PCL code the driver will generate.
Several of the subdevices are treated identically.</P
><P
>The default subdevice is <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>.
It is intended for new PCL-3+ printers not explicitly supported by this driver.
For <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>,
all subdevice-specific checks (e.g., supported resolutions)
are turned off.
Supported media sizes and margin settings are assumed to be identical with
those for the DeskJets 850C/855C/870C/890C,
but you can and should use the <SPAN
CLASS="OPTION"
>MediaConfigurationFile</SPAN
>
option or its compile-time equivalent to override this.
The PCL code generated assumes a new DeskJet in the sense that it should be
at least of the level of a DeskJet 540 supporting the PCL commands Media Type
and Print Quality.
If you specify unequal horizontal and vertical resolutions or
more than two levels of intensity per colorant and pixel,
the printer must in addition understand the Configure Raster Data command.</P
><P
>The subdevice <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> is similar but behaves like
a DeskJet 560C.
It supports all colour models and all uniform resolutions
(the horizontal resolution is equal to the vertical resolution).</P
><P
>If you choose to use <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> or
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>
it is your responsibility to ensure that <B
CLASS="COMMAND"
>pcl3</B
>
is only called with parameter values the printer can handle.
This applies in particular to the resolution and the intensity levels.</P
><P
>If you set this parameter from a PostScript document you must know that
doing this re-initializes most of the <B
CLASS="COMMAND"
>pcl3</B
> parameters
to their default values.
If you set several page device parameters in a single
<TT
CLASS="LITERAL"
>setpagedevice</TT
> call
the <SPAN
CLASS="OPTION"
>Subdevice</SPAN
> option will be treated first.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dTumble[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>boolean</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>When duplex printing is requested (<TT
CLASS="USERINPUT"
><B
>-dDuplex</B
></TT
>),
this parameter specifies whether the y axes of PostScript's default user space
on the two sides of the sheet (assumed to use the same page size) point to the
same edge or to opposite edges.
The default value <TT
CLASS="USERINPUT"
><B
>false</B
></TT
> indicates the same edge and
is usually suitable for binding on the left while
<TT
CLASS="USERINPUT"
><B
>true</B
></TT
> indicates opposite edges and should be used for
binding at the top.</P
><P
>You should note that the interpretation of <SPAN
CLASS="OPTION"
>Tumble</SPAN
> refers to
default user space:
if a PostScript program has rotated the user space coordinate system
the association between the page's apparent "up" direction and the binding edge
will usually not be the one desired.
You should watch for this in particular when creating output
in landscape orientation from an application still generating
PostScript Level 1 code.
If a ghostscript screen driver like <B
CLASS="COMMAND"
>x11</B
> displays the pages
with the right side up you should have nothing to worry about,
even in the case of landscape orientation.
(You must call <B
CLASS="COMMAND"
>gs</B
> directly for this test,
not via <B
CLASS="COMMAND"
>ghostview</B
>.)
If the orientation between the two sides turns out to be wrong,
you will have to print again with the opposite value for
<SPAN
CLASS="OPTION"
>Tumble</SPAN
>.
If that does not help and you have a printer supporting only one of the two
possible duplex orientations,
check the relative order of <TT
CLASS="LITERAL"
>restore</TT
> and
<TT
CLASS="LITERAL"
>showpage</TT
> in the document you printed
(see the <SPAN
CLASS="OPTION"
>DuplexCapability</SPAN
> option above).</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>-dUseCard[<SPAN
CLASS="OPTIONAL"
>=<TT
CLASS="REPLACEABLE"
><I
>value</I
></TT
></SPAN
>]</B
></TT
></DT
><DD
><P
>This option should only be given when printing on A6 and with a printer like the
HP DeskJet 1120C which distinguishes between A6 sheets and A6 postcards.
The option can be used to specifically request one of the alternatives.
The default <TT
CLASS="REPLACEABLE"
><I
>value</I
></TT
> is <TT
CLASS="USERINPUT"
><B
>null</B
></TT
>
and means that sheets are preferred to postcards,
but either is acceptable if supported.
The other permitted values are
<TT
CLASS="USERINPUT"
><B
>true</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>false</B
></TT
>.</P
><P
>This option applies to all page sizes set while ghostscript
executes and this includes the default size set at startup.
If you wish to use <TT
CLASS="USERINPUT"
><B
>-dUseCard=true</B
></TT
> you will
therefore usually have to specify the <SPAN
CLASS="OPTION"
>PAPERSIZE</SPAN
> option in the
call,
otherwise an error will occur because there is no postcard variant for the
usual default sizes (ISO A4 and US Letter).</P
></DD
></DL
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Option Combinations for Hardware Parameters</H3
><P
>Not all combinations of colour model, resolution, number of intensity levels,
print quality and media type are accepted or make sense.
Unfortunately, Hewlett-Packard does not publicly release sufficient information
to find the best possible combinations.
A good way to find reasonable settings is to use <B
CLASS="COMMAND"
>pcl3opts</B
>
on files generated by an official driver for the printer.
You should also check the file <TT
CLASS="FILENAME"
>reports.txt</TT
> in the
<B
CLASS="COMMAND"
>pcl3</B
> distribution.
In addition, I'll provide some remarks here.</P
><P
>As a general rule,
it is unprofitable to use a finer resolution than 300 ppi or more than
2 intensity levels for draft quality.
A coarser resolution in particular can reduce the time needed to generate
and transmit the file to the printer.
Combined with draft quality this leads to what HP calls an "EconoFast" mode.</P
><P
>As an exception, here are recommendations based on official HP documentation
for the DeskJet 1120C.
The table lists the resolution and the number of black or black and CMY levels
if not 2.
<BLOCKQUOTE
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
>Quality</TH
><TH
ALIGN="LEFT"
VALIGN="TOP"
>Gray</TH
><TH
ALIGN="LEFT"
VALIGN="TOP"
>CMYK</TH
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
>draft</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>300 ppi</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>300 ppi</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
>normal</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>300 ppi, 4 levels</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>300 ppi, (4,3) levels</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
>presentation</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>600 ppi</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>300 ppi, (4,4) levels</TD
></TR
></TABLE
><P
></P
></DIV
></BLOCKQUOTE
>
These seem reasonable values for the supported series-800 DeskJets as well.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Checking Page Device Parameters</H3
><P
>As for all ghostscript drivers,
<B
CLASS="COMMAND"
>pcl3</B
>'s command line options correspond to identically-named
PostScript page device parameters
and are accessible in the usual way.
In particular,
it is possible to read the value of a parameter
by letting <B
CLASS="COMMAND"
>gs</B
> execute a command like
<BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
>currentpagedevice /<TT
CLASS="REPLACEABLE"
><I
>parameter</I
></TT
> get ==</PRE
></BLOCKQUOTE
>
where <TT
CLASS="REPLACEABLE"
><I
>parameter</I
></TT
> is the name of the parameter one
would like to inspect,
for example <TT
CLASS="USERINPUT"
><B
>BlackLevels</B
></TT
>.
This is useful if you are in doubt whether the driver has accepted your options.
Of course, for printer-visible parameters you can also use
<B
CLASS="COMMAND"
>pcl3opts</B
> on the output file.</P
><P
>The ghostscript distribution contains a program <TT
CLASS="FILENAME"
>uninfo.ps</TT
>
which displays the page device dictionary on standard output
but does not resolve nested dictionaries.
The <B
CLASS="COMMAND"
>pcl3</B
> distribution contains a similar program
<TT
CLASS="FILENAME"
>dumppdd.ps</TT
> which does not have this limitation.</P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A NAME="CONFIGURATION"
><H2
>CONFIGURATION</H2
></A
><DIV
CLASS="REFSECT2"
><H3
>Media Configuration File</H3
><P
>A <I
CLASS="FIRSTTERM"
>media configuration file</I
>
(<I
CLASS="FIRSTTERM"
>media file</I
> for short) can be used to override the
builtin subdevice-specific lists of supported media sizes
and, for each size, the sheet orientation in the input tray
and the margins enforced by the printer.
This feature is mainly intended to be used in conjunction with
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>:
if you have a model not directly supported by this driver, look up the
supported media sizes,
the rules for inserting media
and the corresponding printable regions in your printer's
manual and enter them in a media file.</P
><TABLE
CLASS="CAUTION"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>CAUTION</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>Entering a media size in the file which is not really supported by your
printer is not useful:
the PCL interpreter will simply ignore the request to set this size,
and printer and driver may have diverging opinions about what the margins
will be.
If you need to print on a medium of a size not supported by your printer,
choose a larger and printer-supported size in PostScript or via
<SPAN
CLASS="OPTION"
>FIXEDMEDIA</SPAN
>,
shift the image if necessary,
establish properly-positioned clipping regions within the real size, and print.
Or you could use a suitable page size recovery policy for PostScript's
media selection process.
However, if you have a newer DeskJet supporting custom page sizes,
all this is not necessary.</P
></TD
></TR
></TABLE
><P
>Margin specifications are important for two reasons:
the values for the left and top margins determine how the output is positioned
on the page,
and sufficiently large values for the right and bottom margins prevent the
print head being caught at the paper's edge and printing beyond the sheet,
respectively.
Because DeskJet printers usually have an inconveniently large bottom margin
(usually 0.4-0.8 inches or 10-20 mm),
one might be tempted to specify smaller values than listed in the
printer's manual.
However, one user reported that this led to the printer depositing a large wet
blob of black ink at the bottom of the page.</P
><P
>A line in the media file can be blank, a comment line (first non-blank
character is '<TT
CLASS="USERINPUT"
><B
>#</B
></TT
>'), or one of the following:</P
><BLOCKQUOTE
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>unit</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="REPLACEABLE"
><I
>unit</I
></TT
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="REPLACEABLE"
><I
>left</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>bottom</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>right</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>top</I
></TT
></TD
></TR
></TABLE
><P
></P
></DIV
></BLOCKQUOTE
><P
>A <TT
CLASS="USERINPUT"
><B
>unit</B
></TT
> line specifies in which units
margin specifications in the following lines should be interpreted.
<TT
CLASS="REPLACEABLE"
><I
>unit</I
></TT
>
can either be <TT
CLASS="USERINPUT"
><B
>in</B
></TT
> (inch) or
<TT
CLASS="USERINPUT"
><B
>mm</B
></TT
> (millimetre)
with <TT
CLASS="USERINPUT"
><B
>in</B
></TT
> being the default.
A unit specification remains in force until overridden by a following
<TT
CLASS="USERINPUT"
><B
>unit</B
></TT
> line.</P
><P
>The second kind of line states that the model supports a particular
media configuration and specifies the hardware margins in force for that case.
The <TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
> word consists of two parts:
a keyword denoting the extension and an optional suffix.
The following keywords are accepted
(entries marked with an asterisk (*) are those used by the subdevice
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>
if no media file is employed;
entries with a section/paragraph sign () similarly identify the sizes
used by <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
>):
<DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>Index3x5in</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US index card 3 5 in</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>EnvChou4</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Japanese long envelope #4 (90 205 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>EnvMonarch</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US Monarch envelope (3.875 7.5 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>Postcard</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Japanese Hagaki card (100 148 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>Index4x6in</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US index card 4 6 in</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>Env10</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US no. 10 envelope (4.125 9.5 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>A6</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO/JIS A6 (105 148 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>A6Card</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO/JIS A6 postcard (105 148 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>EnvDL</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO DL envelope (110 220 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>EnvUS_A2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US A2 envelope (4.375 5.75 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>EnvC6</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO C6 envelope (114 162 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>EnvChou3</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Japanese long envelope #3 (120 235 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>Index5x8in</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US index card 5 8 in</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>Statement</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US Statement (5.5 8.5 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>DoublePostcard</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>double Postcard (148 200 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>A5</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO/JIS A5 (148 210 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>EnvC5</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO C5 envelope (162 229 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>ISOB5</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO B5 (176 250 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>JISB5</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>JIS B5 (182 257 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>Executive</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US Executive (7.25 10.5 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>A4</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO/JIS A4 (210 297 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>Letter</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US Letter (8.5 11 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>Legal</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US Legal (8.5 14 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>EnvKaku2</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>Japanese Kaku envelope (240 332 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>JISB4</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>JIS B4 (257 364 mm).
This is distinct from ISO B4 (250 353 mm).</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>Tabloid</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>US Tabloid (11 17 in; in landscape orientation also called "Ledger")</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>A3</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>ISO/JIS A3 (297 420 mm)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="USERINPUT"
><B
>HPSuperB</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>what HP calls Super B (13 19 in)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>*<TT
CLASS="USERINPUT"
><B
>CustomPageSize</B
></TT
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>custom page size</TD
></TR
></TABLE
><P
></P
></DIV
>
Note the difference between <TT
CLASS="USERINPUT"
><B
>A6</B
></TT
> (sheet) and
<TT
CLASS="USERINPUT"
><B
>A6Card</B
></TT
> (postcard).
I do not know why Hewlett-Packard associates this distinction with media size
instead of media type.
However, with the exception of the 1120C all DeskJet printers I know of
use only <TT
CLASS="USERINPUT"
><B
>A6Card</B
></TT
> anyway.</P
><P
>In looking at your printer's documentation, bear in mind that a driver might
support more sizes than the printer accepts;
<B
CLASS="COMMAND"
>pcl3</B
> needs to be given the latter values.
If you are in doubt what your printer understands,
<B
CLASS="COMMAND"
>pcl3opts</B
> can tell you which media size another driver
requests.</P
><P
>Custom page sizes are not understood by older printers
and may be used in a media file only for the subdevices
<TT
CLASS="USERINPUT"
><B
>hpdj540</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj6<TT
CLASS="REPLACEABLE"
><I
>nn</I
></TT
>[<SPAN
CLASS="OPTIONAL"
>c</SPAN
>]</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj8<TT
CLASS="REPLACEABLE"
><I
>nn</I
></TT
>c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj1120c</B
></TT
>,
and <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> (group3).
In these cases you can print, within certain limits, on arbitrarily-sized media.
The driver knows these limits and refuses to generate a file if you exceed them.
For <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>, there are no limits.
<B
CLASS="COMMAND"
>pcl3</B
>
will tell the printer to expect a custom page size
only if there is no fitting discrete entry.</P
><P
>Although it is possible, on those printers which support it,
to use a media configuration file containing only a custom page size entry,
I advise against it
because this size specification is only intended as a last resort.
If you have a custom page size entry in the media file,
you should therefore list <I
CLASS="EMPHASIS"
>all</I
> discrete sizes supported by
your printer or at least those which you expect to use.</P
><P
>The size keyword in the <TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
> field can be extended
by the following strings:
<P
></P
><DL
><DT
><TT
CLASS="USERINPUT"
><B
>Big</B
></TT
></DT
><DD
><P
>For <B
CLASS="COMMAND"
>pcl3</B
>, this suffix means banner printing.
In these cases the top and bottom margins are usually zero.
HP DeskJets supporting banner printing do so only for ISO A4 and US Letter.
Your media file should then contain entries for the
<TT
CLASS="REPLACEABLE"
><I
>sizes</I
></TT
>
<TT
CLASS="USERINPUT"
><B
>A4</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>A4Big</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>Letter</B
></TT
>, and
<TT
CLASS="USERINPUT"
><B
>LetterBig</B
></TT
>.</P
></DD
><DT
><TT
CLASS="USERINPUT"
><B
>.Transverse</B
></TT
></DT
><DD
><P
>By default,
<B
CLASS="COMMAND"
>pcl3</B
> assumes that the media listed are fed short edge first.
If you specify this qualifier,
the driver will assume that you are going to feed media of this size
long edge first.
If, for example,
your printer's manual states that envelopes of size ISO DL should be fed
long edge first,
the corresponding <TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
> field in your media file
should contain the string <TT
CLASS="USERINPUT"
><B
>EnvDL.Transverse</B
></TT
>,
not <TT
CLASS="USERINPUT"
><B
>EnvDL</B
></TT
>.</P
><P
>This specification (or its absence) can be overridden with the option
<SPAN
CLASS="OPTION"
>LeadingEdge</SPAN
> in the call.</P
></DD
></DL
>
The builtin lists for the <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> and
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> devices do not contain size entries with any
of these suffixes.</P
><P
>Every media file must contain at least an entry which fits ghostscript's
default page size,
usually ISO A4 or US Letter.
Only those sizes which are listed will be accepted by <B
CLASS="COMMAND"
>pcl3</B
>.
This is independent of a <TT
CLASS="USERINPUT"
><B
>.Transverse</B
></TT
> suffix.
If there are several entries in the media file with the same
<TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
> value,
only the first is used.</P
><P
>The margins in a size entry should be valid for monochrome printing in
raster graphics mode.
If a non-monochrome colour model is selected and unless the bottom margin is
exactly zero,
it will be increased by a subdevice-specific amount.
This increment is zero for <TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> and
<TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
>.</P
><P
>The orientation of the margins refers to the feeding direction:
you should imagine holding the sheet such that the leading edge is at the top
and the side to be printed on is towards you.
Be careful with envelopes:
older (pre-1997) HP documentation usually gives the margins in landscape
orientation
even for those printers where the envelope has to be fed short edge first.
You can check this by looking for the largest margin value:
if it is on the left instead of at the bottom you almost certainly have such a
landscape-based specification;
rotate the values by +90 degrees (quarter-circle counterclockwise) in these
cases.
The margins have to be specified as non-negative floating point numbers
in inches or millimetres
as announced by the last preceding <TT
CLASS="USERINPUT"
><B
>unit</B
></TT
> line.
The floating point format is that of the "C" locale.</P
><P
><B
CLASS="COMMAND"
>pcl3</B
>
is distributed with an example of a media configuration file,
<TT
CLASS="FILENAME"
>example.mcf</TT
>.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>PostScript Configuration Files</H3
><P
>Sometimes it is desirable to execute additional PostScript commands for a
particular file or possibly all files sent to a particular printer or print
queue.
With ghostscript this is easily possible because <B
CLASS="COMMAND"
>gs</B
>
accepts several file names in the invocation and processes them sequentially.
This is particularly appropriate for those PostScript operators which affect
device-specific features and should therefore not appear in a portable page
description
and for settings which would be part
of the interpreter's persistent state when using a real PostScript printer.</P
><P
>The <B
CLASS="COMMAND"
>pcl3</B
> distribution contains examples of filters
<TT
CLASS="FILENAME"
>if-pcl3</TT
> for the Berkeley spooler
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>lpr</SPAN
>(1)</SPAN
>
and <TT
CLASS="FILENAME"
>cups-pcl3</TT
> for the Common UNIX Printing System
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>cupsd</SPAN
>(8)</SPAN
>.
These filters permit the use of a print-queue-specific configuration file.</P
></DIV
><DIV
CLASS="REFSECT2"
><A NAME="SOURCESANDDESTINATIONS"
><H3
>Media Sources and Destinations</H3
></A
><P
>PostScript has a builtin mechanism for selecting media sources and destinations
based on certain properties of the document.
This usually requires a system administrator to set the
<TT
CLASS="LITERAL"
>InputAttributes</TT
> and <TT
CLASS="LITERAL"
>OutputAttributes</TT
>
dictionaries in the device's page device dictionary according to the current
state of the printer and its intended use.
For example, if there are two input trays,
one currently holding paper and the other transparencies,
the administrator could configure the <TT
CLASS="LITERAL"
>InputAttributes</TT
>
dictionary such that print jobs requesting transparencies in a certain manner
automatically fetch media from the second tray
and every job needing a size not currently available will terminate with
an error message.
Unfortunately, in order to work as expected this process usually also requires
some additional action on the part of the entity generating the PostScript code
to be printed.</P
><P
>If your printer is capable of sensing certain properties of media in the
input tray (e.g., media size)
or assumes a fixed association between media properties and input trays
you must expect this functionality to interfere with the process referenced
here.</P
><P
>In the attributes dictionaries,
each tray is identified by an integer,
its <I
CLASS="FIRSTTERM"
>position number</I
>.
When ghostscript successfully matches the document's requirements with trays
the resulting position numbers are accessible to the driver.
The <B
CLASS="COMMAND"
>pcl3</B
> driver uses these numbers (except 0)
directly as arguments
for the PCL commands "Media Source" and "Media Destination", respectively.
For the Media Source values (input trays), I know of the following meanings:
<BLOCKQUOTE
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>-1</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>banner printing</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>1</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>default tray; portable CSF (DJ 340); tray 2 (HP 2500C)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>2</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>manual feed</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>3</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>envelope feed</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>4</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>desktop CSF (DJ 340); tray 3 (HP 2500C)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>5</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>tray 1 (HP 2500C)</TD
></TR
><TR
><TD
ALIGN="RIGHT"
VALIGN="TOP"
>7</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
>auto select (HP 2500C)</TD
></TR
></TABLE
><P
></P
></DIV
></BLOCKQUOTE
>
You'll have to experiment with your printer to find out which values are
accepted and what their interpretation is.
In general,
you can only expect 1 and 2 to work.
Unrecognized values should be simply ignored by the printer
leading to the medium being fetched from the default tray.
To shorten the search, use <B
CLASS="COMMAND"
>pcl3opts</B
>
if you can in order to find out which values other drivers generate.
Don't bother testing the value0:
in PCL its effect is to eject a page and, as this is not needed,
<B
CLASS="COMMAND"
>pcl3</B
> uses it to mean that no particular tray should be
selected.</P
><P
>I do not know of any PCL-3+ printer supporting more than one output tray,
hence the corresponding implementation is based on the speculation that such
a feature, if made available,
would use the same command as in PCL5.
Again, a value of zero is used by <B
CLASS="COMMAND"
>pcl3</B
> to mean
"don't select a particular tray".</P
><P
>Ghostscript's default configuration defines
<TT
CLASS="LITERAL"
>InputAttributes</TT
> and
<TT
CLASS="LITERAL"
>OutputAttributes</TT
> dictionaries with one entry each,
having position number 0 in both cases,
and maps all requests to these positions.
As explained above, this configuration will lead to <B
CLASS="COMMAND"
>pcl3</B
>
not requesting any particular input or output tray.
If you wish to modify this you should consult a PostScript manual,
for example the sections 6.2.1 and 6.2.4 in the
<I
CLASS="CITETITLE"
>PostScript Language Reference</I
>.
However, I'll present here three examples without explanation.
In all cases, the PostScript code shown should be executed before the
document to be printed.</P
><P
>The first example is intended for situations where you always wish to select
a specific input tray:
<BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
><<
/InputAttributes <<
0 null
<TT
CLASS="REPLACEABLE"
><I
>input</I
></TT
> << /PageSize [6 6 524287 524287] >>
>>
>> setpagedevice</PRE
></BLOCKQUOTE
>
Replace <TT
CLASS="REPLACEABLE"
><I
>input</I
></TT
> with the number of the tray
you wish to use.
The second example does the same for the output tray:
<BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
><<
/OutputAttributes <<
0 null
<TT
CLASS="REPLACEABLE"
><I
>output</I
></TT
> << >>
>>
>> setpagedevice</PRE
></BLOCKQUOTE
>
Replace <TT
CLASS="REPLACEABLE"
><I
>output</I
></TT
> with the number of the tray
you wish to use.</P
><P
>For the final example assume that you have one input tray,
filled with media of a certain default size,
and you wish all print jobs requesting another size to automatically switch
to manual feed so you can insert these special sheets at leisure.
In that case,
let <B
CLASS="COMMAND"
>gs</B
> execute the following PostScript code:</P
><BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
><<
/InputAttributes <<
0 << /PageSize [<TT
CLASS="REPLACEABLE"
><I
>width</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>height</I
></TT
>] >>
2 << /PageSize [6 6 524287 524287] >>
/Priority [0 2]
>>
>> setpagedevice</PRE
></BLOCKQUOTE
><P
>For <TT
CLASS="REPLACEABLE"
><I
>width</I
></TT
> and <TT
CLASS="REPLACEABLE"
><I
>height</I
></TT
> you
must insert the actual dimensions of your default size
in units of 1 bp ("big point", 1/72 inch, roughly 0.35 mm);
the tolerance is 5 bp.
In contrast to a document's page size,
the orientation is irrelevant here.</P
><P
>If you drop the second entry and the <TT
CLASS="USERINPUT"
><B
>Priority</B
></TT
> line
in the last example
you obtain a configuration where ghostscript will refuse to print any document
not requesting the specified media size.
If you retain the two lines and you are using the
<TT
CLASS="USERINPUT"
><B
>unspecold</B
></TT
> or <TT
CLASS="USERINPUT"
><B
>unspec</B
></TT
> devices
it is advisable to insert your printer's actual size bounds instead of those
given above.
This will protect you against printing on some sizes
not supported by your printer.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Banner Printing</H3
><P
>Some printers support printing on continuous forms,
also called banners or z-fold media.
Your printer's manual should tell you whether this is supported and in
particular how to load these media.</P
><P
>In order to print on continuous media with <B
CLASS="COMMAND"
>pcl3</B
>,
configure it as follows:
<P
></P
><UL
><LI
><P
>Make sure that input position number -1 will be selected
(see the subsection
<A
HREF="gs-pcl3.html#SOURCESANDDESTINATIONS"
><I
CLASS="CITETITLE"
>Media Sources And Destinations</I
></A
>
above).</P
></LI
><LI
><P
>In the call to <B
CLASS="COMMAND"
>gs</B
>,
select a subdevice supporting the intended "<TT
CLASS="USERINPUT"
><B
>Big</B
></TT
>" size.
By default,
only the subdevices <TT
CLASS="USERINPUT"
><B
>hpdj680c</B
></TT
>,
<TT
CLASS="USERINPUT"
><B
>hpdj690c</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>hpdj1120c</B
></TT
>
support banner printing
(<TT
CLASS="USERINPUT"
><B
>A4Big</B
></TT
> and <TT
CLASS="USERINPUT"
><B
>LetterBig</B
></TT
>).</P
></LI
></UL
>
Don't forget to prepare the printer as well.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Correcting Offsets</H3
><P
>A media configuration file is intended to adapt
<B
CLASS="COMMAND"
>pcl3</B
>
to the difference in margin settings between printer models and should usually
contain "official" information,
preferably taken from the model's manual.</P
><P
>A different situation arises if a particular printer's output is not properly
positioned on the page even if the margin information is correct for this
model.
PostScript defines two arrays in the page device dictionary for correcting such
misadjustments,
both containing two numbers describing a desired shift of the page image with
respect to device space coordinate axes but in different units.
The values in the `<TT
CLASS="LITERAL"
>Margins</TT
>' array are interpreted with
respect to a canonical default resolution,
the newer `<TT
CLASS="LITERAL"
>PageOffset</TT
>' array
is taken to be in units of 1/72 inch ("big points", bp).
For <B
CLASS="COMMAND"
>pcl3</B
> the device coordinate system has an
x axis pointing to the right and a y axis pointing downwards
when looking at the sheet with the leading edge at the top and the side to be
printed on towards you.
The canonical default resolution is 300 ppi.</P
><P
>As an example, assume your printer shifts its output 1 mm to the right
and 0.5 mm upwards.
Now create a file containing either the PostScript code
<BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
><< /Margins [-11.8 5.9] >> setpagedevice</PRE
></BLOCKQUOTE
>
("shift 11.8 pixels to the left and 5.9 pixels down") or
<BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
><< /PageOffset [-2.8 1.4] >> setpagedevice</PRE
></BLOCKQUOTE
>
("shift 2.8 bp to the left and 1.4 bp down")
and have it executed by ghostscript before the file to be printed.</P
><P
>The margin test files distributed with <B
CLASS="COMMAND"
>pcl3</B
>
can be used to determine the necessary correction.
You should be aware that you have to expect fluctuations between individual
print jobs,
in particular in the horizontal direction.</P
></DIV
><DIV
CLASS="REFSECT2"
><A NAME="TRANSFERFUNCTIONS"
><H3
>Transfer Functions</H3
></A
><P
>DeskJets usually produce prints which are too dark (too much ink on the page),
most noticeably when using more than 2 intensity levels per colorant.
In this case you should perform
<I
CLASS="FIRSTTERM"
>gamma correction</I
>
by modifying what PostScript calls <I
CLASS="FIRSTTERM"
>transfer functions</I
>.
In the simplest case,
create a file containing the PostScript command</P
><BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
>{<TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
> exp} settransfer</PRE
></BLOCKQUOTE
><P
>where a good value for <TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
>
is usually in the range 0.3-0.5,
and specify this file in ghostscript's command line before the file you wish to
print.
Now the intensities of all colorants will be rescaled by exponentiation
with <TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
>.
Because PostScript intensity values are in the range zero to one
with zero meaning dark and one meaning light (additive interpretation),
a value of <TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
> <1
will lead to lighter colours and
<TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
> >1 results in darker colours.</P
><P
>The best value for <TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
> depends on the
print quality,
the number of intensity levels,
the method chosen for intensity rendering,
the kind of medium you print on,
and the properties of the document to be printed.</P
><P
>Note that there is no common convention for the interpretation of
stand-alone gamma values.
When dealing with other software you might for example find that the boundary
between light and dark is at a value of1000 and
that lighter colours are obtained with larger values.
In order to understand what a "gamma value" means
you therefore need the complete specification of the transfer function and,
if the value does not refer to PostScript,
also information on the interpretation of intensity values.</P
><P
>You can also set independent transfer functions for the four colorants
by using the operator <TT
CLASS="LITERAL"
>setcolortransfer</TT
>
which expects four routines as arguments.
Consult a PostScript manual if you want to learn more about transfer functions.</P
><P
>If you are using <TT
CLASS="USERINPUT"
><B
>-sIntensityRendering=halftones</B
></TT
>,
less than 32 intensity levels per colorant,
a resolution below 800 ppi,
and unless you explicitly set transfer functions,
<B
CLASS="COMMAND"
>gs</B
> applies a default gamma correction roughly corresponding
to a value of 0.8 for <TT
CLASS="REPLACEABLE"
><I
>number</I
></TT
>.</P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><H2
>LIMITATIONS</H2
><DIV
CLASS="REFSECT2"
><H3
>Ghostscript Version</H3
><P
>This manual page contains statements relying on undocumented properties of
ghostscript.
These statements are to my best knowledge and belief correct for current
ghostscript versions
but I do not check all these statements for every new version.</P
><P
>If you are in doubt about a particular point, please check it yourself.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Reliability</H3
><P
>Hewlett-Packard does not publicly provide sufficiently detailed or accurate
technical information to write a reliable driver for all of its PCL-3+ printers.
The amount and quality of available information differs between printer models.
As a consequence,
<B
CLASS="COMMAND"
>pcl3</B
> cannot provide the same level of reliability for all
of its devices.</P
><P
>In my opinion the best-documented printers are those of the DeskJet-500 series.
In addition, I have currently access to a DeskJet 850C which I have used for a
number of experiments.
Support for these printers should be considered to be the most reliable.</P
><P
>The next level of reliability belongs to the remaining printers for which
subdevices exist.
In these cases I had at least access to official HP documentation on supported
media sizes and associated hardware margins
and in addition for almost all cases some information on the supported PCL
commands,
sometimes complemented by PCL files generated by HP's official drivers and sent
me by users.</P
><P
>The third level of reliability is associated with those printers for which
people have sent success reports
but for which I have no official information from HP.</P
><P
>With decreasing reliability it becomes increasingly probable
that there is printer functionality which is not accessible through
<B
CLASS="COMMAND"
>pcl3</B
> or
even that this driver generates PCL code not accepted by the printer.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Mixed Resolutions</H3
><P
>Some printers are able to print with different resolutions for black and
CMY on the same region of a page.
For example, the best quality on a DeskJet 850C is achieved with 600 ppi for
black and 300 ppi for CMY.
This is not supported by <B
CLASS="COMMAND"
>pcl3</B
>.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Photo Cartridges</H3
><P
>From what I've heard, DeskJet printers with photo cartridges installed do not
use a CMYK palette but instead one with 6 components.
I have no official information on this interface
and even if I had it wouldn't help because
ghostscript does not currently support <TT
CLASS="LITERAL"
>DeviceN</TT
> as a
native colour space.</P
></DIV
><DIV
CLASS="REFSECT2"
><H3
>Cartridge Alignment</H3
><P
>DeskJet printers with more than one ink cartridge present should usually be
configured for the proper relative alignment of these cartridges.
Apparently, this information is stored in not-immediately-volatile memory
in the printer together with some settings (like the default media size)
which are not relevant for printing with <B
CLASS="COMMAND"
>pcl3</B
>.
As I do not have information on how this is done,
you will need to use one of HP's programs for this purpose.</P
><P
>On a Linux system, try installing and running HP's DOS DeskJet control panel
<B
CLASS="COMMAND"
>DJCP</B
> in the DOS emulator.
<B
CLASS="COMMAND"
>DJCP</B
> should be present on one of the installation media
you received with your printer.
One user managed to get this to work
for a DJ 670C with DOSEMU 0.98 under RedHat 5.2 by setting
<BLOCKQUOTE
><PRE
CLASS="PROGRAMLISTING"
>$_ports = "0x378 0x379"</PRE
></BLOCKQUOTE
>
in <TT
CLASS="FILENAME"
>dosemu.conf</TT
>.
I was not successful on my Debian system.</P
><P
>The <B
CLASS="COMMAND"
>pcl3</B
> distribution contains a file
<TT
CLASS="FILENAME"
>calign.ps</TT
> which you can print if you wish to check
to which extent the cartridges are aligned.</P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><H2
>KNOWN BUGS</H2
><P
>There are no known bugs in <B
CLASS="COMMAND"
>pcl3</B
> proper,
but there do exist restrictions or bugs in <B
CLASS="COMMAND"
>gs</B
>
which can lead to faulty behaviour when printing with <B
CLASS="COMMAND"
>pcl3</B
>.
As far as I noticed them
they are mentioned in the body of this manual page at the relevant points.</P
><P
>You can find an up-to-date bug list for this driver via
<B
CLASS="COMMAND"
>pcl3</B
>'s home page on the Web.</P
></DIV
><DIV
CLASS="REFSECT1"
><H2
>SEE ALSO</H2
><P
><A HREF="Readme.htm"
><SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>gs</SPAN
>(1)</SPAN
></A
>,
<A HREF="pcl3opts.html"
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>pcl3opts</SPAN
>(1)</SPAN
></A
></P
><P
><A
HREF="http://www.cs.indiana.edu/docproject/programming/postscript/postscript.html"
TARGET="_top"
><I
CLASS="CITETITLE"
>A First Guide to PostScript</I
></A
></P
><P
>Adobe Systems,
<A
HREF="http://partners.adobe.com/asn/developer/PDFS/TN/PLRM.pdf"
TARGET="_top"
><I
CLASS="CITETITLE"
>PostScript Language Reference</I
></A
>.
Third edition, 1999.</P
></DIV
><DIV
CLASS="REFSECT1"
><H2
>AUTHOR</H2
><P
>Copyright 2000, 2001 by Martin Lottermoser,
Greifswaldstrae 28, 38124 Braunschweig, Germany.
E-mail:
<A HREF="mailto:Martin.Lottermoser@t-online.de"><TT
CLASS="EMAIL"
>Martin.Lottermoser@t-online.de</TT
></A>.</P
><P
><B
CLASS="COMMAND"
>pcl3</B
> has a
<A
HREF="http://home.t-online.de/home/Martin.Lottermoser/pcl3.html"
TARGET="_top"
>home page</A
> on the Web.</P
><P
>This is free software,
released under the terms of the
<A
HREF="http://www.gnu.org/copyleft/lesser.html"
TARGET="_top"
>GNU Lesser General Public License (LGPL)</A
>,
Version 2.1.
<I
CLASS="EMPHASIS"
>USE IT AT YOUR OWN RISK.</I
></P
><P
>Version of this reference page: $Revision: 1.21 $
($Date: 2001/08/18 17:19:29 $).</P
></DIV
></BODY
></HTML
>
|