* SUMMARY: Printcap, remote printers, and filters (fwd)
@ 1998-04-10 20:46 Mark M. Van Overbeke
0 siblings, 0 replies; only message in thread
From: Mark M. Van Overbeke @ 1998-04-10 20:46 UTC (permalink / raw)
To: tru64-unix-managers
On Fri, 10 Apr 1998, Mark M. Van Overbeke wrote:
> I'm trying to get either an input or output file working in the printcap
> file for a printer on a remote machine. I haven't found anything yet that
> tells me I cannot use the :if or :of printcap entries when I have :rm and
> :rp. Here is my printcap entry:
>
> behm212laser2|Behm212Laser2:\
> :lf=/var/adm/printers/behm212laser2-errs:\
> :lp=:\
> :mx#0:\
> :of=/usr/lbin/lexpsfilt:\
> :rm=umm-distrib.mrs.umn.edu:\
> :rp=Behm212Laser2:\
> :sd=/var/spool/printers/behm212laser2:
>
> The file I try to print shows up in the spool directory, but nothing in the
> file has changed. There is no indication that the print filter ever ran. I
> don't even find (another) entry in the accounting file
> (sa -a acctfile | grep lex ). The count for that program remains unchanged.
> This "program/filter" is supposed to take the input file and make it
> postscript. The filter works if I call it separately. Any ideas?
>
It can be done by defining a "fake" printcap entry which invokes some script
to crunch the file and spit it out to the real printcap entry which shoves
it to the other machine. Thanks to Kevin Oberman and V.S. Glukhov for that
answer. I have done it and the file now gets munched the way I want it. It
still doesn't print correctly, but that is beyond the scope of this
question. Thanks.
Mark
Mark Van Overbeke Sr. Systems Software Programmer
Computing Services
600 East 4th Street
University of Minnesota, Morris e-mail: markvo@cda.mrs.umn.edu
Morris, MN 56267 Phone: 1-320-589-6378
--
Success is the progressive realization of your worthwhile goal or dream!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-04-10 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-10 20:46 SUMMARY: Printcap, remote printers, and filters (fwd) Mark M. Van Overbeke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox