Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 1996 12:34:39 +0100
From:      Morten Nyhave Nielsen <nyhave@imada.ou.dk>
To:        questions@freebsd.org
Subject:   Printer account on Solaris
Message-ID:  <31440FCF.41C67EA6@imada.ou.dk>

next in thread | raw e-mail | index | archive | help
I am writing you from a university in Denmark. We are about to install
printer accounting. We use SunOS 5.5, and our printer (LaserJet 4) can
tell the accumulated number of printed pages.

Right now the printer can print this number with a small
postscriptprogram:

%!PS-Adobe-2.0
/DrawText {
  gsave 1 setlinewidth 0 setgray moveto
  /Courier findfont 12 scalefont setfont show grestore
} bind def

/str 100 string def
statusdict begin
pagecount str cvs
str 20 200 DrawText
statusdict end
showpage


I don't know how the print-server can access the number. Please can you
help ??

Kind regards 

Morten Nyhave Nielsen 
(nyhave@imada.ou.dk)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31440FCF.41C67EA6>