From owner-freebsd-questions Thu Jul 29 22:17:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (Postfix) with ESMTP id 599CF14DF4 for ; Thu, 29 Jul 1999 22:17:46 -0700 (PDT) (envelope-from A_Johns@TurnAround.com.au) Received: from tasajohns (dhcp64.turnaround.com.au [192.168.1.64]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with SMTP id PAA01480; Fri, 30 Jul 1999 15:38:43 +1000 (EST) (envelope-from A_Johns@TurnAround.com.au) From: "Andrew Johns" To: "Brendan Kosowski" , "FreeBSD Questions" Subject: RE: printcap question Date: Fri, 30 Jul 1999 15:15:46 +1000 Message-ID: <001101beda4a$947abf60$4001a8c0@tasajohns.turnaround.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The filter gets a pre-defined set of arguments - to add your own, I believe that you'd need to create separate printcap entries (that have different values for each argument), and then get your users to print to different printers in order to use the different arguments. Someone else may have a better idea of achieving this though. HTH AJ > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Brendan > Kosowski > Sent: Friday, 30 July 1999 13:57 > To: FreeBSD Questions > Subject: printcap question > > > > How do I tell printcap to pass a command line argument to a > filter script > ? > > I have tried :if=/path/filtername argument: > > and also with quotes :if="/path/filtername argument": > > but they did not pass the argument to $1 in the filter script. > > > Thanks, Brendan... > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message