tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Mark M. Van Overbeke" <markvo () CAA ! MRS ! UMN ! EDU>
To: tru64-unix-managers
Subject: SUMMARY: Printcap, remote printers, and filters (fwd)
Date: Fri, 10 Apr 1998 20:46:32 +0000	[thread overview]
Message-ID: <96078705511476.tru64-unix-managers.marc@archive.invalid> (raw)

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!

                 reply	other threads:[~1998-04-10 20:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox