Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 1995 14:42:49 GMT
From:      kelly@fsl.noaa.gov (Sean Kelly)
To:        hasty@rah.star-gate.com
Cc:        hackers@freebsd.org
Subject:   Re: Printer setup for HP laser 4 or Declaser 5100 ?
Message-ID:  <9506171442.AA11950@yarmouth.fsl.noaa.gov>
In-Reply-To: <199506170946.CAA01870@rah.star-gate.com> (message from Amancio Hasty on Sat, 17 Jun 1995 02:46:45 -0700)

next in thread | previous in thread | raw e-mail | index | archive | help
For my PostScript printer, using lprps on a serial line:

# The name of the printer is `ps' or `PS' or `eeep'.  Also, at least
# one of your printers should be named `lp' as the default printer.
lp|ps|PS|eeep|Panasonic KX-P4455 PostScript v51.4:\
# It's connected to the sixth serial port.
	:lp=/dev/ttyd5:\
# These flags make it work (TANDEM, FLUSHO, LITOUT)
	:fs#0xA00001:\
# Communicating at 38400bps.
	:br#38400:\
# Opened for writing and reading.
	:rw:\
# No form feeds, please.
	:sf:\
# Where all the action is: all spooling dirs are under /var/spool/lpd/<name>.
	:sd=/var/spool/lpd/lp:\
# Accounting file is /var/spool/lpd/lp/acct (used by lprps).
	:af=acct:\
# Unlimited job sizes allowed.
	:mx#0:\
# No banner page; that's taken care of by the input filter.  The
# built-in banner page mechanism won't work for PostScript.
	:sh:\
# Main input filter.  This is a binary provided by lprps
# that detects whether the file is plain text or PostScript.  For
# plain text, it runs a text-to-PS filter; for PostScript, it goes
# straight to the printer.
	:if=/usr/local/libexec/psif:\
# Filters for other formats; these are one-line scripts that look like
#   exec <format-to-PS> | lprps
	:df=/usr/local/libexec/psif-dvi:\
	:rf=/usr/local/libexec/psif-fortran:\
	:tf=/usr/local/libexec/psif-troff:
# That's it.

-- 
Sean Kelly
NOAA Forecast Systems Lab, Boulder Colorado USA

If you're ever stuck in some thick undergrowth, in your underwear,
don't stop and think of what other words have 'under' in them, because
that's probably the first sign of jungle madness.  -- Jack Handey



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