All I want to do is define a print filter for a print queue called "cco".
The printer itself is connected to a Novell server. I already figured
out how to define filters on local printers by editing the interface
(thanks to the guy who helped me with that), but after 3 or 4 days of
trudging through the manuals (AnswerBook), I still don't quite understand
what to do.
I have a filter called "landscape", that simply changes the printer
(an HP LaserJet II) to landscape mode, cats the file, then changes
the printer back to portrait mode.
If I do this:
cat afile | landscape | lp -d cco
Everything works just fine. However, I want to be able to have "lp"
automatically invoke "landscape" for me. As I've mentioned, I've
waded through the man pages, but just can't figure it out. I defined
my filter using the "lpfilter" command, but it isn't getting invoked.
I'm sure it is just a minor thing.
Could someone out there please help me through this? I'm a quite learner,
and it shouldn't take too much of your time. I know all the commands
that have to be used, and even how to use them. There just seems to
be one vital piece of info missing!
thanks a lot for any help you can give me.
"Sometimes at night I like to punch out the headlights
and just rocket blindly into the dark."
- James Hurley
Twin Peaks, Episode 19