Hi Henrik,

        15 printers - wow.

 Yes I found that using snmp was the best thing to use, and i needed to go to the 
latest version of ifhp to make it work. Then I
created a script with one line in it:

/usr/bin/snmpget xxx.xxx.xxx.xxx public .1.3.6.1.2.1.43.10.2.1.4.1.1 | awk -F: '{print 
"pagecount="$2}' | sed s/\ //
                   ^
                printers ip address

and defined 
pagecount=|<script pathname>
in ifhp.conf

The direct pdf printing also works fine, I did in ifhp.conf:


file_output_match = [
 *Postscript*  ps
 .
 .
 .
  *pdf*   raw
 .
 .
 .
 ]

 I have some more minor questions now:

1)
 The online help claims you can download the accounting records via ftp,but i can't 
see how ( i can get it from the web server of
course but it would be nice to put it in a script.

2) When a windows machine prints to the appsocket port the printer knows the user 
name, and job name, but when lprng does this it
does not,if that could be made to work then the printers accounting records would be 
more useful - this is probably one for
Patrick to answer!


                Alex Finch


Henrik Edlund wrote:
> 
> On Wed, 11 Jun 2003, Alex Finch wrote:
> 
> AF>
> AF>  Hi,
> AF>
> AF>     Does anyone have experience with this machine? I have it up and
> AF>     running but
> 
> I have 15 of those running here with LPRng.
> 
> AF>  a) I get a pagecount of 0
> 
> I do pagecounting my SNMP, not ifhp though.
> 
> AF>  b) I can't work out how to persuade it to print pdf files when using
> AF>  lprng. What I mean by that
> AF>     is that it has a facility to print pdf directly, which i can do if
> AF>     i print to
> AF>          [EMAIL PROTECTED]
> AF>    but if I print it via lprng, even though i have told ifhp to pass
> AF> pdf as 'raw`, the printer either prints a postscript error, or prints
> AF> the file as plain text
> AF>
> AF>   I could clearly set up a separate queue for pdf but that is less
> AF>   convenient for the users
> 
> Are you sure the Phaser 4400 can handle PDF directly? It is not in the
> product sheets we have.
> 
> We have 15 4400DT with harddisk (extra fonts).
> 
> Henrik
> 
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------

-- 

 Alex Finch, Research Fellow, Physics Department, Lancaster University.
begin:vcard 
n:Finch;Alex
x-mozilla-html:FALSE
org:Lancaster University;Physics Dept.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Research Fellow
x-mozilla-cpt:;0
fn:Alex Finch
end:vcard

Reply via email to