File: pxldpl.xml

package info (click to toggle)
foomatic-db 20161201-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 403,348 kB
  • ctags: 24
  • sloc: xml: 280,777; sh: 153; makefile: 114; python: 8
file content (49 lines) | stat: -rw-r--r-- 2,217 bytes parent folder | download | duplicates (3)
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
<driver id="driver/pxldpl">
  <name>pxldpl</name>
  <thirdpartysupplied />
  <execution>
    <ghostscript />
    <prototype>gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNOMEDIAATTRS -dNOINTERPOLATE%B%A%Z -sOutputFile=- - | perl -0777 -e 'my $d; read(STDIN, $d, 10000); $d =~ s/LANGUAGE = PCLXL/LANGUAGE = DPL/s; print $d; while (read(STDIN, $d, 10000)) {print $d}'</prototype>
    <ppdentry>
      *DefaultResolution: 600dpi
    </ppdentry>
  </execution>
  <comments>
    <en>
    
    &quot;pxldpl&quot; is not a new driver, but a special way of using
    the &quot;pxlcolor&quot; Ghostscript driver to make the Dell
    3010cn (and probably other color laser printers from Dell)
    working. The trick is to replace the &quot;PCLXL&quot; by
    &quot;DPL&quot; (probably &quot;Dell Printer Language&quot;) in
    the &quot;ENTER LANGUAGE&quot; PJL command. DPL is nothing else
    then PCL XL.&lt;p&gt;

    Thanks to Samuel Degrande for finding out that DPL is PCL-XL in
    reality and a special driver, as James &quot;Shamus&quot; Hammons' (jlhamm
    at acm dot org) &quot;dplix&quot; driver is not needed. Thanks to James
    Hammons for testing this method of using Ghostscript's
    PCL-XL driver.&lt;p&gt;

    A Ghostscript bug in the driver breaks paper input tray
    selection. This &lt;a
    href=&quot;http://www.openprinting.org/download/printing/ghostscript-pxl-patches/inputslot.patch&quot;&gt;patch&lt;/a&gt;
    for GPL Ghostscript 8.63 fixes the problem and allows to set the
    input tray with the &quot;-dMediaPosition=X&quot; commmand line
    option for Ghostscript. &quot;X&quot; is an integer number which
    depends on the printer model and tray. For HP &quot;0&quot; is
    usually the printer default, &quot;1&quot; automatic selection,
    &quot;2&quot; manual feed, &quot;4&quot; the upper, and
    &quot;5&quot; the lower tray. Note that for PCL 5/5e these numbers
    are different. This patch is required for Ghostscript 8.63 and
    older so that tray selection with the PPDs of this site works. The
    bug is fixed in Ghostscript 8.64 or newer.&lt;p&gt;

  </en>
  </comments>
  <printers>
    <printer>
      <id>printer/Dell-3010cn</id>
    </printer>
  </printers>
</driver>