Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 1995 10:00:43 +0200 (MET DST)
From:      roberto@blaise.ibp.fr (Ollivier Robert)
To:        mbeausej@qc.bell.ca (michel beausejour)
Cc:        ports@FreeBSD.org
Subject:   Re: printcap
Message-ID:  <199504280800.KAA06810@blaise.ibp.fr>
In-Reply-To: <9504280137.AA12618@blmc36.QC.Bell.CA> from "michel beausejour" at Apr 27, 95 09:37:15 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I want to use my deskjet 500 printer on my FreeBSD system\
> how can i set up my printcap and where are the different fileters that i can use.

deskjet|lp|hp|local line printer:\0.0.
        :lp=/dev/lpt0n:sd=/var/spool/lp:lf=/var/log/lpd-errs:\
        :pw#80:pl#64:sb:sh:\from :0.0.
        :if=/usr/libexec/lpr/lpf2:/etc/printcap
 
ps|djps|local printer with Postscript:\
        :lp=/dev/lpt0n:sd=/var/spool/ps:lf=/var/log/lpps-errs:\
        :pw#80:pl#64:sb:sh:\
        :if=/usr/libexec/lpr/ps2dj:\
        :mx#0:sf:

lpf2 is a old version of our current lpf and I don't have the source
anymore... Anyway it does the same thing : converting LF into CR+LF.

ps2dj is the following :

#!/bin/sh
exec /usr/local/bin/gs -q -sDEVICE=djet500 -sPAPERSIZE=a4 -dNOPAUSE -sOutputFile=- -

Your best option is to use apsfilter from A. Klemm. It is easier to
use... I'll convert soon.

-- 
Ollivier ROBERT     -=- The daemon is FREE! -=-     roberto@FreeBSD.ORG
  FreeBSD keltia 2.0.950416-SNAP #17: Sun Apr 16 17:12:07 MET DST 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504280800.KAA06810>