hmmm,

I can't find the correct line for the 'patch':

[printsrv4] /tmp/ifhp-3.3.21/src $ grep LOGMSG ifhp.c | grep Filter_file
                LOGMSG("Filter_file: WARNING - 'ZOPTS' and 'TOPS'
conversion options replaced by {Z} and {T} - '%s'", pgm ); 
                LOGMSG("Filter_file: WARNING - 'ARGV' conversion option
replaced by {ARGV} - '%s'", pgm ); 
        LOGMSG("Filter_file: started %s- '%s'", title, pgm);
                        LOGMSG("Filter_file: '%s' error msg '%s'",
title, buffer );
                LOGMSG("Filter_file: '%s' error msg '%s'", title, buffer
);

The problem is not about not seeing the full command line, but about
ifhp not passing the ZOPTS to the filter...

regards 

Christoph




[EMAIL PROTECTED] schrieb:
> 
> > From [EMAIL PROTECTED] Tue Sep 19 06:56:57 2000
> > Date: Tue, 19 Sep 2000 14:57:48 +0200
> > From: Christoph Beyer <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: Re: LPRng: ZOPTS in ifhp
> >
> ...
> 
> >
> > versions:
> >
> > LPRng 3.6.24
> > IFHP 3.3.21
> >
> > doing echo test | lpr -Zlandscape -Pr02ps10 I get:
> >
> >  Filter_status: file information = 'ascii_text' at 14:28:56.957
> >  Filter_status: initial job type 'ascii_text' at 14:28:56.957
> >  Filter_status: decoded job type 'POSTSCRIPT' at 14:28:56.958
> >  Filter_status: job type 'POSTSCRIPT', converter
> > '/usr/libexec/filters/ascii ' at 14:28:56.958
> >  Filter_status: started CONVERTER- '/usr/libexec/filters/ascii ' at
> > 14:28:56.977
> >  Filter_status: converter done, output 13962 bytes at 14:28:57.304
> >  Filter_status: transferring 13962 bytes at 14:28:57.305
> >  Filter_status: 73 percent done at 14:28:57.306
> >  Filter_status: 100 percent done at 14:28:57.346
> >
> > the option 'landscape' is not passed to the filter, I tried some
> > different syntax but didn't succeed, probably it is something obvious...
> >
> > regards Christoph
> 
> You might be right.  However,  I have taken to truncating the
> converter stuff due to LOOONNG entries and feedback from the users.
> 
> Edit ifhp.c, about line 4137:
> 
>     if( (s = strpbrk( buffer, Whitespace )) ) *s = 0;
>     if( (s = strrchr( buffer, '/' )) ){
>         ++s;
>     } else {
>         s = buffer;
>     }
>     LOGMSG(_("Filter_file: started %s- '%s'"), title, s);
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ change to:
>     LOGMSG(_("Filter_file: started %s- '%s'"), title, pgm);
> 
> and you will see the full command line.
> 
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to