RSS: Blog | Wiki | Forum

Printing

From Easyneufenglish

Jump to: navigation, search

Contents

[edit] Printing on linux

[edit] Reference links

[edit] Constraints and solutions

  • few printers supported ==> less drivers, less PPD files, less auto-detection problems.
  • printing limited in one quality? (600dpi)
  • only one printer simultaneously
  • no possibility for the user to configure his printer

[edit] Space disk problems

[edit] Program dependencies problems

  • using foomatic + no-spool == ghostscript and perl installation
  • Gimp-Print doesn't use ghostscript to print on the other hand, if one wishes to use gimp-print drivers, we must compile IJS support of gimp.

[edit] List of supported printers

[edit] Selected solutions

  • Usage of [wiki:Ghostscript Ghostscript] + IJS Gutenprint driver
  • Fonts installation (ghostscript fonts) to print documents
  • Usage of the lpr (9lpr) program which directly print on the right device

[edit] PPDs

  • One ppd file per supported printer is necessary to able to print. These are generated by the following command:
/usr/bin/foomatic-ppdfile cat foomatic-ppdfile:Epson-Stylus_D68-gutenprint-ijs.5.0.ppd > Epson-Stylus_D68-gutenprint-ijs.5.0.ppd
/usr/bin/foomatic-ppdfile cat foomatic-ppdfile:Epson-PictureMate-gutenprint-ijs.5.0.ppd > Epson-PictureMate-gutenprint-ijs.5.0.ppd
/usr/bin/foomatic-ppdfile cat foomatic-ppdfile:Epson-Stylus_DX3850-gutenprint-ijs.5.0.ppd > Epson-Stylus_DX3850-gutenprint-ijs.5.0.ppd
/usr/bin/foomatic-ppdfile cat foomatic-ppdfile:Epson-Stylus_Photo_RX510-gutenprint-ijs.5.0.ppd > Epson-Stylus_Photo_RX510-gutenprint-ijs.5.0.ppd

The name of the ppd file is obtained by using the followinf command:

/usr/bin/foomatic-ppdfile -A
/usr/bin/foomatic-ppdfile list

Script generating all .ppd files

#!/bin/sh

for ppd in $(/usr/bin/foomatic-ppdfile list | grep -- -gutenprint-ijs.5.0.ppd | cut -f 2 -d \" | cut -f 2 -d :); do \
	/usr/bin/foomatic-ppdfile cat foomatic-ppdfile:$ppd > $ppd;	\
done