> From [EMAIL PROTECTED] Thu Jul 8 16:30:17 2004
> Date: Thu, 08 Jul 2004 18:17:26 +0200
> From: Timm Pieper <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: pagecount-problem with ifhp and hp8000
>
> Hi there!
>
> I have a problem with querying the pagecounter of a hp8000-printer
with
> ifhp: I always get a pagecount of 0.
>
> With a little tool 'qpc' I am able to query the counter of the hp8000,
> and the ifhp-pagecount also worked correctly with a hp5m printer and
the
>
> same ifhp-options.
>
> I noticed that there are no entries like 'sync done' and 'end of job
> detected' in the status-file, like it does with the hp5m printer.
> Everything is accomplished within 1 second, whereas with the hp5m it
> took about 30 seconds from sync to end of job.
> I've also run ifhp-diagnostics to make sure that the status-, sync-,
> pageount- and waitend-flags are set at runtime.
>
> I have ifhp v3.5.7-2 and lprng v3.8.10-1.2 installed.
>
> /etc/printcap:
> pergament|PS;r=600x600;q=medium;c=gray;p=a4;m=auto:\
> :lp=:\
> :rm=129.69.35.101:\ <<< remove
> :rp=raw:\ <<< remove
^^^^ Try using:
:lp=129.69.35.101%9100
> :ifhp=model=hp8000:\
> :filter=/usr/lib/ifhp/ifhp -Zpaper=a4 \
> -Taccounting=/var/spool/lpd/acct.sh:\
> :sd=/var/spool/lpd/pergament:\
> :lf=/var/spool/lpd/pergament/log:\
> :af=/var/spool/lpd/pergament/acct:\
> :mx#0:\
> :sh:
>
> /var/spool/lpd/pergament/status:
> using model 'hp8000' at 11:43:14.474
> setting up printer at 11:43:14.478
> pagecounter 0 at 11:43:14.478
> started ACCOUNTING- 'acct.sh' at 11:43:14.479
> sending job file at 11:43:14.582
> starting transfer at 11:43:14.582
> initial job type 'POSTSCRIPT' at 11:43:14.583
> decoded job type 'POSTSCRIPT' at 11:43:14.583
> job type 'POSTSCRIPT' at 11:43:14.583
> transferring 394468 bytes at 11:43:14.583
> 25 percent done at 11:43:14.590
> 51 percent done at 11:43:14.596
> 77 percent done at 11:43:14.602
> sent job file at 11:43:14.607
> pagecounter 0, pages 0 at 11:43:14.608
> started ACCOUNTING- 'acct.sh' at 11:43:14.610
> done at 11:43:14.854
>
> Any help would be appreciated,
>
> Timm Pieper
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 or your Reply-To address 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.
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, call Patrick Powell or one of the friendly
staff at Astart Technologies for help. Astart also does support for LPRng.
Also, check the Web Page at: http://www.lprng.com for any announcements.
Astart Technologies (LPRng - Print Spooler http://www.lprng.com)
6741 Convoy Court
San Diego, CA 92111
858-874-6543 FAX 858-751-2435
-----------------------------------------------------------------------------