From owner-freebsd-stable@FreeBSD.ORG Tue Dec 30 21:32:23 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94B3616A4CE for ; Tue, 30 Dec 2003 21:32:23 -0800 (PST) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54A8443D31 for ; Tue, 30 Dec 2003 21:32:20 -0800 (PST) (envelope-from allbery@ece.cmu.edu) Received: by bache.ece.cmu.edu (Postfix, from userid 953) id 11CD89E; Wed, 31 Dec 2003 00:32:19 -0500 (EST) Received: from [128.2.138.2] (VPN2.ECE.CMU.EDU [128.2.138.2]) by bache.ece.cmu.edu (Postfix) with ESMTP id D9986A0; Wed, 31 Dec 2003 00:31:48 -0500 (EST) From: "Brandon S. Allbery KF8NH" To: Malcolm Kay In-Reply-To: <200312311538.29609.malcolm.kay@internode.on.net> References: <1072838049.5571.8.camel@viper.dlqj.net> <200312311538.29609.malcolm.kay@internode.on.net> Content-Type: text/plain Message-Id: <1072848660.48386.2.camel@pyanfar.ece.cmu.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 31 Dec 2003 00:31:01 -0500 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-38.8 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: stable@freebsd.org Subject: Re: printer job date change X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 05:32:23 -0000 On Wed, 2003-12-31 at 00:08, Malcolm Kay wrote: > On Wed, 31 Dec 2003 13:04, pixfbsd wrote: > I would have expected that this would be where the PJL command is > added. > > If some how it is added ahead of the filter you could edit the filter to > pass the input though sed to change the date in the PJL command > to whatever you want. > > > If I manually vi the file I can print, therefore I was trying to find a > > filter that would send the PJL command to set the date to a default > > 01-12-2000 all the time. Another possibility is to install the print/lprng and print/ifhp ports; ifHP can do things like this based on ifhp.conf, and it's designed to work with LPRng (I wouldn't want to try to figure out how to use it with a standard lpd...). -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH