[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] Imprimante



On Thu, 16 Sep 1999, "Jean-François Straeten" <jfstraeten@csi.com> wrote:
> 
> On Wed, Sep 15, 1999 at 11:54:19AM +0200, Pascal Bleser wrote:
> >  
> > /var/lib/apsfilter/bin/laserjet-a4-auto-mono-300
> 
> Dis, en passant, je pense avoir lu (?) qque part que le "300" dans
> le nom complet de l'imprimante est la résolution qui est passée à
> Ghostscript au moment de l'impression.

Effectivement, apsfilter analyse le nom sous lequel il a été appelé --
mais il faut la forme 300x300.  Par exemple, pour mon imprimante
généralement en 600x600, j'ai fait un lien symbolique
	aps-ljet4-a4-auto-mono-300x300 -> ../bin/apsfilter
pour une sortie économique.

Extrait du script apsfilter:
# if apsfilter is called as:
#
#	aps-djet500-a4-{auto,ascii,raw}-{color,mono}-dpi
#	$1   $2     $3      $4          $5           $6
#	then we get printer type and papersize from the apsfilter call itself
#	after some trickery with cut and sed (where cut is hopefully part of
#	every Unix disrtibution, otherwise get the gnu version of cut
#	METHOD=auto	enables filetype auto recognition
#	METHOD=ascii	force printing method print ascii
#	METHOD=raw	write to print device unfiltered ....
#	COLOR=color	use color-postscript
# 	COLOR=mono	transform color to b&w postscript... so one is
# 			able to save colored pens on a colorprinter
#	DPI=<NUM>x<NUM>	resolution of the printer


Bye,
ChriS
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.