Geoff's log on stardate 18 ožu 2015
> So you want to, in essence, spy on printer queues and mirror those
> queues to another printer without the users knowing?
So I want to, in essence, do exactly what I have written above, only
locally, instead of having MPS for same purpose. What exactly is the point
of your malevolent, uncalled for and completely topic-irrelevant comment?
> Why do you think Windows security model should support this?
Because I firmly believe "Windows security model", whatever that
represents in this particular case, has nothing to do with it.
Essentially, as far as I understood from reading documentation, problem is
the fact there is no "file" to be printed per se (and, naturally, no path
to it) while working with printer jobs since you can print "Untitled
document" without even saving it - problem partially mitigated with
spooling but from Windows XP above, it is undocumented and sloppy to
"catch" spooler files. I am also concerned whether data type for certain
printers would be incompatible with others. However, since I don't see any
other way but to build DOC_INFO_x structure while sending data to printer,
one would presume that structure must be reachable somehow...
In addition, as far as I understood, there is something like that already
available, though I have never managed to make it work as it should.
http://www.pdfforge.org/pdfcmon
"It sits in the Windows print system and redirects print job information
into a file and calls our application. This is independent from the print
job format and works with PostScript, EMF, XPS and any other format
(RAW)."