From owner-freebsd-questions Thu Feb 25 7:56:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id B6DC414E1A for ; Thu, 25 Feb 1999 07:56:36 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id LAA03531 for freebsd-questions@FreeBSD.ORG; Thu, 25 Feb 1999 11:05:33 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902251605.LAA03531@cc942873-a.ewndsr1.nj.home.com> Subject: enscript/printer problem To: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Date: Thu, 25 Feb 1999 11:05:33 -0500 (EST) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am having some problems with my printer or enscript; I'm not really sure which. enscript and the printer typically work pretty well, but I am trying to use a 'fancy header' and it just does not work. I wrote a script to be executed by elm to print email from the program. Doesn't work. Try the script from the command line, it appears to work, [122:~] /usr/local/libexec/prmail message [ 1 pages * 1 copy ] sent to printer 1 lines were wrapped But nothing comes out of the printer. Try the print command in the script on the command line, [123:~] enscript --fancy-header=mail -t 'Test Subject' --header='Thu, 25 Feb 1999 07:11:42 -0800' message [ 1 pages * 1 copy ] sent to printer 1 lines were wrapped But nothing comes out of the printer. Try without the fancy header, [124:~] enscript message [ 1 pages * 1 copy ] sent to printer 1 lines were wrapped Viola! It prints. Something is going on in the header, but I cannot figure out where. enscript reports no problem and the lpd log, lpd-errors, does not have any errors. No errors that I can find on the syslogd server the printer reports to (but I don't know how well that is being handled). The mail header file (/usr/local/enscript/mail.hdr) is a product of the FSF I copied from an IRIX machine where it works fine. Here's the top with some info that might ID it. I won't send it all unless requested, % % OPENWINDOWS' mp header % Copyright (c) 1996 Markku Rossi. % Author: Markku Rossi % My problem is that I have no output to diagnose the problem. Anyone have any ideas? Thanks. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message