I saw a article about the lpd bug. They have advised to change over to
latest lpr version. Please check 
 http://www.redhat.com/support/errata/RHSA-2000-066-05.html

sangunni

On Wed, 18 Oct 2000, sreangsu acharyya wrote:

> 
> Hi,
>   I have been trying to print ps files on an NT networked machine using RH
> printtols, havent been succesful yet.
> 
> heres the /etc/printcap
> 
> lp:\
>       :sd=/var/spool/lpd/lp:\
>       :mx#0:\
>       :if=/var/spool/lpd/lp/filter:\
>       :af=/var/spool/lpd/lp/acct:\
>       :lp=/dev/null:\
>       :sh:
> 
> where the ps file is passed through the filter
> 
> /var/spool/lpd/lp/filter which actually passes the file through specific
> filters.
> 
> --------------------------------------------------------------------
> 
> Now the script "filter" defines a variable as
> 
> FPDIR=/usr/lib/rhs/rhs-printfilters/
> 
> followed by an if elif..
> 
> if [ "$PRINTER_TYPE" = "SMB" ]; then
>     bestpath="$bestpath" | ${FPDIR}smbprint ...
> 
> at the end the final command is called as
> 
>   eval $bestpath 2>/dev/null
> 
>   This is clearly a bug as this will expand to
> 
> ...../usr/lib/rhs/rhs-printfilters//smbprint
> 
>  ----------------------------------------------------------------
> 
> so far its ok. I corrected the above. But still no success with the
> original intent of printing to an NT printer. 
>   Apart fromn that could anyone confirm the bug, i looked up red hat
> errata it hasnt been reported there
>                                   
>  if you are still here ( the mail was long ;)
>             TIA
>                     sreangsu
> 
> 
> 
> 
> ----------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/LIH
> 


----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to