> From [EMAIL PROTECTED] Wed Feb 19 14:44:00 2003 > To: [EMAIL PROTECTED] > Subject: LPRng: hp4050 banner pages > Date: Wed, 19 Feb 2003 15:34:55 CST > From: Sly Upah <[EMAIL PROTECTED]> > > 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]:
The problem is that the control file sent to the printer has a 'print banner' option set in it. You can suppress this by going into the JetDirect setup using telnet (he he he...) and turning banner pages off, by one of the following LPRng methods. Try using: lp=XXX.XXX.XXX%9100 This connects to port 9100 and sends the job directly to the print engine. See if the port is open by using: telnet XXX.XXX.XXX 9100 If you get a connection you are OK. You can also use the 'control_filter' option to remove the 'print banner' option. > :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 > Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
