From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) Description of problem: I editted lpd.conf to uncomment the following # Purpose: always print banner, ignore lpr -h option default ab@ (FLAG off) but still could not print a banner Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. print something 2. 3. Actual Results: printed output without a banner page Additional info:
Did you put 'ab' on a line on its own?
Yes - it was on it's own line - see below You can call me at 202-502-2739 if you need more info. # lpd.conf # VERSION=3.7.4 # lpd.conf generated from on Thu May 16 07:55:09 EDT 2002 # The values in this file are the default values. # If you modify the file, set the value to something other than the default # For example, # # default force_localhost # means the 'force_localhost' option default value is on or 1 # To set it to OFF or 0, change this to read: # force_localhost@ # Purpose: always print banner, ignore lpr -h option default ab@ (FLAG off
The line need to be *exactly*: ab with nothing else on it at all. No 'default', and definitely not '@' (which inverts its meaning..).
I still got no banner with the following. Does the computer need to be rebooted after the change or will the change take place immediately? ------------------------------ [root@woodstock etc]# head -20 lpd.conf # lpd.conf # VERSION=3.7.4 # lpd.conf generated from on Thu May 16 07:55:09 EDT 2002 # The values in this file are the default values. # If you modify the file, set the value to something other than the default # For example, # # default force_localhost # means the 'force_localhost' option default value is on or 1 # To set it to OFF or 0, change this to read: # force_localhost@ # Purpose: always print banner, ignore lpr -h option ab # Purpose: query accounting server when connected # default achk@ (FLAG off) # Purpose: accounting at end (see also af, la, ar, as) # default ae=jobend $H $n $P $k $b $t (STRING) # Purpose: name of accounting file (see also la, ar) # default af=acct (STRING) # Purpose: automatically hold all jobs [root@woodstock etc]# Note: I also tried the follwing without any luck. [root@woodstock etc]# service lpd restart Stopping lpd: [ OK ] Starting lpd: [ OK ] [root@woodstock etc]#
"service lpd restart" ought to have been enough. Did you ever get banner pages printing?
Remove me from this bug. We have migrated to RH 3.0.