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

Reply via email to