assuming that /dev/lp1 is your printer, try this:Quote:>Hi. I am trying to make the filter (if=/usr/lib/lpf) in my printcap work to
>prevent the staircase printing. The lpf is found in Printing-HOWTO with my
>SLACKWARE2.1.0. The lpd complains about 'can't execute it' in my syslog file
>each time lpr is invoked. Nothing is queued. There is no problem to run
>lpf individually. I'm wondering whatelse I should try to make my HPLJ4L
>work. Thank you!
cat <some_file> | /usr/bin/lpf > /dev/lp1
If it doesn't work, the permissions are wrong on your filter -
they should be something like 0755
If it does work, there is still some problem in your printcap -
My hp laserjet 4m has been a real workhorse -
feel free to check out the input filter package on
A linux machine! because a 486 / ACCELERATE your Windoze NT box?
is a terrible thing to waste! / -9.8 m/s^2 works quite well!!!
I have an HP Deskjet 500C printer, I copied the script to avoid the
'staircase effect' in the printing howto to /usr/lib/lpf (actually I tried
both) but it doesn't work. The version that adds ^M with sed sprays a few
^Ms and random garbage to the page and quits. The script that is supposed
to tell the printer to add the CR's prints part of the script itself and
dies. What am I missing/doing wrong?
I did manage to print fine by running 'flip' on a file and catting
it to /lp1.
Liz Stokes | Ilaine's E-Z Garb Workshop ... Ok, it's a year and a
Ilaine de Cameron | half later, you've dealt with dirty sheep, dirty peasants
| and infinite kittens. Now comes the part that takes