LPRng: problems with HP Laserjet 9000 DN...

2003-06-19 Thread Margrit Lottmann
I can't find this printer in the list of supported printers
(ifhp ... HOWTO...)

Which model type can I use ???

I have following problem:
::

Because I couldn't find the exact model type I had configured

a queue for the new printer using model type hp8100
(We are already using such printers successfull!)

printcap-entry:

queue_name
 :lp=xxx.xx.xx.xxx%9100
 :ifhp=model=hp8100,status,sync
 :sd=/var/spool/lpd/queue_name
 :if=/usr/libexec/filters/ifhp
 :bp=/usr/libexec/filters/pclbanner
 :lf=log
 :mx#0:ab


ifhp.conf-entry:

[hp8100]
pcl
ps
text
pjl

file_output_match = [
 *postscript*   ps
 *text* ps /usr/bin/a2ps -q --portrait --margin -1 -b \
   -j --center-title=\%s{f} -u [EMAIL PROTECTED] -M A4  -o-
]

For accounting we are using a modified version of the delivered
accounting.sh script.

The outputs of the printer are ok.
But the accounting values are often bad - getting (p) 0 but 
1 or 2 pages were printed...

I think I had this problem already had (??? with a printer HP4100 ???)

I believe the accounting.sh script gets the end of the job earlier than
the real end ... reading of pagecounter by the accounting filter gets than
 (p) 0 or less pages as really would be printed (?)

What can I do???
::

 getting status-,pagecount-infrmations by using snmp tools ???
 other possibilities ???
--
Mit freundlichen Gruessen  
M.Lottmann

 Otto - von - Guericke  Universitaet  __  __    _ _   __
   Magdeburg / / / /  / __ \__  // | / /
    / / / /  / /_/ / / / __ /  |/ /
   Margrit Lottmann/ /_/ /  / _, _/ / /___// /|  /
   Universitaetsrechenzentrum  \/  /_/ |_| // /_/ |_/
 Netze  Kommunikation


-
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.
-


Re: LPRng: problems with HP Laserjet 9000 DN...

2003-06-19 Thread Hans Peter Verne
Margrit Lottmann wrote:
 
 I can't find this printer in the list of supported printers
 (ifhp ... HOWTO...)

No, but you can include it in ifhp.conf yourself.
 
 a queue for the new printer using model type hp8100
 (We are already using such printers successfull!)

I have added it in ifhp.conf thus:

  # PRINTER % - HP Laserjet 8000 Series, {/hp(.*)/HP$1/}
  
  [ hp8000 hp8100 hp8150 hp9000 ]
 ^^

*and* -- because I use the waitend_byjobname patch -- I have
an extra entry like this, a bit furter down:

  #!End of [ hp8000 ]
  
  # PRINTER hp9000
  # New entry, we try this trick here too...
  [ hp9000 ]
  # to fix waitend
  pjl_waitend_byjobname
  
  #!End of [ hp9000 ]

As I understand this, it makes the 9000 inherit whatever 
properties ifhp assumes about the 8000 etc., with the addition 
of pjl_waitend_byjobname.

 For accounting we are using a modified version of the delivered
 accounting.sh script.
 
 The outputs of the printer are ok.
 But the accounting values are often bad - getting (p) 0 but
 1 or 2 pages were printed...
 
 I think I had this problem already had (??? with a printer HP4100 ???)
 
 I believe the accounting.sh script gets the end of the job earlier than
 the real end ... reading of pagecounter by the accounting filter gets than
  (p) 0 or less pages as really would be printed (?)

Yup, both these printers count pages like a dream with the 
above-mentioned patch.  Get it before they are sold out, at 

  http://www.groundsouth.com/patches/ifhp/

Our 2 HP9000's lost the pagecount (ie. counted 0 pages) for only 15 
out of 8210 jobs last month (May).  Our 75 HP4100's missed only 211 jobs,
out of 61514 jobs in the same period.  A miss-rate of less then 0.5%
is very good, I think.


regards,
-- 
Hans Peter   (Usit/Unix-drift,Utskrift)Ni!

Utskrift FAQ: http://www.usit.uio.no/it/utskrift/faq.html
Utskrift Feilsøking:  http://www.usit.uio.no/it/utskrift/feilsok.html

-
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.
-