Jose M. Alcaide on Tue, 16 Jan 2001 19:09:47 +0100 (CET)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

"-C class" does not work ????


Hello,

I have just installed the apsfilter-6.0.0 port on my system running
FreeBSD 4.2. I ran SETUP for adding a PostScript printer and everything
was OK.

However, I cannot pass any class options to apsfilter with the lpr(1)'s
"-C class" option. I am pretty sure that lpr does not pass the class
option to the input filter. The printcap(5) manpage states clearly that
the input filter is called with these arguments:

  if [-c] -wwidth -llength -iindent -n login -h host acct-file

In order to test this, I inserted a line "echo $*" at the start of
the apsfilter script, and this is the result:

  -w132 -l66 -i0 -n <user> -h <host> /var/spool/lpd/scr/acct

It is always the same; using the "-C class" option in the lpr(1)
command line does not have any effect.

Am I doing something wrong? I will be thankful for any tip, idea,
or explanation ;-)

-- JMA
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **