tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Don Newcomer <newcomer () dickinson ! edu>
To: tru64-unix-managers
Subject: lpr and transparent printing
Date: Thu, 09 May 1996 14:45:29 +0000	[thread overview]
Message-ID: <96076332421268.tru64-unix-managers.marc@archive.invalid> (raw)

I have a spooled printer that's used by our library package to print
labels.  It was form feeding and causing the alignment to be messed up so
I changed the printcap entry to include "sf" to suppress form feeds but it
didn't work.  I did discover that 'lpr -x' causes the form feeds to be
suppressed but I have no way of forcing the library software to include -x
in its print command.  My next thought was to put the transparent filter
'xf' in place of the output filter.  Here's the printcap entry:

techsvcs|lp13|labels:\
        :af=/usr/adm/lp13acct:\
        :br#4800:\
        :ct=dev:\
        :fc#0177777:\
        :fs#023:\
        :if=/usr/lbin/la75of:\
        :lf=/usr/adm/lp13err:\
        :lp=/dev/tty0F:\
        :mx#0:\
        :of=/usr/lbin/xf:\
        :pl#66:\
        :pw#80:\
        :sd=/usr/spool/lpd13:\
        :sf:\
        :sh:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:

With the output filter set to la75of it works fine (but form feeds).  When
set as shown above nothing prints.  Here's what shows up in lpr.log:

May  9 10:22:33 beta lpd[4250]: pid=23346 (sig=13,err=-1)
May  9 10:22:35 beta lpd[4250]: pid=16979 (sig=-1,err=0)
May  9 10:22:44 beta lpd[4250]: pid=23242 (sig=13,err=-1)

Does anyone have any idea what these signals mean or how I can get this
puppy to print without form feeding?  Thanks in advance.

================================================================================
Don Newcomer                                                 Dickinson College
newcomer@dickinson.edu                                       P.O. Box 1773
                                                             Carlisle, PA  17013

                   "If God is your co-pilot, switch seats!"

                 reply	other threads:[~1996-05-09 14:45 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