<driver id="driver/gdi">
  <name>gdi</name>
  <url>http://www.openprinting.org/download/printing/samsung-gdi/</url>
  <thirdpartysupplied />
  <execution>
    <ghostscript />
    <prototype>gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi%A%Z -sOutputFile=-%C -f - | perl -p -e '%E'</prototype>
  </execution>
  <comments>
    <en>

    The name of this driver is very confusing, it is not a driver for
    all GDI printers, it only works with the so-called
    &quot;SmartGDI&quot; or &quot;PrinThru&quot; printers of
    Samsung.

    The original driver published under the GPL by Samsung some years
    ago has a bug which prevents some files from being printed. Grant
    Taylor has implemented a workaround.  On the driver's download
    page (it is here on OpenPrinting, Samsung does not provide
    this driver any more) you will find a patch and an already fixed
    version.&lt;p&gt;

    And &lt;a
    href=&quot;http://www.openprinting.org/download/printing/ghostscript-8.x/drivers/gdi/&quot;&gt;here&lt;/a&gt;
    you get the version for GPL/AFPL Ghostscript 8.x, also with
    Grant's fixes. In ESP Ghostscript 8.x this driver is already
    included. If you want to add it to your Ghostscript, put the
    &lt;tt&gt;gdevgdi.c&lt;/tt&gt; file into the
    &lt;tt&gt;src/&lt;/tt&gt; subdirectory of the Ghostscript source
    package, append &lt;tt&gt;gdevgdi-gdi.mak&lt;/tt&gt; to
    &lt;tt&gt;src/contrib.mak&lt;/tt&gt;, and add
    &quot;&lt;tt&gt;$(DD)gdi.dev&lt;/tt&gt;&quot; to one of the
    &quot;&lt;tt&gt;DEVICE_DEVS...&lt;/tt&gt;&quot; lines of
    &lt;tt&gt;src/Makefile.in&lt;/tt&gt;. Then compile as
    ususal.&lt;p&gt;

    Here is a &lt;a
    href=&quot;http://www.openprinting.org/download/printing/samsung-gdi/gpl-gs-8.54-samsunggdi.patch&quot;&gt;patch
    to add the &quot;gdi&quot; driver to GPL Ghostscript 8.54&lt;/a&gt;. Please
    test it and report on our Samsung forum. Thanks to MJ Ray (mjr at
    phonecoop dot coop) for this contribution.&lt;p&gt;

    This Foomatic entry gives access to all options which the Windows
    driver provides for Samsung's GDI printers. As this was not
    forseen by the original Ghostscript driver from Samsung, a hack
    was applied in this Foomatic entry. The driver does not need to be
    patched for that.&lt;p&gt;

    If you are using MagicFilter 1.2, you can use &lt;a
    href=&quot;http://www.openprinting.org/download/printing/samsung-gdi/gdi-filter.gz&quot;&gt;this
    filter&lt;/a&gt; with the driver (developed on Debian Potato,
    contributed by Felix E. Klee, felix dot klee at inka dot de). To
    install you have to uncompress it and to copy it into your
    MagicFilter directory (&lt;tt&gt;/etc/magicfilter&lt;/tt&gt; on
    Debian). This file does not work with newer versions of
    MagicFilter.

  </en>
  </comments>
  <printers>
    <printer>
      <id>printer/Generic-GDI_Printer</id>
    </printer>
    <printer>
      <id>printer/Lexmark-E210</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1000</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1010</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1020</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1200</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1210</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1220</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1410</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1430</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1440</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1510</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1520</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1610</id>
      <comments>
        <en>

	  Using Ubuntu it seems to work when choosing the ML-1510
	  printer in CUPS, but in OOo sometimes the left &amp; top
	  margins aren't right.&lt;p&gt;

	  &lt;em&gt;Comment on the previous statement:&lt;/em&gt;
	  There's no need to use the driver for the ML-1510, as
	  Samsung offers an own driver for the ML-1610.

	</en>
      </comments>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1710</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1740</id>
      <comments>
        <en>

	  For the ghostscript GDI driver and ML-1710 PPD:&lt;p&gt;

          * Portrait printing is slightly off-center&lt;p&gt;
          * Landscape printing does not work correctly; only half the
            page is printed, and it is offset ~50% up the page.&lt;p&gt;

        </en>
      </comments>
    </printer>
    <printer>
      <id>printer/Samsung-ML-1750</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-200</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-2010</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-210</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-2150</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-2250</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-2550</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-4500</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-5080</id>
    </printer>
    <printer>
      <id>printer/Samsung-ML-6040</id>
    </printer>
    <printer>
      <id>printer/Xerox-Phaser_3110</id>
    </printer>
  </printers>
</driver>
