Hi Sly,
shouldn't be a problem though, this is my configuration, works just fine:
[server] ~ $ lpc printcap printer
Printer: printer@server
printer
:ab
:bp=/usr/spool/filters/psbanner
:du#16
:filter=/usr/spool/ifhp/libexec/filters/ifhp
:ifhp=model=hp4050
:lp=printer%9100
:mx#0
:of=/usr/spool/ifhp/libexec/filters/ifhp
best regards
~christoph
--
/* Christoph Beyer | Office: Building 2b / 23 *\
* DESY | Phone: 040-8998-2317 *
* - IT - | Fax: 040-8998-4060 *
\* 22603 Hamburg | http://www.desy.de */
On Wed, 19 Feb 2003, Sly Upah wrote:
> Sorry if this has been asked before but I'm new to LPRng. I have an hp4050
> printer and the problem is that I can configure my printcap to give me two
> header pages (1 from the lpd on the 4050 and 1 from the banner program) or none.
> What I want is just the output from psbanner and of course the file thats to be
> printed. Here is my printcap:
>
> du242-lj4050|du242-lj4050.ait
> # :[EMAIL PROTECTED]:
> :rm=some.dept.iastate.edu:
> # :lpd_bounce=true:
> :af=acct:
> :ar:
> :achk:
> # :as=|/usr/local/libexec/filters/accounting.pl start:
> # :ae=|/usr/local/libexec/filters/accounting.pl end:
> :as=jobstart $H $n $P $k $b $t:
> :ae=jobend $H $n $P $k $b $t:
> :auth=kerberos5:
> :[EMAIL PROTECTED]:
> :sd=/var/spool/lpd/%P:
> # :ab:
> :sh:
> :generate_banner:
> :ifhp=model=hp4050,pagecount=pjl,status@:
> :bp=/usr/local/libexec/filters/psbanner:
> :if=/usr/local/libexec/filters/ifhp:
> :of=/usr/local/libexec/filters/ifhp:
> :mx#0:
> :ps=LJ:
> :pw#80:
> :pl#66
>
> I have been thru many permutations on these settings and can't seem to find the
> right ones. Any help would be most appreciated.
>
> Thanks.
>
> Sly Upah
>
>
>
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------