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

filter



Hi1

I am trying to set my printer to work with potato. It is a HP
DeskJet870Cxi. After installing the 
lpr package I can print text files, but with a "stair" effect. I added the
following entry to the 
pritcap file:

  :if=/etc/filter.txt:\

where the file filter.txt is

                #!/usr/bin/perl
                         while(<STDIN>){chop $_; print "$_\r\n";};
                         print "\f"

this filters is supposed to solve the stair effect. But when a try to
print a text file, the system complies about 
the following:

                  cannot execv /etc/filter.txt

what could be wrong?

Thanks in advance!


Marcelo
_____________________
Marcelo Chiapparini
chiappa@centroin.com.br





Reply to: