accurate accounting without delay (Was: Re: LPRng: Username spoofing...)

2004-02-10 Thread Ashley GC
On Fri, 6 Feb 2004, Henrik Edlund wrote:

 See Appendix A on page 39 (PDF page 55) in
 http://www.ep.liu.se/exjobb/ida/2003/dd-c/019/exjobb.pdf where I wrote
 some stuff about it.
 
 Henrik

Thanks for that. I read most of your paper, and you seem to be doing 
what we're trying to do, namely:
- counting pages successfully printed by the printer, not pages in the 
  job
- use SNMP instead of proprietary solutions to collect info from the 
  printer

The problem I have is that synchronous printing and page 
counting causes a 17 second delay between jobs, due to the time taken 
between end of spooling and the first page coming out, which is due to 
the long paper path of our HP LaserJet 8150.

I've drawn a diagram:
http://www.dcs.warwick.ac.uk/~csuwf/printing.pdf (there's a .ps too)

I have a solution currently being developed which involves using PJL 
to set the PJL-job-name of the job to the job-id (integer) from the 
print server. A filter will do this, then fork. The parent will return 
(so the server can immediately send the next job to the printer) and 
the child will be left alone to collect info from the printer about 
how the job did as and when it appears.
This should enable accurate job-based page counting, which means fast 
asynchronous printing with no delay associated with the paper path 
being emptied and refilled.

If anyone is interested in this, or has already implemented it, please 
let me know.

Ashley GC.
DCS, UoW, UK.


-
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: job timeout but halt at half way

2004-02-10 Thread James.Q.L
 --- Sean O'Malley [EMAIL PROTECTED] wrote: 

 If you are printing from a samba share try the laserJetIII driver.
 See if that prints faster. What kind of file are you printing?
 
 

PDF and Doc files. it's printed thr samba.

i found 'JTIMEOUT' mentioned in LPRng-Changs and set send_job_rw_timeout=0 according 
to it just
now. my old send_job_rw_timeout is set to 2 mintues and by reading the log.from the 
following log
it did appears that the JTIMEOUT happens in 2 mintues. hope set it to unlimited will 
fix the
problem.

Status: processing 'dfA359ADDR130.63.230.132', size 2631078, format 'f', IF filter 
'ifhp' at
2004-02-06-15:57:59.583
Status: IF filter 'ifhp' filter problems, error 'JTIMEOUT' at 2004-02-06-15:59:59.593

the printer often shows perform maintains messages on the screen, maybe that causes 
some problem?

maybe  i should try out the latest LPRng.. 



Qiang



__ 
Post your free ad now! http://personals.yahoo.ca

-
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: ifhp-3.5.13

2004-02-10 Thread Patrick Powell
 From [EMAIL PROTECTED] Wed Nov 26 12:28:34 2003
 Date: Wed, 26 Nov 2003 11:06:48 -0800 (PST)
 From: Jim Trocki [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: LPRng: ifhp-3.5.13

 On Wed, 26 Nov 2003, Margrit Lottmann wrote:

  Has anybody an idea which gcc-Options I can use to avoid these errors ???

 it's a problem with the code. try this patch:


I have tried to use the '-pedantic' gcc flag to catch these, but much
to my amazement some of the include files have 'long long' in them.

I will add these and update ifhp.

Patrick (I need something between '-pedantic' and '-permissive'.
   What about '-perfect'?) Powell

-
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: job timeout but halt at half way

2004-02-10 Thread Sean O'Malley

 PDF and Doc files. it's printed thr samba.

 i found 'JTIMEOUT' mentioned in LPRng-Changs and set send_job_rw_timeout=0 according 
 to it just
 now. my old send_job_rw_timeout is set to 2 mintues and by reading the log.from the 
 following log
 it did appears that the JTIMEOUT happens in 2 mintues. hope set it to unlimited will 
 fix the
 problem.

 maybe  i should try out the latest LPRng..

I think that is the same issue I am having. Using the laserjetIII .v53
filter from win2k seemed to fix that particualr problem for me.

I believe it has something to do with embedded graphics.

If you have some test print jobs that don't print correctly I would like
to see those. I am having a hard time isolating the particular documents
that cause this problem.





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


LPRng: HP8150 crashes (79.00FE) - reproducable!

2004-02-10 Thread Matt Forrest

Well, after several years I've finally been able to consistently reproduce
the 79.00FE crashes on our 8150.  I'm already dealing with HP to try and
get them to admit it's a problem with the printer!

Can anyone else who has an 8150 try this on their machine?
I'd really like to know if this crashes other 8150s.

The file contains only PJL stuff - it doesn't actually print anything! If
you print the file without any further processing and then have another
status message (ie Tray 3 Open, Toner Low) the printer will crash. You can
even use the lpd or ftp daemons on the printer.  The results are the same.

What I've done in testing is open a paper tray a couple of seconds after
the processing light stops blinking or just leave a paper tray open!

Any idea why this particular combination of PJL fsck's the printer?



mATT

*

   A neurotic worries about going crazy, but never will
   A psychotic IS crazy, but doesn't worry about it!

  ... Don't worry, be happy!!!  :}

*


[EMAIL PROTECTED]
@PJL INFO ID
@PJL USTATUSOFF
@PJL USTATUS JOB = ON
@PJL USTATUS DEVICE = ON
@PJL USTATUS PAGE = ON
@PJL USTATUS TIMED = 10
@PJL ECHO [EMAIL PROTECTED]
@PJL RDYMSG DISPLAY = root_ganymede_842 v353_single_2
@PJL INFO PAGECOUNT
%-12345X