unwanted banner page

Raoul Simpson raoul at sirius.com
Mon Dec 11 17:50:25 GMT 2000


Hello,

I'm running Samba 2.0.7 on a newly installed FreeBSD 4.2-RELEASE machine. 
Connected to it is an HP LaserJet 4L.

The problem I'm having is that a banner page (a single, blank page) prints 
after each print job from any of the Windows machines on my network.

Banner pages are not printed from native UNIX print jobs.

I'm using the same smb.conf file that I used on an older FreeBSD 3.3 machine, 
which this new installation replaced. Banner pages were not printed on the 
old machine--this is what I get for upgrading a perfectly good system, I 
guess.

I perused the list archives and added the -h option to lpr (the printing 
related portions of my smb.conf are below), but I still get banner pages. 

As I said, this didn't happen on an old FreeBSD 3.3 machine (I don't know 
what version of Samba it ran), using the same smb.conf and the same 
/etc/printcap.

Has anyone else had a similar issue? Do I need to recompile Samba (I built it 
from FreeBSD's ports collection), setting some flag?

Thank you,

Raoul


--printing portions of smb.conf---
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = yes

# you may wish to override the location of the printcap file
;   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
;   printcap name = lpstat

# added by me 12-4-00
    print command = lpr -r -P%p %s -h

# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = bsd
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no

--/etc/printcap--
lp|local line printer:\
	:sh:\
	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:




More information about the samba mailing list