Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 1998 18:54:31 -0700 (PDT)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        measl@greeves.mfn.org
Cc:        measl@greeves.mfn.org, freebsd-questions@FreeBSD.ORG
Subject:   Re: lpd/lpr problems
Message-ID:  <199806210154.SAA09765@ix.netcom.com>
In-Reply-To: <199806201935.OAA03732@greeves.mfn.org> (message from User Measl on Sat, 20 Jun 1998 14:35:00 -0500 (CDT))

next in thread | previous in thread | raw e-mail | index | archive | help
I have an HP LaserJet III.  If you have a true clone, my setup should
work.

Note that sh is just ':sh:'

===========================================================
Part of my /etc/printcap:
#	@(#)printcap	5.3 (Berkeley) 6/30/90
# $Id: printcap,v 1.5 1996/10/13 16:52:33 joerg Exp $

lp|pcl|Pcl Line Printer:\
  :lp=/dev/lpt0:\
  :sh:\
  :if=/etc/HPLaserjet/PclFilter:\
  :lf=/var/spool/lpd/lp/log:\
  :sd=/var/spool/lpd/lp:

...

===========================================================
Part of my /etc/HPLaserjet/PclFilter:
#!/bin/sh
#
# /etc/HPLaserjet/PclFilter
# simple if filter for hp laserjet
#
# 970704 tomdean
#
#... <snip> ps to pcl mode change
# now, print the file
printf "\033&k2G" && cat && printf "\f" && exit 0

exit 2

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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