We have 150 Windows 9x client printing through Samba to LPRng (3.7.4).
Our five dot matrix printers always spit out an extra form feed after
every print job.  I think I've tried every trick (from this mailing
list archive and deja.com) to solve this problem but have failed.  
Does anyone have a solution for this problem?  Can a filter take off
the trailing form feed?

Relevant part of smb.conf
[global]
        printcap name = /etc/printcap
        load printers = yes
        printing = lprng
        print command = /usr/bin/lpr -U%U@%M -P%p -r %s
        lpq command = /usr/bin/lpq  -U%U@%M -P%p
        lprm command = /usr/bin/lprm -U%U@%M -P%p %j

[printers]
        comment = All Printers
        path = /var/spool/lpd/samba
        public = yes
        printable = yes
        guest ok = yes
        print ok = yes        
        browseable = yes 
        lppause command = /usr/sbin/lpc -U%U@%M hold %p %j
        lpresume command = /usr/sbin/lpc -U%U@%M release %p %j
        queuepause command = /usr/sbin/lpc -U%U@%M -P%p stop
        queueresume command = /usr/sbin/lpc -U%U@%M -P%p start
        writable = no

# /etc/printcap
#
genicom_3840|genicom
:server
:rm=192.168.1.241
:rp=PORT1
:sd=/var/spool/lpd/%P
:lf=/var/spool/lpd/%P/log
:af=/var/spool/lpd/%P/acct
:la@
:mx=0
:mc=0
:sh
:fq@
:ff_separator@
:
#
hp5si|hp5
:server
:rm=192.168.1.242
:rp=PORT1
:sd=/var/spool/lpd/%P
:lf=/var/spool/lpd/%P/log
:af=/var/spool/lpd/%P/acct
:la@
:mx=0
:ah
:
#
oki590_1|oki1
:server
:ss=oki_ml590
:rm=192.168.1.240
:rp=PORT1
:sd=/var/spool/lpd/%P
:lf=/var/spool/lpd/%P/log
:af=/var/spool/lpd/%P/acct
:la@
:mx=0:mc=0:sh
:ff_separator@
:fq@
:
#
oki590_2|oki2
:server
:ss=oki_ml590
:rm=192.168.1.240
:rp=PORT2
:sd=/var/spool/lpd/%P
:lf=/var/spool/lpd/%P/log
:af=/var/spool/lpd/%P/acct
:la@
:mx=0:mc=0:sh
:ff_separator@
:fq@
:
#
oki590_3|oki3
:server
:ss=oki_ml590
:rm=192.168.1.240
:rp=PORT3
:sd=/var/spool/lpd/%P
:lf=/var/spool/lpd/%P/log
:af=/var/spool/lpd/%P/acct
:la@
:mx=0:mc=0:sh
:ff_separator@
:fq@
:
#
oki590_4|oki4
:server
:ss=oki_ml590
:rm=192.168.1.240
:rp=PORT4
:sd=/var/spool/lpd/%P
:lf=/var/spool/lpd/%P/log
:af=/var/spool/lpd/%P/acct
:la@
:mx=0:mc=0:sh
:ff_separator@
:fq@
:
#
oki_ml590|okidata
:server
:lf=/var/spool/lpd/%P/errs
:sv=oki590_1,oki590_2,oki590_3,oki590_4
:sd=/var/spool/lpd/%P
:af=/var/spool/lpd/%P/acct
:

-- 
Greg T. Harber                        [EMAIL PROTECTED]
Director, McGee Computing Laboratory  936 468-2508
Department of Computer Science        P.O. Box 13063
Stephen F. Austin State University    Nacogdoches, TX 75962 USA

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to