<driver id="driver/pxldpl">
  <name>pxldpl</name>
  <thirdpartysupplied />
  <execution>
    <ghostscript />
    <prototype>gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE%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}' | perl -p -e 'if (! $did) { s/\xc0.\xf8\x26/\xc0%E\xf8\x26/ &amp;&amp; $did++; }'</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;

    The PPDs from this site use an ugly Perl workaround to patch
    Ghostscript's output data stream in order to make paper tray
    selection work as Ghostscript's built-in driver has a bug which
    breaks this functionality. 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. The bug is also fixed in Ghostscript 8.64 or
    newer.&lt;p&gt;

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