On Mon, 11 Jan 1999, Farrell Kenimer of Phoenix, Az USA wrote:
>Sangohn Christian wrote:
>>
>> Hello everyone!
>>
>> How should a command with lpr look like in order to print a ps file with it?
>>
>You need to run it thru a filter such as magicfilter or apsfilter.
>Your /etc/printcap file will direct the ps file if you have it set
>correctly. For example, here is my printcap file:
>
>##PRINTTOOL3## LOCAL
>lp:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :lp=/dev/lp1:\
> :sh:
>##PRINTTOOL3## LOCAL epson 180x180 letter {} Epson24 Default {}
>epson:\
> :sd=/var/spool/lpd/ps:\
> :mx#0:\
> :sh:\
> :lp=/dev/lp1:\
> :if=/var/spool/lpd/ps/apsfilter-1.11:
>
>I used printtool from the RedHat distribution to set it up.
>My $PRINTER is set to epson so that I do not have to add parameters
>to my lpr command line but it's the same as lpr -P epson.
Now I know what the problem is. It is the new tunelp for kernel >= 2.1.131
One day, after sending a print job, I read the followingon my console:
Jan 12 13:46:45 sikasso kernel: lp0: the printing could be optimized using the
TRUST_IRQ flag, see the top of linux/drivers/char/lp.c
In this lp.c it is said that printing could be improved using the fillowing command:
tunelp /dev/lp0 -T on
So I inserted it in my /etc/conf.modules and that was the beginning of my problems
with
ps files. After removing this command I can print ps files again.
!!!!!!!!!!!!!!!!!!!!THANK YOU ALL FOR HELP!!!!!!!!!!!!!!!!!!!
--
,---._________________________________ _ ============ .
/ \ | \ I_ O _I_,==.:
| Greetings from >----|===`------'I `---' I | |:
| Sangohn Christian / _ \ I I | |:'
| [EMAIL PROTECTED] / ( `-,-----============:__;:
| ,---._______________________________/ (_ O __) \_ :
|/ (_______) (_)