<driver id="driver/ljet2p">
 <name>ljet2p</name>
 <url>http://www.ghostscript.com/</url>
 <execution>
  <ghostscript />
  <prototype>gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ljet2p%A%Z -sOutputFile=-%C -f - | perl -p -0033 -e &quot; s/^&amp;l\d+[aA]/$&amp;%E/; &quot; </prototype>
 </execution>
 <comments>
  <en>
    PCL 4 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 the driver has a bug which breaks this
    functionality. This &lt;a
    href="http://www.openprinting.org/download/printing/ghostscript-pcl-patches/inputslot.patch"&gt;patch&lt;/a&gt;
    for GPL Ghostscript 8.63 fixes the problem and allows to set the
    input tray with the "-dMediaPosition=X" commmand line option for
    Ghostscript. "X" is an integer number which depends on the printer
    model and tray. For HP "0" is usually the printer default, "7"
    automatic selection, "2" manual feed, "1" the upper, and "4" the
    lower tray. Note that for PCL 6/XL these numbers are
    different.&lt;p&gt;

  </en>
 </comments>
 <printers>
  <printer>
   <id>printer/Generic-PCL_4_Printer</id>
  </printer>
  <printer>
   <id>printer/Apple-LaserWriter_Select_360</id><!-- Apple LaserWriter Select 360 -->
  </printer>
  <printer>
   <id>printer/Brother-DCP-1200</id><!-- Brother DCP-1200 -->
  </printer>
  <printer>
   <id>printer/Brother-HL-630</id><!-- Brother HL-630 -->
  </printer>
  <printer>
   <id>printer/Brother-HL-1040</id><!-- Brother HL-1040 -->
   <comments>
    <en>Works for 300dpi.</en>
   </comments>
  </printer>
  <printer>
   <id>printer/Brother-MFC-6550MC</id><!-- Brother MFC-6550MC -->
  </printer>
  <printer>
   <id>printer/Brother-MFC-9500</id><!-- Brother MFC-9500 -->
  </printer>
  <printer>
   <id>printer/Brother-MFC-9600</id><!-- Brother MFC-9600 -->
  </printer>
  <printer>
   <id>printer/HP-LaserJet_2D</id><!-- HP LaserJet 2D -->
  </printer>
  <printer>
   <id>printer/HP-LaserJet_2P</id><!-- HP LaserJet 2P -->
  </printer>
  <printer>
   <id>printer/HP-LaserJet_2P_Plus</id><!-- HP LaserJet 2P Plus -->
  </printer>
  <printer>
   <id>printer/Lexmark-Valuewriter_300</id><!-- Lexmark Valuewriter 300 -->
  </printer>
  <printer>
   <id>printer/Minolta-PagePro_8L</id><!-- Minolta PagePro 8L -->
  </printer>
  <printer>
   <id>printer/NEC-SuperScript_860</id><!-- NEC SuperScript 860 -->
  </printer>
  <printer>
   <id>printer/NEC-SuperScript_870</id><!-- NEC SuperScript 870 -->
  </printer>
  <printer>
   <id>printer/NEC-SuperScript_1260</id><!-- NEC SuperScript 1260 -->
  </printer>
  <printer>
   <id>printer/Oki-OL600e</id><!-- Oki OL 600e -->
  </printer>
  <printer>
   <id>printer/Oki-OL400e</id>
  </printer>
  <printer>
   <id>printer/Oki-OL400ex</id><!-- Oki OL400ex -->
  </printer>
  <printer>
   <id>printer/Panasonic-KX-P4410</id><!-- Panasonic KX-P4410 -->
  </printer>
  <printer>
   <id>printer/Panasonic-KX-P6500</id><!-- Panasonic KX-P6500 -->
  </printer>
  <printer>
   <id>printer/Raven-LP-410</id><!-- Raven LP-410 -->
   <comments>
    <en>Appears to work, although memory is tight.</en>
   </comments>
  </printer>
  <printer>
   <id>printer/Star-LS-04</id><!-- Star LS-04 -->
  </printer>
  <printer>
   <id>printer/Xerox-DocuPrint_P12</id><!-- Xerox DocuPrint P12 -->
  </printer>
 </printers>
</driver>
