JezK
Edit File: gdi.xml
<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 -dNOMEDIAATTRS -dNOINTERPOLATE -sDEVICE=gdi%A%Z -sOutputFile=-%C -f - | perl -p -e '%E'</prototype> </execution> <comments> <en> <B>This driver is available in the <A href="https://github.com/OpenPrinting/ghostscript-printer-app">Ghostscript Printer Application</A></B><P> <iframe src="https://snapcraft.io/ghostscript-printer-app/embedded?button=black&summary=true" frameborder="0" width="100%" height="300px" style="border: 1px solid #CCC; border-radius: 2px;"></iframe> The name of this driver is very confusing, it is not a driver for all GDI printers, it only works with the so-called "SmartGDI" or "PrinThru" 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.<p> And <a href="http://www.openprinting.org/download/printing/ghostscript-8.x/drivers/gdi/">here</a> 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 <tt>gdevgdi.c</tt> file into the <tt>src/</tt> subdirectory of the Ghostscript source package, append <tt>gdevgdi-gdi.mak</tt> to <tt>src/contrib.mak</tt>, and add "<tt>$(DD)gdi.dev</tt>" to one of the "<tt>DEVICE_DEVS...</tt>" lines of <tt>src/Makefile.in</tt>. Then compile as ususal.<p> Here is a <a href="http://www.openprinting.org/download/printing/samsung-gdi/gpl-gs-8.54-samsunggdi.patch">patch to add the "gdi" driver to GPL Ghostscript 8.54</a>. Please test it and report on our Samsung forum. Thanks to MJ Ray (mjr at phonecoop dot coop) for this contribution.<p> 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.<p> If you are using MagicFilter 1.2, you can use <a href="http://www.openprinting.org/download/printing/samsung-gdi/gdi-filter.gz">this filter</a> 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 (<tt>/etc/magicfilter</tt> 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 & top margins aren't right.<p> <em>Comment on the previous statement:</em> 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:<p> * Portrait printing is slightly off-center<p> * Landscape printing does not work correctly; only half the page is printed, and it is offset ~50% up the page.<p> </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> <printer> <id>printer/Xerox-Phaser_3124</id> </printer> </printers> </driver>