lpr and transparent printing

From: Don Newcomer <newcomer_at_dickinson.edu>
Date: Thu, 9 May 1996 10:45:29 -0400 (EDT)

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_at_dickinson.edu P.O. Box 1773
                                                             Carlisle, PA 17013

                   "If God is your co-pilot, switch seats!"
Received on Thu May 09 1996 - 17:34:28 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT