[Printing-architecture] snmp - average-toner-coverage per page
Predut, Marius
marius.predut at intel.com
Wed May 4 12:49:24 UTC 2016
> -----Original Message-----
> From: Johannes Meixner [mailto:jsmeix at suse.de]
> Sent: Wednesday, May 04, 2016 12:03 PM
> To: Predut, Marius
> Cc: printing-architecture at lists.linux-foundation.org
> Subject: Re: [Printing-architecture] snmp - average-toner-coverage per page
>
>
> Hello,
>
> On May 3 16:35 Predut, Marius wrote (excerpt):
> > After I print page I want to know average-toner-coverage-per-page
> > (a kind of Cost per Page).
> > To do it are 3 possibilities:
> >
> > 1. Get the amount of toner used and rapport it to a
> > standard (%5 coverage) - prices
> > 2. Get the effective printed area relative to the paper
> > (supppoe user print only halp of paper) - less precise
I am tried to use SNTP protocol: prtMarkerCounterUnit and
prtMarkerLifeCount OIDS to count the number of lines/characters.
To do this , the OID prtMarkerCounterUnit need to be updated from default value(impressions) to chars, lines, micrometers ,etc;
But seems this fild is ready only.
Is a way to use it?
> > 3. Get the stream from printer and analyze it.
>
> 4. Get the PostScript stream while print job filtering
> and analyze it.
>
> Newer Ghostscript versions provide the Ghostscript
> devices ink_cov and inkcov that output ink coverage:
> -----------------------------------------------------------
> $ gs -q -dNOPAUSE -dBATCH -sDEVICE=ink_cov \
> -sOutputFile=/tmp/ink_cov.out \
> /usr/share/ghostscript/9.19/examples/colorcir.ps
>
> $ cat /tmp/ink_cov.out
> 5.33833 5.95657 6.71122 4.25845 CMYK OK
>
> $ gs -q -dNOPAUSE -dBATCH -sDEVICE=inkcov \
> -sOutputFile=/tmp/inkcov.out \
> /usr/share/ghostscript/9.19/examples/colorcir.ps
>
> $ cat /tmp/inkcov.out
> 0.09991 0.08222 0.08234 0.08425 CMYK OK
> -----------------------------------------------------------
> See "Ink coverage output" in
> http://www.ghostscript.com/doc/current/Devices.htm#Test
>
Thank you so much for this solution!
The ink_cov/ inkcov is can be ip address?
>
> Kind Regards
> Johannes Meixner
> --
> SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
> Graham Norton - HRB 21284 (AG Nuernberg)
More information about the Printing-architecture
mailing list