simple printer setup
FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files and postscript files) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: simple printer setup
On Fri, Feb 06, 2009 at 08:50:46PM +0100, Pieter Donche wrote: FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files and postscript files) See Chapter 9 of the FreeBSD Handbook, especially §9.4.3 about remote printer setup and §9.4.1.2 about printing plain text on a postscript printer. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp6L1lBGvoFb.pgp Description: PGP signature
Re: simple printer setup
On Fri, 6 Feb 2009, Pieter Donche wrote: FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files and postscript files) The Handbook covers it, but takes its time getting around to network printers. Here's a short form: Put printer hostnames in /etc/hosts or DNS. Make a spool directory. Create a filter script for autodetecting PS and formatting text to PS. Put an entry in /etc/printcap. Enable and run lpd. Then use lpr to print. /usr/ports/print/enscript-* is useful for formatting text into PS. If you need to print something right now, you can use nc(1) to send files to the printers: nc myhplaser 9100 file.ps enscript -o - file.txt | nc myhplaser 9100 -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org