JezK
Edit File: pxldpl.xml
<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> <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> "pxldpl" is not a new driver, but a special way of using the "pxlcolor" Ghostscript driver to make the Dell 3010cn (and probably other color laser printers from Dell) working. The trick is to replace the "PCLXL" by "DPL" (probably "Dell Printer Language") in the "ENTER LANGUAGE" PJL command. DPL is nothing else then PCL XL.<p> Thanks to Samuel Degrande for finding out that DPL is PCL-XL in reality and a special driver, as James "Shamus" Hammons' (jlhamm at acm dot org) "dplix" driver is not needed. Thanks to James Hammons for testing this method of using Ghostscript's PCL-XL driver.<p> A Ghostscript bug in the driver breaks paper input tray selection. This <a href="http://www.openprinting.org/download/printing/ghostscript-pxl-patches/inputslot.patch">patch</a> 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, "1" automatic selection, "2" manual feed, "4" the upper, and "5" 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.<p> </en> </comments> <printers> <printer> <id>printer/Dell-3010cn</id> </printer> </printers> </driver>