Hi!
Hmm, well now I've successfully build a control_filter, not with perl
but with sh script. I thought I could remodel given -Z options and write
via "echo bblabla >> $controlfile". Everythings going fine but of
course: my controlfile will be ignored, lprng makes a new controlfile
and my work was for nothing.
I've read the cookbook again and again but I can't make it out how to
rewrite the controlfile.
Okay, a single question: how can I rewrite the controlfile via
SHELLSCRIPT-Filter??????
Here's my printcap:
stg-test:\
:rm=[IPADDRESS]:\
:rp=mp:\
:mx#0:\
:filter=/usr/lib/filters/lpf:\
:filter=/usr/libexec/filters/ifhp:\
:ifhp=model=pcl
:control_filter= -$ /usr/lib/filters/remake_opts.sh $-k $-d $A $C
$t $h $J $n $P $Z :\
:sd=/usr/spool/lpd/stg-test:\
:force_localhost:\
:sh:
Thanx in advance
stg
Am Die, 2003-09-02 um 19.45 schrieb [EMAIL PROTECTED]:
> Hi Stefan,
>
> the datafile is in the spool directory (which is defined in the 'printcap'
> or globally in the 'lpd.conf' file). See the manual for the
> incoming_control_filter option or read it online:
>
> http://www.lprng.com/LPRng-HOWTO/LPRng-HOWTO.html#INCOMINGCONTROLFILTER
>
> best regards
> ~christoph
>
#####################################################################################
This e-mail message has been scanned for Viruses and Content
by MailMarshal
For more information please visit www.marshalsoftware.com
#####################################################################################
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------